diff --git a/dashboard/src/types/config-schema.ts b/dashboard/src/types/config-schema.ts index e744c300..206c253d 100644 --- a/dashboard/src/types/config-schema.ts +++ b/dashboard/src/types/config-schema.ts @@ -12,6 +12,8 @@ export type FieldType = | 'object' | 'textarea' +export type XWidgetType = 'slider' | 'select' | 'textarea' | 'switch' | 'custom' + export interface FieldSchema { name: string type: FieldType @@ -26,6 +28,9 @@ export interface FieldSchema { type: string } properties?: ConfigSchema + 'x-widget'?: XWidgetType + 'x-icon'?: string + step?: number } export interface ConfigSchema {