33 lines
564 B
TypeScript
33 lines
564 B
TypeScript
import type { StoveJsService } from '#layers/types/Stove'
|
|
|
|
declare global {
|
|
interface Window {
|
|
stoveJsService?: StoveJsService
|
|
}
|
|
}
|
|
interface CommonRequestType {
|
|
baseApiUrl: string
|
|
gameId: string
|
|
}
|
|
|
|
interface CommonResponseType {
|
|
code?: number
|
|
message?: string
|
|
}
|
|
|
|
interface CommonPeriodType {
|
|
startDate?: string
|
|
endDate?: string
|
|
}
|
|
interface ParsedCustomLinkOptions {
|
|
tm: (key: string) => { txt: string }
|
|
query?: Record<string, any>
|
|
}
|
|
|
|
export type {
|
|
CommonRequestType,
|
|
CommonResponseType,
|
|
CommonPeriodType,
|
|
ParsedCustomLinkOptions,
|
|
}
|