ISlot interface
đ Descriptionâ
Interface that describes a slot within the form definition. Slots serve as the data transporters for the form. Each node block defines the slots required for the data collection of that block.
đ Type declarationâ
Besides the listed properties, slots may store additional properties in the slot object.
interface ISlot<T> { id: string;Readonly type: string;Readonly kind: "static" | "dynamic" | "feature" | "meta";Readonly reference: string;Readonly sequence?: number;ReadonlyOptional label?: string;ReadonlyOptional name?: string;ReadonlyOptional placeholder?: string;ReadonlyOptional alias?: string;ReadonlyOptional required?: boolean;ReadonlyOptional pipeable?: boolean | { pipe?: string; label?: string; alias?: string; content?: "value" "label" | "name" | { string: string; text?: string; markdown?: string; }; };ReadonlyOptional default?: T;ReadonlyOptional exportable?: boolean;ReadonlyOptional actionable?: boolean;ReadonlyOptional protected?: boolean;ReadonlyOptional }
đī¸ Propertiesâ
đˇī¸ actionable
â
Specifies if the slot is actionable. Actionable slots are special slots used to perform certain actions.
Typeâ
boolean
More information about post-processing actions and the difference between exportable and actionable data.
đˇī¸ alias
â
Specifies the alias for the slot. Aliases are used in the dataset to identify a certain value.
Typeâ
string
đˇī¸ default
â
Specifies the default value for the slot.
Typeâ
T
(depends on the slot type)
đˇī¸ exportable
â
Specifies if the slot is exportable. Exportable slots are part of the dataset that contains all the collected values of a form.
Typeâ
boolean
More information about exportable data.