@makehq/sdk
    Preparing search index...

    Type Alias DataStructureField

    Represents a field in a data structure. Defines the properties of a single field including its type, name, and validation rules.

    type DataStructureField = {
        default?: string | number | boolean;
        label: string;
        multiline?: boolean;
        name: string;
        options?: DataStructureFieldOption[];
        required?: boolean;
        type: string;
    }
    Index

    Properties

    default?: string | number | boolean

    Default value for the field

    label: string

    Human-readable name of the field

    multiline?: boolean

    Whether the text field should be displayed as a multi-line input

    name: string

    Unique identifier of the field within the data structure

    For enum/select field types, the available options

    required?: boolean

    Whether the field must be provided

    type: string

    Data type of the field (e.g., 'text', 'number', 'boolean', 'array', 'collection')