@archastro/sdk
    Preparing search index...

    Interface NodeField

    Schema for a field definition within a node type

    interface NodeField {
        allowExpression?: boolean;
        defaultValue?: unknown;
        description?: string;
        key: string;
        label: string;
        options?: Record<string, unknown>[];
        required?: boolean;
        type: string;
    }
    Index

    Properties

    allowExpression?: boolean

    Whether the field accepts expressions

    defaultValue?: unknown

    Default JSON-safe value for the field

    description?: string

    Field description

    key: string

    Field identifier

    label: string

    Display label

    options?: Record<string, unknown>[]

    Available options for select fields

    required?: boolean

    Whether the field is required

    type: string

    Field type (string, number, boolean, expression, etc.)