feat: 🚀 订阅功能
This commit is contained in:
31
src/hooks/interface/index.ts
Normal file
31
src/hooks/interface/index.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
export namespace Table {
|
||||
export interface Pageable {
|
||||
page: number;
|
||||
size: number;
|
||||
total_size: number;
|
||||
}
|
||||
export interface StateProps {
|
||||
tableData: any[];
|
||||
pageable: Pageable;
|
||||
searchParam: {
|
||||
[key: string]: any;
|
||||
};
|
||||
// searchInitParam: {
|
||||
// [key: string]: any;
|
||||
// };
|
||||
totalParam: {
|
||||
[key: string]: any;
|
||||
};
|
||||
icon?: {
|
||||
[key: string]: any;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export namespace HandleData {
|
||||
export type MessageType = "" | "success" | "warning" | "info" | "error";
|
||||
}
|
||||
|
||||
export namespace Theme {
|
||||
export type GreyOrWeakType = "grey" | "weak";
|
||||
}
|
||||
Reference in New Issue
Block a user