chore: playground api request

This commit is contained in:
jialin
2024-06-12 18:13:23 +08:00
parent 405d95c81f
commit c9ea96e078
25 changed files with 594 additions and 147 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
declare namespace Global {
interface Pagination {
page: number;
perPage: number;
perPage?: number;
watch?: boolean;
}
interface PageResponse<T> {
+8
View File
@@ -29,3 +29,11 @@ export const StatusColorMap: Record<StatusType, { text: string; bg: string }> =
bg: `var(--ant-color-fill)`
}
};
export const StatusMaps = {
error: 'error',
warning: 'warning',
transitioning: 'transitioning',
success: 'success',
inactive: 'inactive'
};