chore: refactor data management pages (#7107)

This commit is contained in:
Kuchenpirat
2026-02-24 18:23:33 +01:00
committed by GitHub
parent 03f849f20f
commit 282eedfe2b
19 changed files with 1457 additions and 2586 deletions

View File

@@ -2,6 +2,8 @@ import type { VForm as VuetifyForm } from "vuetify/components/VForm";
type FormFieldType = "text" | "textarea" | "list" | "select" | "object" | "boolean" | "color" | "password";
export type FormValidationRule = (value: any) => boolean | string;
export interface FormSelectOption {
text: string;
}
@@ -13,10 +15,11 @@ export interface FormField {
hint?: string;
varName: string;
type: FormFieldType;
rules?: string[];
rules?: FormValidationRule[];
disableUpdate?: boolean;
disableCreate?: boolean;
options?: FormSelectOption[];
selectReturnValue?: string;
}
export type AutoFormItems = FormField[];