interface CodaNodeParameters {
columnId?: string;
controlId?: string;
docId?: string;
formulaId?: string;
keyName?: string;
limit?: number;
operation?:
| "get"
| "getAll"
| "createRow"
| "deleteRow"
| "getAllColumns"
| "getAllRows"
| "getColumn"
| "getRow"
| "pushButton"
| "deleteViewRow"
| "getAllViewColumns"
| "getAllViewRows"
| "pushViewButton"
| "updateViewRow";
options?: | {
disableParsing?: boolean;
keyColumns?: string;
}
| {
rawData?: boolean;
useColumnNames?: boolean;
valueFormat?: "simple"
| "simpleWithArrays"
| "rich";
}
| {
query?: string;
rawData?: boolean;
sortBy?: "createdAt"
| "natural";
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
visibleOnly?: boolean;
}
| {
query?: string;
rawData?: boolean;
sortBy?: "createdAt"
| "natural";
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
}
| { disableParsing?: boolean };
resource?: "view" | "control" | "formula" | "table";
returnAll?: boolean;
rowId?: string;
tableId?: string;
viewId?: string;
}
Properties§
Source§readonly doc Id?: string
readonly doc Id?: string
ID of the doc. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getDocs"}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}
Source§readonly operation?:
| "get"
| "getAll"
| "createRow"
| "deleteRow"
| "getAllColumns"
| "getAllRows"
| "getColumn"
| "getRow"
| "pushButton"
| "deleteViewRow"
| "getAllViewColumns"
| "getAllViewRows"
| "pushViewButton"
| "updateViewRow"
readonly operation?:
| "get"
| "getAll"
| "createRow"
| "deleteRow"
| "getAllColumns"
| "getAllRows"
| "getColumn"
| "getRow"
| "pushButton"
| "deleteViewRow"
| "getAllViewColumns"
| "getAllViewRows"
| "pushViewButton"
| "updateViewRow"
Default: "createRow"
Source§readonly options?:
| { disableParsing?: boolean; keyColumns?: string }
| {
rawData?: boolean;
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
}
| {
query?: string;
rawData?: boolean;
sortBy?: "createdAt"
| "natural";
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
visibleOnly?: boolean;
}
| {
query?: string;
rawData?: boolean;
sortBy?: "createdAt"
| "natural";
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
}
| { disableParsing?: boolean }
readonly options?:
| { disableParsing?: boolean; keyColumns?: string }
| {
rawData?: boolean;
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
}
| {
query?: string;
rawData?: boolean;
sortBy?: "createdAt"
| "natural";
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
visibleOnly?: boolean;
}
| {
query?: string;
rawData?: boolean;
sortBy?: "createdAt"
| "natural";
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
}
| { disableParsing?: boolean }
Default: {}
Source§readonly row Id?: string
readonly row Id?: string
ID or name of the row. Names are discouraged because they're easily prone to being changed by users. If you're using a name, be sure to URI-encode it. If there are multiple rows with the same value in the identifying column, an arbitrary one will be selected
Source§readonly table Id?: string
readonly table Id?: string
The table to create the row in. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsDependsOn":["docId"],"loadOptionsMethod":"getTables"}
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["docId","tableId"]}