Interface: MonitorFieldDefinition
Defined in: shared/types.ts:316
Field definition for dynamic form generation.
Remarksโ
Used for monitor type configuration in both frontend and backend. Defines the structure of fields for dynamic forms and monitor configuration.
Propertiesโ
helpText?โ
optionalhelpText:string
Defined in: shared/types.ts:318
Help text for the field
labelโ
label:
string
Defined in: shared/types.ts:320
Display label for the field
max?โ
optionalmax:number
Defined in: shared/types.ts:322
Max value for number fields
min?โ
optionalmin:number
Defined in: shared/types.ts:324
Min value for number fields
nameโ
name:
string
Defined in: shared/types.ts:326
Field name (matches monitor property)
options?โ
optionaloptions: {label:string;value:string; }[]
Defined in: shared/types.ts:328
Options for select fields
labelโ
label:
string
valueโ
value:
string
placeholder?โ
optionalplaceholder:string
Defined in: shared/types.ts:330
Placeholder text
requiredโ
required:
boolean
Defined in: shared/types.ts:332
Whether field is required
typeโ
type:
"number"|"select"|"text"|"url"
Defined in: shared/types.ts:334
Input type for form rendering