Files
WebApp/src/app/api/models/field-spec.ts
T
2026-11-29 21:30:15 -06:00

25 lines
439 B
TypeScript

import { Option } from '../models/option';
export interface FieldSpec {
advanced?: boolean;
default?: any;
help?: string;
label: string;
options?: Array<Option>;
placeholder?: string;
provider?: string | null;
required?: boolean;
type?:
| 'text'
| 'number'
| 'password'
| 'select'
| 'folder'
| 'server_file'
| 'upload'
| 'url'
| 'oauth'
| 'table'
| 'format'
| 'columns';
}