Skip to main content

Interface: MonitorFieldDefinition

Defined in: shared/types.ts:339

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?โ€‹

optional helpText?: string;

Defined in: shared/types.ts:341

Help text for the field


labelโ€‹

label: string;

Defined in: shared/types.ts:343

Display label for the field


max?โ€‹

optional max?: number;

Defined in: shared/types.ts:345

Max value for number fields


min?โ€‹

optional min?: number;

Defined in: shared/types.ts:347

Min value for number fields


nameโ€‹

name: string;

Defined in: shared/types.ts:349

Field name (matches monitor property)


options?โ€‹

optional options?: {
label: string;
value: string;
}[];

Defined in: shared/types.ts:351

Options for select fields

labelโ€‹

label: string;

valueโ€‹

value: string;

placeholder?โ€‹

optional placeholder?: string;

Defined in: shared/types.ts:353

Placeholder text


requiredโ€‹

required: boolean;

Defined in: shared/types.ts:355

Whether field is required


typeโ€‹

type: "number" | "url" | "select" | "text";

Defined in: shared/types.ts:357

Input type for form rendering