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§
readonly data Fields Json?: stringEntry data to send as JSON Type options: {"alwaysOpenEditWindow":true}
readonly data Fields Ui?: { ... }Entry data to send Default: {} Type options: {"multipleValues":true}
readonly form?: stringName of the form to operate on
readonly id?: string§readonly json Data Fields?: booleanWhether new entry fields should be set via the value-key pair UI or JSON
readonly limit?: numberMax 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 return All?: booleanWhether to return all results or only up to a given limit
readonly singleton?: stringName of the singleton to operate on. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getSingletons"}
Name of the collection to operate on. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getCollections"}