@pikku/addon-graph 0.0.1 → 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/{.pikku/console/pikku-nodes-meta.gen.json → dist/.pikku/console/pikku-addon-meta.gen.json} +12 -9
- 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 +28 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +16 -0
- 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 +51 -396
- package/dist/.pikku/schema-cache.json +1 -0
- package/dist/.pikku/schemas/pikku.cache.json +1 -0
- package/dist/.pikku/schemas/register.gen.js +3 -1
- package/dist/.pikku/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/schemas/register.gen.ts +5 -1
- 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 +13 -10
- 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
- package/dist/.pikku/console/pikku-nodes-meta.gen.json +0 -278
|
@@ -1,494 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.1
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export type AggregateInput = {
|
|
13
|
-
/** The array of items to aggregate */
|
|
14
|
-
items: {
|
|
15
|
-
[key: string]: unknown;
|
|
16
|
-
}[];
|
|
17
|
-
/** The field path to collect values from */
|
|
18
|
-
field: string;
|
|
19
|
-
/** The name of the output field containing the list */
|
|
20
|
-
outputField?: string | undefined;
|
|
21
|
-
/** Only include unique values */
|
|
22
|
-
unique?: boolean | undefined;
|
|
23
|
-
}
|
|
24
|
-
export type AggregateOutput = {
|
|
25
|
-
/** The output object with aggregated values */
|
|
26
|
-
item: {
|
|
27
|
-
[key: string]: unknown;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
export type ChunkInput = {
|
|
31
|
-
/** The array to split into chunks */
|
|
32
|
-
items: unknown[];
|
|
33
|
-
/** Size of each chunk */
|
|
34
|
-
size: number;
|
|
35
|
-
}
|
|
36
|
-
export type ChunkOutput = {
|
|
37
|
-
/** Array of chunks */
|
|
38
|
-
chunks: unknown[][];
|
|
39
|
-
}
|
|
40
|
-
export type FindInput = {
|
|
41
|
-
/** The array to search */
|
|
42
|
-
items: {
|
|
43
|
-
[key: string]: unknown;
|
|
44
|
-
}[];
|
|
45
|
-
/** The field to match against */
|
|
46
|
-
field: string;
|
|
47
|
-
/** The value to find */
|
|
48
|
-
value: unknown;
|
|
49
|
-
/** Return the index instead of the item */
|
|
50
|
-
returnIndex?: boolean | undefined;
|
|
51
|
-
}
|
|
52
|
-
export type FindOutput = {
|
|
53
|
-
/** The found item (null if not found) */
|
|
54
|
-
item: {
|
|
55
|
-
[key: string]: unknown;
|
|
56
|
-
} | null;
|
|
57
|
-
/** The index of the found item (-1 if not found) */
|
|
58
|
-
index: number;
|
|
59
|
-
/** Whether the item was found */
|
|
60
|
-
found: boolean;
|
|
61
|
-
}
|
|
62
|
-
export type GroupByInput = {
|
|
63
|
-
/** The array of items to group */
|
|
64
|
-
items: {
|
|
65
|
-
[key: string]: unknown;
|
|
66
|
-
}[];
|
|
67
|
-
/** The field to group by (supports dot notation) */
|
|
68
|
-
field: string;
|
|
69
|
-
}
|
|
70
|
-
export type GroupByOutput = {
|
|
71
|
-
/** Object with group keys and their items */
|
|
72
|
-
groups: {
|
|
73
|
-
[key: string]: {
|
|
74
|
-
[key: string]: unknown;
|
|
75
|
-
}[];
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
export type LimitInput = {
|
|
79
|
-
/** The array of items to limit */
|
|
80
|
-
items: unknown[];
|
|
81
|
-
/** Maximum number of items to return */
|
|
82
|
-
limit: number;
|
|
83
|
-
/** Number of items to skip from the beginning */
|
|
84
|
-
offset?: number | undefined;
|
|
85
|
-
}
|
|
86
|
-
export type LimitOutput = {
|
|
87
|
-
/** The limited array of items */
|
|
88
|
-
items: unknown[];
|
|
89
|
-
/** The original total count before limiting */
|
|
90
|
-
totalCount: number;
|
|
91
|
-
}
|
|
92
|
-
export type RemoveDuplicatesInput = {
|
|
93
|
-
/** The array of items to deduplicate */
|
|
94
|
-
items: {
|
|
95
|
-
[key: string]: unknown;
|
|
96
|
-
}[];
|
|
97
|
-
/** Fields to use for comparison (if empty, compares entire objects) */
|
|
98
|
-
fields: string[];
|
|
99
|
-
/** Keep the first occurrence (true) or last (false) */
|
|
100
|
-
keepFirst?: boolean | undefined;
|
|
101
|
-
}
|
|
102
|
-
export type RemoveDuplicatesOutput = {
|
|
103
|
-
/** The deduplicated array of items */
|
|
104
|
-
items: {
|
|
105
|
-
[key: string]: unknown;
|
|
106
|
-
}[];
|
|
107
|
-
/** Number of duplicates removed */
|
|
108
|
-
removedCount: number;
|
|
109
|
-
}
|
|
110
|
-
export type ReverseInput = {
|
|
111
|
-
/** The array to reverse */
|
|
112
|
-
items: unknown[];
|
|
113
|
-
}
|
|
114
|
-
export type ReverseOutput = {
|
|
115
|
-
/** The reversed array */
|
|
116
|
-
items: unknown[];
|
|
117
|
-
}
|
|
118
|
-
export type SortInput = {
|
|
119
|
-
/** The array of items to sort */
|
|
120
|
-
items: {
|
|
121
|
-
[key: string]: unknown;
|
|
122
|
-
}[];
|
|
123
|
-
/** Fields to sort by (in order of priority) */
|
|
124
|
-
sortBy: {
|
|
125
|
-
/** The field path to sort by (supports dot notation) */
|
|
126
|
-
field: string;
|
|
127
|
-
/** Sort order */
|
|
128
|
-
order?: ("asc" | "desc") | undefined;
|
|
129
|
-
}[];
|
|
130
|
-
}
|
|
131
|
-
export type SortOutput = {
|
|
132
|
-
/** The sorted array of items */
|
|
133
|
-
items: {
|
|
134
|
-
[key: string]: unknown;
|
|
135
|
-
}[];
|
|
136
|
-
}
|
|
137
|
-
export type SplitOutInput = {
|
|
138
|
-
/** The input object containing a nested array */
|
|
139
|
-
item: {
|
|
140
|
-
[key: string]: unknown;
|
|
141
|
-
};
|
|
142
|
-
/** The field path containing the array to split (supports dot notation) */
|
|
143
|
-
field: string;
|
|
144
|
-
/** Include parent object fields in each output item */
|
|
145
|
-
includeParent?: boolean | undefined;
|
|
146
|
-
}
|
|
147
|
-
export type SplitOutOutput = {
|
|
148
|
-
/** The split array of items */
|
|
149
|
-
items: {
|
|
150
|
-
[key: string]: unknown;
|
|
151
|
-
}[];
|
|
152
|
-
}
|
|
153
|
-
export type SummarizeInput = {
|
|
154
|
-
/** The array of items to summarize */
|
|
155
|
-
items: {
|
|
156
|
-
[key: string]: unknown;
|
|
157
|
-
}[];
|
|
158
|
-
/** List of aggregation operations to perform */
|
|
159
|
-
aggregations: {
|
|
160
|
-
/** The field path to aggregate */
|
|
161
|
-
field: string;
|
|
162
|
-
/** The aggregation operation */
|
|
163
|
-
operation: "sum" | "avg" | "min" | "max" | "count" | "countDistinct" | "first" | "last";
|
|
164
|
-
/** The name of the output field */
|
|
165
|
-
outputField: string;
|
|
166
|
-
}[];
|
|
167
|
-
/** Fields to group by */
|
|
168
|
-
groupBy?: string[] | undefined;
|
|
169
|
-
}
|
|
170
|
-
export type SummarizeOutput = {
|
|
171
|
-
/** The summarized results */
|
|
172
|
-
items: {
|
|
173
|
-
[key: string]: unknown;
|
|
174
|
-
}[];
|
|
175
|
-
}
|
|
176
|
-
export type UniqueInput = {
|
|
177
|
-
/** The array to get unique values from */
|
|
178
|
-
items: unknown[];
|
|
179
|
-
/** For arrays of objects, the field to check uniqueness by */
|
|
180
|
-
field?: string | undefined;
|
|
181
|
-
}
|
|
182
|
-
export type UniqueOutput = {
|
|
183
|
-
/** Array with only unique values */
|
|
184
|
-
items: unknown[];
|
|
185
|
-
}
|
|
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
|
-
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
|
-
}
|
|
407
|
-
|
|
408
|
-
interface RPCHandler<I, O> {
|
|
409
|
-
input: I;
|
|
410
|
-
output: O;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
export type RPCMap = {
|
|
414
|
-
readonly 'aggregate': RPCHandler<AggregateInput, AggregateOutput>,
|
|
415
|
-
readonly 'chunk': RPCHandler<ChunkInput, ChunkOutput>,
|
|
416
|
-
readonly 'find': RPCHandler<FindInput, FindOutput>,
|
|
417
|
-
readonly 'groupBy': RPCHandler<GroupByInput, GroupByOutput>,
|
|
418
|
-
readonly 'limit': RPCHandler<LimitInput, LimitOutput>,
|
|
419
|
-
readonly 'removeDuplicates': RPCHandler<RemoveDuplicatesInput, RemoveDuplicatesOutput>,
|
|
420
|
-
readonly 'reverse': RPCHandler<ReverseInput, ReverseOutput>,
|
|
421
|
-
readonly 'sort': RPCHandler<SortInput, SortOutput>,
|
|
422
|
-
readonly 'splitOut': RPCHandler<SplitOutInput, SplitOutOutput>,
|
|
423
|
-
readonly 'summarize': RPCHandler<SummarizeInput, SummarizeOutput>,
|
|
424
|
-
readonly 'unique': RPCHandler<UniqueInput, UniqueOutput>,
|
|
425
|
-
readonly 'coalesce': RPCHandler<CoalesceInput, CoalesceOutput>,
|
|
426
|
-
readonly 'crypto': RPCHandler<CryptoInput, CryptoOutput>,
|
|
427
|
-
readonly 'dateTime': RPCHandler<DateTimeInput, DateTimeOutput>,
|
|
428
|
-
readonly 'jwtSign': RPCHandler<JwtSignInput, JwtSignOutput>,
|
|
429
|
-
readonly 'jwtDecode': RPCHandler<JwtDecodeInput, JwtDecodeOutput>,
|
|
430
|
-
readonly 'math': RPCHandler<MathInput, MathOutput>,
|
|
431
|
-
readonly 'stringTransform': RPCHandler<StringTransformInput, StringTransformOutput>,
|
|
432
|
-
readonly 'typeConvert': RPCHandler<TypeConvertInput, TypeConvertOutput>,
|
|
433
|
-
readonly 'editFields': RPCHandler<EditFieldsInput, EditFieldsOutput>,
|
|
434
|
-
readonly 'merge': RPCHandler<MergeInput, MergeOutput>,
|
|
435
|
-
readonly 'omit': RPCHandler<OmitInput, OmitOutput>,
|
|
436
|
-
readonly 'pick': RPCHandler<PickInput, PickOutput>,
|
|
437
|
-
readonly 'renameKeys': RPCHandler<RenameKeysInput, RenameKeysOutput>,
|
|
438
|
-
};
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
// No addon packages, use RPCMap directly
|
|
443
|
-
export type FlattenedRPCMap = RPCMap
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
447
|
-
name: Name,
|
|
448
|
-
data: FlattenedRPCMap[Name]['input']
|
|
449
|
-
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
450
|
-
|
|
451
|
-
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
452
|
-
name: Name,
|
|
453
|
-
data: FlattenedRPCMap[Name]['input']
|
|
454
|
-
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
455
|
-
|
|
456
|
-
import type { WorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
457
|
-
|
|
458
|
-
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
type FlattenedAgentMap = AgentMap
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
465
|
-
|
|
466
|
-
interface AIAgentInput {
|
|
467
|
-
message: string
|
|
468
|
-
threadId: string
|
|
469
|
-
resourceId: string
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
export type TypedStartWorkflow = <Name extends keyof WorkflowMap>(
|
|
473
|
-
name: Name,
|
|
474
|
-
input: WorkflowMap[Name]['input'],
|
|
475
|
-
options?: { startNode?: string }
|
|
476
|
-
) => Promise<{ runId: string }>
|
|
477
|
-
|
|
478
|
-
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
479
|
-
? (name: string, input: AIAgentInput) => Promise<any>
|
|
480
|
-
: <Name extends keyof FlattenedAgentMap>(
|
|
481
|
-
name: Name,
|
|
482
|
-
input: AIAgentInput
|
|
483
|
-
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
484
|
-
|
|
485
|
-
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
486
|
-
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
487
|
-
: <Name extends keyof FlattenedAgentMap>(
|
|
488
|
-
name: Name,
|
|
489
|
-
input: AIAgentInput,
|
|
490
|
-
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
491
|
-
) => Promise<void>
|
|
492
|
-
|
|
493
|
-
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
494
|
-
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.1
|
|
3
|
-
*/
|
|
4
|
-
import { addSchema } from '@pikku/core/schema'
|
|
5
|
-
|
|
6
|
-
import * as AggregateInput from './schemas/AggregateInput.schema.json' with { type: 'json' }
|
|
7
|
-
addSchema('AggregateInput', AggregateInput, '@pikku/addon-graph')
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import * as AggregateOutput from './schemas/AggregateOutput.schema.json' with { type: 'json' }
|
|
11
|
-
addSchema('AggregateOutput', AggregateOutput, '@pikku/addon-graph')
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import * as ChunkInput from './schemas/ChunkInput.schema.json' with { type: 'json' }
|
|
15
|
-
addSchema('ChunkInput', ChunkInput, '@pikku/addon-graph')
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import * as ChunkOutput from './schemas/ChunkOutput.schema.json' with { type: 'json' }
|
|
19
|
-
addSchema('ChunkOutput', ChunkOutput, '@pikku/addon-graph')
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
import * as FindInput from './schemas/FindInput.schema.json' with { type: 'json' }
|
|
23
|
-
addSchema('FindInput', FindInput, '@pikku/addon-graph')
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
import * as FindOutput from './schemas/FindOutput.schema.json' with { type: 'json' }
|
|
27
|
-
addSchema('FindOutput', FindOutput, '@pikku/addon-graph')
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
import * as GroupByInput from './schemas/GroupByInput.schema.json' with { type: 'json' }
|
|
31
|
-
addSchema('GroupByInput', GroupByInput, '@pikku/addon-graph')
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
import * as GroupByOutput from './schemas/GroupByOutput.schema.json' with { type: 'json' }
|
|
35
|
-
addSchema('GroupByOutput', GroupByOutput, '@pikku/addon-graph')
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
import * as LimitInput from './schemas/LimitInput.schema.json' with { type: 'json' }
|
|
39
|
-
addSchema('LimitInput', LimitInput, '@pikku/addon-graph')
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
import * as LimitOutput from './schemas/LimitOutput.schema.json' with { type: 'json' }
|
|
43
|
-
addSchema('LimitOutput', LimitOutput, '@pikku/addon-graph')
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
import * as RemoveDuplicatesInput from './schemas/RemoveDuplicatesInput.schema.json' with { type: 'json' }
|
|
47
|
-
addSchema('RemoveDuplicatesInput', RemoveDuplicatesInput, '@pikku/addon-graph')
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
import * as RemoveDuplicatesOutput from './schemas/RemoveDuplicatesOutput.schema.json' with { type: 'json' }
|
|
51
|
-
addSchema('RemoveDuplicatesOutput', RemoveDuplicatesOutput, '@pikku/addon-graph')
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
import * as ReverseInput from './schemas/ReverseInput.schema.json' with { type: 'json' }
|
|
55
|
-
addSchema('ReverseInput', ReverseInput, '@pikku/addon-graph')
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
import * as ReverseOutput from './schemas/ReverseOutput.schema.json' with { type: 'json' }
|
|
59
|
-
addSchema('ReverseOutput', ReverseOutput, '@pikku/addon-graph')
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
import * as SortInput from './schemas/SortInput.schema.json' with { type: 'json' }
|
|
63
|
-
addSchema('SortInput', SortInput, '@pikku/addon-graph')
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
import * as SortOutput from './schemas/SortOutput.schema.json' with { type: 'json' }
|
|
67
|
-
addSchema('SortOutput', SortOutput, '@pikku/addon-graph')
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
import * as SplitOutInput from './schemas/SplitOutInput.schema.json' with { type: 'json' }
|
|
71
|
-
addSchema('SplitOutInput', SplitOutInput, '@pikku/addon-graph')
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
import * as SplitOutOutput from './schemas/SplitOutOutput.schema.json' with { type: 'json' }
|
|
75
|
-
addSchema('SplitOutOutput', SplitOutOutput, '@pikku/addon-graph')
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
import * as SummarizeInput from './schemas/SummarizeInput.schema.json' with { type: 'json' }
|
|
79
|
-
addSchema('SummarizeInput', SummarizeInput, '@pikku/addon-graph')
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
import * as SummarizeOutput from './schemas/SummarizeOutput.schema.json' with { type: 'json' }
|
|
83
|
-
addSchema('SummarizeOutput', SummarizeOutput, '@pikku/addon-graph')
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
import * as UniqueInput from './schemas/UniqueInput.schema.json' with { type: 'json' }
|
|
87
|
-
addSchema('UniqueInput', UniqueInput, '@pikku/addon-graph')
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
import * as UniqueOutput from './schemas/UniqueOutput.schema.json' with { type: 'json' }
|
|
91
|
-
addSchema('UniqueOutput', UniqueOutput, '@pikku/addon-graph')
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
import * as CoalesceInput from './schemas/CoalesceInput.schema.json' with { type: 'json' }
|
|
95
|
-
addSchema('CoalesceInput', CoalesceInput, '@pikku/addon-graph')
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
import * as CoalesceOutput from './schemas/CoalesceOutput.schema.json' with { type: 'json' }
|
|
99
|
-
addSchema('CoalesceOutput', CoalesceOutput, '@pikku/addon-graph')
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
import * as CryptoInput from './schemas/CryptoInput.schema.json' with { type: 'json' }
|
|
103
|
-
addSchema('CryptoInput', CryptoInput, '@pikku/addon-graph')
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
import * as CryptoOutput from './schemas/CryptoOutput.schema.json' with { type: 'json' }
|
|
107
|
-
addSchema('CryptoOutput', CryptoOutput, '@pikku/addon-graph')
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
import * as DateTimeInput from './schemas/DateTimeInput.schema.json' with { type: 'json' }
|
|
111
|
-
addSchema('DateTimeInput', DateTimeInput, '@pikku/addon-graph')
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
import * as DateTimeOutput from './schemas/DateTimeOutput.schema.json' with { type: 'json' }
|
|
115
|
-
addSchema('DateTimeOutput', DateTimeOutput, '@pikku/addon-graph')
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
import * as JwtSignInput from './schemas/JwtSignInput.schema.json' with { type: 'json' }
|
|
119
|
-
addSchema('JwtSignInput', JwtSignInput, '@pikku/addon-graph')
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
import * as JwtSignOutput from './schemas/JwtSignOutput.schema.json' with { type: 'json' }
|
|
123
|
-
addSchema('JwtSignOutput', JwtSignOutput, '@pikku/addon-graph')
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
import * as JwtDecodeInput from './schemas/JwtDecodeInput.schema.json' with { type: 'json' }
|
|
127
|
-
addSchema('JwtDecodeInput', JwtDecodeInput, '@pikku/addon-graph')
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
import * as JwtDecodeOutput from './schemas/JwtDecodeOutput.schema.json' with { type: 'json' }
|
|
131
|
-
addSchema('JwtDecodeOutput', JwtDecodeOutput, '@pikku/addon-graph')
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
import * as MathInput from './schemas/MathInput.schema.json' with { type: 'json' }
|
|
135
|
-
addSchema('MathInput', MathInput, '@pikku/addon-graph')
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
import * as MathOutput from './schemas/MathOutput.schema.json' with { type: 'json' }
|
|
139
|
-
addSchema('MathOutput', MathOutput, '@pikku/addon-graph')
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
import * as StringTransformInput from './schemas/StringTransformInput.schema.json' with { type: 'json' }
|
|
143
|
-
addSchema('StringTransformInput', StringTransformInput, '@pikku/addon-graph')
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
import * as StringTransformOutput from './schemas/StringTransformOutput.schema.json' with { type: 'json' }
|
|
147
|
-
addSchema('StringTransformOutput', StringTransformOutput, '@pikku/addon-graph')
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
import * as TypeConvertInput from './schemas/TypeConvertInput.schema.json' with { type: 'json' }
|
|
151
|
-
addSchema('TypeConvertInput', TypeConvertInput, '@pikku/addon-graph')
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
import * as TypeConvertOutput from './schemas/TypeConvertOutput.schema.json' with { type: 'json' }
|
|
155
|
-
addSchema('TypeConvertOutput', TypeConvertOutput, '@pikku/addon-graph')
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
import * as EditFieldsInput from './schemas/EditFieldsInput.schema.json' with { type: 'json' }
|
|
159
|
-
addSchema('EditFieldsInput', EditFieldsInput, '@pikku/addon-graph')
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
import * as EditFieldsOutput from './schemas/EditFieldsOutput.schema.json' with { type: 'json' }
|
|
163
|
-
addSchema('EditFieldsOutput', EditFieldsOutput, '@pikku/addon-graph')
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
import * as MergeInput from './schemas/MergeInput.schema.json' with { type: 'json' }
|
|
167
|
-
addSchema('MergeInput', MergeInput, '@pikku/addon-graph')
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
import * as MergeOutput from './schemas/MergeOutput.schema.json' with { type: 'json' }
|
|
171
|
-
addSchema('MergeOutput', MergeOutput, '@pikku/addon-graph')
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
import * as OmitInput from './schemas/OmitInput.schema.json' with { type: 'json' }
|
|
175
|
-
addSchema('OmitInput', OmitInput, '@pikku/addon-graph')
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
import * as OmitOutput from './schemas/OmitOutput.schema.json' with { type: 'json' }
|
|
179
|
-
addSchema('OmitOutput', OmitOutput, '@pikku/addon-graph')
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
import * as PickInput from './schemas/PickInput.schema.json' with { type: 'json' }
|
|
183
|
-
addSchema('PickInput', PickInput, '@pikku/addon-graph')
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
import * as PickOutput from './schemas/PickOutput.schema.json' with { type: 'json' }
|
|
187
|
-
addSchema('PickOutput', PickOutput, '@pikku/addon-graph')
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
import * as RenameKeysInput from './schemas/RenameKeysInput.schema.json' with { type: 'json' }
|
|
191
|
-
addSchema('RenameKeysInput', RenameKeysInput, '@pikku/addon-graph')
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
import * as RenameKeysOutput from './schemas/RenameKeysOutput.schema.json' with { type: 'json' }
|
|
195
|
-
addSchema('RenameKeysOutput', RenameKeysOutput, '@pikku/addon-graph')
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"description":"The array of items to aggregate"},"field":{"type":"string","description":"The field path to collect values from"},"outputField":{"description":"The name of the output field containing the list","type":"string"},"unique":{"description":"Only include unique values","type":"boolean"}},"required":["items","field"],"additionalProperties":false}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"item":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"The output object with aggregated values"}},"required":["item"],"additionalProperties":false}
|