feat: add allowed models

This commit is contained in:
jialin
2025-10-13 15:21:17 +08:00
parent bcd1a339f9
commit 1fa2124efd
10 changed files with 311 additions and 227 deletions
+10 -2
View File
@@ -1,4 +1,3 @@
import { PageActionType } from './types';
declare namespace Global {
type WithFalse<T> = T | false;
interface Pagination {
@@ -57,12 +56,21 @@ declare namespace Global {
interface ScrollerModalProps<T = unknown, U = unknown> {
title?: string;
action?: PageActionType;
action?: 'create' | 'update' | 'view' | 'edit';
open: boolean;
currentData?: T | null;
onOk?: (values: U) => void;
onCancel: () => void;
}
interface ActionItem {
label: string;
key: string;
icon: React.ReactNode;
props?: {
danger?: boolean;
};
}
}
interface Window {