chore: playground api request
This commit is contained in:
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
declare namespace Global {
|
||||
interface Pagination {
|
||||
page: number;
|
||||
perPage: number;
|
||||
perPage?: number;
|
||||
watch?: boolean;
|
||||
}
|
||||
interface PageResponse<T> {
|
||||
|
||||
@@ -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'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user