@pikku/addon-graph 0.0.2 → 0.0.3
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/.pikku/addon/pikku-addon-types.gen.d.ts +17 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +21 -2
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +24 -2
- package/dist/.pikku/addon/pikku-package.gen.js +1 -1
- package/dist/.pikku/addon/pikku-package.gen.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +6 -6
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +13 -7
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.ts +1 -1
- package/dist/.pikku/console/pikku-addon-meta.gen.json +281 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +2 -2
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.ts +2 -2
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +41 -12
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +17 -1
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.ts +53 -15
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +224 -196
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +160 -144
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +1 -1
- package/dist/.pikku/function/pikku-functions.gen.js +3 -1
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions.gen.ts +3 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.ts +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +3 -1
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +2 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-services.gen.ts +3 -1
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/pikku-types.gen.ts +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +50 -396
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +59 -404
- package/dist/.pikku/schema-cache.json +1 -0
- package/dist/.pikku/schemas/pikku.cache.json +1 -0
- package/dist/.pikku/schemas/register.gen.js +35 -33
- package/dist/.pikku/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/schemas/register.gen.ts +69 -65
- package/dist/.pikku/schemas/schemas/SleepInput.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +35 -5
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +5 -5
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +65 -9
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
- package/dist/src/functions/data/sleep.function.d.ts +16 -0
- package/dist/src/functions/data/sleep.function.d.ts.map +1 -0
- package/dist/src/functions/data/sleep.function.js +18 -0
- package/dist/src/functions/data/sleep.function.js.map +1 -0
- package/package.json +11 -8
- package/.pikku/addon/pikku-addon-types.gen.ts +0 -78
- package/.pikku/addon/pikku-package.gen.ts +0 -9
- package/.pikku/agent/pikku-agent-map.gen.d.ts +0 -16
- package/.pikku/agent/pikku-agent-types.gen.ts +0 -76
- package/.pikku/agent/pikku-agent-wirings-meta.gen.json +0 -3
- package/.pikku/agent/pikku-agent-wirings-meta.gen.ts +0 -7
- package/.pikku/agent/pikku-agent-wirings.gen.ts +0 -3
- package/.pikku/console/pikku-node-types.gen.ts +0 -8
- package/.pikku/function/pikku-function-types.gen.ts +0 -648
- package/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -582
- package/.pikku/function/pikku-functions-meta.gen.json +0 -434
- package/.pikku/function/pikku-functions-meta.gen.ts +0 -7
- package/.pikku/function/pikku-functions.gen.ts +0 -54
- package/.pikku/pikku-bootstrap.gen.ts +0 -15
- package/.pikku/pikku-services.gen.ts +0 -32
- package/.pikku/pikku-types.gen.ts +0 -21
- package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -470
- package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -494
- package/.pikku/schemas/register.gen.ts +0 -195
- package/.pikku/schemas/schemas/AggregateInput.schema.json +0 -1
- package/.pikku/schemas/schemas/AggregateOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/ChunkInput.schema.json +0 -1
- package/.pikku/schemas/schemas/ChunkOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/CoalesceInput.schema.json +0 -1
- package/.pikku/schemas/schemas/CoalesceOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/CryptoInput.schema.json +0 -1
- package/.pikku/schemas/schemas/CryptoOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/DateTimeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/DateTimeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/EditFieldsInput.schema.json +0 -1
- package/.pikku/schemas/schemas/EditFieldsOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/FindInput.schema.json +0 -1
- package/.pikku/schemas/schemas/FindOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/GroupByInput.schema.json +0 -1
- package/.pikku/schemas/schemas/GroupByOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtDecodeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtDecodeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtSignInput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtSignOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/LimitInput.schema.json +0 -1
- package/.pikku/schemas/schemas/LimitOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/MathInput.schema.json +0 -1
- package/.pikku/schemas/schemas/MathOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/MergeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/MergeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/OmitInput.schema.json +0 -1
- package/.pikku/schemas/schemas/OmitOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/PickInput.schema.json +0 -1
- package/.pikku/schemas/schemas/PickOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/RemoveDuplicatesInput.schema.json +0 -1
- package/.pikku/schemas/schemas/RemoveDuplicatesOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/RenameKeysInput.schema.json +0 -1
- package/.pikku/schemas/schemas/RenameKeysOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/ReverseInput.schema.json +0 -1
- package/.pikku/schemas/schemas/ReverseOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/SortInput.schema.json +0 -1
- package/.pikku/schemas/schemas/SortOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/SplitOutInput.schema.json +0 -1
- package/.pikku/schemas/schemas/SplitOutOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/StringTransformInput.schema.json +0 -1
- package/.pikku/schemas/schemas/StringTransformOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/SummarizeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/SummarizeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/TypeConvertInput.schema.json +0 -1
- package/.pikku/schemas/schemas/TypeConvertOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/UniqueInput.schema.json +0 -1
- package/.pikku/schemas/schemas/UniqueOutput.schema.json +0 -1
- package/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
- package/.pikku/secrets/pikku-secrets-meta.gen.json +0 -1
- package/.pikku/secrets/pikku-secrets.gen.ts +0 -21
- package/.pikku/trigger/pikku-trigger-types.gen.ts +0 -160
- package/.pikku/variables/pikku-variable-types.gen.ts +0 -5
- package/.pikku/variables/pikku-variables-meta.gen.json +0 -1
- package/.pikku/variables/pikku-variables.gen.ts +0 -21
- package/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -34
- package/.pikku/workflow/pikku-workflow-types.gen.ts +0 -158
- package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
- package/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
@@ -9,401 +9,55 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
export type
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export type
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export type
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
export type
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export type
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
export type
|
|
61
|
-
/** The result of the operation */
|
|
62
|
-
result: string | number;
|
|
63
|
-
/** ISO 8601 formatted date string */
|
|
64
|
-
iso: string;
|
|
65
|
-
/** Unix timestamp in milliseconds */
|
|
66
|
-
timestamp: number;
|
|
67
|
-
}
|
|
68
|
-
export type JwtSignInput = {
|
|
69
|
-
/** The payload to encode into the JWT */
|
|
70
|
-
payload: any;
|
|
71
|
-
/** Token expiration time */
|
|
72
|
-
expiresIn: {
|
|
73
|
-
/** Duration value */
|
|
74
|
-
value: number;
|
|
75
|
-
/** Time unit */
|
|
76
|
-
unit: "second" | "minute" | "hour" | "day" | "week" | "year";
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
export type JwtSignOutput = {
|
|
80
|
-
/** The signed JWT token */
|
|
81
|
-
token: string;
|
|
82
|
-
}
|
|
83
|
-
export type JwtDecodeInput = {
|
|
84
|
-
/** The JWT token to decode */
|
|
85
|
-
token: string;
|
|
86
|
-
}
|
|
87
|
-
export type JwtDecodeOutput = {
|
|
88
|
-
/** The decoded payload */
|
|
89
|
-
payload: any;
|
|
90
|
-
}
|
|
91
|
-
export type MathInput = {
|
|
92
|
-
/** The math operation to perform */
|
|
93
|
-
operation: "add" | "subtract" | "multiply" | "divide" | "modulo" | "power" | "sqrt" | "abs" | "round" | "floor" | "ceil" | "min" | "max" | "random";
|
|
94
|
-
/** First operand */
|
|
95
|
-
a?: number | undefined;
|
|
96
|
-
/** Second operand (for binary operations) */
|
|
97
|
-
b?: number | undefined;
|
|
98
|
-
/** Decimal places for round operation */
|
|
99
|
-
decimals?: number | undefined;
|
|
100
|
-
}
|
|
101
|
-
export type MathOutput = {
|
|
102
|
-
/** The result of the operation */
|
|
103
|
-
result: number;
|
|
104
|
-
}
|
|
105
|
-
export type StringTransformInput = {
|
|
106
|
-
/** The input string */
|
|
107
|
-
value: string;
|
|
108
|
-
/** The transformation to apply */
|
|
109
|
-
operation: "uppercase" | "lowercase" | "capitalize" | "camelCase" | "snakeCase" | "kebabCase" | "trim" | "trimStart" | "trimEnd" | "split" | "replace" | "slice" | "padStart" | "padEnd";
|
|
110
|
-
/** Separator for split operation */
|
|
111
|
-
separator?: string | undefined;
|
|
112
|
-
/** Search string for replace operation */
|
|
113
|
-
search?: string | undefined;
|
|
114
|
-
/** Replacement string for replace operation */
|
|
115
|
-
replacement?: string | undefined;
|
|
116
|
-
/** Replace all occurrences */
|
|
117
|
-
replaceAll?: boolean | undefined;
|
|
118
|
-
/** Start index for slice */
|
|
119
|
-
start?: number | undefined;
|
|
120
|
-
/** End index for slice */
|
|
121
|
-
end?: number | undefined;
|
|
122
|
-
/** Target length for pad operations */
|
|
123
|
-
length?: number | undefined;
|
|
124
|
-
/** Character to pad with */
|
|
125
|
-
padChar?: string | undefined;
|
|
126
|
-
}
|
|
127
|
-
export type StringTransformOutput = {
|
|
128
|
-
/** The transformed result */
|
|
129
|
-
result: string | string[];
|
|
130
|
-
}
|
|
131
|
-
export type TypeConvertInput = {
|
|
132
|
-
/** The value to convert */
|
|
133
|
-
value: unknown;
|
|
134
|
-
/** Target type */
|
|
135
|
-
to: "string" | "number" | "boolean" | "json" | "array";
|
|
136
|
-
/** Radix for number parsing (e.g., 10, 16) */
|
|
137
|
-
radix?: number | undefined;
|
|
138
|
-
}
|
|
139
|
-
export type TypeConvertOutput = {
|
|
140
|
-
/** The converted value */
|
|
141
|
-
result: unknown;
|
|
142
|
-
/** Whether the conversion succeeded */
|
|
143
|
-
success: boolean;
|
|
144
|
-
/** The original type of the value */
|
|
145
|
-
originalType: string;
|
|
146
|
-
}
|
|
147
|
-
export type AggregateInput = {
|
|
148
|
-
/** The array of items to aggregate */
|
|
149
|
-
items: {
|
|
150
|
-
[key: string]: unknown;
|
|
151
|
-
}[];
|
|
152
|
-
/** The field path to collect values from */
|
|
153
|
-
field: string;
|
|
154
|
-
/** The name of the output field containing the list */
|
|
155
|
-
outputField?: string | undefined;
|
|
156
|
-
/** Only include unique values */
|
|
157
|
-
unique?: boolean | undefined;
|
|
158
|
-
}
|
|
159
|
-
export type AggregateOutput = {
|
|
160
|
-
/** The output object with aggregated values */
|
|
161
|
-
item: {
|
|
162
|
-
[key: string]: unknown;
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
export type ChunkInput = {
|
|
166
|
-
/** The array to split into chunks */
|
|
167
|
-
items: unknown[];
|
|
168
|
-
/** Size of each chunk */
|
|
169
|
-
size: number;
|
|
170
|
-
}
|
|
171
|
-
export type ChunkOutput = {
|
|
172
|
-
/** Array of chunks */
|
|
173
|
-
chunks: unknown[][];
|
|
174
|
-
}
|
|
175
|
-
export type FindInput = {
|
|
176
|
-
/** The array to search */
|
|
177
|
-
items: {
|
|
178
|
-
[key: string]: unknown;
|
|
179
|
-
}[];
|
|
180
|
-
/** The field to match against */
|
|
181
|
-
field: string;
|
|
182
|
-
/** The value to find */
|
|
183
|
-
value: unknown;
|
|
184
|
-
/** Return the index instead of the item */
|
|
185
|
-
returnIndex?: boolean | undefined;
|
|
186
|
-
}
|
|
187
|
-
export type FindOutput = {
|
|
188
|
-
/** The found item (null if not found) */
|
|
189
|
-
item: {
|
|
190
|
-
[key: string]: unknown;
|
|
191
|
-
} | null;
|
|
192
|
-
/** The index of the found item (-1 if not found) */
|
|
193
|
-
index: number;
|
|
194
|
-
/** Whether the item was found */
|
|
195
|
-
found: boolean;
|
|
196
|
-
}
|
|
197
|
-
export type GroupByInput = {
|
|
198
|
-
/** The array of items to group */
|
|
199
|
-
items: {
|
|
200
|
-
[key: string]: unknown;
|
|
201
|
-
}[];
|
|
202
|
-
/** The field to group by (supports dot notation) */
|
|
203
|
-
field: string;
|
|
204
|
-
}
|
|
205
|
-
export type GroupByOutput = {
|
|
206
|
-
/** Object with group keys and their items */
|
|
207
|
-
groups: {
|
|
208
|
-
[key: string]: {
|
|
209
|
-
[key: string]: unknown;
|
|
210
|
-
}[];
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
export type LimitInput = {
|
|
214
|
-
/** The array of items to limit */
|
|
215
|
-
items: unknown[];
|
|
216
|
-
/** Maximum number of items to return */
|
|
217
|
-
limit: number;
|
|
218
|
-
/** Number of items to skip from the beginning */
|
|
219
|
-
offset?: number | undefined;
|
|
220
|
-
}
|
|
221
|
-
export type LimitOutput = {
|
|
222
|
-
/** The limited array of items */
|
|
223
|
-
items: unknown[];
|
|
224
|
-
/** The original total count before limiting */
|
|
225
|
-
totalCount: number;
|
|
226
|
-
}
|
|
227
|
-
export type RemoveDuplicatesInput = {
|
|
228
|
-
/** The array of items to deduplicate */
|
|
229
|
-
items: {
|
|
230
|
-
[key: string]: unknown;
|
|
231
|
-
}[];
|
|
232
|
-
/** Fields to use for comparison (if empty, compares entire objects) */
|
|
233
|
-
fields: string[];
|
|
234
|
-
/** Keep the first occurrence (true) or last (false) */
|
|
235
|
-
keepFirst?: boolean | undefined;
|
|
236
|
-
}
|
|
237
|
-
export type RemoveDuplicatesOutput = {
|
|
238
|
-
/** The deduplicated array of items */
|
|
239
|
-
items: {
|
|
240
|
-
[key: string]: unknown;
|
|
241
|
-
}[];
|
|
242
|
-
/** Number of duplicates removed */
|
|
243
|
-
removedCount: number;
|
|
244
|
-
}
|
|
245
|
-
export type ReverseInput = {
|
|
246
|
-
/** The array to reverse */
|
|
247
|
-
items: unknown[];
|
|
248
|
-
}
|
|
249
|
-
export type ReverseOutput = {
|
|
250
|
-
/** The reversed array */
|
|
251
|
-
items: unknown[];
|
|
252
|
-
}
|
|
253
|
-
export type SortInput = {
|
|
254
|
-
/** The array of items to sort */
|
|
255
|
-
items: {
|
|
256
|
-
[key: string]: unknown;
|
|
257
|
-
}[];
|
|
258
|
-
/** Fields to sort by (in order of priority) */
|
|
259
|
-
sortBy: {
|
|
260
|
-
/** The field path to sort by (supports dot notation) */
|
|
261
|
-
field: string;
|
|
262
|
-
/** Sort order */
|
|
263
|
-
order?: ("asc" | "desc") | undefined;
|
|
264
|
-
}[];
|
|
265
|
-
}
|
|
266
|
-
export type SortOutput = {
|
|
267
|
-
/** The sorted array of items */
|
|
268
|
-
items: {
|
|
269
|
-
[key: string]: unknown;
|
|
270
|
-
}[];
|
|
271
|
-
}
|
|
272
|
-
export type SplitOutInput = {
|
|
273
|
-
/** The input object containing a nested array */
|
|
274
|
-
item: {
|
|
275
|
-
[key: string]: unknown;
|
|
276
|
-
};
|
|
277
|
-
/** The field path containing the array to split (supports dot notation) */
|
|
278
|
-
field: string;
|
|
279
|
-
/** Include parent object fields in each output item */
|
|
280
|
-
includeParent?: boolean | undefined;
|
|
281
|
-
}
|
|
282
|
-
export type SplitOutOutput = {
|
|
283
|
-
/** The split array of items */
|
|
284
|
-
items: {
|
|
285
|
-
[key: string]: unknown;
|
|
286
|
-
}[];
|
|
287
|
-
}
|
|
288
|
-
export type SummarizeInput = {
|
|
289
|
-
/** The array of items to summarize */
|
|
290
|
-
items: {
|
|
291
|
-
[key: string]: unknown;
|
|
292
|
-
}[];
|
|
293
|
-
/** List of aggregation operations to perform */
|
|
294
|
-
aggregations: {
|
|
295
|
-
/** The field path to aggregate */
|
|
296
|
-
field: string;
|
|
297
|
-
/** The aggregation operation */
|
|
298
|
-
operation: "sum" | "avg" | "min" | "max" | "count" | "countDistinct" | "first" | "last";
|
|
299
|
-
/** The name of the output field */
|
|
300
|
-
outputField: string;
|
|
301
|
-
}[];
|
|
302
|
-
/** Fields to group by */
|
|
303
|
-
groupBy?: string[] | undefined;
|
|
304
|
-
}
|
|
305
|
-
export type SummarizeOutput = {
|
|
306
|
-
/** The summarized results */
|
|
307
|
-
items: {
|
|
308
|
-
[key: string]: unknown;
|
|
309
|
-
}[];
|
|
310
|
-
}
|
|
311
|
-
export type UniqueInput = {
|
|
312
|
-
/** The array to get unique values from */
|
|
313
|
-
items: unknown[];
|
|
314
|
-
/** For arrays of objects, the field to check uniqueness by */
|
|
315
|
-
field?: string | undefined;
|
|
316
|
-
}
|
|
317
|
-
export type UniqueOutput = {
|
|
318
|
-
/** Array with only unique values */
|
|
319
|
-
items: unknown[];
|
|
320
|
-
}
|
|
321
|
-
export type EditFieldsInput = {
|
|
322
|
-
/** The input object to transform */
|
|
323
|
-
item: {
|
|
324
|
-
[key: string]: unknown;
|
|
325
|
-
};
|
|
326
|
-
/** List of field operations to perform */
|
|
327
|
-
operations: {
|
|
328
|
-
/** The field path to operate on (supports dot notation) */
|
|
329
|
-
field: string;
|
|
330
|
-
/** The operation to perform */
|
|
331
|
-
operation: "set" | "remove" | "rename";
|
|
332
|
-
/** The value to set (for set operation) */
|
|
333
|
-
value?: unknown | undefined;
|
|
334
|
-
/** The new field name (for rename operation) */
|
|
335
|
-
newName?: string | undefined;
|
|
336
|
-
}[];
|
|
337
|
-
}
|
|
338
|
-
export type EditFieldsOutput = {
|
|
339
|
-
/** The transformed object */
|
|
340
|
-
item: {
|
|
341
|
-
[key: string]: unknown;
|
|
342
|
-
};
|
|
343
|
-
}
|
|
344
|
-
export type MergeInput = {
|
|
345
|
-
/** Objects to merge (later objects override earlier ones) */
|
|
346
|
-
items: {
|
|
347
|
-
[key: string]: unknown;
|
|
348
|
-
}[];
|
|
349
|
-
/** Perform deep merge of nested objects */
|
|
350
|
-
deep?: boolean | undefined;
|
|
351
|
-
}
|
|
352
|
-
export type MergeOutput = {
|
|
353
|
-
/** The merged object */
|
|
354
|
-
item: {
|
|
355
|
-
[key: string]: unknown;
|
|
356
|
-
};
|
|
357
|
-
}
|
|
358
|
-
export type OmitInput = {
|
|
359
|
-
/** The input object */
|
|
360
|
-
item: {
|
|
361
|
-
[key: string]: unknown;
|
|
362
|
-
};
|
|
363
|
-
/** Fields to remove */
|
|
364
|
-
fields: string[];
|
|
365
|
-
}
|
|
366
|
-
export type OmitOutput = {
|
|
367
|
-
/** Object without the specified fields */
|
|
368
|
-
item: {
|
|
369
|
-
[key: string]: unknown;
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
export type PickInput = {
|
|
373
|
-
/** The input object */
|
|
374
|
-
item: {
|
|
375
|
-
[key: string]: unknown;
|
|
376
|
-
};
|
|
377
|
-
/** Fields to keep (supports dot notation for nested fields) */
|
|
378
|
-
fields: string[];
|
|
379
|
-
}
|
|
380
|
-
export type PickOutput = {
|
|
381
|
-
/** Object with only the specified fields */
|
|
382
|
-
item: {
|
|
383
|
-
[key: string]: unknown;
|
|
384
|
-
};
|
|
385
|
-
}
|
|
386
|
-
export type RenameKeysInput = {
|
|
387
|
-
/** The input object to transform */
|
|
388
|
-
item: {
|
|
389
|
-
[key: string]: unknown;
|
|
390
|
-
};
|
|
391
|
-
/** List of key rename mappings */
|
|
392
|
-
mappings: {
|
|
393
|
-
/** The original key name */
|
|
394
|
-
oldKey: string;
|
|
395
|
-
/** The new key name */
|
|
396
|
-
newKey: string;
|
|
397
|
-
}[];
|
|
398
|
-
/** Whether to keep keys that are not in the mapping */
|
|
399
|
-
keepUnmapped?: boolean | undefined;
|
|
400
|
-
}
|
|
401
|
-
export type RenameKeysOutput = {
|
|
402
|
-
/** The transformed object with renamed keys */
|
|
403
|
-
item: {
|
|
404
|
-
[key: string]: unknown;
|
|
405
|
-
};
|
|
406
|
-
}
|
|
12
|
+
export type AggregateInput = unknown
|
|
13
|
+
export type AggregateOutput = unknown
|
|
14
|
+
export type ChunkInput = unknown
|
|
15
|
+
export type ChunkOutput = unknown
|
|
16
|
+
export type CoalesceInput = unknown
|
|
17
|
+
export type CoalesceOutput = unknown
|
|
18
|
+
export type CryptoInput = unknown
|
|
19
|
+
export type CryptoOutput = unknown
|
|
20
|
+
export type DateTimeInput = unknown
|
|
21
|
+
export type DateTimeOutput = unknown
|
|
22
|
+
export type EditFieldsInput = unknown
|
|
23
|
+
export type EditFieldsOutput = unknown
|
|
24
|
+
export type FindInput = unknown
|
|
25
|
+
export type FindOutput = unknown
|
|
26
|
+
export type GroupByInput = unknown
|
|
27
|
+
export type GroupByOutput = unknown
|
|
28
|
+
export type JwtDecodeInput = unknown
|
|
29
|
+
export type JwtDecodeOutput = unknown
|
|
30
|
+
export type JwtSignInput = unknown
|
|
31
|
+
export type JwtSignOutput = unknown
|
|
32
|
+
export type LimitInput = unknown
|
|
33
|
+
export type LimitOutput = unknown
|
|
34
|
+
export type MathInput = unknown
|
|
35
|
+
export type MathOutput = unknown
|
|
36
|
+
export type MergeInput = unknown
|
|
37
|
+
export type MergeOutput = unknown
|
|
38
|
+
export type OmitInput = unknown
|
|
39
|
+
export type OmitOutput = unknown
|
|
40
|
+
export type PickInput = unknown
|
|
41
|
+
export type PickOutput = unknown
|
|
42
|
+
export type RemoveDuplicatesInput = unknown
|
|
43
|
+
export type RemoveDuplicatesOutput = unknown
|
|
44
|
+
export type RenameKeysInput = unknown
|
|
45
|
+
export type RenameKeysOutput = unknown
|
|
46
|
+
export type ReverseInput = unknown
|
|
47
|
+
export type ReverseOutput = unknown
|
|
48
|
+
export type SleepInput = unknown
|
|
49
|
+
export type SortInput = unknown
|
|
50
|
+
export type SortOutput = unknown
|
|
51
|
+
export type SplitOutInput = unknown
|
|
52
|
+
export type SplitOutOutput = unknown
|
|
53
|
+
export type StringTransformInput = unknown
|
|
54
|
+
export type StringTransformOutput = unknown
|
|
55
|
+
export type SummarizeInput = unknown
|
|
56
|
+
export type SummarizeOutput = unknown
|
|
57
|
+
export type TypeConvertInput = unknown
|
|
58
|
+
export type TypeConvertOutput = unknown
|
|
59
|
+
export type UniqueInput = unknown
|
|
60
|
+
export type UniqueOutput = unknown
|
|
407
61
|
|
|
408
62
|
interface RPCHandler<I, O> {
|
|
409
63
|
input: I;
|