reconstruct
This commit is contained in:
parent
20002030ad
commit
ca8bded949
17 changed files with 1268 additions and 1110 deletions
22
types/index.ts
Normal file
22
types/index.ts
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
export interface DataSeries {
|
||||
values: number[];
|
||||
labels?: string[];
|
||||
}
|
||||
|
||||
export interface DataMatrix {
|
||||
data: number[][];
|
||||
columns?: string[];
|
||||
rows?: string[];
|
||||
}
|
||||
|
||||
export interface Condition {
|
||||
field: string;
|
||||
operator: '>' | '<' | '=' | '>=' | '<=' | '!=';
|
||||
value: number | string;
|
||||
}
|
||||
|
||||
export interface ApiResponse<T> {
|
||||
success: boolean;
|
||||
data?: T;
|
||||
error?: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue