@pikku/addon-graph 0.0.1 → 0.0.2
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/.pikku/addon/pikku-addon-types.gen.ts +1 -1
- package/.pikku/addon/pikku-package.gen.ts +1 -1
- package/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
- package/.pikku/agent/pikku-agent-types.gen.ts +1 -1
- package/.pikku/agent/pikku-agent-wirings-meta.gen.ts +1 -1
- package/.pikku/agent/pikku-agent-wirings.gen.ts +1 -1
- package/.pikku/console/pikku-node-types.gen.ts +1 -1
- package/.pikku/function/pikku-function-types.gen.ts +1 -1
- package/.pikku/function/pikku-functions-meta-verbose.gen.json +196 -196
- package/.pikku/function/pikku-functions-meta.gen.json +144 -144
- package/.pikku/function/pikku-functions-meta.gen.ts +1 -1
- package/.pikku/function/pikku-functions.gen.ts +1 -1
- package/.pikku/pikku-bootstrap.gen.ts +1 -1
- package/.pikku/pikku-services.gen.ts +1 -1
- package/.pikku/pikku-types.gen.ts +1 -1
- package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +136 -136
- package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +144 -144
- package/.pikku/schemas/register.gen.ts +65 -65
- package/.pikku/secrets/pikku-secret-types.gen.ts +1 -1
- package/.pikku/secrets/pikku-secrets.gen.ts +1 -1
- package/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
- package/.pikku/variables/pikku-variable-types.gen.ts +1 -1
- package/.pikku/variables/pikku-variables.gen.ts +1 -1
- package/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/.pikku/workflow/pikku-workflow-types.gen.ts +1 -1
- package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +1 -1
- package/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +1 -1
- 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 +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +1 -1
- 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-node-types.gen.d.ts +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.ts +1 -1
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +196 -196
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +144 -144
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +1 -1
- package/dist/.pikku/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions.gen.ts +1 -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 +1 -1
- package/dist/.pikku/pikku-services.gen.ts +1 -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 +136 -136
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +144 -144
- package/dist/.pikku/schemas/register.gen.js +33 -33
- package/dist/.pikku/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/schemas/register.gen.ts +65 -65
- 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 +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +1 -1
- 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/package.json +3 -3
- package/.pikku/console/pikku-nodes-meta.gen.json +0 -278
- package/dist/.pikku/console/pikku-nodes-meta.gen.json +0 -278
|
@@ -1,4 +1,148 @@
|
|
|
1
1
|
{
|
|
2
|
+
"coalesce": {
|
|
3
|
+
"pikkuFuncId": "coalesce",
|
|
4
|
+
"functionType": "user",
|
|
5
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
6
|
+
"sessionless": true,
|
|
7
|
+
"name": "coalesce",
|
|
8
|
+
"inputSchemaName": "CoalesceInput",
|
|
9
|
+
"outputSchemaName": "CoalesceOutput",
|
|
10
|
+
"inputs": [
|
|
11
|
+
"CoalesceInput"
|
|
12
|
+
],
|
|
13
|
+
"outputs": [
|
|
14
|
+
"CoalesceOutput"
|
|
15
|
+
],
|
|
16
|
+
"contractHash": "9aa1a02f90b8ed52",
|
|
17
|
+
"inputHash": "d1baf6ed",
|
|
18
|
+
"outputHash": "eef08a58"
|
|
19
|
+
},
|
|
20
|
+
"crypto": {
|
|
21
|
+
"pikkuFuncId": "crypto",
|
|
22
|
+
"functionType": "user",
|
|
23
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
24
|
+
"sessionless": true,
|
|
25
|
+
"name": "crypto",
|
|
26
|
+
"inputSchemaName": "CryptoInput",
|
|
27
|
+
"outputSchemaName": "CryptoOutput",
|
|
28
|
+
"inputs": [
|
|
29
|
+
"CryptoInput"
|
|
30
|
+
],
|
|
31
|
+
"outputs": [
|
|
32
|
+
"CryptoOutput"
|
|
33
|
+
],
|
|
34
|
+
"contractHash": "9e2e5b2bc9df616e",
|
|
35
|
+
"inputHash": "60d6d839",
|
|
36
|
+
"outputHash": "38bec130"
|
|
37
|
+
},
|
|
38
|
+
"dateTime": {
|
|
39
|
+
"pikkuFuncId": "dateTime",
|
|
40
|
+
"functionType": "user",
|
|
41
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
42
|
+
"sessionless": true,
|
|
43
|
+
"name": "dateTime",
|
|
44
|
+
"inputSchemaName": "DateTimeInput",
|
|
45
|
+
"outputSchemaName": "DateTimeOutput",
|
|
46
|
+
"inputs": [
|
|
47
|
+
"DateTimeInput"
|
|
48
|
+
],
|
|
49
|
+
"outputs": [
|
|
50
|
+
"DateTimeOutput"
|
|
51
|
+
],
|
|
52
|
+
"contractHash": "b297121a74826469",
|
|
53
|
+
"inputHash": "fbb83641",
|
|
54
|
+
"outputHash": "93b7219a"
|
|
55
|
+
},
|
|
56
|
+
"jwtSign": {
|
|
57
|
+
"pikkuFuncId": "jwtSign",
|
|
58
|
+
"functionType": "user",
|
|
59
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
60
|
+
"sessionless": true,
|
|
61
|
+
"name": "jwtSign",
|
|
62
|
+
"inputSchemaName": "JwtSignInput",
|
|
63
|
+
"outputSchemaName": "JwtSignOutput",
|
|
64
|
+
"inputs": [
|
|
65
|
+
"JwtSignInput"
|
|
66
|
+
],
|
|
67
|
+
"outputs": [
|
|
68
|
+
"JwtSignOutput"
|
|
69
|
+
],
|
|
70
|
+
"contractHash": "75f181ad1396ce9d",
|
|
71
|
+
"inputHash": "6c178a3f",
|
|
72
|
+
"outputHash": "5490ba45"
|
|
73
|
+
},
|
|
74
|
+
"jwtDecode": {
|
|
75
|
+
"pikkuFuncId": "jwtDecode",
|
|
76
|
+
"functionType": "user",
|
|
77
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
78
|
+
"sessionless": true,
|
|
79
|
+
"name": "jwtDecode",
|
|
80
|
+
"inputSchemaName": "JwtDecodeInput",
|
|
81
|
+
"outputSchemaName": "JwtDecodeOutput",
|
|
82
|
+
"inputs": [
|
|
83
|
+
"JwtDecodeInput"
|
|
84
|
+
],
|
|
85
|
+
"outputs": [
|
|
86
|
+
"JwtDecodeOutput"
|
|
87
|
+
],
|
|
88
|
+
"contractHash": "3fc7b49a6cdaf7f0",
|
|
89
|
+
"inputHash": "4401b17b",
|
|
90
|
+
"outputHash": "7752bc62"
|
|
91
|
+
},
|
|
92
|
+
"math": {
|
|
93
|
+
"pikkuFuncId": "math",
|
|
94
|
+
"functionType": "user",
|
|
95
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
96
|
+
"sessionless": true,
|
|
97
|
+
"name": "math",
|
|
98
|
+
"inputSchemaName": "MathInput",
|
|
99
|
+
"outputSchemaName": "MathOutput",
|
|
100
|
+
"inputs": [
|
|
101
|
+
"MathInput"
|
|
102
|
+
],
|
|
103
|
+
"outputs": [
|
|
104
|
+
"MathOutput"
|
|
105
|
+
],
|
|
106
|
+
"contractHash": "6777194d9fa978a2",
|
|
107
|
+
"inputHash": "91f5f92b",
|
|
108
|
+
"outputHash": "473f23f2"
|
|
109
|
+
},
|
|
110
|
+
"stringTransform": {
|
|
111
|
+
"pikkuFuncId": "stringTransform",
|
|
112
|
+
"functionType": "user",
|
|
113
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
114
|
+
"sessionless": true,
|
|
115
|
+
"name": "stringTransform",
|
|
116
|
+
"inputSchemaName": "StringTransformInput",
|
|
117
|
+
"outputSchemaName": "StringTransformOutput",
|
|
118
|
+
"inputs": [
|
|
119
|
+
"StringTransformInput"
|
|
120
|
+
],
|
|
121
|
+
"outputs": [
|
|
122
|
+
"StringTransformOutput"
|
|
123
|
+
],
|
|
124
|
+
"contractHash": "a4cd02c14224c4e6",
|
|
125
|
+
"inputHash": "38037e18",
|
|
126
|
+
"outputHash": "5bfa9735"
|
|
127
|
+
},
|
|
128
|
+
"typeConvert": {
|
|
129
|
+
"pikkuFuncId": "typeConvert",
|
|
130
|
+
"functionType": "user",
|
|
131
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
132
|
+
"sessionless": true,
|
|
133
|
+
"name": "typeConvert",
|
|
134
|
+
"inputSchemaName": "TypeConvertInput",
|
|
135
|
+
"outputSchemaName": "TypeConvertOutput",
|
|
136
|
+
"inputs": [
|
|
137
|
+
"TypeConvertInput"
|
|
138
|
+
],
|
|
139
|
+
"outputs": [
|
|
140
|
+
"TypeConvertOutput"
|
|
141
|
+
],
|
|
142
|
+
"contractHash": "a3bfeff5301903cc",
|
|
143
|
+
"inputHash": "3d6e4ac1",
|
|
144
|
+
"outputHash": "da7680c1"
|
|
145
|
+
},
|
|
2
146
|
"aggregate": {
|
|
3
147
|
"pikkuFuncId": "aggregate",
|
|
4
148
|
"functionType": "user",
|
|
@@ -197,150 +341,6 @@
|
|
|
197
341
|
"inputHash": "2a18be03",
|
|
198
342
|
"outputHash": "b24ac8e7"
|
|
199
343
|
},
|
|
200
|
-
"coalesce": {
|
|
201
|
-
"pikkuFuncId": "coalesce",
|
|
202
|
-
"functionType": "user",
|
|
203
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
204
|
-
"sessionless": true,
|
|
205
|
-
"name": "coalesce",
|
|
206
|
-
"inputSchemaName": "CoalesceInput",
|
|
207
|
-
"outputSchemaName": "CoalesceOutput",
|
|
208
|
-
"inputs": [
|
|
209
|
-
"CoalesceInput"
|
|
210
|
-
],
|
|
211
|
-
"outputs": [
|
|
212
|
-
"CoalesceOutput"
|
|
213
|
-
],
|
|
214
|
-
"contractHash": "9aa1a02f90b8ed52",
|
|
215
|
-
"inputHash": "d1baf6ed",
|
|
216
|
-
"outputHash": "eef08a58"
|
|
217
|
-
},
|
|
218
|
-
"crypto": {
|
|
219
|
-
"pikkuFuncId": "crypto",
|
|
220
|
-
"functionType": "user",
|
|
221
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
222
|
-
"sessionless": true,
|
|
223
|
-
"name": "crypto",
|
|
224
|
-
"inputSchemaName": "CryptoInput",
|
|
225
|
-
"outputSchemaName": "CryptoOutput",
|
|
226
|
-
"inputs": [
|
|
227
|
-
"CryptoInput"
|
|
228
|
-
],
|
|
229
|
-
"outputs": [
|
|
230
|
-
"CryptoOutput"
|
|
231
|
-
],
|
|
232
|
-
"contractHash": "9e2e5b2bc9df616e",
|
|
233
|
-
"inputHash": "60d6d839",
|
|
234
|
-
"outputHash": "38bec130"
|
|
235
|
-
},
|
|
236
|
-
"dateTime": {
|
|
237
|
-
"pikkuFuncId": "dateTime",
|
|
238
|
-
"functionType": "user",
|
|
239
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
240
|
-
"sessionless": true,
|
|
241
|
-
"name": "dateTime",
|
|
242
|
-
"inputSchemaName": "DateTimeInput",
|
|
243
|
-
"outputSchemaName": "DateTimeOutput",
|
|
244
|
-
"inputs": [
|
|
245
|
-
"DateTimeInput"
|
|
246
|
-
],
|
|
247
|
-
"outputs": [
|
|
248
|
-
"DateTimeOutput"
|
|
249
|
-
],
|
|
250
|
-
"contractHash": "b297121a74826469",
|
|
251
|
-
"inputHash": "fbb83641",
|
|
252
|
-
"outputHash": "93b7219a"
|
|
253
|
-
},
|
|
254
|
-
"jwtSign": {
|
|
255
|
-
"pikkuFuncId": "jwtSign",
|
|
256
|
-
"functionType": "user",
|
|
257
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
258
|
-
"sessionless": true,
|
|
259
|
-
"name": "jwtSign",
|
|
260
|
-
"inputSchemaName": "JwtSignInput",
|
|
261
|
-
"outputSchemaName": "JwtSignOutput",
|
|
262
|
-
"inputs": [
|
|
263
|
-
"JwtSignInput"
|
|
264
|
-
],
|
|
265
|
-
"outputs": [
|
|
266
|
-
"JwtSignOutput"
|
|
267
|
-
],
|
|
268
|
-
"contractHash": "75f181ad1396ce9d",
|
|
269
|
-
"inputHash": "6c178a3f",
|
|
270
|
-
"outputHash": "5490ba45"
|
|
271
|
-
},
|
|
272
|
-
"jwtDecode": {
|
|
273
|
-
"pikkuFuncId": "jwtDecode",
|
|
274
|
-
"functionType": "user",
|
|
275
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
276
|
-
"sessionless": true,
|
|
277
|
-
"name": "jwtDecode",
|
|
278
|
-
"inputSchemaName": "JwtDecodeInput",
|
|
279
|
-
"outputSchemaName": "JwtDecodeOutput",
|
|
280
|
-
"inputs": [
|
|
281
|
-
"JwtDecodeInput"
|
|
282
|
-
],
|
|
283
|
-
"outputs": [
|
|
284
|
-
"JwtDecodeOutput"
|
|
285
|
-
],
|
|
286
|
-
"contractHash": "3fc7b49a6cdaf7f0",
|
|
287
|
-
"inputHash": "4401b17b",
|
|
288
|
-
"outputHash": "7752bc62"
|
|
289
|
-
},
|
|
290
|
-
"math": {
|
|
291
|
-
"pikkuFuncId": "math",
|
|
292
|
-
"functionType": "user",
|
|
293
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
294
|
-
"sessionless": true,
|
|
295
|
-
"name": "math",
|
|
296
|
-
"inputSchemaName": "MathInput",
|
|
297
|
-
"outputSchemaName": "MathOutput",
|
|
298
|
-
"inputs": [
|
|
299
|
-
"MathInput"
|
|
300
|
-
],
|
|
301
|
-
"outputs": [
|
|
302
|
-
"MathOutput"
|
|
303
|
-
],
|
|
304
|
-
"contractHash": "6777194d9fa978a2",
|
|
305
|
-
"inputHash": "91f5f92b",
|
|
306
|
-
"outputHash": "473f23f2"
|
|
307
|
-
},
|
|
308
|
-
"stringTransform": {
|
|
309
|
-
"pikkuFuncId": "stringTransform",
|
|
310
|
-
"functionType": "user",
|
|
311
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
312
|
-
"sessionless": true,
|
|
313
|
-
"name": "stringTransform",
|
|
314
|
-
"inputSchemaName": "StringTransformInput",
|
|
315
|
-
"outputSchemaName": "StringTransformOutput",
|
|
316
|
-
"inputs": [
|
|
317
|
-
"StringTransformInput"
|
|
318
|
-
],
|
|
319
|
-
"outputs": [
|
|
320
|
-
"StringTransformOutput"
|
|
321
|
-
],
|
|
322
|
-
"contractHash": "a4cd02c14224c4e6",
|
|
323
|
-
"inputHash": "38037e18",
|
|
324
|
-
"outputHash": "5bfa9735"
|
|
325
|
-
},
|
|
326
|
-
"typeConvert": {
|
|
327
|
-
"pikkuFuncId": "typeConvert",
|
|
328
|
-
"functionType": "user",
|
|
329
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
330
|
-
"sessionless": true,
|
|
331
|
-
"name": "typeConvert",
|
|
332
|
-
"inputSchemaName": "TypeConvertInput",
|
|
333
|
-
"outputSchemaName": "TypeConvertOutput",
|
|
334
|
-
"inputs": [
|
|
335
|
-
"TypeConvertInput"
|
|
336
|
-
],
|
|
337
|
-
"outputs": [
|
|
338
|
-
"TypeConvertOutput"
|
|
339
|
-
],
|
|
340
|
-
"contractHash": "a3bfeff5301903cc",
|
|
341
|
-
"inputHash": "3d6e4ac1",
|
|
342
|
-
"outputHash": "da7680c1"
|
|
343
|
-
},
|
|
344
344
|
"editFields": {
|
|
345
345
|
"pikkuFuncId": "editFields",
|
|
346
346
|
"functionType": "user",
|
|
@@ -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.2
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
@@ -9,6 +9,141 @@
|
|
|
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
|
+
}
|
|
12
147
|
export type AggregateInput = {
|
|
13
148
|
/** The array of items to aggregate */
|
|
14
149
|
items: {
|
|
@@ -183,141 +318,6 @@ export type UniqueOutput = {
|
|
|
183
318
|
/** Array with only unique values */
|
|
184
319
|
items: unknown[];
|
|
185
320
|
}
|
|
186
|
-
export type CoalesceInput = {
|
|
187
|
-
/** Values to check in order */
|
|
188
|
-
values: unknown[];
|
|
189
|
-
/** Treat empty strings as null */
|
|
190
|
-
treatEmptyStringAsNull?: boolean | undefined;
|
|
191
|
-
/** Treat zero as null */
|
|
192
|
-
treatZeroAsNull?: boolean | undefined;
|
|
193
|
-
}
|
|
194
|
-
export type CoalesceOutput = {
|
|
195
|
-
/** The first non-null value */
|
|
196
|
-
value: unknown;
|
|
197
|
-
/** Index of the returned value (-1 if all null) */
|
|
198
|
-
index: number;
|
|
199
|
-
}
|
|
200
|
-
export type CryptoInput = {
|
|
201
|
-
/** The cryptographic operation to perform */
|
|
202
|
-
operation: "hash" | "hmac" | "randomBytes" | "uuid" | "base64Encode" | "base64Decode" | "hexEncode" | "hexDecode";
|
|
203
|
-
/** Input data for hash/hmac/encode/decode operations */
|
|
204
|
-
data?: string | undefined;
|
|
205
|
-
/** Hash algorithm for hash/hmac operations */
|
|
206
|
-
algorithm?: ("md5" | "sha1" | "sha256" | "sha384" | "sha512") | undefined;
|
|
207
|
-
/** Secret key for hmac operation */
|
|
208
|
-
key?: string | undefined;
|
|
209
|
-
/** Number of bytes for randomBytes operation */
|
|
210
|
-
length?: number | undefined;
|
|
211
|
-
/** Output encoding for hash/hmac operations */
|
|
212
|
-
encoding?: ("hex" | "base64") | undefined;
|
|
213
|
-
}
|
|
214
|
-
export type CryptoOutput = {
|
|
215
|
-
/** The result of the cryptographic operation */
|
|
216
|
-
result: string;
|
|
217
|
-
}
|
|
218
|
-
export type DateTimeInput = {
|
|
219
|
-
/** The input date/time value (ISO string, timestamp, or parseable date string) */
|
|
220
|
-
value?: (string | number) | undefined;
|
|
221
|
-
/** The operation to perform */
|
|
222
|
-
operation: "format" | "parse" | "add" | "subtract" | "startOf" | "endOf" | "diff" | "now";
|
|
223
|
-
/** Output format for format operation (e.g., YYYY-MM-DD) */
|
|
224
|
-
format?: string | undefined;
|
|
225
|
-
/** Amount for add/subtract operations */
|
|
226
|
-
amount?: number | undefined;
|
|
227
|
-
/** Time unit for add/subtract/startOf/endOf/diff operations */
|
|
228
|
-
unit?: ("years" | "months" | "weeks" | "days" | "hours" | "minutes" | "seconds" | "milliseconds") | undefined;
|
|
229
|
-
/** Second date for diff operation */
|
|
230
|
-
compareWith?: (string | number) | undefined;
|
|
231
|
-
/** Timezone for conversion (e.g., America/New_York) */
|
|
232
|
-
timezone?: string | undefined;
|
|
233
|
-
}
|
|
234
|
-
export type DateTimeOutput = {
|
|
235
|
-
/** The result of the operation */
|
|
236
|
-
result: string | number;
|
|
237
|
-
/** ISO 8601 formatted date string */
|
|
238
|
-
iso: string;
|
|
239
|
-
/** Unix timestamp in milliseconds */
|
|
240
|
-
timestamp: number;
|
|
241
|
-
}
|
|
242
|
-
export type JwtSignInput = {
|
|
243
|
-
/** The payload to encode into the JWT */
|
|
244
|
-
payload: any;
|
|
245
|
-
/** Token expiration time */
|
|
246
|
-
expiresIn: {
|
|
247
|
-
/** Duration value */
|
|
248
|
-
value: number;
|
|
249
|
-
/** Time unit */
|
|
250
|
-
unit: "second" | "minute" | "hour" | "day" | "week" | "year";
|
|
251
|
-
};
|
|
252
|
-
}
|
|
253
|
-
export type JwtSignOutput = {
|
|
254
|
-
/** The signed JWT token */
|
|
255
|
-
token: string;
|
|
256
|
-
}
|
|
257
|
-
export type JwtDecodeInput = {
|
|
258
|
-
/** The JWT token to decode */
|
|
259
|
-
token: string;
|
|
260
|
-
}
|
|
261
|
-
export type JwtDecodeOutput = {
|
|
262
|
-
/** The decoded payload */
|
|
263
|
-
payload: any;
|
|
264
|
-
}
|
|
265
|
-
export type MathInput = {
|
|
266
|
-
/** The math operation to perform */
|
|
267
|
-
operation: "add" | "subtract" | "multiply" | "divide" | "modulo" | "power" | "sqrt" | "abs" | "round" | "floor" | "ceil" | "min" | "max" | "random";
|
|
268
|
-
/** First operand */
|
|
269
|
-
a?: number | undefined;
|
|
270
|
-
/** Second operand (for binary operations) */
|
|
271
|
-
b?: number | undefined;
|
|
272
|
-
/** Decimal places for round operation */
|
|
273
|
-
decimals?: number | undefined;
|
|
274
|
-
}
|
|
275
|
-
export type MathOutput = {
|
|
276
|
-
/** The result of the operation */
|
|
277
|
-
result: number;
|
|
278
|
-
}
|
|
279
|
-
export type StringTransformInput = {
|
|
280
|
-
/** The input string */
|
|
281
|
-
value: string;
|
|
282
|
-
/** The transformation to apply */
|
|
283
|
-
operation: "uppercase" | "lowercase" | "capitalize" | "camelCase" | "snakeCase" | "kebabCase" | "trim" | "trimStart" | "trimEnd" | "split" | "replace" | "slice" | "padStart" | "padEnd";
|
|
284
|
-
/** Separator for split operation */
|
|
285
|
-
separator?: string | undefined;
|
|
286
|
-
/** Search string for replace operation */
|
|
287
|
-
search?: string | undefined;
|
|
288
|
-
/** Replacement string for replace operation */
|
|
289
|
-
replacement?: string | undefined;
|
|
290
|
-
/** Replace all occurrences */
|
|
291
|
-
replaceAll?: boolean | undefined;
|
|
292
|
-
/** Start index for slice */
|
|
293
|
-
start?: number | undefined;
|
|
294
|
-
/** End index for slice */
|
|
295
|
-
end?: number | undefined;
|
|
296
|
-
/** Target length for pad operations */
|
|
297
|
-
length?: number | undefined;
|
|
298
|
-
/** Character to pad with */
|
|
299
|
-
padChar?: string | undefined;
|
|
300
|
-
}
|
|
301
|
-
export type StringTransformOutput = {
|
|
302
|
-
/** The transformed result */
|
|
303
|
-
result: string | string[];
|
|
304
|
-
}
|
|
305
|
-
export type TypeConvertInput = {
|
|
306
|
-
/** The value to convert */
|
|
307
|
-
value: unknown;
|
|
308
|
-
/** Target type */
|
|
309
|
-
to: "string" | "number" | "boolean" | "json" | "array";
|
|
310
|
-
/** Radix for number parsing (e.g., 10, 16) */
|
|
311
|
-
radix?: number | undefined;
|
|
312
|
-
}
|
|
313
|
-
export type TypeConvertOutput = {
|
|
314
|
-
/** The converted value */
|
|
315
|
-
result: unknown;
|
|
316
|
-
/** Whether the conversion succeeded */
|
|
317
|
-
success: boolean;
|
|
318
|
-
/** The original type of the value */
|
|
319
|
-
originalType: string;
|
|
320
|
-
}
|
|
321
321
|
export type EditFieldsInput = {
|
|
322
322
|
/** The input object to transform */
|
|
323
323
|
item: {
|