diff options
Diffstat (limited to 'src/client/scripts/form.ts')
| -rw-r--r-- | src/client/scripts/form.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/scripts/form.ts b/src/client/scripts/form.ts index 3cf062be2a..7bf6cec452 100644 --- a/src/client/scripts/form.ts +++ b/src/client/scripts/form.ts @@ -21,6 +21,11 @@ export type FormItem = { default: string | null; hidden?: boolean; enum: string[]; +} | { + label?: string; + type: 'array'; + default: unknown[] | null; + hidden?: boolean; }; export type Form = Record<string, FormItem>; |