fix: backend edit format

This commit is contained in:
jialin
2025-10-15 12:18:50 +08:00
parent 4196351e48
commit 059416bb47
14 changed files with 72 additions and 39 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ export interface ListItem {
local_path?: string;
created_at: string;
updated_at: string;
public?: boolean;
access_policy: 'public' | 'authed' | 'allowed_users';
gpu_selector?: {
gpu_ids: string[];
};
@@ -261,6 +261,6 @@ export interface BackendOption {
}
export interface AccessControlFormData {
set_public: boolean;
access_policy: 'public' | 'authed' | 'allowed_users';
users: { id: number }[];
}