@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.
Files changed (160) hide show
  1. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +17 -1
  2. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
  3. package/dist/.pikku/addon/pikku-addon-types.gen.js +21 -2
  4. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -1
  5. package/dist/.pikku/addon/pikku-addon-types.gen.ts +24 -2
  6. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  7. package/dist/.pikku/addon/pikku-package.gen.ts +1 -1
  8. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  9. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +6 -6
  10. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  11. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  12. package/dist/.pikku/agent/pikku-agent-types.gen.ts +13 -7
  13. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +1 -1
  14. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.ts +1 -1
  15. package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +1 -1
  16. package/dist/.pikku/agent/pikku-agent-wirings.gen.js +1 -1
  17. package/dist/.pikku/agent/pikku-agent-wirings.gen.ts +1 -1
  18. package/dist/.pikku/console/pikku-addon-meta.gen.json +281 -0
  19. package/dist/.pikku/console/pikku-node-types.gen.d.ts +2 -2
  20. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -1
  21. package/dist/.pikku/console/pikku-node-types.gen.ts +2 -2
  22. package/dist/.pikku/function/pikku-function-types.gen.d.ts +41 -12
  23. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  24. package/dist/.pikku/function/pikku-function-types.gen.js +17 -1
  25. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  26. package/dist/.pikku/function/pikku-function-types.gen.ts +53 -15
  27. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +224 -196
  28. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  29. package/dist/.pikku/function/pikku-functions-meta.gen.json +160 -144
  30. package/dist/.pikku/function/pikku-functions-meta.gen.ts +1 -1
  31. package/dist/.pikku/function/pikku-functions.gen.js +3 -1
  32. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
  33. package/dist/.pikku/function/pikku-functions.gen.ts +3 -1
  34. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  35. package/dist/.pikku/pikku-bootstrap.gen.ts +1 -1
  36. package/dist/.pikku/pikku-services.gen.d.ts +3 -1
  37. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  38. package/dist/.pikku/pikku-services.gen.js +2 -0
  39. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  40. package/dist/.pikku/pikku-services.gen.ts +3 -1
  41. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  42. package/dist/.pikku/pikku-types.gen.js +1 -1
  43. package/dist/.pikku/pikku-types.gen.ts +1 -1
  44. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +50 -396
  45. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +59 -404
  46. package/dist/.pikku/schema-cache.json +1 -0
  47. package/dist/.pikku/schemas/pikku.cache.json +1 -0
  48. package/dist/.pikku/schemas/register.gen.js +35 -33
  49. package/dist/.pikku/schemas/register.gen.js.map +1 -1
  50. package/dist/.pikku/schemas/register.gen.ts +69 -65
  51. package/dist/.pikku/schemas/schemas/SleepInput.schema.json +1 -0
  52. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  53. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  54. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +1 -1
  55. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  56. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  57. package/dist/.pikku/secrets/pikku-secrets.gen.ts +1 -1
  58. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  59. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  60. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
  61. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  62. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  63. package/dist/.pikku/variables/pikku-variable-types.gen.ts +1 -1
  64. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  65. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  66. package/dist/.pikku/variables/pikku-variables.gen.ts +1 -1
  67. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  68. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +35 -5
  69. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  70. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +5 -5
  71. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  72. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +65 -9
  73. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  74. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +1 -1
  75. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  76. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  77. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
  78. package/dist/src/functions/data/sleep.function.d.ts +16 -0
  79. package/dist/src/functions/data/sleep.function.d.ts.map +1 -0
  80. package/dist/src/functions/data/sleep.function.js +18 -0
  81. package/dist/src/functions/data/sleep.function.js.map +1 -0
  82. package/package.json +11 -8
  83. package/.pikku/addon/pikku-addon-types.gen.ts +0 -78
  84. package/.pikku/addon/pikku-package.gen.ts +0 -9
  85. package/.pikku/agent/pikku-agent-map.gen.d.ts +0 -16
  86. package/.pikku/agent/pikku-agent-types.gen.ts +0 -76
  87. package/.pikku/agent/pikku-agent-wirings-meta.gen.json +0 -3
  88. package/.pikku/agent/pikku-agent-wirings-meta.gen.ts +0 -7
  89. package/.pikku/agent/pikku-agent-wirings.gen.ts +0 -3
  90. package/.pikku/console/pikku-node-types.gen.ts +0 -8
  91. package/.pikku/function/pikku-function-types.gen.ts +0 -648
  92. package/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -582
  93. package/.pikku/function/pikku-functions-meta.gen.json +0 -434
  94. package/.pikku/function/pikku-functions-meta.gen.ts +0 -7
  95. package/.pikku/function/pikku-functions.gen.ts +0 -54
  96. package/.pikku/pikku-bootstrap.gen.ts +0 -15
  97. package/.pikku/pikku-services.gen.ts +0 -32
  98. package/.pikku/pikku-types.gen.ts +0 -21
  99. package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -470
  100. package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -494
  101. package/.pikku/schemas/register.gen.ts +0 -195
  102. package/.pikku/schemas/schemas/AggregateInput.schema.json +0 -1
  103. package/.pikku/schemas/schemas/AggregateOutput.schema.json +0 -1
  104. package/.pikku/schemas/schemas/ChunkInput.schema.json +0 -1
  105. package/.pikku/schemas/schemas/ChunkOutput.schema.json +0 -1
  106. package/.pikku/schemas/schemas/CoalesceInput.schema.json +0 -1
  107. package/.pikku/schemas/schemas/CoalesceOutput.schema.json +0 -1
  108. package/.pikku/schemas/schemas/CryptoInput.schema.json +0 -1
  109. package/.pikku/schemas/schemas/CryptoOutput.schema.json +0 -1
  110. package/.pikku/schemas/schemas/DateTimeInput.schema.json +0 -1
  111. package/.pikku/schemas/schemas/DateTimeOutput.schema.json +0 -1
  112. package/.pikku/schemas/schemas/EditFieldsInput.schema.json +0 -1
  113. package/.pikku/schemas/schemas/EditFieldsOutput.schema.json +0 -1
  114. package/.pikku/schemas/schemas/FindInput.schema.json +0 -1
  115. package/.pikku/schemas/schemas/FindOutput.schema.json +0 -1
  116. package/.pikku/schemas/schemas/GroupByInput.schema.json +0 -1
  117. package/.pikku/schemas/schemas/GroupByOutput.schema.json +0 -1
  118. package/.pikku/schemas/schemas/JwtDecodeInput.schema.json +0 -1
  119. package/.pikku/schemas/schemas/JwtDecodeOutput.schema.json +0 -1
  120. package/.pikku/schemas/schemas/JwtSignInput.schema.json +0 -1
  121. package/.pikku/schemas/schemas/JwtSignOutput.schema.json +0 -1
  122. package/.pikku/schemas/schemas/LimitInput.schema.json +0 -1
  123. package/.pikku/schemas/schemas/LimitOutput.schema.json +0 -1
  124. package/.pikku/schemas/schemas/MathInput.schema.json +0 -1
  125. package/.pikku/schemas/schemas/MathOutput.schema.json +0 -1
  126. package/.pikku/schemas/schemas/MergeInput.schema.json +0 -1
  127. package/.pikku/schemas/schemas/MergeOutput.schema.json +0 -1
  128. package/.pikku/schemas/schemas/OmitInput.schema.json +0 -1
  129. package/.pikku/schemas/schemas/OmitOutput.schema.json +0 -1
  130. package/.pikku/schemas/schemas/PickInput.schema.json +0 -1
  131. package/.pikku/schemas/schemas/PickOutput.schema.json +0 -1
  132. package/.pikku/schemas/schemas/RemoveDuplicatesInput.schema.json +0 -1
  133. package/.pikku/schemas/schemas/RemoveDuplicatesOutput.schema.json +0 -1
  134. package/.pikku/schemas/schemas/RenameKeysInput.schema.json +0 -1
  135. package/.pikku/schemas/schemas/RenameKeysOutput.schema.json +0 -1
  136. package/.pikku/schemas/schemas/ReverseInput.schema.json +0 -1
  137. package/.pikku/schemas/schemas/ReverseOutput.schema.json +0 -1
  138. package/.pikku/schemas/schemas/SortInput.schema.json +0 -1
  139. package/.pikku/schemas/schemas/SortOutput.schema.json +0 -1
  140. package/.pikku/schemas/schemas/SplitOutInput.schema.json +0 -1
  141. package/.pikku/schemas/schemas/SplitOutOutput.schema.json +0 -1
  142. package/.pikku/schemas/schemas/StringTransformInput.schema.json +0 -1
  143. package/.pikku/schemas/schemas/StringTransformOutput.schema.json +0 -1
  144. package/.pikku/schemas/schemas/SummarizeInput.schema.json +0 -1
  145. package/.pikku/schemas/schemas/SummarizeOutput.schema.json +0 -1
  146. package/.pikku/schemas/schemas/TypeConvertInput.schema.json +0 -1
  147. package/.pikku/schemas/schemas/TypeConvertOutput.schema.json +0 -1
  148. package/.pikku/schemas/schemas/UniqueInput.schema.json +0 -1
  149. package/.pikku/schemas/schemas/UniqueOutput.schema.json +0 -1
  150. package/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
  151. package/.pikku/secrets/pikku-secrets-meta.gen.json +0 -1
  152. package/.pikku/secrets/pikku-secrets.gen.ts +0 -21
  153. package/.pikku/trigger/pikku-trigger-types.gen.ts +0 -160
  154. package/.pikku/variables/pikku-variable-types.gen.ts +0 -5
  155. package/.pikku/variables/pikku-variables-meta.gen.json +0 -1
  156. package/.pikku/variables/pikku-variables.gen.ts +0 -21
  157. package/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -34
  158. package/.pikku/workflow/pikku-workflow-types.gen.ts +0 -158
  159. package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
  160. 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
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 CoalesceInput = {
13
- /** Values to check in order */
14
- values: unknown[];
15
- /** Treat empty strings as null */
16
- treatEmptyStringAsNull?: boolean | undefined;
17
- /** Treat zero as null */
18
- treatZeroAsNull?: boolean | undefined;
19
- }
20
- export type CoalesceOutput = {
21
- /** The first non-null value */
22
- value: unknown;
23
- /** Index of the returned value (-1 if all null) */
24
- index: number;
25
- }
26
- export type CryptoInput = {
27
- /** The cryptographic operation to perform */
28
- operation: "hash" | "hmac" | "randomBytes" | "uuid" | "base64Encode" | "base64Decode" | "hexEncode" | "hexDecode";
29
- /** Input data for hash/hmac/encode/decode operations */
30
- data?: string | undefined;
31
- /** Hash algorithm for hash/hmac operations */
32
- algorithm?: ("md5" | "sha1" | "sha256" | "sha384" | "sha512") | undefined;
33
- /** Secret key for hmac operation */
34
- key?: string | undefined;
35
- /** Number of bytes for randomBytes operation */
36
- length?: number | undefined;
37
- /** Output encoding for hash/hmac operations */
38
- encoding?: ("hex" | "base64") | undefined;
39
- }
40
- export type CryptoOutput = {
41
- /** The result of the cryptographic operation */
42
- result: string;
43
- }
44
- export type DateTimeInput = {
45
- /** The input date/time value (ISO string, timestamp, or parseable date string) */
46
- value?: (string | number) | undefined;
47
- /** The operation to perform */
48
- operation: "format" | "parse" | "add" | "subtract" | "startOf" | "endOf" | "diff" | "now";
49
- /** Output format for format operation (e.g., YYYY-MM-DD) */
50
- format?: string | undefined;
51
- /** Amount for add/subtract operations */
52
- amount?: number | undefined;
53
- /** Time unit for add/subtract/startOf/endOf/diff operations */
54
- unit?: ("years" | "months" | "weeks" | "days" | "hours" | "minutes" | "seconds" | "milliseconds") | undefined;
55
- /** Second date for diff operation */
56
- compareWith?: (string | number) | undefined;
57
- /** Timezone for conversion (e.g., America/New_York) */
58
- timezone?: string | undefined;
59
- }
60
- export type DateTimeOutput = {
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;