mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-05 16:03:47 +00:00
* fix(frontend): add a validation for base url * fix(frontend): simplify regex * fix(frontend): fix style
24 lines
406 B
TypeScript
24 lines
406 B
TypeScript
export interface Setting {
|
|
label: string
|
|
description?: string
|
|
placeholder?: string
|
|
cloudonly?: boolean
|
|
ee_only?: string
|
|
tooltip?: string
|
|
key: string
|
|
fieldType:
|
|
| 'text'
|
|
| 'number'
|
|
| 'boolean'
|
|
| 'password'
|
|
| 'select'
|
|
| 'textarea'
|
|
| 'seconds'
|
|
| 'email'
|
|
| 'license_key'
|
|
storage: SettingStorage
|
|
isValid?: (value: any) => boolean
|
|
}
|
|
|
|
export type SettingStorage = 'setting' | 'config'
|