UNPKG

warcraft3gg-dto

Version:
35 lines (34 loc) 737 B
/// <reference types="node" /> export declare type GetMapDimensions = { x: number; y: number; }; export declare type GetMapDetailsDTO = { category: string; tileset: string; dimensions: GetMapDimensions; playableArea: GetMapDimensions; date: Date; size: number; players: string; }; export declare type GetMapFileDTO = { content: Buffer; sha1: string; }; export declare type GetMapFormat = { roc?: boolean; tft?: boolean; reforged?: boolean; }; export declare type GetMapDTO = { id: number; name: string; url: string; version?: string; description: string; details: GetMapDetailsDTO; image: string; format?: GetMapFormat; file?: GetMapFileDTO; };