Files
web-temp/layers/types/Common.ts
2025-10-29 20:56:58 +09:00

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 }