31 lines
646 B
TypeScript
31 lines
646 B
TypeScript
import type { HTMLAttributes } from 'vue'
|
|
import type { StoveJsService } from '#layers/types/Stove'
|
|
|
|
export type ClassType = HTMLAttributes['class']
|
|
|
|
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 }
|