feat:初始化项目结构

This commit is contained in:
Zzz1zz
2025-06-22 23:55:55 +08:00
commit ac0d6dd5cc
160 changed files with 16402 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { CallbackDataParams } from 'echarts/types/dist/shared';
export interface ToolTipFormatterParams extends CallbackDataParams {
axisDim: string;
axisIndex: number;
axisType: string;
axisId: string;
axisValue: string;
axisValueLabel: string;
}
+37
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[] }>;
}
+5
View File
@@ -0,0 +1,5 @@
export interface MockParams {
url: string;
type: string;
body: string;
}