feat: init

This commit is contained in:
ygx
2026-03-05 23:45:39 +08:00
commit 8fab91c5c7
214 changed files with 33682 additions and 0 deletions

37
src/types/global.ts Normal file
View File

@@ -0,0 +1,37 @@
export interface AnyObject {
[key: string]: unknown
}
export interface Options {
value: unknown
label: string
}
export interface NodeOptions extends Options {
children?: NodeOptions[]
}
export interface GetParams {
body: null
type: string
url: string
}
export interface PostData {
body: string
type: string
url: string
}
export interface Pagination {
current: number
pageSize: number
total?: number
}
export type TimeRanger = [string, string]
export interface GeneralChart {
xAxis: string[]
data: Array<{ name: string; value: number[] }>
}