Interface CockpitNodeParameters

Source
interface CockpitNodeParameters {
    collection?: string;
    dataFieldsJson?: string;
    dataFieldsUi?: {
        field: { name?: string; value?: string }[];
    };
    form?: string;
    id?: string;
    jsonDataFields?: boolean;
    limit?: number;
    operation?: | "create"
    | "get"
    | "getAll"
    | "update"
    | "submit";
    options?: {
        fields?: string;
        filter?: string;
        language?: string;
        populate?: boolean;
        rawData?: boolean;
        skip?: number;
        sort?: string;
    };
    resource?: "collection"
    | "form"
    | "singleton";
    returnAll?: boolean;
    singleton?: string;
}

Properties§

§readonly collection?: string

Name of the collection to operate on. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getCollections"}

§readonly dataFieldsJson?: string

Entry data to send as JSON Type options: {"alwaysOpenEditWindow":true}

§readonly dataFieldsUi?: { ... }

Entry data to send Default: {} Type options: {"multipleValues":true}

§readonly form?: string

Name of the form to operate on

§readonly id?: string
§readonly jsonDataFields?: boolean

Whether new entry fields should be set via the value-key pair UI or JSON

§readonly limit?: number

Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":500}

§readonly operation?: "create" | "get" | "getAll" | "update" | "submit"

Default: "getAll"

§readonly options?: { ... }

Default: {}

§readonly resource?: "collection" | "form" | "singleton"

Default: "collection"

§readonly returnAll?: boolean

Whether to return all results or only up to a given limit

§readonly singleton?: string

Name of the singleton to operate on. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getSingletons"}