@lotics/cli 0.38.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +23 -0
- package/dist/dev/rpc_handler.js +2 -0
- package/dist/src/cli.js +4 -2
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
/** One sort key forwarded to the app query RPC (wire shape of a `TableRecordSort` entry). */
|
|
2
|
+
export interface AppQuerySortKey {
|
|
3
|
+
field_key: string;
|
|
4
|
+
order: "asc" | "desc";
|
|
5
|
+
}
|
|
6
|
+
/** A filter condition over one output column (wire shape of a `TableRecordFilters` node). */
|
|
7
|
+
export interface AppQueryFilterCondition {
|
|
8
|
+
node_type: "condition";
|
|
9
|
+
field_key: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
operator: string;
|
|
12
|
+
value?: unknown;
|
|
13
|
+
}
|
|
14
|
+
/** A boolean group of filter nodes (wire shape — recursive). */
|
|
15
|
+
export interface AppQueryFilterGroup {
|
|
16
|
+
node_type: "group";
|
|
17
|
+
logic: "and" | "or";
|
|
18
|
+
children: Array<AppQueryFilterCondition | AppQueryFilterGroup>;
|
|
19
|
+
}
|
|
20
|
+
/** Runtime filter/sort the app query RPC applies AFTER the named query, bounded to its output columns. */
|
|
21
|
+
export type AppQueryFilter = AppQueryFilterCondition | AppQueryFilterGroup;
|
|
1
22
|
export interface LoticsClientOptions {
|
|
2
23
|
apiKey: string;
|
|
3
24
|
workspaceId?: string;
|
|
@@ -132,6 +153,8 @@ export declare class LoticsClient {
|
|
|
132
153
|
params?: Record<string, unknown>;
|
|
133
154
|
limit?: number;
|
|
134
155
|
offset?: number;
|
|
156
|
+
sort?: AppQuerySortKey[];
|
|
157
|
+
filter?: AppQueryFilter;
|
|
135
158
|
}): Promise<{
|
|
136
159
|
rows: unknown[];
|
|
137
160
|
}>;
|
package/dist/dev/rpc_handler.js
CHANGED
package/dist/src/cli.js
CHANGED
|
@@ -32745,7 +32745,9 @@ async function dispatchRpc(client, body) {
|
|
|
32745
32745
|
alias: p.alias,
|
|
32746
32746
|
params: p.params,
|
|
32747
32747
|
limit: p.limit,
|
|
32748
|
-
offset: p.offset
|
|
32748
|
+
offset: p.offset,
|
|
32749
|
+
sort: p.sort,
|
|
32750
|
+
filter: p.filter
|
|
32749
32751
|
});
|
|
32750
32752
|
}
|
|
32751
32753
|
case "workflow": {
|
|
@@ -46247,7 +46249,7 @@ import fs6 from "node:fs";
|
|
|
46247
46249
|
// ../docx/src/parse/parser.ts
|
|
46248
46250
|
var import_jszip = __toESM(require_lib3(), 1);
|
|
46249
46251
|
|
|
46250
|
-
// ../
|
|
46252
|
+
// ../ooxml/src/xml.ts
|
|
46251
46253
|
var import_fast_xml_parser6 = __toESM(require_fxp(), 1);
|
|
46252
46254
|
var parserOptions = {
|
|
46253
46255
|
preserveOrder: true,
|