Type Alias EditableColumn

type EditableColumn = {
    columnName?: string;
    config?: {
        maxDate?: string;
        minDate?: string;
        selectorExpression?: string;
        selectorType?: "fixed" | "dynamic" | "";
        selectorValues?: { label?: string; value?: string }[];
    };
    createdAt?: string;
    createdBy?: string;
    id?: string;
    publishRefId?: string;
    referenceId?: string;
    selectorValues?: { label?: string; value?: string }[];
    spaceId?: string;
    storeId?: string;
    tenantId?: string;
    type?: "editable-text" | "editable-selector" | "editable-date";
    updatedAt?: string;
    usedBy?: UsedByArray;
}
Index
columnName?: string

Name of the editable column.

config?: {
    maxDate?: string;
    minDate?: string;
    selectorExpression?: string;
    selectorType?: "fixed" | "dynamic" | "";
    selectorValues?: { label?: string; value?: string }[];
}

Configuration values required for the editable-column type.

Type Declaration

  • OptionalmaxDate?: string

    Maximum selectable date for editable-date columns (ISO 8601 date).

  • OptionalminDate?: string

    Minimum selectable date for editable-date columns (ISO 8601 date).

  • OptionalselectorExpression?: string

    Expression used to create dynamic selector values.

  • OptionalselectorType?: "fixed" | "dynamic" | ""

    Type of selector. fixed, dynamic or empty if editable-column type is not editable-selector.

  • OptionalselectorValues?: { label?: string; value?: string }[]

    List of value/label key/value pairs.

createdAt?: string

Timestamp of creation.

createdBy?: string

The user who created the column.

id?: string

The unique id of the editable column.

publishRefId?: string

The publish reference id used to relate editable columns between published apps/spaces.

referenceId?: string

The unique id used to keep a reference of editable columns in multiple spaces.

selectorValues?: { label?: string; value?: string }[]

List of value/label key/value pairs.

Type Declaration

  • Optionallabel?: string

    The Label of the selector.

  • Optionalvalue?: string

    The Value of the selector.

spaceId?: string

The space id that the editable columns are associated with.

storeId?: string

Store id.

tenantId?: string

Tenant id.

type?: "editable-text" | "editable-selector" | "editable-date"

Type of the editable column.

updatedAt?: string

Timestamp of last update.

usedBy?: UsedByArray

List of chart/app references.