@octonodes/sdk 0.2.16 → 0.2.26
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/README.md +36 -0
- package/dist/data-tables/table.d.ts +90 -0
- package/dist/data-tables/table.d.ts.map +1 -0
- package/dist/data-tables/table.js +44 -0
- package/dist/data-tables/table.js.map +1 -0
- package/dist/data-tables/types.d.ts +24 -0
- package/dist/data-tables/types.d.ts.map +1 -0
- package/dist/data-tables/types.js +3 -0
- package/dist/data-tables/types.js.map +1 -0
- package/dist/gen/types.gen.d.ts +120 -0
- package/dist/gen/types.gen.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/octonode-client.d.ts +87 -0
- package/dist/octonode-client.d.ts.map +1 -1
- package/dist/octonode-client.js +4 -0
- package/dist/octonode-client.js.map +1 -1
- package/dist/plugins/schema/app/contributions.d.ts +355 -0
- package/dist/plugins/schema/app/contributions.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions.js +179 -0
- package/dist/plugins/schema/app/contributions.js.map +1 -0
- package/dist/plugins/schema/app-contributions.d.ts +355 -0
- package/dist/plugins/schema/app-contributions.d.ts.map +1 -0
- package/dist/plugins/schema/app-contributions.js +179 -0
- package/dist/plugins/schema/app-contributions.js.map +1 -0
- package/dist/plugins/schema/app.d.ts +506 -1
- package/dist/plugins/schema/app.d.ts.map +1 -1
- package/dist/plugins/schema/app.js +59 -5
- package/dist/plugins/schema/app.js.map +1 -1
- package/dist/plugins/schema/constants.d.ts +2 -1
- package/dist/plugins/schema/constants.d.ts.map +1 -1
- package/dist/plugins/schema/constants.js +3 -1
- package/dist/plugins/schema/constants.js.map +1 -1
- package/dist/plugins/schema/icons.d.ts +4 -0
- package/dist/plugins/schema/icons.d.ts.map +1 -1
- package/dist/plugins/schema/icons.js +20 -1
- package/dist/plugins/schema/icons.js.map +1 -1
- package/dist/plugins/schema/ipc/envelope.d.ts +923 -0
- package/dist/plugins/schema/ipc/envelope.d.ts.map +1 -0
- package/dist/plugins/schema/ipc/envelope.js +210 -0
- package/dist/plugins/schema/ipc/envelope.js.map +1 -0
- package/dist/plugins/schema/ipc-envelope.d.ts +55 -55
- package/dist/plugins/schema/ipc-envelope.js +1 -1
- package/dist/plugins/schema/ipc-envelope.js.map +1 -1
- package/dist/plugins/schema/personal/layout.d.ts +52 -0
- package/dist/plugins/schema/personal/layout.d.ts.map +1 -0
- package/dist/plugins/schema/personal/layout.js +26 -0
- package/dist/plugins/schema/personal/layout.js.map +1 -0
- package/dist/plugins/schema/personal-layout.d.ts +52 -0
- package/dist/plugins/schema/personal-layout.d.ts.map +1 -0
- package/dist/plugins/schema/personal-layout.js +26 -0
- package/dist/plugins/schema/personal-layout.js.map +1 -0
- package/dist/plugins/schema/plugin/execution.d.ts +843 -44
- package/dist/plugins/schema/plugin/execution.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/execution.js +2 -2
- package/dist/plugins/schema/plugin/execution.js.map +1 -1
- package/dist/plugins/schema/plugin/plugin.d.ts +802 -39
- package/dist/plugins/schema/plugin/plugin.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/plugin.js +82 -6
- package/dist/plugins/schema/plugin/plugin.js.map +1 -1
- package/dist/plugins/schema/plugin/publishing.d.ts +121 -68
- package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/publishing.js +2 -0
- package/dist/plugins/schema/plugin/publishing.js.map +1 -1
- package/dist/plugins/schema/plugin-publishing.d.ts +68 -68
- package/dist/plugins/schema/plugin-sdk/index.d.ts +2 -1
- package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -1
- package/dist/plugins/schema/plugin-sdk/index.js +2 -1
- package/dist/plugins/schema/plugin-sdk/index.js.map +1 -1
- package/dist/plugins/schema/plugin.d.ts +36 -36
- package/dist/plugins/sdk/constants.d.ts +2 -0
- package/dist/plugins/sdk/constants.d.ts.map +1 -0
- package/dist/plugins/sdk/constants.js +6 -0
- package/dist/plugins/sdk/constants.js.map +1 -0
- package/dist/plugins/sdk/define/node.d.ts +15 -0
- package/dist/plugins/sdk/define/node.d.ts.map +1 -0
- package/dist/plugins/sdk/define/node.js +58 -0
- package/dist/plugins/sdk/define/node.js.map +1 -0
- package/dist/plugins/sdk/define-node.d.ts +5 -0
- package/dist/plugins/sdk/define-node.d.ts.map +1 -1
- package/dist/plugins/sdk/define-node.js +1 -1
- package/dist/plugins/sdk/define-node.js.map +1 -1
- package/dist/plugins/sdk/definitions/clients/output.d.ts +3 -0
- package/dist/plugins/sdk/definitions/clients/output.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/clients/output.js +47 -0
- package/dist/plugins/sdk/definitions/clients/output.js.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/catalog.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/catalog.js +9 -0
- package/dist/plugins/sdk/definitions/compiler/catalog.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/index.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/index.js +59 -2
- package/dist/plugins/sdk/definitions/compiler/index.js.map +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.js +7 -3
- package/dist/plugins/sdk/definitions/npm/emit/js.js.map +1 -1
- package/dist/plugins/sdk/definitions/npm/types.d.ts +35 -2
- package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/types.d.ts +10 -3
- package/dist/plugins/sdk/definitions/types.d.ts.map +1 -1
- package/dist/plugins/sdk/json/schema.d.ts +13 -0
- package/dist/plugins/sdk/json/schema.d.ts.map +1 -0
- package/dist/plugins/sdk/json/schema.js +102 -0
- package/dist/plugins/sdk/json/schema.js.map +1 -0
- package/dist/plugins/sdk/json-schema.js +13 -0
- package/dist/plugins/sdk/json-schema.js.map +1 -1
- package/dist/plugins/sdk/nodes/index.d.ts +3 -1
- package/dist/plugins/sdk/nodes/index.d.ts.map +1 -1
- package/dist/plugins/sdk/nodes/index.js +5 -0
- package/dist/plugins/sdk/nodes/index.js.map +1 -1
- package/dist/plugins/sdk/plugin/index.d.ts +1 -0
- package/dist/plugins/sdk/plugin/index.d.ts.map +1 -1
- package/dist/plugins/sdk/plugin.d.ts +1 -1
- package/dist/plugins/sdk/plugin.d.ts.map +1 -1
- package/dist/plugins/sdk/plugin.js +2 -2
- package/dist/plugins/sdk/plugin.js.map +1 -1
- package/dist/plugins/sdk/plugins/define/node.d.ts +29 -0
- package/dist/plugins/sdk/plugins/define/node.d.ts.map +1 -0
- package/dist/plugins/sdk/plugins/define/node.js +16 -0
- package/dist/plugins/sdk/plugins/define/node.js.map +1 -0
- package/dist/plugins/sdk/plugins/index.d.ts +5 -4
- package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/index.js +21 -15
- package/dist/plugins/sdk/plugins/index.js.map +1 -1
- package/dist/plugins/sdk/plugins/types.d.ts +1 -1
- package/dist/plugins/sdk/plugins/types.d.ts.map +1 -1
- package/dist/plugins/sdk/runner.d.ts +3 -7
- package/dist/plugins/sdk/runner.d.ts.map +1 -1
- package/dist/plugins/sdk/runner.js +61 -18
- package/dist/plugins/sdk/runner.js.map +1 -1
- package/dist/plugins/sdk/types.d.ts +115 -0
- package/dist/plugins/sdk/types.d.ts.map +1 -0
- package/dist/plugins/sdk/types.js +3 -0
- package/dist/plugins/sdk/types.js.map +1 -0
- package/package.json +1 -1
|
@@ -73,8 +73,8 @@ export declare const InvokeRequest: z.ZodObject<{
|
|
|
73
73
|
deadlineMs?: number | undefined;
|
|
74
74
|
}>>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
octonode: "1";
|
|
77
76
|
type: "invoke";
|
|
77
|
+
octonode: "1";
|
|
78
78
|
invocationId: string;
|
|
79
79
|
context: {
|
|
80
80
|
config: Record<string, unknown>;
|
|
@@ -86,8 +86,8 @@ export declare const InvokeRequest: z.ZodObject<{
|
|
|
86
86
|
node?: string | undefined;
|
|
87
87
|
inputs?: unknown;
|
|
88
88
|
}, {
|
|
89
|
-
octonode: "1";
|
|
90
89
|
type: "invoke";
|
|
90
|
+
octonode: "1";
|
|
91
91
|
invocationId: string;
|
|
92
92
|
node?: string | undefined;
|
|
93
93
|
inputs?: unknown;
|
|
@@ -111,13 +111,13 @@ export declare const DescribeRequest: z.ZodObject<{
|
|
|
111
111
|
invocationId: z.ZodString;
|
|
112
112
|
node: z.ZodOptional<z.ZodString>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
octonode: "1";
|
|
115
114
|
type: "describe";
|
|
115
|
+
octonode: "1";
|
|
116
116
|
invocationId: string;
|
|
117
117
|
node?: string | undefined;
|
|
118
118
|
}, {
|
|
119
|
-
octonode: "1";
|
|
120
119
|
type: "describe";
|
|
120
|
+
octonode: "1";
|
|
121
121
|
invocationId: string;
|
|
122
122
|
node?: string | undefined;
|
|
123
123
|
}>;
|
|
@@ -150,8 +150,8 @@ export declare const RequestEnvelope: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
150
150
|
deadlineMs?: number | undefined;
|
|
151
151
|
}>>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
octonode: "1";
|
|
154
153
|
type: "invoke";
|
|
154
|
+
octonode: "1";
|
|
155
155
|
invocationId: string;
|
|
156
156
|
context: {
|
|
157
157
|
config: Record<string, unknown>;
|
|
@@ -163,8 +163,8 @@ export declare const RequestEnvelope: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
163
163
|
node?: string | undefined;
|
|
164
164
|
inputs?: unknown;
|
|
165
165
|
}, {
|
|
166
|
-
octonode: "1";
|
|
167
166
|
type: "invoke";
|
|
167
|
+
octonode: "1";
|
|
168
168
|
invocationId: string;
|
|
169
169
|
node?: string | undefined;
|
|
170
170
|
inputs?: unknown;
|
|
@@ -181,13 +181,13 @@ export declare const RequestEnvelope: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
181
181
|
invocationId: z.ZodString;
|
|
182
182
|
node: z.ZodOptional<z.ZodString>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
octonode: "1";
|
|
185
184
|
type: "describe";
|
|
185
|
+
octonode: "1";
|
|
186
186
|
invocationId: string;
|
|
187
187
|
node?: string | undefined;
|
|
188
188
|
}, {
|
|
189
|
-
octonode: "1";
|
|
190
189
|
type: "describe";
|
|
190
|
+
octonode: "1";
|
|
191
191
|
invocationId: string;
|
|
192
192
|
node?: string | undefined;
|
|
193
193
|
}>]>;
|
|
@@ -200,14 +200,14 @@ export declare const NodeError: z.ZodObject<{
|
|
|
200
200
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
201
201
|
stack: z.ZodOptional<z.ZodString>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
message: string;
|
|
204
203
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
204
|
+
message: string;
|
|
205
205
|
retryable: boolean;
|
|
206
206
|
details?: unknown;
|
|
207
207
|
stack?: string | undefined;
|
|
208
208
|
}, {
|
|
209
|
-
message: string;
|
|
210
209
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
210
|
+
message: string;
|
|
211
211
|
retryable?: boolean | undefined;
|
|
212
212
|
details?: unknown;
|
|
213
213
|
stack?: string | undefined;
|
|
@@ -220,14 +220,14 @@ declare const ResultOk: z.ZodObject<{
|
|
|
220
220
|
status: z.ZodLiteral<"ok">;
|
|
221
221
|
outputs: z.ZodUnknown;
|
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
|
223
|
-
octonode: "1";
|
|
224
223
|
type: "result";
|
|
224
|
+
octonode: "1";
|
|
225
225
|
status: "ok";
|
|
226
226
|
invocationId: string;
|
|
227
227
|
outputs?: unknown;
|
|
228
228
|
}, {
|
|
229
|
-
octonode: "1";
|
|
230
229
|
type: "result";
|
|
230
|
+
octonode: "1";
|
|
231
231
|
status: "ok";
|
|
232
232
|
invocationId: string;
|
|
233
233
|
outputs?: unknown;
|
|
@@ -244,40 +244,40 @@ declare const ResultErr: z.ZodObject<{
|
|
|
244
244
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
245
245
|
stack: z.ZodOptional<z.ZodString>;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
message: string;
|
|
248
247
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
248
|
+
message: string;
|
|
249
249
|
retryable: boolean;
|
|
250
250
|
details?: unknown;
|
|
251
251
|
stack?: string | undefined;
|
|
252
252
|
}, {
|
|
253
|
-
message: string;
|
|
254
253
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
254
|
+
message: string;
|
|
255
255
|
retryable?: boolean | undefined;
|
|
256
256
|
details?: unknown;
|
|
257
257
|
stack?: string | undefined;
|
|
258
258
|
}>;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
260
|
error: {
|
|
261
|
-
message: string;
|
|
262
261
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
262
|
+
message: string;
|
|
263
263
|
retryable: boolean;
|
|
264
264
|
details?: unknown;
|
|
265
265
|
stack?: string | undefined;
|
|
266
266
|
};
|
|
267
|
-
octonode: "1";
|
|
268
267
|
type: "result";
|
|
268
|
+
octonode: "1";
|
|
269
269
|
status: "error";
|
|
270
270
|
invocationId: string;
|
|
271
271
|
}, {
|
|
272
272
|
error: {
|
|
273
|
-
message: string;
|
|
274
273
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
274
|
+
message: string;
|
|
275
275
|
retryable?: boolean | undefined;
|
|
276
276
|
details?: unknown;
|
|
277
277
|
stack?: string | undefined;
|
|
278
278
|
};
|
|
279
|
-
octonode: "1";
|
|
280
279
|
type: "result";
|
|
280
|
+
octonode: "1";
|
|
281
281
|
status: "error";
|
|
282
282
|
invocationId: string;
|
|
283
283
|
}>;
|
|
@@ -289,14 +289,14 @@ export declare const ResultEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodObj
|
|
|
289
289
|
status: z.ZodLiteral<"ok">;
|
|
290
290
|
outputs: z.ZodUnknown;
|
|
291
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
-
octonode: "1";
|
|
293
292
|
type: "result";
|
|
293
|
+
octonode: "1";
|
|
294
294
|
status: "ok";
|
|
295
295
|
invocationId: string;
|
|
296
296
|
outputs?: unknown;
|
|
297
297
|
}, {
|
|
298
|
-
octonode: "1";
|
|
299
298
|
type: "result";
|
|
299
|
+
octonode: "1";
|
|
300
300
|
status: "ok";
|
|
301
301
|
invocationId: string;
|
|
302
302
|
outputs?: unknown;
|
|
@@ -312,40 +312,40 @@ export declare const ResultEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodObj
|
|
|
312
312
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
313
313
|
stack: z.ZodOptional<z.ZodString>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
message: string;
|
|
316
315
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
316
|
+
message: string;
|
|
317
317
|
retryable: boolean;
|
|
318
318
|
details?: unknown;
|
|
319
319
|
stack?: string | undefined;
|
|
320
320
|
}, {
|
|
321
|
-
message: string;
|
|
322
321
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
322
|
+
message: string;
|
|
323
323
|
retryable?: boolean | undefined;
|
|
324
324
|
details?: unknown;
|
|
325
325
|
stack?: string | undefined;
|
|
326
326
|
}>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
error: {
|
|
329
|
-
message: string;
|
|
330
329
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
330
|
+
message: string;
|
|
331
331
|
retryable: boolean;
|
|
332
332
|
details?: unknown;
|
|
333
333
|
stack?: string | undefined;
|
|
334
334
|
};
|
|
335
|
-
octonode: "1";
|
|
336
335
|
type: "result";
|
|
336
|
+
octonode: "1";
|
|
337
337
|
status: "error";
|
|
338
338
|
invocationId: string;
|
|
339
339
|
}, {
|
|
340
340
|
error: {
|
|
341
|
-
message: string;
|
|
342
341
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
342
|
+
message: string;
|
|
343
343
|
retryable?: boolean | undefined;
|
|
344
344
|
details?: unknown;
|
|
345
345
|
stack?: string | undefined;
|
|
346
346
|
};
|
|
347
|
-
octonode: "1";
|
|
348
347
|
type: "result";
|
|
348
|
+
octonode: "1";
|
|
349
349
|
status: "error";
|
|
350
350
|
invocationId: string;
|
|
351
351
|
}>]>;
|
|
@@ -377,7 +377,7 @@ export declare const NodeManifest: z.ZodObject<{
|
|
|
377
377
|
/** Setup params for non-function kinds (constructor/config shape). */
|
|
378
378
|
setup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
379
379
|
/** Advisory default icon — a one-time seed; config owns it thereafter. */
|
|
380
|
-
icon: z.ZodOptional<z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>>;
|
|
380
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
381
381
|
/** Advisory default config — a one-time seed; config owns it thereafter. */
|
|
382
382
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
383
383
|
/** Explicit service exposure. Plain classes never populate this field. */
|
|
@@ -438,7 +438,7 @@ export declare const NodeManifest: z.ZodObject<{
|
|
|
438
438
|
defaults?: Record<string, unknown> | undefined;
|
|
439
439
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
440
440
|
setup?: Record<string, unknown> | undefined;
|
|
441
|
-
icon?:
|
|
441
|
+
icon?: string | undefined;
|
|
442
442
|
}, {
|
|
443
443
|
id: string;
|
|
444
444
|
language: string;
|
|
@@ -461,7 +461,7 @@ export declare const NodeManifest: z.ZodObject<{
|
|
|
461
461
|
defaults?: Record<string, unknown> | undefined;
|
|
462
462
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
463
463
|
setup?: Record<string, unknown> | undefined;
|
|
464
|
-
icon?:
|
|
464
|
+
icon?: string | undefined;
|
|
465
465
|
}>;
|
|
466
466
|
export type NodeManifest = z.infer<typeof NodeManifest>;
|
|
467
467
|
declare const ManifestOk: z.ZodObject<{
|
|
@@ -489,7 +489,7 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
489
489
|
/** Setup params for non-function kinds (constructor/config shape). */
|
|
490
490
|
setup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
491
491
|
/** Advisory default icon — a one-time seed; config owns it thereafter. */
|
|
492
|
-
icon: z.ZodOptional<z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>>;
|
|
492
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
493
493
|
/** Advisory default config — a one-time seed; config owns it thereafter. */
|
|
494
494
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
495
495
|
/** Explicit service exposure. Plain classes never populate this field. */
|
|
@@ -550,7 +550,7 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
550
550
|
defaults?: Record<string, unknown> | undefined;
|
|
551
551
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
552
552
|
setup?: Record<string, unknown> | undefined;
|
|
553
|
-
icon?:
|
|
553
|
+
icon?: string | undefined;
|
|
554
554
|
}, {
|
|
555
555
|
id: string;
|
|
556
556
|
language: string;
|
|
@@ -573,11 +573,11 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
573
573
|
defaults?: Record<string, unknown> | undefined;
|
|
574
574
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
575
575
|
setup?: Record<string, unknown> | undefined;
|
|
576
|
-
icon?:
|
|
576
|
+
icon?: string | undefined;
|
|
577
577
|
}>;
|
|
578
578
|
}, "strip", z.ZodTypeAny, {
|
|
579
|
-
octonode: "1";
|
|
580
579
|
type: "manifest";
|
|
580
|
+
octonode: "1";
|
|
581
581
|
status: "ok";
|
|
582
582
|
invocationId: string;
|
|
583
583
|
manifest: {
|
|
@@ -602,11 +602,11 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
602
602
|
defaults?: Record<string, unknown> | undefined;
|
|
603
603
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
604
604
|
setup?: Record<string, unknown> | undefined;
|
|
605
|
-
icon?:
|
|
605
|
+
icon?: string | undefined;
|
|
606
606
|
};
|
|
607
607
|
}, {
|
|
608
|
-
octonode: "1";
|
|
609
608
|
type: "manifest";
|
|
609
|
+
octonode: "1";
|
|
610
610
|
status: "ok";
|
|
611
611
|
invocationId: string;
|
|
612
612
|
manifest: {
|
|
@@ -631,7 +631,7 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
631
631
|
defaults?: Record<string, unknown> | undefined;
|
|
632
632
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
633
633
|
setup?: Record<string, unknown> | undefined;
|
|
634
|
-
icon?:
|
|
634
|
+
icon?: string | undefined;
|
|
635
635
|
};
|
|
636
636
|
}>;
|
|
637
637
|
declare const ManifestErr: z.ZodObject<{
|
|
@@ -646,40 +646,40 @@ declare const ManifestErr: z.ZodObject<{
|
|
|
646
646
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
647
647
|
stack: z.ZodOptional<z.ZodString>;
|
|
648
648
|
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
message: string;
|
|
650
649
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
650
|
+
message: string;
|
|
651
651
|
retryable: boolean;
|
|
652
652
|
details?: unknown;
|
|
653
653
|
stack?: string | undefined;
|
|
654
654
|
}, {
|
|
655
|
-
message: string;
|
|
656
655
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
656
|
+
message: string;
|
|
657
657
|
retryable?: boolean | undefined;
|
|
658
658
|
details?: unknown;
|
|
659
659
|
stack?: string | undefined;
|
|
660
660
|
}>;
|
|
661
661
|
}, "strip", z.ZodTypeAny, {
|
|
662
662
|
error: {
|
|
663
|
-
message: string;
|
|
664
663
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
664
|
+
message: string;
|
|
665
665
|
retryable: boolean;
|
|
666
666
|
details?: unknown;
|
|
667
667
|
stack?: string | undefined;
|
|
668
668
|
};
|
|
669
|
-
octonode: "1";
|
|
670
669
|
type: "manifest";
|
|
670
|
+
octonode: "1";
|
|
671
671
|
status: "error";
|
|
672
672
|
invocationId: string;
|
|
673
673
|
}, {
|
|
674
674
|
error: {
|
|
675
|
-
message: string;
|
|
676
675
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
676
|
+
message: string;
|
|
677
677
|
retryable?: boolean | undefined;
|
|
678
678
|
details?: unknown;
|
|
679
679
|
stack?: string | undefined;
|
|
680
680
|
};
|
|
681
|
-
octonode: "1";
|
|
682
681
|
type: "manifest";
|
|
682
|
+
octonode: "1";
|
|
683
683
|
status: "error";
|
|
684
684
|
invocationId: string;
|
|
685
685
|
}>;
|
|
@@ -709,7 +709,7 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
709
709
|
/** Setup params for non-function kinds (constructor/config shape). */
|
|
710
710
|
setup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
711
711
|
/** Advisory default icon — a one-time seed; config owns it thereafter. */
|
|
712
|
-
icon: z.ZodOptional<z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>>;
|
|
712
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
713
713
|
/** Advisory default config — a one-time seed; config owns it thereafter. */
|
|
714
714
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
715
715
|
/** Explicit service exposure. Plain classes never populate this field. */
|
|
@@ -770,7 +770,7 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
770
770
|
defaults?: Record<string, unknown> | undefined;
|
|
771
771
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
772
772
|
setup?: Record<string, unknown> | undefined;
|
|
773
|
-
icon?:
|
|
773
|
+
icon?: string | undefined;
|
|
774
774
|
}, {
|
|
775
775
|
id: string;
|
|
776
776
|
language: string;
|
|
@@ -793,11 +793,11 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
793
793
|
defaults?: Record<string, unknown> | undefined;
|
|
794
794
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
795
795
|
setup?: Record<string, unknown> | undefined;
|
|
796
|
-
icon?:
|
|
796
|
+
icon?: string | undefined;
|
|
797
797
|
}>;
|
|
798
798
|
}, "strip", z.ZodTypeAny, {
|
|
799
|
-
octonode: "1";
|
|
800
799
|
type: "manifest";
|
|
800
|
+
octonode: "1";
|
|
801
801
|
status: "ok";
|
|
802
802
|
invocationId: string;
|
|
803
803
|
manifest: {
|
|
@@ -822,11 +822,11 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
822
822
|
defaults?: Record<string, unknown> | undefined;
|
|
823
823
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
824
824
|
setup?: Record<string, unknown> | undefined;
|
|
825
|
-
icon?:
|
|
825
|
+
icon?: string | undefined;
|
|
826
826
|
};
|
|
827
827
|
}, {
|
|
828
|
-
octonode: "1";
|
|
829
828
|
type: "manifest";
|
|
829
|
+
octonode: "1";
|
|
830
830
|
status: "ok";
|
|
831
831
|
invocationId: string;
|
|
832
832
|
manifest: {
|
|
@@ -851,7 +851,7 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
851
851
|
defaults?: Record<string, unknown> | undefined;
|
|
852
852
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
853
853
|
setup?: Record<string, unknown> | undefined;
|
|
854
|
-
icon?:
|
|
854
|
+
icon?: string | undefined;
|
|
855
855
|
};
|
|
856
856
|
}>, z.ZodObject<{
|
|
857
857
|
octonode: z.ZodLiteral<"1">;
|
|
@@ -865,40 +865,40 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
865
865
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
866
866
|
stack: z.ZodOptional<z.ZodString>;
|
|
867
867
|
}, "strip", z.ZodTypeAny, {
|
|
868
|
-
message: string;
|
|
869
868
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
869
|
+
message: string;
|
|
870
870
|
retryable: boolean;
|
|
871
871
|
details?: unknown;
|
|
872
872
|
stack?: string | undefined;
|
|
873
873
|
}, {
|
|
874
|
-
message: string;
|
|
875
874
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
875
|
+
message: string;
|
|
876
876
|
retryable?: boolean | undefined;
|
|
877
877
|
details?: unknown;
|
|
878
878
|
stack?: string | undefined;
|
|
879
879
|
}>;
|
|
880
880
|
}, "strip", z.ZodTypeAny, {
|
|
881
881
|
error: {
|
|
882
|
-
message: string;
|
|
883
882
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
883
|
+
message: string;
|
|
884
884
|
retryable: boolean;
|
|
885
885
|
details?: unknown;
|
|
886
886
|
stack?: string | undefined;
|
|
887
887
|
};
|
|
888
|
-
octonode: "1";
|
|
889
888
|
type: "manifest";
|
|
889
|
+
octonode: "1";
|
|
890
890
|
status: "error";
|
|
891
891
|
invocationId: string;
|
|
892
892
|
}, {
|
|
893
893
|
error: {
|
|
894
|
-
message: string;
|
|
895
894
|
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
|
|
895
|
+
message: string;
|
|
896
896
|
retryable?: boolean | undefined;
|
|
897
897
|
details?: unknown;
|
|
898
898
|
stack?: string | undefined;
|
|
899
899
|
};
|
|
900
|
-
octonode: "1";
|
|
901
900
|
type: "manifest";
|
|
901
|
+
octonode: "1";
|
|
902
902
|
status: "error";
|
|
903
903
|
invocationId: string;
|
|
904
904
|
}>]>;
|
|
@@ -120,7 +120,7 @@ exports.NodeManifest = zod_1.z.object({
|
|
|
120
120
|
/** Setup params for non-function kinds (constructor/config shape). */
|
|
121
121
|
setup: exports.JsonSchema.optional(),
|
|
122
122
|
/** Advisory default icon — a one-time seed; config owns it thereafter. */
|
|
123
|
-
icon: icons_1.
|
|
123
|
+
icon: icons_1.IconValue.optional(),
|
|
124
124
|
/** Advisory default config — a one-time seed; config owns it thereafter. */
|
|
125
125
|
config: zod_1.z.record(zod_1.z.unknown()).optional(),
|
|
126
126
|
/** Explicit service exposure. Plain classes never populate this field. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipc-envelope.js","sourceRoot":"","sources":["../../../src/plugins/schema/ipc-envelope.ts"],"names":[],"mappings":";;;AAuLA,8CAcC;AAED,kDAOC;AAED,oCAQC;AAED,0CAQC;AAED,gDAQC;AAED,8CAQC;AAtPD,8FAA8F;AAC9F,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"ipc-envelope.js","sourceRoot":"","sources":["../../../src/plugins/schema/ipc-envelope.ts"],"names":[],"mappings":";;;AAuLA,8CAcC;AAED,kDAOC;AAED,oCAQC;AAED,0CAQC;AAED,gDAQC;AAED,8CAQC;AAtPD,8FAA8F;AAC9F,6BAAwB;AACxB,mCAAoC;AAEpC;;;;GAIG;AACU,QAAA,gBAAgB,GAAG,GAAY,CAAC;AAE7C;;;;;GAKG;AACU,QAAA,UAAU,GAAG,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AAGhD;;;;GAIG;AACU,QAAA,SAAS,GAAG,OAAC,CAAC,IAAI,CAAC;IAC9B,kBAAkB,EAAE,0CAA0C;IAC9D,eAAe,EAAE,8CAA8C;IAC/D,SAAS,EAAE,iCAAiC;IAC5C,eAAe,EAAE,iDAAiD;CACnE,CAAC,CAAC;AAGH;;;;GAIG;AACU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;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AC,KAAK,CAAC;QAC3B,QAAQ,EAAE,wBAAgB;QAC1B,IAAI,EAAE,UAAU;QAChB,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,IAAI,EAAE,IAAI,CAAC,IAAI;KAChB,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,YAAY,CAAC,YAAoB,EAAE,OAAgB;IACjE,OAAO;QACL,QAAQ,EAAE,wBAAgB;QAC1B,IAAI,EAAE,QAAQ;QACd,YAAY;QACZ,MAAM,EAAE,IAAI;QACZ,OAAO;KACR,CAAC;AACJ,CAAC;AAED,SAAgB,eAAe,CAAC,YAAoB,EAAE,KAAgB;IACpE,OAAO;QACL,QAAQ,EAAE,wBAAgB;QAC1B,IAAI,EAAE,QAAQ;QACd,YAAY;QACZ,MAAM,EAAE,OAAO;QACf,KAAK,EAAE,iBAAS,CAAC,KAAK,CAAC,KAAK,CAAC;KAC9B,CAAC;AACJ,CAAC;AAED,SAAgB,kBAAkB,CAAC,YAAoB,EAAE,QAAsB;IAC7E,OAAO;QACL,QAAQ,EAAE,wBAAgB;QAC1B,IAAI,EAAE,UAAU;QAChB,YAAY;QACZ,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,oBAAY,CAAC,KAAK,CAAC,QAAQ,CAAC;KACvC,CAAC;AACJ,CAAC;AAED,SAAgB,iBAAiB,CAAC,YAAoB,EAAE,KAAgB;IACtE,OAAO;QACL,QAAQ,EAAE,wBAAgB;QAC1B,IAAI,EAAE,UAAU;QAChB,YAAY;QACZ,MAAM,EAAE,OAAO;QACf,KAAK,EAAE,iBAAS,CAAC,KAAK,CAAC,KAAK,CAAC;KAC9B,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PersonalLayoutItems: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
3
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
4
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
}, "strict", z.ZodTypeAny, {
|
|
7
|
+
id: string;
|
|
8
|
+
pinned?: boolean | undefined;
|
|
9
|
+
label?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
id: string;
|
|
12
|
+
pinned?: boolean | undefined;
|
|
13
|
+
label?: string | undefined;
|
|
14
|
+
}>, "many">, {
|
|
15
|
+
id: string;
|
|
16
|
+
pinned?: boolean | undefined;
|
|
17
|
+
label?: string | undefined;
|
|
18
|
+
}[], {
|
|
19
|
+
id: string;
|
|
20
|
+
pinned?: boolean | undefined;
|
|
21
|
+
label?: string | undefined;
|
|
22
|
+
}[]>;
|
|
23
|
+
export declare const SettingsLayout: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
24
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
25
|
+
label: z.ZodOptional<z.ZodString>;
|
|
26
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
}, "strict", z.ZodTypeAny, {
|
|
28
|
+
id: string;
|
|
29
|
+
pinned?: boolean | undefined;
|
|
30
|
+
label?: string | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
id: string;
|
|
33
|
+
pinned?: boolean | undefined;
|
|
34
|
+
label?: string | undefined;
|
|
35
|
+
}>, "many">, {
|
|
36
|
+
id: string;
|
|
37
|
+
pinned?: boolean | undefined;
|
|
38
|
+
label?: string | undefined;
|
|
39
|
+
}[], {
|
|
40
|
+
id: string;
|
|
41
|
+
pinned?: boolean | undefined;
|
|
42
|
+
label?: string | undefined;
|
|
43
|
+
}[]>>, Record<string, {
|
|
44
|
+
id: string;
|
|
45
|
+
pinned?: boolean | undefined;
|
|
46
|
+
label?: string | undefined;
|
|
47
|
+
}[]>, Record<string, {
|
|
48
|
+
id: string;
|
|
49
|
+
pinned?: boolean | undefined;
|
|
50
|
+
label?: string | undefined;
|
|
51
|
+
}[]>>;
|
|
52
|
+
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/personal/layout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;IAe8E,CAAC;AAC/G,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAQsD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SettingsLayout = exports.PersonalLayoutItems = void 0;
|
|
4
|
+
// Generated from packages/schema/src/personal/layout.ts. Do not edit; run the Octonode SDK sync.
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
exports.PersonalLayoutItems = zod_1.z
|
|
7
|
+
.array(zod_1.z
|
|
8
|
+
.object({
|
|
9
|
+
id: zod_1.z
|
|
10
|
+
.string()
|
|
11
|
+
.min(1)
|
|
12
|
+
.max(240)
|
|
13
|
+
.refine((id) => !["__proto__", "__all__"].includes(id)),
|
|
14
|
+
label: zod_1.z.string().trim().min(1).max(240).optional(),
|
|
15
|
+
pinned: zod_1.z.boolean().optional(),
|
|
16
|
+
})
|
|
17
|
+
.strict())
|
|
18
|
+
.max(100)
|
|
19
|
+
.refine((items) => new Set(items.map((item) => item.id)).size === items.length, "Layout IDs must be unique");
|
|
20
|
+
exports.SettingsLayout = zod_1.z
|
|
21
|
+
.record(zod_1.z
|
|
22
|
+
.string()
|
|
23
|
+
.regex(/^[a-z][a-z0-9.-]*$/)
|
|
24
|
+
.max(100), exports.PersonalLayoutItems)
|
|
25
|
+
.refine((value) => Object.keys(value).length <= 64, "At most 64 layout groups");
|
|
26
|
+
//# sourceMappingURL=layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.js","sourceRoot":"","sources":["../../../../src/plugins/schema/personal/layout.ts"],"names":[],"mappings":";;;AAAA,iGAAiG;AACjG,6BAAwB;AACX,QAAA,mBAAmB,GAAG,OAAC;KACjC,KAAK,CACJ,OAAC;KACE,MAAM,CAAC;IACN,EAAE,EAAE,OAAC;SACF,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,GAAG,CAAC;SACR,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IACzD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACnD,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC;KACD,MAAM,EAAE,CACZ;KACA,GAAG,CAAC,GAAG,CAAC;KACR,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC;AAClG,QAAA,cAAc,GAAG,OAAC;KAC5B,MAAM,CACL,OAAC;KACE,MAAM,EAAE;KACR,KAAK,CAAC,oBAAoB,CAAC;KAC3B,GAAG,CAAC,GAAG,CAAC,EACX,2BAAmB,CACpB;KACA,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,IAAI,EAAE,EAAE,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PersonalLayoutItems: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
3
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
4
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
}, "strict", z.ZodTypeAny, {
|
|
7
|
+
id: string;
|
|
8
|
+
pinned?: boolean | undefined;
|
|
9
|
+
label?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
id: string;
|
|
12
|
+
pinned?: boolean | undefined;
|
|
13
|
+
label?: string | undefined;
|
|
14
|
+
}>, "many">, {
|
|
15
|
+
id: string;
|
|
16
|
+
pinned?: boolean | undefined;
|
|
17
|
+
label?: string | undefined;
|
|
18
|
+
}[], {
|
|
19
|
+
id: string;
|
|
20
|
+
pinned?: boolean | undefined;
|
|
21
|
+
label?: string | undefined;
|
|
22
|
+
}[]>;
|
|
23
|
+
export declare const SettingsLayout: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
24
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
25
|
+
label: z.ZodOptional<z.ZodString>;
|
|
26
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
}, "strict", z.ZodTypeAny, {
|
|
28
|
+
id: string;
|
|
29
|
+
pinned?: boolean | undefined;
|
|
30
|
+
label?: string | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
id: string;
|
|
33
|
+
pinned?: boolean | undefined;
|
|
34
|
+
label?: string | undefined;
|
|
35
|
+
}>, "many">, {
|
|
36
|
+
id: string;
|
|
37
|
+
pinned?: boolean | undefined;
|
|
38
|
+
label?: string | undefined;
|
|
39
|
+
}[], {
|
|
40
|
+
id: string;
|
|
41
|
+
pinned?: boolean | undefined;
|
|
42
|
+
label?: string | undefined;
|
|
43
|
+
}[]>>, Record<string, {
|
|
44
|
+
id: string;
|
|
45
|
+
pinned?: boolean | undefined;
|
|
46
|
+
label?: string | undefined;
|
|
47
|
+
}[]>, Record<string, {
|
|
48
|
+
id: string;
|
|
49
|
+
pinned?: boolean | undefined;
|
|
50
|
+
label?: string | undefined;
|
|
51
|
+
}[]>>;
|
|
52
|
+
//# sourceMappingURL=personal-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"personal-layout.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/personal-layout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;IAe8E,CAAC;AAC/G,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAQsD,CAAC"}
|