@pipelab/shared 1.0.0-beta.3 → 1.0.0-beta.30
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/.oxfmtrc.json +1 -1
- package/CHANGELOG.md +234 -0
- package/dist/index.cjs +44534 -0
- package/dist/index.d.cts +4664 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +1514 -499
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1098 -436
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -4
- package/src/apis.ts +126 -31
- package/src/build-history.ts +3 -23
- package/src/config/connections-definition.ts +3 -0
- package/src/config/migrators.ts +176 -25
- package/src/config/projects-definition.ts +8 -1
- package/src/config/projects-types.ts +1 -25
- package/src/config.schema.ts +29 -5
- package/src/evaluator.ts +0 -1
- package/src/graph.ts +2 -70
- package/src/i18n/de_DE.json +138 -51
- package/src/i18n/en_US.json +67 -52
- package/src/i18n/es_ES.json +139 -52
- package/src/i18n/fr_FR.json +128 -44
- package/src/i18n/pt_BR.json +136 -49
- package/src/i18n/zh_CN.json +142 -55
- package/src/index.ts +21 -1
- package/src/ipc.types.ts +2 -0
- package/src/model.test.ts +306 -1
- package/src/model.ts +54 -43
- package/src/plugins/definitions.ts +26 -55
- package/src/plugins-list.ts +17 -0
- package/src/plugins.ts +10 -1
- package/src/utils.ts +26 -0
- package/tsconfig.json +2 -4
- package/tsconfig.test.json +8 -0
- package/tsdown.config.ts +12 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
import * as _pipelab_migration0 from "@pipelab/migration";
|
|
2
3
|
import * as valibot from "valibot";
|
|
3
4
|
import { GenericSchema, InferInput, InferOutput } from "valibot";
|
|
4
5
|
import { ILogObjMeta, Logger } from "tslog";
|
|
@@ -8,7 +9,40 @@ import { User, UserResponse } from "@supabase/supabase-js";
|
|
|
8
9
|
import { ConditionalPick, Simplify, Tagged } from "type-fest";
|
|
9
10
|
import { WebSocket } from "ws";
|
|
10
11
|
import { IncomingMessage as IncomingMessage$1 } from "http";
|
|
12
|
+
import { SandboxFolder } from "@pipelab/constants";
|
|
11
13
|
|
|
14
|
+
//#region src/quickjs.d.ts
|
|
15
|
+
/**
|
|
16
|
+
* Creates a QuickJS instance from an already-resolved variant.
|
|
17
|
+
* Callers are responsible for importing and passing the correct variant
|
|
18
|
+
* for their environment (Node vs browser) using a static import.
|
|
19
|
+
*/
|
|
20
|
+
declare const createQuickJsFromVariant: (variant: any) => Promise<{
|
|
21
|
+
run: (code: string, params: Record<string, unknown>) => any;
|
|
22
|
+
createContext: () => {
|
|
23
|
+
run: (code: string, params: Record<string, unknown>) => any;
|
|
24
|
+
dispose: () => void;
|
|
25
|
+
};
|
|
26
|
+
}>;
|
|
27
|
+
declare const createQuickJs: () => Promise<{
|
|
28
|
+
run: (code: string, params: Record<string, unknown>) => any;
|
|
29
|
+
createContext: () => {
|
|
30
|
+
run: (code: string, params: Record<string, unknown>) => any;
|
|
31
|
+
dispose: () => void;
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
34
|
+
type CreateQuickJSFn = ReturnType<typeof createQuickJs>;
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/variables.d.ts
|
|
37
|
+
interface VariableBase {
|
|
38
|
+
value: string;
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
description: string;
|
|
42
|
+
}
|
|
43
|
+
type Variable = VariableBase;
|
|
44
|
+
declare const variableToFormattedVariable: (vm: Awaited<CreateQuickJSFn>, variables: Variable[]) => Promise<Record<string, string>>;
|
|
45
|
+
//#endregion
|
|
12
46
|
//#region src/config/migrators.d.ts
|
|
13
47
|
interface Migrator<T> {
|
|
14
48
|
migrate: (data: any, options?: any) => Promise<T>;
|
|
@@ -101,6 +135,7 @@ interface ControlTypePath extends ControlTypeBase {
|
|
|
101
135
|
type: "path";
|
|
102
136
|
options: OpenDialogOptions$1;
|
|
103
137
|
label?: string;
|
|
138
|
+
warnIfBlacklisted?: boolean;
|
|
104
139
|
}
|
|
105
140
|
interface ControlTypeJSON extends ControlTypeBase {
|
|
106
141
|
type: "json";
|
|
@@ -151,16 +186,32 @@ type IconType = {
|
|
|
151
186
|
icon: string;
|
|
152
187
|
};
|
|
153
188
|
interface PluginDefinition {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
icon: IconType;
|
|
157
|
-
description: string;
|
|
189
|
+
packageName?: string;
|
|
190
|
+
version?: string;
|
|
158
191
|
}
|
|
159
192
|
type RendererNodeDefinition = {
|
|
160
193
|
node: PipelabNode;
|
|
161
194
|
};
|
|
195
|
+
interface IntegrationField {
|
|
196
|
+
key: string;
|
|
197
|
+
label: string;
|
|
198
|
+
type: "text" | "password" | "file" | "directory";
|
|
199
|
+
placeholder?: string;
|
|
200
|
+
}
|
|
201
|
+
interface IntegrationDefinition {
|
|
202
|
+
name: string;
|
|
203
|
+
fields: IntegrationField[];
|
|
204
|
+
}
|
|
162
205
|
interface RendererPluginDefinition extends PluginDefinition {
|
|
206
|
+
id: string;
|
|
207
|
+
name: string;
|
|
208
|
+
icon: IconType;
|
|
209
|
+
description: string;
|
|
210
|
+
isOfficial: boolean;
|
|
211
|
+
packageName: string;
|
|
212
|
+
version: string;
|
|
163
213
|
nodes: Array<RendererNodeDefinition>;
|
|
214
|
+
integrations?: Array<IntegrationDefinition>;
|
|
164
215
|
}
|
|
165
216
|
interface MainPluginDefinition extends PluginDefinition {
|
|
166
217
|
nodes: ({
|
|
@@ -171,6 +222,7 @@ interface MainPluginDefinition extends PluginDefinition {
|
|
|
171
222
|
description: string;
|
|
172
223
|
validator: (options: any) => any;
|
|
173
224
|
}>;
|
|
225
|
+
integrations?: Array<IntegrationDefinition>;
|
|
174
226
|
}
|
|
175
227
|
declare const createNodeDefinition: (def: MainPluginDefinition) => MainPluginDefinition;
|
|
176
228
|
type InputsOutputsDefinition = InputsDefinition | OutputsDefinition;
|
|
@@ -184,7 +236,6 @@ type GetFlowKeys<T extends InputsOutputsDefinition> = keyof GetFlowEntries<T>;
|
|
|
184
236
|
type GetDataKeys<T extends InputsOutputsDefinition> = keyof GetDataEntries<T>;
|
|
185
237
|
type DataResult = Record<string, any>;
|
|
186
238
|
type SetOutputActionFn<T extends Action> = (key: keyof T["outputs"], value: T["outputs"][typeof key]["value"]) => void;
|
|
187
|
-
type SetOutputLoopFn<T extends Loop> = (key: keyof T["outputs"], value: T["outputs"][typeof key]["value"]) => void;
|
|
188
239
|
type SetOutputExpressionFn<T extends Expression> = (key: keyof T["outputs"], value: T["outputs"][typeof key]["value"]) => void;
|
|
189
240
|
type ParamsToInput<PARAMS extends InputsDefinition> = { [index in keyof PARAMS]: PARAMS[index]["required"] extends true ? PARAMS[index]["value"] : PARAMS[index]["value"] | null };
|
|
190
241
|
interface BaseNode {
|
|
@@ -208,34 +259,8 @@ interface Action extends BaseNode {
|
|
|
208
259
|
deprecatedMessage?: string;
|
|
209
260
|
}
|
|
210
261
|
type ExtractInputsFromAction<ACTION extends Action> = { [index in keyof ACTION["params"]]: ACTION["params"][index]["value"] };
|
|
211
|
-
type ExtractInputsFromCondition<CONDITION extends Condition> = { [index in keyof CONDITION["params"]]: CONDITION["params"][index]["value"] };
|
|
212
|
-
type ExtractInputsFromLoop<LOOP extends Loop> = { [index in keyof LOOP["params"]]: LOOP["params"][index]["value"] };
|
|
213
262
|
type ExtractInputsFromEvent<EVENT extends Event$1> = { [index in keyof EVENT["params"]]: EVENT["params"][index]["value"] };
|
|
214
263
|
type ExtractInputsFromExpression<EXPRESSION extends Expression> = { [index in keyof EXPRESSION["params"]]: EXPRESSION["params"][index]["value"] };
|
|
215
|
-
interface Condition extends BaseNode {
|
|
216
|
-
id: string;
|
|
217
|
-
type: "condition";
|
|
218
|
-
version?: number;
|
|
219
|
-
displayString: string;
|
|
220
|
-
icon: string;
|
|
221
|
-
name: string;
|
|
222
|
-
description: string;
|
|
223
|
-
params: InputsDefinition;
|
|
224
|
-
meta?: Meta;
|
|
225
|
-
platforms?: NodeJS.Platform[];
|
|
226
|
-
}
|
|
227
|
-
interface Loop extends BaseNode {
|
|
228
|
-
id: string;
|
|
229
|
-
type: "loop";
|
|
230
|
-
version?: number;
|
|
231
|
-
displayString: string;
|
|
232
|
-
icon: string;
|
|
233
|
-
name: string;
|
|
234
|
-
description: string;
|
|
235
|
-
params: InputsDefinition;
|
|
236
|
-
meta?: Meta;
|
|
237
|
-
outputs: OutputsDefinition;
|
|
238
|
-
}
|
|
239
264
|
interface Expression extends BaseNode {
|
|
240
265
|
id: string;
|
|
241
266
|
type: "expression";
|
|
@@ -260,7 +285,7 @@ interface Event$1 extends BaseNode {
|
|
|
260
285
|
meta?: Meta;
|
|
261
286
|
platforms?: NodeJS.Platform[];
|
|
262
287
|
}
|
|
263
|
-
type PipelabNode = Event$1 |
|
|
288
|
+
type PipelabNode = Event$1 | Expression | Action;
|
|
264
289
|
declare const createDefinition: <T extends MainPluginDefinition>(definition: T) => T;
|
|
265
290
|
declare const createAction: <T extends Omit<Action, "type">>(action: T) => T & {
|
|
266
291
|
type: "action";
|
|
@@ -385,53 +410,16 @@ declare const createRawParam: <T>(value: T, definition: Omit<InputDefinition, "v
|
|
|
385
410
|
declare const createExpression: <T extends Omit<Expression, "type">>(expression: T) => T & {
|
|
386
411
|
type: "expression";
|
|
387
412
|
};
|
|
388
|
-
declare const createCondition: <T extends Omit<Condition, "type">>(condition: T) => T & {
|
|
389
|
-
type: "condition";
|
|
390
|
-
};
|
|
391
|
-
declare const createLoop: <T extends Omit<Loop, "type">>(loop: T) => T & {
|
|
392
|
-
type: "loop";
|
|
393
|
-
};
|
|
394
413
|
declare const createEvent: <T extends Omit<Event$1, "type">>(event: T) => T & {
|
|
395
414
|
type: "event";
|
|
396
415
|
};
|
|
397
416
|
//#endregion
|
|
398
|
-
//#region src/quickjs.d.ts
|
|
399
|
-
/**
|
|
400
|
-
* Creates a QuickJS instance from an already-resolved variant.
|
|
401
|
-
* Callers are responsible for importing and passing the correct variant
|
|
402
|
-
* for their environment (Node vs browser) using a static import.
|
|
403
|
-
*/
|
|
404
|
-
declare const createQuickJsFromVariant: (variant: any) => Promise<{
|
|
405
|
-
run: (code: string, params: Record<string, unknown>) => any;
|
|
406
|
-
createContext: () => {
|
|
407
|
-
run: (code: string, params: Record<string, unknown>) => any;
|
|
408
|
-
dispose: () => void;
|
|
409
|
-
};
|
|
410
|
-
}>;
|
|
411
|
-
declare const createQuickJs: () => Promise<{
|
|
412
|
-
run: (code: string, params: Record<string, unknown>) => any;
|
|
413
|
-
createContext: () => {
|
|
414
|
-
run: (code: string, params: Record<string, unknown>) => any;
|
|
415
|
-
dispose: () => void;
|
|
416
|
-
};
|
|
417
|
-
}>;
|
|
418
|
-
type CreateQuickJSFn = ReturnType<typeof createQuickJs>;
|
|
419
|
-
//#endregion
|
|
420
|
-
//#region src/variables.d.ts
|
|
421
|
-
interface VariableBase {
|
|
422
|
-
value: string;
|
|
423
|
-
id: string;
|
|
424
|
-
name: string;
|
|
425
|
-
description: string;
|
|
426
|
-
}
|
|
427
|
-
type Variable = VariableBase;
|
|
428
|
-
declare const variableToFormattedVariable: (vm: Awaited<CreateQuickJSFn>, variables: Variable[]) => Promise<Record<string, string>>;
|
|
429
|
-
//#endregion
|
|
430
417
|
//#region src/utils.d.ts
|
|
431
418
|
declare const foo = "bar";
|
|
432
419
|
type WithId<T> = T extends string | number ? never : T & {
|
|
433
420
|
id: string;
|
|
434
421
|
};
|
|
422
|
+
declare const transformUrl: (url: string | undefined | null) => string;
|
|
435
423
|
//#endregion
|
|
436
424
|
//#region src/save-location.d.ts
|
|
437
425
|
declare const SaveLocationInternalValidator: valibot.ObjectSchema<{
|
|
@@ -488,6 +476,7 @@ declare const SaveLocationValidator: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
|
488
476
|
type SaveLocation = InferInput<typeof SaveLocationValidator>;
|
|
489
477
|
//#endregion
|
|
490
478
|
//#region src/model.d.ts
|
|
479
|
+
type NodeId = string;
|
|
491
480
|
type Position = {
|
|
492
481
|
x: number;
|
|
493
482
|
y: number;
|
|
@@ -495,6 +484,7 @@ type Position = {
|
|
|
495
484
|
declare const OriginValidator: valibot.ObjectSchema<{
|
|
496
485
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
497
486
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
487
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
498
488
|
}, undefined>;
|
|
499
489
|
type Origin = InferOutput<typeof OriginValidator>;
|
|
500
490
|
declare const EditorParamValidatorV3: valibot.UnionSchema<[valibot.LiteralSchema<"simple", undefined>, valibot.LiteralSchema<"editor", undefined>], undefined>;
|
|
@@ -502,7 +492,7 @@ type EditorParam = InferOutput<typeof EditorParamValidatorV3>;
|
|
|
502
492
|
declare const BlockActionValidatorV3: valibot.ObjectSchema<{
|
|
503
493
|
readonly type: valibot.LiteralSchema<"action", undefined>;
|
|
504
494
|
readonly uid: valibot.StringSchema<undefined>;
|
|
505
|
-
readonly name: valibot.
|
|
495
|
+
readonly name: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "A custom name provided by the user">]>, never>;
|
|
506
496
|
readonly disabled: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
507
497
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.ObjectSchema<{
|
|
508
498
|
readonly editor: valibot.UnionSchema<[valibot.LiteralSchema<"simple", undefined>, valibot.LiteralSchema<"editor", undefined>], undefined>;
|
|
@@ -511,29 +501,16 @@ declare const BlockActionValidatorV3: valibot.ObjectSchema<{
|
|
|
511
501
|
readonly origin: valibot.ObjectSchema<{
|
|
512
502
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
513
503
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
504
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
514
505
|
}, undefined>;
|
|
515
506
|
}, undefined>;
|
|
516
|
-
type BlockCondition = {
|
|
517
|
-
type: "condition";
|
|
518
|
-
uid: string;
|
|
519
|
-
origin: Origin;
|
|
520
|
-
params: Record<string, any>;
|
|
521
|
-
branchTrue: Array<Block>;
|
|
522
|
-
branchFalse: Array<Block>;
|
|
523
|
-
};
|
|
524
|
-
type BlockLoop = {
|
|
525
|
-
type: "loop";
|
|
526
|
-
uid: string;
|
|
527
|
-
origin: Origin;
|
|
528
|
-
params: Record<string, any>;
|
|
529
|
-
children: Array<Block>;
|
|
530
|
-
};
|
|
531
507
|
declare const BlockEventValidator: valibot.ObjectSchema<{
|
|
532
508
|
readonly type: valibot.LiteralSchema<"event", undefined>;
|
|
533
509
|
readonly uid: valibot.StringSchema<undefined>;
|
|
534
510
|
readonly origin: valibot.ObjectSchema<{
|
|
535
511
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
536
512
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
513
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
537
514
|
}, undefined>;
|
|
538
515
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.AnySchema, undefined>;
|
|
539
516
|
}, undefined>;
|
|
@@ -543,13 +520,14 @@ declare const BlockCommentValidator: valibot.ObjectSchema<{
|
|
|
543
520
|
readonly origin: valibot.ObjectSchema<{
|
|
544
521
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
545
522
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
523
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
546
524
|
}, undefined>;
|
|
547
525
|
readonly comment: valibot.StringSchema<undefined>;
|
|
548
526
|
}, undefined>;
|
|
549
527
|
declare const BlockValidatorV3: valibot.VariantSchema<"type", [valibot.ObjectSchema<{
|
|
550
528
|
readonly type: valibot.LiteralSchema<"action", undefined>;
|
|
551
529
|
readonly uid: valibot.StringSchema<undefined>;
|
|
552
|
-
readonly name: valibot.
|
|
530
|
+
readonly name: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "A custom name provided by the user">]>, never>;
|
|
553
531
|
readonly disabled: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
554
532
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.ObjectSchema<{
|
|
555
533
|
readonly editor: valibot.UnionSchema<[valibot.LiteralSchema<"simple", undefined>, valibot.LiteralSchema<"editor", undefined>], undefined>;
|
|
@@ -558,6 +536,7 @@ declare const BlockValidatorV3: valibot.VariantSchema<"type", [valibot.ObjectSch
|
|
|
558
536
|
readonly origin: valibot.ObjectSchema<{
|
|
559
537
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
560
538
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
539
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
561
540
|
}, undefined>;
|
|
562
541
|
}, undefined>], undefined>;
|
|
563
542
|
type BlockAction = Simplify<InferOutput<typeof BlockActionValidatorV3>>;
|
|
@@ -578,6 +557,7 @@ declare const SavedFileValidatorV1: valibot.ObjectSchema<{
|
|
|
578
557
|
readonly origin: valibot.ObjectSchema<{
|
|
579
558
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
580
559
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
560
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
581
561
|
}, undefined>;
|
|
582
562
|
}, undefined>, valibot.ObjectSchema<{
|
|
583
563
|
readonly type: valibot.LiteralSchema<"event", undefined>;
|
|
@@ -585,6 +565,7 @@ declare const SavedFileValidatorV1: valibot.ObjectSchema<{
|
|
|
585
565
|
readonly origin: valibot.ObjectSchema<{
|
|
586
566
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
587
567
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
568
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
588
569
|
}, undefined>;
|
|
589
570
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.AnySchema, undefined>;
|
|
590
571
|
}, undefined>], undefined>, undefined>;
|
|
@@ -604,6 +585,7 @@ declare const SavedFileValidatorV2: valibot.ObjectSchema<{
|
|
|
604
585
|
readonly origin: valibot.ObjectSchema<{
|
|
605
586
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
606
587
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
588
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
607
589
|
}, undefined>;
|
|
608
590
|
}, undefined>], undefined>, undefined>;
|
|
609
591
|
readonly triggers: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -612,6 +594,7 @@ declare const SavedFileValidatorV2: valibot.ObjectSchema<{
|
|
|
612
594
|
readonly origin: valibot.ObjectSchema<{
|
|
613
595
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
614
596
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
597
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
615
598
|
}, undefined>;
|
|
616
599
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.AnySchema, undefined>;
|
|
617
600
|
}, undefined>, undefined>;
|
|
@@ -626,7 +609,7 @@ declare const SavedFileValidatorV3: valibot.ObjectSchema<{
|
|
|
626
609
|
readonly blocks: valibot.ArraySchema<valibot.VariantSchema<"type", [valibot.ObjectSchema<{
|
|
627
610
|
readonly type: valibot.LiteralSchema<"action", undefined>;
|
|
628
611
|
readonly uid: valibot.StringSchema<undefined>;
|
|
629
|
-
readonly name: valibot.
|
|
612
|
+
readonly name: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "A custom name provided by the user">]>, never>;
|
|
630
613
|
readonly disabled: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
631
614
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.ObjectSchema<{
|
|
632
615
|
readonly editor: valibot.UnionSchema<[valibot.LiteralSchema<"simple", undefined>, valibot.LiteralSchema<"editor", undefined>], undefined>;
|
|
@@ -635,6 +618,7 @@ declare const SavedFileValidatorV3: valibot.ObjectSchema<{
|
|
|
635
618
|
readonly origin: valibot.ObjectSchema<{
|
|
636
619
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
637
620
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
621
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
638
622
|
}, undefined>;
|
|
639
623
|
}, undefined>], undefined>, undefined>;
|
|
640
624
|
readonly triggers: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -643,22 +627,24 @@ declare const SavedFileValidatorV3: valibot.ObjectSchema<{
|
|
|
643
627
|
readonly origin: valibot.ObjectSchema<{
|
|
644
628
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
645
629
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
630
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
646
631
|
}, undefined>;
|
|
647
632
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.AnySchema, undefined>;
|
|
648
633
|
}, undefined>, undefined>;
|
|
649
634
|
}, undefined>;
|
|
650
635
|
readonly variables: valibot.ArraySchema<valibot.CustomSchema<VariableBase, undefined>, undefined>;
|
|
651
636
|
}, undefined>;
|
|
652
|
-
declare const
|
|
637
|
+
declare const SavedFileDefaultValidatorV4: valibot.ObjectSchema<{
|
|
653
638
|
readonly version: valibot.LiteralSchema<"4.0.0", undefined>;
|
|
654
639
|
readonly type: valibot.LiteralSchema<"default", undefined>;
|
|
655
640
|
readonly name: valibot.StringSchema<undefined>;
|
|
656
641
|
readonly description: valibot.StringSchema<undefined>;
|
|
642
|
+
readonly plugins: valibot.OptionalSchema<valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.StringSchema<undefined>, undefined>, never>;
|
|
657
643
|
readonly canvas: valibot.ObjectSchema<{
|
|
658
644
|
readonly blocks: valibot.ArraySchema<valibot.VariantSchema<"type", [valibot.ObjectSchema<{
|
|
659
645
|
readonly type: valibot.LiteralSchema<"action", undefined>;
|
|
660
646
|
readonly uid: valibot.StringSchema<undefined>;
|
|
661
|
-
readonly name: valibot.
|
|
647
|
+
readonly name: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "A custom name provided by the user">]>, never>;
|
|
662
648
|
readonly disabled: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
663
649
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.ObjectSchema<{
|
|
664
650
|
readonly editor: valibot.UnionSchema<[valibot.LiteralSchema<"simple", undefined>, valibot.LiteralSchema<"editor", undefined>], undefined>;
|
|
@@ -667,6 +653,7 @@ declare const SavedFileDefaultValidator: valibot.ObjectSchema<{
|
|
|
667
653
|
readonly origin: valibot.ObjectSchema<{
|
|
668
654
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
669
655
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
656
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
670
657
|
}, undefined>;
|
|
671
658
|
}, undefined>], undefined>, undefined>;
|
|
672
659
|
readonly triggers: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -675,17 +662,19 @@ declare const SavedFileDefaultValidator: valibot.ObjectSchema<{
|
|
|
675
662
|
readonly origin: valibot.ObjectSchema<{
|
|
676
663
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
677
664
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
665
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
678
666
|
}, undefined>;
|
|
679
667
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.AnySchema, undefined>;
|
|
680
668
|
}, undefined>, undefined>;
|
|
681
669
|
}, undefined>;
|
|
682
670
|
readonly variables: valibot.ArraySchema<valibot.CustomSchema<VariableBase, undefined>, undefined>;
|
|
683
671
|
}, undefined>;
|
|
684
|
-
declare const
|
|
672
|
+
declare const SavedFileSimpleValidatorV4: valibot.ObjectSchema<{
|
|
685
673
|
readonly version: valibot.LiteralSchema<"4.0.0", undefined>;
|
|
686
674
|
readonly type: valibot.LiteralSchema<"simple", undefined>;
|
|
687
675
|
readonly name: valibot.StringSchema<undefined>;
|
|
688
676
|
readonly description: valibot.StringSchema<undefined>;
|
|
677
|
+
readonly plugins: valibot.OptionalSchema<valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.StringSchema<undefined>, undefined>, never>;
|
|
689
678
|
readonly source: valibot.ObjectSchema<{
|
|
690
679
|
readonly type: valibot.UnionSchema<[valibot.LiteralSchema<"c3-html", undefined>, valibot.LiteralSchema<"c3-nwjs", undefined>, valibot.LiteralSchema<"godot", undefined>, valibot.LiteralSchema<"html", undefined>], undefined>;
|
|
691
680
|
readonly path: valibot.StringSchema<undefined>;
|
|
@@ -708,18 +697,15 @@ declare const SavedFileSimpleValidator: valibot.ObjectSchema<{
|
|
|
708
697
|
}, undefined>;
|
|
709
698
|
}, undefined>;
|
|
710
699
|
}, undefined>;
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
declare const SavedFileValidatorV4: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
714
|
-
readonly version: valibot.LiteralSchema<"4.0.0", undefined>;
|
|
715
|
-
readonly type: valibot.LiteralSchema<"default", undefined>;
|
|
700
|
+
declare const SavedFileDefaultValidatorV5: valibot.ObjectSchema<{
|
|
701
|
+
readonly version: valibot.LiteralSchema<"5.0.0", undefined>;
|
|
716
702
|
readonly name: valibot.StringSchema<undefined>;
|
|
717
703
|
readonly description: valibot.StringSchema<undefined>;
|
|
718
704
|
readonly canvas: valibot.ObjectSchema<{
|
|
719
705
|
readonly blocks: valibot.ArraySchema<valibot.VariantSchema<"type", [valibot.ObjectSchema<{
|
|
720
706
|
readonly type: valibot.LiteralSchema<"action", undefined>;
|
|
721
707
|
readonly uid: valibot.StringSchema<undefined>;
|
|
722
|
-
readonly name: valibot.
|
|
708
|
+
readonly name: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "A custom name provided by the user">]>, never>;
|
|
723
709
|
readonly disabled: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
724
710
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.ObjectSchema<{
|
|
725
711
|
readonly editor: valibot.UnionSchema<[valibot.LiteralSchema<"simple", undefined>, valibot.LiteralSchema<"editor", undefined>], undefined>;
|
|
@@ -728,6 +714,7 @@ declare const SavedFileValidatorV4: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
|
728
714
|
readonly origin: valibot.ObjectSchema<{
|
|
729
715
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
730
716
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
717
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
731
718
|
}, undefined>;
|
|
732
719
|
}, undefined>], undefined>, undefined>;
|
|
733
720
|
readonly triggers: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -736,16 +723,19 @@ declare const SavedFileValidatorV4: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
|
736
723
|
readonly origin: valibot.ObjectSchema<{
|
|
737
724
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
738
725
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
726
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
739
727
|
}, undefined>;
|
|
740
728
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.AnySchema, undefined>;
|
|
741
729
|
}, undefined>, undefined>;
|
|
742
730
|
}, undefined>;
|
|
743
731
|
readonly variables: valibot.ArraySchema<valibot.CustomSchema<VariableBase, undefined>, undefined>;
|
|
744
|
-
}, undefined
|
|
745
|
-
|
|
732
|
+
}, undefined>;
|
|
733
|
+
declare const SavedFileSimpleValidatorV5: valibot.ObjectSchema<{
|
|
734
|
+
readonly version: valibot.LiteralSchema<"5.0.0", undefined>;
|
|
746
735
|
readonly type: valibot.LiteralSchema<"simple", undefined>;
|
|
747
736
|
readonly name: valibot.StringSchema<undefined>;
|
|
748
737
|
readonly description: valibot.StringSchema<undefined>;
|
|
738
|
+
readonly plugins: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.StringSchema<undefined>, undefined>;
|
|
749
739
|
readonly source: valibot.ObjectSchema<{
|
|
750
740
|
readonly type: valibot.UnionSchema<[valibot.LiteralSchema<"c3-html", undefined>, valibot.LiteralSchema<"c3-nwjs", undefined>, valibot.LiteralSchema<"godot", undefined>, valibot.LiteralSchema<"html", undefined>], undefined>;
|
|
751
741
|
readonly path: valibot.StringSchema<undefined>;
|
|
@@ -767,22 +757,20 @@ declare const SavedFileValidatorV4: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
|
767
757
|
readonly gameId: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
768
758
|
}, undefined>;
|
|
769
759
|
}, undefined>;
|
|
770
|
-
}, undefined
|
|
771
|
-
type
|
|
772
|
-
type
|
|
773
|
-
|
|
774
|
-
type SavedFileV4 = InferOutput<typeof SavedFileValidatorV4>;
|
|
775
|
-
type SavedFile = SavedFileV4;
|
|
776
|
-
declare const SavedFileValidator: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
760
|
+
}, undefined>;
|
|
761
|
+
type SavedFileDefault = InferOutput<typeof SavedFileDefaultValidatorV5>;
|
|
762
|
+
type SavedFileSimple = InferOutput<typeof SavedFileSimpleValidatorV5>;
|
|
763
|
+
declare const SavedFileValidatorV4: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
777
764
|
readonly version: valibot.LiteralSchema<"4.0.0", undefined>;
|
|
778
765
|
readonly type: valibot.LiteralSchema<"default", undefined>;
|
|
779
766
|
readonly name: valibot.StringSchema<undefined>;
|
|
780
767
|
readonly description: valibot.StringSchema<undefined>;
|
|
768
|
+
readonly plugins: valibot.OptionalSchema<valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.StringSchema<undefined>, undefined>, never>;
|
|
781
769
|
readonly canvas: valibot.ObjectSchema<{
|
|
782
770
|
readonly blocks: valibot.ArraySchema<valibot.VariantSchema<"type", [valibot.ObjectSchema<{
|
|
783
771
|
readonly type: valibot.LiteralSchema<"action", undefined>;
|
|
784
772
|
readonly uid: valibot.StringSchema<undefined>;
|
|
785
|
-
readonly name: valibot.
|
|
773
|
+
readonly name: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "A custom name provided by the user">]>, never>;
|
|
786
774
|
readonly disabled: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
787
775
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.ObjectSchema<{
|
|
788
776
|
readonly editor: valibot.UnionSchema<[valibot.LiteralSchema<"simple", undefined>, valibot.LiteralSchema<"editor", undefined>], undefined>;
|
|
@@ -791,6 +779,7 @@ declare const SavedFileValidator: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
|
791
779
|
readonly origin: valibot.ObjectSchema<{
|
|
792
780
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
793
781
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
782
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
794
783
|
}, undefined>;
|
|
795
784
|
}, undefined>], undefined>, undefined>;
|
|
796
785
|
readonly triggers: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -799,6 +788,7 @@ declare const SavedFileValidator: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
|
799
788
|
readonly origin: valibot.ObjectSchema<{
|
|
800
789
|
readonly pluginId: valibot.StringSchema<undefined>;
|
|
801
790
|
readonly nodeId: valibot.StringSchema<undefined>;
|
|
791
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
802
792
|
}, undefined>;
|
|
803
793
|
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.AnySchema, undefined>;
|
|
804
794
|
}, undefined>, undefined>;
|
|
@@ -809,6 +799,7 @@ declare const SavedFileValidator: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
|
809
799
|
readonly type: valibot.LiteralSchema<"simple", undefined>;
|
|
810
800
|
readonly name: valibot.StringSchema<undefined>;
|
|
811
801
|
readonly description: valibot.StringSchema<undefined>;
|
|
802
|
+
readonly plugins: valibot.OptionalSchema<valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.StringSchema<undefined>, undefined>, never>;
|
|
812
803
|
readonly source: valibot.ObjectSchema<{
|
|
813
804
|
readonly type: valibot.UnionSchema<[valibot.LiteralSchema<"c3-html", undefined>, valibot.LiteralSchema<"c3-nwjs", undefined>, valibot.LiteralSchema<"godot", undefined>, valibot.LiteralSchema<"html", undefined>], undefined>;
|
|
814
805
|
readonly path: valibot.StringSchema<undefined>;
|
|
@@ -831,9 +822,81 @@ declare const SavedFileValidator: valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
|
831
822
|
}, undefined>;
|
|
832
823
|
}, undefined>;
|
|
833
824
|
}, undefined>], undefined>;
|
|
825
|
+
declare const SavedFileValidatorV5: valibot.ObjectSchema<{
|
|
826
|
+
readonly version: valibot.LiteralSchema<"5.0.0", undefined>;
|
|
827
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
828
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
829
|
+
readonly canvas: valibot.ObjectSchema<{
|
|
830
|
+
readonly blocks: valibot.ArraySchema<valibot.VariantSchema<"type", [valibot.ObjectSchema<{
|
|
831
|
+
readonly type: valibot.LiteralSchema<"action", undefined>;
|
|
832
|
+
readonly uid: valibot.StringSchema<undefined>;
|
|
833
|
+
readonly name: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "A custom name provided by the user">]>, never>;
|
|
834
|
+
readonly disabled: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
835
|
+
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.ObjectSchema<{
|
|
836
|
+
readonly editor: valibot.UnionSchema<[valibot.LiteralSchema<"simple", undefined>, valibot.LiteralSchema<"editor", undefined>], undefined>;
|
|
837
|
+
readonly value: valibot.UnknownSchema;
|
|
838
|
+
}, undefined>, undefined>;
|
|
839
|
+
readonly origin: valibot.ObjectSchema<{
|
|
840
|
+
readonly pluginId: valibot.StringSchema<undefined>;
|
|
841
|
+
readonly nodeId: valibot.StringSchema<undefined>;
|
|
842
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
843
|
+
}, undefined>;
|
|
844
|
+
}, undefined>], undefined>, undefined>;
|
|
845
|
+
readonly triggers: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
846
|
+
readonly type: valibot.LiteralSchema<"event", undefined>;
|
|
847
|
+
readonly uid: valibot.StringSchema<undefined>;
|
|
848
|
+
readonly origin: valibot.ObjectSchema<{
|
|
849
|
+
readonly pluginId: valibot.StringSchema<undefined>;
|
|
850
|
+
readonly nodeId: valibot.StringSchema<undefined>;
|
|
851
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
852
|
+
}, undefined>;
|
|
853
|
+
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.AnySchema, undefined>;
|
|
854
|
+
}, undefined>, undefined>;
|
|
855
|
+
}, undefined>;
|
|
856
|
+
readonly variables: valibot.ArraySchema<valibot.CustomSchema<VariableBase, undefined>, undefined>;
|
|
857
|
+
}, undefined>;
|
|
858
|
+
type SavedFileV1 = InferOutput<typeof SavedFileValidatorV1>;
|
|
859
|
+
type SavedFileV2 = InferOutput<typeof SavedFileValidatorV2>;
|
|
860
|
+
type SavedFileV3 = InferOutput<typeof SavedFileValidatorV3>;
|
|
861
|
+
type SavedFileV4 = InferOutput<typeof SavedFileValidatorV4>;
|
|
862
|
+
type SavedFileV5 = InferOutput<typeof SavedFileValidatorV5>;
|
|
863
|
+
type SavedFile = SavedFileV5;
|
|
864
|
+
declare const SavedFileValidator: valibot.ObjectSchema<{
|
|
865
|
+
readonly version: valibot.LiteralSchema<"5.0.0", undefined>;
|
|
866
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
867
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
868
|
+
readonly canvas: valibot.ObjectSchema<{
|
|
869
|
+
readonly blocks: valibot.ArraySchema<valibot.VariantSchema<"type", [valibot.ObjectSchema<{
|
|
870
|
+
readonly type: valibot.LiteralSchema<"action", undefined>;
|
|
871
|
+
readonly uid: valibot.StringSchema<undefined>;
|
|
872
|
+
readonly name: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "A custom name provided by the user">]>, never>;
|
|
873
|
+
readonly disabled: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
874
|
+
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.ObjectSchema<{
|
|
875
|
+
readonly editor: valibot.UnionSchema<[valibot.LiteralSchema<"simple", undefined>, valibot.LiteralSchema<"editor", undefined>], undefined>;
|
|
876
|
+
readonly value: valibot.UnknownSchema;
|
|
877
|
+
}, undefined>, undefined>;
|
|
878
|
+
readonly origin: valibot.ObjectSchema<{
|
|
879
|
+
readonly pluginId: valibot.StringSchema<undefined>;
|
|
880
|
+
readonly nodeId: valibot.StringSchema<undefined>;
|
|
881
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
882
|
+
}, undefined>;
|
|
883
|
+
}, undefined>], undefined>, undefined>;
|
|
884
|
+
readonly triggers: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
885
|
+
readonly type: valibot.LiteralSchema<"event", undefined>;
|
|
886
|
+
readonly uid: valibot.StringSchema<undefined>;
|
|
887
|
+
readonly origin: valibot.ObjectSchema<{
|
|
888
|
+
readonly pluginId: valibot.StringSchema<undefined>;
|
|
889
|
+
readonly nodeId: valibot.StringSchema<undefined>;
|
|
890
|
+
readonly version: valibot.OptionalSchema<valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.DescriptionAction<string, "Pinned version of the plugin for this block. Falls back to \"latest\" when absent.">]>, never>;
|
|
891
|
+
}, undefined>;
|
|
892
|
+
readonly params: valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.AnySchema, undefined>;
|
|
893
|
+
}, undefined>, undefined>;
|
|
894
|
+
}, undefined>;
|
|
895
|
+
readonly variables: valibot.ArraySchema<valibot.CustomSchema<VariableBase, undefined>, undefined>;
|
|
896
|
+
}, undefined>;
|
|
834
897
|
type Preset = SavedFile;
|
|
835
898
|
type PresetResult = {
|
|
836
|
-
data:
|
|
899
|
+
data: Preset;
|
|
837
900
|
hightlight?: boolean;
|
|
838
901
|
disabled?: boolean;
|
|
839
902
|
};
|
|
@@ -841,89 +904,370 @@ type PresetFn = () => Promise<PresetResult>;
|
|
|
841
904
|
type Steps = Record<string, {
|
|
842
905
|
outputs: Record<string, unknown>;
|
|
843
906
|
}>;
|
|
844
|
-
type EnhancedFile<T
|
|
907
|
+
type EnhancedFile<T = SavedFile> = WithId<SaveLocation> & {
|
|
845
908
|
content: T;
|
|
846
909
|
};
|
|
847
910
|
//#endregion
|
|
848
|
-
//#region src/
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
911
|
+
//#region src/config.schema.d.ts
|
|
912
|
+
declare const createVersionSchema: <T extends GenericSchema<any, any>>(schema: T) => T;
|
|
913
|
+
declare const AppSettingsValidatorV1: valibot.ObjectSchema<{
|
|
914
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
915
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
916
|
+
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
917
|
+
}, undefined>;
|
|
918
|
+
declare const AppSettingsValidatorV2: valibot.ObjectSchema<{
|
|
919
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
920
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
921
|
+
readonly version: valibot.LiteralSchema<"2.0.0", undefined>;
|
|
922
|
+
}, undefined>;
|
|
923
|
+
declare const AppSettingsValidatorV3: valibot.ObjectSchema<{
|
|
924
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
925
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
926
|
+
readonly version: valibot.LiteralSchema<"3.0.0", undefined>;
|
|
927
|
+
readonly clearTemporaryFoldersOnPipelineEnd: valibot.BooleanSchema<undefined>;
|
|
928
|
+
}, undefined>;
|
|
929
|
+
declare const AppSettingsValidatorV4: valibot.ObjectSchema<{
|
|
930
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
931
|
+
readonly version: valibot.LiteralSchema<"4.0.0", undefined>;
|
|
932
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
933
|
+
readonly clearTemporaryFoldersOnPipelineEnd: valibot.BooleanSchema<undefined>;
|
|
934
|
+
readonly locale: valibot.UnionSchema<[valibot.LiteralSchema<"en-US", undefined>, valibot.LiteralSchema<"fr-FR", undefined>, valibot.LiteralSchema<"pt-BR", undefined>, valibot.LiteralSchema<"zh-CN", undefined>, valibot.LiteralSchema<"es-ES", undefined>, valibot.LiteralSchema<"de-DE", undefined>], undefined>;
|
|
935
|
+
}, undefined>;
|
|
936
|
+
declare const AppSettingsValidatorV5: valibot.ObjectSchema<{
|
|
937
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
938
|
+
readonly version: valibot.LiteralSchema<"5.0.0", undefined>;
|
|
939
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
940
|
+
readonly clearTemporaryFoldersOnPipelineEnd: valibot.BooleanSchema<undefined>;
|
|
941
|
+
readonly locale: valibot.UnionSchema<[valibot.LiteralSchema<"en-US", undefined>, valibot.LiteralSchema<"fr-FR", undefined>, valibot.LiteralSchema<"pt-BR", undefined>, valibot.LiteralSchema<"zh-CN", undefined>, valibot.LiteralSchema<"es-ES", undefined>, valibot.LiteralSchema<"de-DE", undefined>], undefined>;
|
|
942
|
+
readonly tours: valibot.ObjectSchema<{
|
|
943
|
+
readonly dashboard: valibot.ObjectSchema<{
|
|
944
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
945
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
946
|
+
}, undefined>;
|
|
947
|
+
readonly editor: valibot.ObjectSchema<{
|
|
948
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
949
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
950
|
+
}, undefined>;
|
|
951
|
+
}, undefined>;
|
|
952
|
+
}, undefined>;
|
|
953
|
+
declare const AppSettingsValidatorV6: valibot.ObjectSchema<{
|
|
954
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
955
|
+
readonly version: valibot.LiteralSchema<"6.0.0", undefined>;
|
|
956
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
957
|
+
readonly clearTemporaryFoldersOnPipelineEnd: valibot.BooleanSchema<undefined>;
|
|
958
|
+
readonly locale: valibot.UnionSchema<[valibot.LiteralSchema<"en-US", undefined>, valibot.LiteralSchema<"fr-FR", undefined>, valibot.LiteralSchema<"pt-BR", undefined>, valibot.LiteralSchema<"zh-CN", undefined>, valibot.LiteralSchema<"es-ES", undefined>, valibot.LiteralSchema<"de-DE", undefined>], undefined>;
|
|
959
|
+
readonly tours: valibot.ObjectSchema<{
|
|
960
|
+
readonly dashboard: valibot.ObjectSchema<{
|
|
961
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
962
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
963
|
+
}, undefined>;
|
|
964
|
+
readonly editor: valibot.ObjectSchema<{
|
|
965
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
966
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
967
|
+
}, undefined>;
|
|
968
|
+
}, undefined>;
|
|
969
|
+
readonly autosave: valibot.BooleanSchema<undefined>;
|
|
970
|
+
}, undefined>;
|
|
971
|
+
declare const AppSettingsValidatorV7: valibot.ObjectSchema<{
|
|
972
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
973
|
+
readonly version: valibot.LiteralSchema<"7.0.0", undefined>;
|
|
974
|
+
readonly locale: valibot.UnionSchema<[valibot.LiteralSchema<"en-US", undefined>, valibot.LiteralSchema<"fr-FR", undefined>, valibot.LiteralSchema<"pt-BR", undefined>, valibot.LiteralSchema<"zh-CN", undefined>, valibot.LiteralSchema<"es-ES", undefined>, valibot.LiteralSchema<"de-DE", undefined>], undefined>;
|
|
975
|
+
readonly tours: valibot.ObjectSchema<{
|
|
976
|
+
readonly dashboard: valibot.ObjectSchema<{
|
|
977
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
978
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
979
|
+
}, undefined>;
|
|
980
|
+
readonly editor: valibot.ObjectSchema<{
|
|
981
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
982
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
983
|
+
}, undefined>;
|
|
984
|
+
}, undefined>;
|
|
985
|
+
readonly autosave: valibot.BooleanSchema<undefined>;
|
|
986
|
+
readonly agents: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
987
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
988
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
989
|
+
readonly url: valibot.StringSchema<undefined>;
|
|
990
|
+
}, undefined>, undefined>;
|
|
991
|
+
readonly plugins: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
992
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
993
|
+
readonly enabled: valibot.BooleanSchema<undefined>;
|
|
994
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
995
|
+
}, undefined>, undefined>;
|
|
996
|
+
readonly cacheFolder: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
997
|
+
readonly tempFolder: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
998
|
+
}, undefined>;
|
|
999
|
+
declare const ConnectionValidator: valibot.LooseObjectSchema<{
|
|
1000
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1001
|
+
readonly pluginName: valibot.StringSchema<undefined>;
|
|
1002
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1003
|
+
readonly createdAt: valibot.StringSchema<undefined>;
|
|
1004
|
+
readonly isDefault: valibot.BooleanSchema<undefined>;
|
|
1005
|
+
}, undefined>;
|
|
1006
|
+
declare const ConnectionsValidatorV1: valibot.ObjectSchema<{
|
|
1007
|
+
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
1008
|
+
readonly connections: valibot.ArraySchema<valibot.LooseObjectSchema<{
|
|
1009
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1010
|
+
readonly pluginName: valibot.StringSchema<undefined>;
|
|
1011
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1012
|
+
readonly createdAt: valibot.StringSchema<undefined>;
|
|
1013
|
+
readonly isDefault: valibot.BooleanSchema<undefined>;
|
|
1014
|
+
}, undefined>, undefined>;
|
|
1015
|
+
}, undefined>;
|
|
1016
|
+
type Connection = InferInput<typeof ConnectionValidator>;
|
|
1017
|
+
type ConnectionsConfigV1 = InferInput<typeof ConnectionsValidatorV1>;
|
|
1018
|
+
type ConnectionsConfig = ConnectionsConfigV1;
|
|
1019
|
+
declare const ConnectionsValidator: valibot.ObjectSchema<{
|
|
1020
|
+
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
1021
|
+
readonly connections: valibot.ArraySchema<valibot.LooseObjectSchema<{
|
|
1022
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1023
|
+
readonly pluginName: valibot.StringSchema<undefined>;
|
|
1024
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1025
|
+
readonly createdAt: valibot.StringSchema<undefined>;
|
|
1026
|
+
readonly isDefault: valibot.BooleanSchema<undefined>;
|
|
1027
|
+
}, undefined>, undefined>;
|
|
1028
|
+
}, undefined>;
|
|
1029
|
+
type AppConfigV1 = InferInput<typeof AppSettingsValidatorV1>;
|
|
1030
|
+
type AppConfigV2 = InferInput<typeof AppSettingsValidatorV2>;
|
|
1031
|
+
type AppConfigV3 = InferInput<typeof AppSettingsValidatorV3>;
|
|
1032
|
+
type AppConfigV4 = InferInput<typeof AppSettingsValidatorV4>;
|
|
1033
|
+
type AppConfigV5 = InferInput<typeof AppSettingsValidatorV5>;
|
|
1034
|
+
type AppConfigV6 = InferInput<typeof AppSettingsValidatorV6>;
|
|
1035
|
+
type AppConfigV7 = InferInput<typeof AppSettingsValidatorV7>;
|
|
1036
|
+
type AppConfig = AppConfigV7;
|
|
1037
|
+
declare const AppSettingsValidator: valibot.ObjectSchema<{
|
|
1038
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
1039
|
+
readonly version: valibot.LiteralSchema<"7.0.0", undefined>;
|
|
1040
|
+
readonly locale: valibot.UnionSchema<[valibot.LiteralSchema<"en-US", undefined>, valibot.LiteralSchema<"fr-FR", undefined>, valibot.LiteralSchema<"pt-BR", undefined>, valibot.LiteralSchema<"zh-CN", undefined>, valibot.LiteralSchema<"es-ES", undefined>, valibot.LiteralSchema<"de-DE", undefined>], undefined>;
|
|
1041
|
+
readonly tours: valibot.ObjectSchema<{
|
|
1042
|
+
readonly dashboard: valibot.ObjectSchema<{
|
|
1043
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
1044
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
1045
|
+
}, undefined>;
|
|
1046
|
+
readonly editor: valibot.ObjectSchema<{
|
|
1047
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
1048
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
1049
|
+
}, undefined>;
|
|
1050
|
+
}, undefined>;
|
|
1051
|
+
readonly autosave: valibot.BooleanSchema<undefined>;
|
|
1052
|
+
readonly agents: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1053
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1054
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1055
|
+
readonly url: valibot.StringSchema<undefined>;
|
|
1056
|
+
}, undefined>, undefined>;
|
|
1057
|
+
readonly plugins: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1058
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1059
|
+
readonly enabled: valibot.BooleanSchema<undefined>;
|
|
1060
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1061
|
+
}, undefined>, undefined>;
|
|
1062
|
+
readonly cacheFolder: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
1063
|
+
readonly tempFolder: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
1064
|
+
}, undefined>;
|
|
1065
|
+
//#endregion
|
|
1066
|
+
//#region src/config/projects-definition.d.ts
|
|
1067
|
+
declare const FileRepoValidatorV1: valibot.ObjectSchema<{
|
|
1068
|
+
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
1069
|
+
readonly data: valibot.OptionalSchema<valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1070
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1071
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1072
|
+
readonly path: valibot.StringSchema<undefined>;
|
|
1073
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1074
|
+
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1075
|
+
readonly summary: valibot.ObjectSchema<{
|
|
1076
|
+
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1077
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1078
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1079
|
+
}, undefined>;
|
|
1080
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1081
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1082
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1083
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1084
|
+
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1085
|
+
readonly configName: valibot.StringSchema<undefined>;
|
|
1086
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1087
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1088
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1089
|
+
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1090
|
+
}, undefined>], undefined>, undefined>, {}>;
|
|
1091
|
+
}, undefined>;
|
|
1092
|
+
declare const FileRepoProjectValidatorV2: valibot.ObjectSchema<{
|
|
1093
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1094
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1095
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1096
|
+
}, undefined>;
|
|
1097
|
+
declare const FileRepoValidatorV2: valibot.ObjectSchema<{
|
|
1098
|
+
readonly version: valibot.LiteralSchema<"2.0.0", undefined>;
|
|
1099
|
+
readonly projects: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1100
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1101
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1102
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1103
|
+
}, undefined>, undefined>;
|
|
1104
|
+
readonly pipelines: valibot.OptionalSchema<valibot.ArraySchema<valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1105
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1106
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1107
|
+
readonly path: valibot.StringSchema<undefined>;
|
|
1108
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1109
|
+
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1110
|
+
readonly summary: valibot.ObjectSchema<{
|
|
1111
|
+
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1112
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1113
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1114
|
+
}, undefined>;
|
|
1115
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1116
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1117
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1118
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1119
|
+
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1120
|
+
readonly configName: valibot.StringSchema<undefined>;
|
|
1121
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1122
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1123
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1124
|
+
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1125
|
+
}, undefined>], undefined>, undefined>, readonly []>;
|
|
1126
|
+
}, undefined>;
|
|
1127
|
+
declare const FileRepoValidatorV3: valibot.ObjectSchema<{
|
|
1128
|
+
readonly version: valibot.LiteralSchema<"3.0.0", undefined>;
|
|
1129
|
+
readonly projects: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1130
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1131
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1132
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1133
|
+
}, undefined>, undefined>;
|
|
1134
|
+
readonly pipelines: valibot.OptionalSchema<valibot.ArraySchema<valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1135
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1136
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1137
|
+
readonly path: valibot.StringSchema<undefined>;
|
|
1138
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1139
|
+
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1140
|
+
readonly summary: valibot.ObjectSchema<{
|
|
1141
|
+
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1142
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1143
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1144
|
+
}, undefined>;
|
|
1145
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1146
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1147
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1148
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1149
|
+
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1150
|
+
readonly configName: valibot.StringSchema<undefined>;
|
|
1151
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1152
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1153
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1154
|
+
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1155
|
+
}, undefined>], undefined>, undefined>, readonly []>;
|
|
1156
|
+
}, undefined>;
|
|
1157
|
+
type FileRepoV1 = InferInput<typeof FileRepoValidatorV1>;
|
|
1158
|
+
type FileRepoV2 = InferInput<typeof FileRepoValidatorV2>;
|
|
1159
|
+
type FileRepoV3 = InferInput<typeof FileRepoValidatorV3>;
|
|
1160
|
+
declare const FileRepoValidator: valibot.ObjectSchema<{
|
|
1161
|
+
readonly version: valibot.LiteralSchema<"3.0.0", undefined>;
|
|
1162
|
+
readonly projects: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1163
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1164
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1165
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1166
|
+
}, undefined>, undefined>;
|
|
1167
|
+
readonly pipelines: valibot.OptionalSchema<valibot.ArraySchema<valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1168
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1169
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1170
|
+
readonly path: valibot.StringSchema<undefined>;
|
|
1171
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1172
|
+
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1173
|
+
readonly summary: valibot.ObjectSchema<{
|
|
1174
|
+
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1175
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1176
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1177
|
+
}, undefined>;
|
|
1178
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1179
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1180
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1181
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1182
|
+
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1183
|
+
readonly configName: valibot.StringSchema<undefined>;
|
|
1184
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1185
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1186
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1187
|
+
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1188
|
+
}, undefined>], undefined>, undefined>, readonly []>;
|
|
1189
|
+
}, undefined>;
|
|
1190
|
+
type FileRepo = InferInput<typeof FileRepoValidator>;
|
|
1191
|
+
//#endregion
|
|
1192
|
+
//#region src/websocket.types.d.ts
|
|
1193
|
+
type WebSocketConnectionState = "connecting" | "connected" | "disconnected" | "error" | "reconnecting";
|
|
1194
|
+
interface WebSocketServerConfig {
|
|
1195
|
+
port?: number;
|
|
1196
|
+
host?: string;
|
|
1197
|
+
maxReconnectAttempts?: number;
|
|
1198
|
+
reconnectDelay?: number;
|
|
1199
|
+
}
|
|
1200
|
+
interface WebSocketServerEvents {
|
|
1201
|
+
connection: (ws: WebSocket, request: IncomingMessage$1) => void;
|
|
1202
|
+
message: (ws: WebSocket, data: Buffer) => void;
|
|
1203
|
+
close: (ws: WebSocket) => void;
|
|
1204
|
+
error: (ws: WebSocket, error: Error) => void;
|
|
1205
|
+
}
|
|
1206
|
+
interface WebSocketClientConfig {
|
|
1207
|
+
url?: string;
|
|
1208
|
+
maxReconnectAttempts?: number;
|
|
1209
|
+
reconnectDelay?: number;
|
|
1210
|
+
timeout?: number;
|
|
1211
|
+
}
|
|
1212
|
+
interface WebSocketClientEvents {
|
|
1213
|
+
open: () => void;
|
|
1214
|
+
message: (event: MessageEvent) => void;
|
|
1215
|
+
close: (event: CloseEvent) => void;
|
|
1216
|
+
error: (error: Event) => void;
|
|
1217
|
+
}
|
|
1218
|
+
interface WebSocketEvent {
|
|
1219
|
+
sender: string;
|
|
1220
|
+
timestamp?: number;
|
|
1221
|
+
}
|
|
1222
|
+
interface WebSocketRequestMessage {
|
|
1223
|
+
channel: Channels;
|
|
1224
|
+
requestId: RequestId$1;
|
|
1225
|
+
data: any;
|
|
1226
|
+
}
|
|
1227
|
+
interface WebSocketResponseMessage {
|
|
1228
|
+
type: "response";
|
|
1229
|
+
requestId: RequestId$1;
|
|
1230
|
+
events: Events<any>;
|
|
1231
|
+
}
|
|
1232
|
+
interface WebSocketErrorMessage {
|
|
1233
|
+
type: "error";
|
|
1234
|
+
requestId: RequestId$1;
|
|
1235
|
+
error: string;
|
|
1236
|
+
code?: string;
|
|
1237
|
+
}
|
|
1238
|
+
type WebSocketMessage = WebSocketRequestMessage | WebSocketResponseMessage | WebSocketErrorMessage;
|
|
1239
|
+
interface WebSocketConnectionInfo {
|
|
1240
|
+
id: string;
|
|
1241
|
+
state: WebSocketConnectionState;
|
|
1242
|
+
url: string;
|
|
1243
|
+
connectedAt?: Date;
|
|
1244
|
+
lastActivity?: Date;
|
|
1245
|
+
}
|
|
1246
|
+
interface Agent {
|
|
1247
|
+
id: string;
|
|
1248
|
+
name: string;
|
|
1249
|
+
isSelf: boolean;
|
|
1250
|
+
connectedAt?: number;
|
|
1251
|
+
}
|
|
1252
|
+
type WebSocketHandler<KEY extends Channels> = (event: WebSocketEvent, data: {
|
|
1253
|
+
value: Data$1<KEY>;
|
|
1254
|
+
send: WebSocketSendFunction<KEY>;
|
|
1255
|
+
}) => Promise<void>;
|
|
1256
|
+
type WebSocketSendFunction<KEY extends Channels> = (events: Events<KEY>) => Promise<void>;
|
|
1257
|
+
type WebSocketListener<KEY extends Channels> = (event: Events<KEY>) => Promise<void>;
|
|
1258
|
+
interface WebSocketAPI {
|
|
1259
|
+
execute: <KEY extends Channels>(channel: KEY, data?: Data$1<KEY>, listener?: WebSocketListener<KEY>) => Promise<End<KEY>>;
|
|
1260
|
+
send: <KEY extends Channels>(channel: KEY, data?: Data$1<KEY>) => Promise<End<KEY>>;
|
|
1261
|
+
on: <KEY extends Channels>(channel: KEY, listener: (event: WebSocketEvent, data: Events<KEY>) => void) => () => void;
|
|
1262
|
+
isConnected: () => boolean;
|
|
1263
|
+
disconnect: () => void;
|
|
1264
|
+
}
|
|
1265
|
+
interface WebSocketManager {
|
|
1266
|
+
connect: (url?: string) => Promise<void>;
|
|
1267
|
+
disconnect: () => void;
|
|
1268
|
+
send: <KEY extends Channels>(channel: KEY, data?: Data$1<KEY>) => Promise<End<KEY>>;
|
|
1269
|
+
isConnected: () => boolean;
|
|
1270
|
+
getConnectionState: () => WebSocketConnectionState;
|
|
927
1271
|
onStateChange: (callback: (state: WebSocketConnectionState) => void) => () => void;
|
|
928
1272
|
}
|
|
929
1273
|
declare class WebSocketError extends Error {
|
|
@@ -984,6 +1328,7 @@ interface BuildHistoryEntry {
|
|
|
984
1328
|
pipelineId: string;
|
|
985
1329
|
projectName: string;
|
|
986
1330
|
projectPath: string;
|
|
1331
|
+
cachePath?: string;
|
|
987
1332
|
status: "running" | "completed" | "failed" | "cancelled";
|
|
988
1333
|
startTime: number;
|
|
989
1334
|
endTime?: number;
|
|
@@ -1023,32 +1368,18 @@ interface IBuildHistoryStorage {
|
|
|
1023
1368
|
newestEntry?: number;
|
|
1024
1369
|
numberOfPipelines: number;
|
|
1025
1370
|
userDataPath: string;
|
|
1026
|
-
retentionPolicy: {
|
|
1027
|
-
enabled: boolean;
|
|
1028
|
-
maxEntries: number;
|
|
1029
|
-
maxAge: number;
|
|
1030
|
-
};
|
|
1031
1371
|
disk: {
|
|
1032
1372
|
total: number;
|
|
1033
1373
|
free: number;
|
|
1034
1374
|
pipelab: number;
|
|
1375
|
+
folders: Array<{
|
|
1376
|
+
name: SandboxFolder;
|
|
1377
|
+
label: string;
|
|
1378
|
+
size: number;
|
|
1379
|
+
}>;
|
|
1035
1380
|
};
|
|
1036
1381
|
}>;
|
|
1037
1382
|
}
|
|
1038
|
-
interface RetentionPolicy {
|
|
1039
|
-
enabled: boolean;
|
|
1040
|
-
maxEntries: number;
|
|
1041
|
-
maxAge: number;
|
|
1042
|
-
maxSize: number;
|
|
1043
|
-
keepFailedBuilds: boolean;
|
|
1044
|
-
keepSuccessfulBuilds: boolean;
|
|
1045
|
-
}
|
|
1046
|
-
interface BuildHistoryConfig {
|
|
1047
|
-
storagePath: string;
|
|
1048
|
-
indexFileName: string;
|
|
1049
|
-
entryFilePrefix: string;
|
|
1050
|
-
retentionPolicy: RetentionPolicy;
|
|
1051
|
-
}
|
|
1052
1383
|
interface SubscriptionBenefit {
|
|
1053
1384
|
id: string;
|
|
1054
1385
|
name: string;
|
|
@@ -1090,7 +1421,53 @@ type EndEvent$1<DATA> = {
|
|
|
1090
1421
|
};
|
|
1091
1422
|
};
|
|
1092
1423
|
type Presets = Record<string, PresetResult>;
|
|
1093
|
-
type
|
|
1424
|
+
type StableDataReport = {
|
|
1425
|
+
sourceChannel: "Stable" | "Beta" | "Dev";
|
|
1426
|
+
targetChannel: "Stable" | "Beta" | "Dev";
|
|
1427
|
+
settingsExists: boolean;
|
|
1428
|
+
settingsVersion: string | null;
|
|
1429
|
+
settingsVersionTarget: string | null;
|
|
1430
|
+
settingsMtimeSource: number;
|
|
1431
|
+
settingsMtimeTarget: number;
|
|
1432
|
+
settingsImportable: boolean;
|
|
1433
|
+
connectionsExists: boolean;
|
|
1434
|
+
connectionsCount: number;
|
|
1435
|
+
connectionsVersion: string | null;
|
|
1436
|
+
connectionsVersionTarget: string | null;
|
|
1437
|
+
connectionsMtimeSource: number;
|
|
1438
|
+
connectionsMtimeTarget: number;
|
|
1439
|
+
connectionsImportable: boolean;
|
|
1440
|
+
projectsExists: boolean;
|
|
1441
|
+
projectsVersion: string | null;
|
|
1442
|
+
projectsVersionTarget: string | null;
|
|
1443
|
+
projectsMtimeSource: number;
|
|
1444
|
+
projectsMtimeTarget: number;
|
|
1445
|
+
projectsImportable: boolean;
|
|
1446
|
+
projects: Array<{
|
|
1447
|
+
id: string;
|
|
1448
|
+
name: string;
|
|
1449
|
+
description: string;
|
|
1450
|
+
pipelines: Array<{
|
|
1451
|
+
id: string;
|
|
1452
|
+
name: string;
|
|
1453
|
+
description: string;
|
|
1454
|
+
type: "internal" | "external" | "pipelab-cloud";
|
|
1455
|
+
lastModifiedStable?: string;
|
|
1456
|
+
lastModifiedBeta?: string;
|
|
1457
|
+
existsInBeta: boolean;
|
|
1458
|
+
}>;
|
|
1459
|
+
}>;
|
|
1460
|
+
};
|
|
1461
|
+
type ReleaseChannel = "stable" | "beta" | "dev";
|
|
1462
|
+
type MigrationChannel = "stable" | "beta";
|
|
1463
|
+
type MigrationOptions = {
|
|
1464
|
+
migrateSettings: boolean;
|
|
1465
|
+
migrateConnections: boolean;
|
|
1466
|
+
selectedProjects: string[];
|
|
1467
|
+
selectedPipelines: string[];
|
|
1468
|
+
sourceChannel?: MigrationChannel;
|
|
1469
|
+
};
|
|
1470
|
+
type IpcDefinition = {
|
|
1094
1471
|
"fs:read": [{
|
|
1095
1472
|
path: string;
|
|
1096
1473
|
}, EndEvent$1<{
|
|
@@ -1123,6 +1500,11 @@ type IpcDefinition$1 = {
|
|
|
1123
1500
|
mtime: number;
|
|
1124
1501
|
}[];
|
|
1125
1502
|
}>];
|
|
1503
|
+
"fs:isPathBlacklisted": [{
|
|
1504
|
+
path: string;
|
|
1505
|
+
}, EndEvent$1<{
|
|
1506
|
+
isBlacklisted: boolean;
|
|
1507
|
+
}>];
|
|
1126
1508
|
"fs:getHomeDirectory": [void, EndEvent$1<{
|
|
1127
1509
|
path: string;
|
|
1128
1510
|
}>];
|
|
@@ -1147,37 +1529,52 @@ type IpcDefinition$1 = {
|
|
|
1147
1529
|
outputs: Record<string, unknown>;
|
|
1148
1530
|
tmp: string;
|
|
1149
1531
|
}>)];
|
|
1150
|
-
"condition:execute": [{
|
|
1151
|
-
pluginId: string;
|
|
1152
|
-
nodeId: string;
|
|
1153
|
-
params: any;
|
|
1154
|
-
steps: Steps;
|
|
1155
|
-
}, (Event$2<"progress", unknown> | Event$2<"progress", unknown> | EndEvent$1<{
|
|
1156
|
-
outputs: Record<string, unknown>;
|
|
1157
|
-
value: boolean;
|
|
1158
|
-
}>)];
|
|
1159
1532
|
"constants:get": [void, EndEvent$1<{
|
|
1160
1533
|
result: {
|
|
1161
1534
|
userData: string;
|
|
1162
1535
|
};
|
|
1163
1536
|
}>];
|
|
1164
|
-
"
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
"config:save": [{
|
|
1170
|
-
data: any;
|
|
1171
|
-
config: string;
|
|
1172
|
-
}, EndEvent$1<{
|
|
1173
|
-
result: "ok";
|
|
1174
|
-
}>];
|
|
1175
|
-
"config:reset": [{
|
|
1176
|
-
config: string;
|
|
1537
|
+
"settings:load": [void, EndEvent$1<AppConfig>];
|
|
1538
|
+
"settings:save": [{
|
|
1539
|
+
data: AppConfig;
|
|
1540
|
+
}, EndEvent$1<"ok">];
|
|
1541
|
+
"settings:reset": [{
|
|
1177
1542
|
key: string;
|
|
1178
|
-
}, EndEvent$1<
|
|
1179
|
-
|
|
1180
|
-
|
|
1543
|
+
}, EndEvent$1<"ok">];
|
|
1544
|
+
"connections:load": [void, EndEvent$1<ConnectionsConfig>];
|
|
1545
|
+
"connections:save": [{
|
|
1546
|
+
data: ConnectionsConfig;
|
|
1547
|
+
}, EndEvent$1<"ok">];
|
|
1548
|
+
"connections:reset": [{
|
|
1549
|
+
key: string;
|
|
1550
|
+
}, EndEvent$1<"ok">];
|
|
1551
|
+
"projects:load": [void, EndEvent$1<FileRepo>];
|
|
1552
|
+
"projects:save": [{
|
|
1553
|
+
data: FileRepo;
|
|
1554
|
+
}, EndEvent$1<"ok">];
|
|
1555
|
+
"projects:reset": [{
|
|
1556
|
+
key: string;
|
|
1557
|
+
}, EndEvent$1<"ok">];
|
|
1558
|
+
"pipeline:load-by-name": [{
|
|
1559
|
+
name: string;
|
|
1560
|
+
}, EndEvent$1<SavedFile>];
|
|
1561
|
+
"pipeline:load-by-path": [{
|
|
1562
|
+
path: string;
|
|
1563
|
+
}, EndEvent$1<SavedFile>];
|
|
1564
|
+
"pipeline:save-by-name": [{
|
|
1565
|
+
name: string;
|
|
1566
|
+
data: string;
|
|
1567
|
+
}, EndEvent$1<"ok">];
|
|
1568
|
+
"pipeline:save-by-path": [{
|
|
1569
|
+
path: string;
|
|
1570
|
+
data: string;
|
|
1571
|
+
}, EndEvent$1<"ok">];
|
|
1572
|
+
"pipeline:delete-by-name": [{
|
|
1573
|
+
name: string;
|
|
1574
|
+
}, EndEvent$1<"ok">];
|
|
1575
|
+
"pipeline:delete-by-path": [{
|
|
1576
|
+
path: string;
|
|
1577
|
+
}, EndEvent$1<"ok">];
|
|
1181
1578
|
"action:cancel": [void, EndEvent$1<{
|
|
1182
1579
|
result: "ok" | "ko";
|
|
1183
1580
|
}>];
|
|
@@ -1222,11 +1619,6 @@ type IpcDefinition$1 = {
|
|
|
1222
1619
|
oldestEntry?: number;
|
|
1223
1620
|
newestEntry?: number;
|
|
1224
1621
|
}>];
|
|
1225
|
-
"build-history:configure": [{
|
|
1226
|
-
config: Partial<BuildHistoryConfig>;
|
|
1227
|
-
}, EndEvent$1<{
|
|
1228
|
-
result: "ok" | "ko";
|
|
1229
|
-
}>];
|
|
1230
1622
|
"agents:get": [void, EndEvent$1<{
|
|
1231
1623
|
agents: Agent[];
|
|
1232
1624
|
}>];
|
|
@@ -1285,7 +1677,9 @@ type IpcDefinition$1 = {
|
|
|
1285
1677
|
}>];
|
|
1286
1678
|
"agent:version:get": [void, EndEvent$1<{
|
|
1287
1679
|
version: string;
|
|
1680
|
+
channel: ReleaseChannel;
|
|
1288
1681
|
}>];
|
|
1682
|
+
"system:packages:cleanup": [void, EndEvent$1<boolean>];
|
|
1289
1683
|
"startup:progress": [void, {
|
|
1290
1684
|
type: "progress";
|
|
1291
1685
|
data: {
|
|
@@ -1293,145 +1687,133 @@ type IpcDefinition$1 = {
|
|
|
1293
1687
|
};
|
|
1294
1688
|
} | {
|
|
1295
1689
|
type: "ready";
|
|
1690
|
+
} | {
|
|
1691
|
+
type: "done";
|
|
1296
1692
|
}];
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
},
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
}
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
type
|
|
1406
|
-
type
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
readonly autosave: valibot.BooleanSchema<undefined>;
|
|
1422
|
-
readonly agents: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1423
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1424
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1425
|
-
readonly url: valibot.StringSchema<undefined>;
|
|
1426
|
-
}, undefined>, undefined>;
|
|
1427
|
-
readonly buildHistory: valibot.ObjectSchema<{
|
|
1428
|
-
readonly retentionPolicy: valibot.ObjectSchema<{
|
|
1429
|
-
readonly enabled: valibot.BooleanSchema<undefined>;
|
|
1430
|
-
readonly maxEntries: valibot.NumberSchema<undefined>;
|
|
1431
|
-
readonly maxAge: valibot.NumberSchema<undefined>;
|
|
1432
|
-
}, undefined>;
|
|
1433
|
-
}, undefined>;
|
|
1434
|
-
}, undefined>;
|
|
1693
|
+
"plugin:loaded": [void, {
|
|
1694
|
+
plugin: RendererPluginDefinition;
|
|
1695
|
+
}];
|
|
1696
|
+
"plugin:search": [{
|
|
1697
|
+
query: string;
|
|
1698
|
+
}, EndEvent$1<{
|
|
1699
|
+
results: Array<{
|
|
1700
|
+
name: string;
|
|
1701
|
+
version: string;
|
|
1702
|
+
description?: string;
|
|
1703
|
+
keywords?: string[];
|
|
1704
|
+
date?: string;
|
|
1705
|
+
}>;
|
|
1706
|
+
}>];
|
|
1707
|
+
"plugin:get-details": [{
|
|
1708
|
+
packageName: string;
|
|
1709
|
+
}, EndEvent$1<{
|
|
1710
|
+
name: string;
|
|
1711
|
+
latestVersion: string;
|
|
1712
|
+
versions: string[];
|
|
1713
|
+
description?: string;
|
|
1714
|
+
}>];
|
|
1715
|
+
"plugin:install": [{
|
|
1716
|
+
packageName: string;
|
|
1717
|
+
version: string;
|
|
1718
|
+
}, EndEvent$1<{
|
|
1719
|
+
result: "ok";
|
|
1720
|
+
}>];
|
|
1721
|
+
"plugin:uninstall": [{
|
|
1722
|
+
packageName: string;
|
|
1723
|
+
}, EndEvent$1<{
|
|
1724
|
+
result: "ok";
|
|
1725
|
+
}>];
|
|
1726
|
+
"plugin:list-installed": [void, EndEvent$1<{
|
|
1727
|
+
installed: Array<{
|
|
1728
|
+
name: string;
|
|
1729
|
+
version: string;
|
|
1730
|
+
description?: string;
|
|
1731
|
+
}>;
|
|
1732
|
+
}>];
|
|
1733
|
+
"plugin:ensure-loaded": [{
|
|
1734
|
+
plugins: Record<string, string>;
|
|
1735
|
+
}, EndEvent$1<{
|
|
1736
|
+
loaded: string[];
|
|
1737
|
+
failed: string[];
|
|
1738
|
+
}>];
|
|
1739
|
+
"migration:scan-stable": [{
|
|
1740
|
+
sourceChannel?: MigrationChannel;
|
|
1741
|
+
}, EndEvent$1<StableDataReport>];
|
|
1742
|
+
"migration:perform": [MigrationOptions, EndEvent$1<{
|
|
1743
|
+
result: "ok";
|
|
1744
|
+
}>];
|
|
1745
|
+
};
|
|
1746
|
+
type Channels = keyof IpcDefinition;
|
|
1747
|
+
declare const ShellChannels: Channels[];
|
|
1748
|
+
type Data$1<KEY extends Channels> = IpcDefinition[KEY][0];
|
|
1749
|
+
type Events<KEY extends Channels> = IpcDefinition[KEY][1];
|
|
1750
|
+
type End<KEY extends Channels> = Extract<IpcDefinition[KEY][1], {
|
|
1751
|
+
type: "end";
|
|
1752
|
+
}>["data"];
|
|
1753
|
+
type IpcMessage = {
|
|
1754
|
+
requestId: RequestId$1;
|
|
1755
|
+
data: any;
|
|
1756
|
+
};
|
|
1757
|
+
type RequestId$1 = Tagged<string, "request-id">;
|
|
1758
|
+
//#endregion
|
|
1759
|
+
//#region src/ipc.types.d.ts
|
|
1760
|
+
type UpdateStatus = "update-available" | "update-downloaded" | "checking-for-update" | "update-not-available" | "error";
|
|
1761
|
+
type IpcEvent<TYPE extends string, DATA> = {
|
|
1762
|
+
type: TYPE;
|
|
1763
|
+
data: DATA;
|
|
1764
|
+
};
|
|
1765
|
+
type EndEvent<DATA> = {
|
|
1766
|
+
type: "end";
|
|
1767
|
+
data: {
|
|
1768
|
+
type: "success";
|
|
1769
|
+
result: DATA;
|
|
1770
|
+
} | {
|
|
1771
|
+
type: "error";
|
|
1772
|
+
ipcError: string;
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
type IpcDefinition$1 = {
|
|
1776
|
+
"dialog:alert": [{
|
|
1777
|
+
message: string;
|
|
1778
|
+
buttons?: {
|
|
1779
|
+
title: string;
|
|
1780
|
+
value: string;
|
|
1781
|
+
}[];
|
|
1782
|
+
}, EndEvent<{
|
|
1783
|
+
answer: string;
|
|
1784
|
+
}>];
|
|
1785
|
+
"dialog:prompt": [{
|
|
1786
|
+
message: string;
|
|
1787
|
+
buttons?: {
|
|
1788
|
+
title: string;
|
|
1789
|
+
value: string;
|
|
1790
|
+
}[];
|
|
1791
|
+
}, EndEvent<{
|
|
1792
|
+
answer: string;
|
|
1793
|
+
}>];
|
|
1794
|
+
"log:message": [ILogObjMeta, EndEvent<void>];
|
|
1795
|
+
"update:set-status": [{
|
|
1796
|
+
status: UpdateStatus;
|
|
1797
|
+
downloadUrl?: string;
|
|
1798
|
+
version?: string;
|
|
1799
|
+
}, EndEvent<void>];
|
|
1800
|
+
};
|
|
1801
|
+
type RendererChannels = keyof IpcDefinition$1;
|
|
1802
|
+
type RendererData<KEY extends RendererChannels> = IpcDefinition$1[KEY][0];
|
|
1803
|
+
type RendererEvents<KEY extends RendererChannels> = IpcDefinition$1[KEY][1];
|
|
1804
|
+
type RendererEnd<KEY extends RendererChannels> = Extract<IpcDefinition$1[KEY][1], {
|
|
1805
|
+
type: "end";
|
|
1806
|
+
}>["data"];
|
|
1807
|
+
type RendererMessage = {
|
|
1808
|
+
requestId: RequestId;
|
|
1809
|
+
data: any;
|
|
1810
|
+
};
|
|
1811
|
+
type RequestId = Tagged<string, "request-id">;
|
|
1812
|
+
type HandleListenerRendererSendFn<KEY extends RendererChannels> = (events: RendererEvents<KEY>) => void;
|
|
1813
|
+
type HandleListenerRenderer<KEY extends RendererChannels> = (event: any, data: {
|
|
1814
|
+
value: RendererData<KEY>;
|
|
1815
|
+
send: HandleListenerRendererSendFn<KEY>;
|
|
1816
|
+
}) => Promise<void>;
|
|
1435
1817
|
//#endregion
|
|
1436
1818
|
//#region src/database.types.d.ts
|
|
1437
1819
|
type Json = string | number | boolean | null | {
|
|
@@ -1511,7 +1893,7 @@ declare const processGraph: (options: {
|
|
|
1511
1893
|
variables: Array<Variable>;
|
|
1512
1894
|
steps: Steps;
|
|
1513
1895
|
context: Context;
|
|
1514
|
-
onExecuteItem: (node: Block, params: Record<string, string>, steps: Steps) => Promise<End<"
|
|
1896
|
+
onExecuteItem: (node: Block, params: Record<string, string>, steps: Steps) => Promise<End<"action:execute">>;
|
|
1515
1897
|
onNodeEnter: (node: Block) => void;
|
|
1516
1898
|
onNodeExit: (node: Block) => void;
|
|
1517
1899
|
abortSignal?: AbortSignal;
|
|
@@ -1521,7 +1903,7 @@ declare const processGraph: (options: {
|
|
|
1521
1903
|
variables: Array<Variable>;
|
|
1522
1904
|
steps: Steps;
|
|
1523
1905
|
context: Context;
|
|
1524
|
-
onExecuteItem: (node: Block, params: Record<string, string>, steps: Steps) => Promise<End<"
|
|
1906
|
+
onExecuteItem: (node: Block, params: Record<string, string>, steps: Steps) => Promise<End<"action:execute">>;
|
|
1525
1907
|
onNodeEnter: (node: Block) => void;
|
|
1526
1908
|
onNodeExit: (node: Block) => void;
|
|
1527
1909
|
abortSignal?: AbortSignal;
|
|
@@ -1547,6 +1929,10 @@ declare let settings$5: {
|
|
|
1547
1929
|
integrations: string;
|
|
1548
1930
|
advanced: string;
|
|
1549
1931
|
billing: string;
|
|
1932
|
+
plugins: string;
|
|
1933
|
+
"core-plugins": string;
|
|
1934
|
+
"community-plugins": string;
|
|
1935
|
+
versions: string;
|
|
1550
1936
|
};
|
|
1551
1937
|
"pipeline-cache-folder": string;
|
|
1552
1938
|
"enter-or-browse-for-a-folder": string;
|
|
@@ -1564,13 +1950,6 @@ declare let settings$5: {
|
|
|
1564
1950
|
"restart-dashboard-tour": string;
|
|
1565
1951
|
"restart-editor-tour": string;
|
|
1566
1952
|
"tour-reset-success": string;
|
|
1567
|
-
retentionPolicy: string;
|
|
1568
|
-
retentionPolicyDescription: string;
|
|
1569
|
-
retentionEnabled: string;
|
|
1570
|
-
retentionMaxEntries: string;
|
|
1571
|
-
retentionMaxEntriesDescription: string;
|
|
1572
|
-
retentionMaxAge: string;
|
|
1573
|
-
retentionMaxAgeDescription: string;
|
|
1574
1953
|
"storage-pipelab": string;
|
|
1575
1954
|
"storage-other": string;
|
|
1576
1955
|
"storage-free": string;
|
|
@@ -1580,14 +1959,11 @@ declare let settings$5: {
|
|
|
1580
1959
|
};
|
|
1581
1960
|
declare namespace headers$5 {
|
|
1582
1961
|
let dashboard: string;
|
|
1583
|
-
let
|
|
1962
|
+
let pipelines: string;
|
|
1584
1963
|
let editor: string;
|
|
1585
1964
|
let billing: string;
|
|
1586
1965
|
let team: string;
|
|
1587
1966
|
}
|
|
1588
|
-
declare let navigation: {
|
|
1589
|
-
"build-history": string;
|
|
1590
|
-
};
|
|
1591
1967
|
declare namespace base$5 {
|
|
1592
1968
|
export let close: string;
|
|
1593
1969
|
export let save: string;
|
|
@@ -1600,11 +1976,13 @@ declare namespace base$5 {
|
|
|
1600
1976
|
export let ok: string;
|
|
1601
1977
|
export let add: string;
|
|
1602
1978
|
export let search: string;
|
|
1979
|
+
export let success: string;
|
|
1980
|
+
export let error: string;
|
|
1603
1981
|
}
|
|
1604
1982
|
declare let editor_1$5: {
|
|
1605
1983
|
"invalid-file-content": string;
|
|
1606
1984
|
"welcome-back": string;
|
|
1607
|
-
"please-log-in-to-run-a-
|
|
1985
|
+
"please-log-in-to-run-a-pipeline": string;
|
|
1608
1986
|
"execution-done": string;
|
|
1609
1987
|
"your-project-has-been-executed-successfully": string;
|
|
1610
1988
|
"execution-failed": string;
|
|
@@ -1614,6 +1992,13 @@ declare let editor_1$5: {
|
|
|
1614
1992
|
"view-history": string;
|
|
1615
1993
|
"add-plugin": string;
|
|
1616
1994
|
"display-advanced-nodes": string;
|
|
1995
|
+
"project-settings": string;
|
|
1996
|
+
"jit-loading-title": string;
|
|
1997
|
+
"jit-loading-subtitle": string;
|
|
1998
|
+
"jit-loading-status": string;
|
|
1999
|
+
"validation-failed": string;
|
|
2000
|
+
"validation-plugin-disabled-or-missing": string;
|
|
2001
|
+
"validation-missing-param": string;
|
|
1617
2002
|
};
|
|
1618
2003
|
declare let home$5: {
|
|
1619
2004
|
"invalid-preset": string;
|
|
@@ -1626,7 +2011,9 @@ declare let home$5: {
|
|
|
1626
2011
|
"choose-a-new-path": string;
|
|
1627
2012
|
"invalid-file-type": string;
|
|
1628
2013
|
"create-project": string;
|
|
2014
|
+
"create-pipeline": string;
|
|
1629
2015
|
"duplicate-project": string;
|
|
2016
|
+
"duplicate-pipeline": string;
|
|
1630
2017
|
"project-name": string;
|
|
1631
2018
|
"new-project": string;
|
|
1632
2019
|
"new-pipeline": string;
|
|
@@ -1660,12 +2047,21 @@ declare let home$5: {
|
|
|
1660
2047
|
"migrate-pipeline": string;
|
|
1661
2048
|
"migration-success": string;
|
|
1662
2049
|
"migrate-to-internal": string;
|
|
2050
|
+
"only-internal-supported-notice": string;
|
|
2051
|
+
"import-pipeline": string;
|
|
2052
|
+
"import-from-stable": string;
|
|
2053
|
+
"import-from-beta": string;
|
|
2054
|
+
"import-pipeline-file": string;
|
|
2055
|
+
"import-success": string;
|
|
2056
|
+
"failed-to-read-file": string;
|
|
2057
|
+
"export-pipeline": string;
|
|
2058
|
+
"export-success": string;
|
|
2059
|
+
"export-failed": string;
|
|
1663
2060
|
};
|
|
1664
|
-
declare namespace
|
|
1665
|
-
let
|
|
1666
|
-
export { scenarios_2 as scenarios };
|
|
2061
|
+
declare namespace pipelines_1$5 {
|
|
2062
|
+
let title: string;
|
|
1667
2063
|
}
|
|
1668
|
-
declare let tour: {
|
|
2064
|
+
declare let tour$5: {
|
|
1669
2065
|
"start-tour": string;
|
|
1670
2066
|
"projects-list-title": string;
|
|
1671
2067
|
"projects-list-description": string;
|
|
@@ -1687,12 +2083,14 @@ declare let tour: {
|
|
|
1687
2083
|
"editor-close-description": string;
|
|
1688
2084
|
};
|
|
1689
2085
|
declare namespace __json_default_export$1 {
|
|
1690
|
-
export { settings$5 as settings, headers$5 as headers,
|
|
2086
|
+
export { settings$5 as settings, headers$5 as headers, base$5 as base, home$5 as home, pipelines_1$5 as pipelines_1, tour$5 as tour, editor_1$5 as editor, pipelines_1$5 as pipelines };
|
|
1691
2087
|
}
|
|
1692
2088
|
//#endregion
|
|
1693
2089
|
//#region src/i18n/fr_FR.json.d.ts
|
|
1694
2090
|
declare let settings$4: {
|
|
1695
2091
|
darkTheme: string;
|
|
2092
|
+
autosave: string;
|
|
2093
|
+
autosaveDescription: string;
|
|
1696
2094
|
language: string;
|
|
1697
2095
|
languageOptions: {
|
|
1698
2096
|
"en-US": string;
|
|
@@ -1708,9 +2106,11 @@ declare let settings$4: {
|
|
|
1708
2106
|
integrations: string;
|
|
1709
2107
|
advanced: string;
|
|
1710
2108
|
billing: string;
|
|
2109
|
+
plugins: string;
|
|
2110
|
+
"core-plugins": string;
|
|
2111
|
+
"community-plugins": string;
|
|
2112
|
+
versions: string;
|
|
1711
2113
|
};
|
|
1712
|
-
clearTempFolders: string;
|
|
1713
|
-
clearTempFoldersDescription: string;
|
|
1714
2114
|
"pipeline-cache-folder": string;
|
|
1715
2115
|
"enter-or-browse-for-a-folder": string;
|
|
1716
2116
|
browse: string;
|
|
@@ -1724,10 +2124,19 @@ declare let settings$4: {
|
|
|
1724
2124
|
"failed-to-clear-cache-error-message": string;
|
|
1725
2125
|
"failed-to-reset-cache-folder-error-message": string;
|
|
1726
2126
|
"select-cache-folder": string;
|
|
2127
|
+
"restart-dashboard-tour": string;
|
|
2128
|
+
"restart-editor-tour": string;
|
|
2129
|
+
"tour-reset-success": string;
|
|
2130
|
+
"storage-pipelab": string;
|
|
2131
|
+
"storage-other": string;
|
|
2132
|
+
"storage-free": string;
|
|
2133
|
+
"disk-usage": string;
|
|
2134
|
+
free: string;
|
|
2135
|
+
other: string;
|
|
1727
2136
|
};
|
|
1728
2137
|
declare namespace headers$4 {
|
|
1729
2138
|
let dashboard: string;
|
|
1730
|
-
let
|
|
2139
|
+
let pipelines: string;
|
|
1731
2140
|
let editor: string;
|
|
1732
2141
|
let billing: string;
|
|
1733
2142
|
let team: string;
|
|
@@ -1744,19 +2153,29 @@ declare namespace base$4 {
|
|
|
1744
2153
|
export let ok: string;
|
|
1745
2154
|
export let add: string;
|
|
1746
2155
|
export let search: string;
|
|
2156
|
+
export let success: string;
|
|
2157
|
+
export let error: string;
|
|
1747
2158
|
}
|
|
1748
2159
|
declare let editor_1$4: {
|
|
1749
2160
|
"invalid-file-content": string;
|
|
1750
2161
|
"welcome-back": string;
|
|
1751
|
-
"please-log-in-to-run-a-
|
|
2162
|
+
"please-log-in-to-run-a-pipeline": string;
|
|
1752
2163
|
"execution-done": string;
|
|
1753
2164
|
"your-project-has-been-executed-successfully": string;
|
|
1754
2165
|
"execution-failed": string;
|
|
1755
2166
|
"project-has-encountered-an-error": string;
|
|
1756
2167
|
"project-saved": string;
|
|
1757
2168
|
"your-project-has-be-saved-successfully": string;
|
|
2169
|
+
"view-history": string;
|
|
1758
2170
|
"add-plugin": string;
|
|
1759
2171
|
"display-advanced-nodes": string;
|
|
2172
|
+
"project-settings": string;
|
|
2173
|
+
"jit-loading-title": string;
|
|
2174
|
+
"jit-loading-subtitle": string;
|
|
2175
|
+
"jit-loading-status": string;
|
|
2176
|
+
"validation-failed": string;
|
|
2177
|
+
"validation-plugin-disabled-or-missing": string;
|
|
2178
|
+
"validation-missing-param": string;
|
|
1760
2179
|
};
|
|
1761
2180
|
declare let home$4: {
|
|
1762
2181
|
"invalid-preset": string;
|
|
@@ -1769,24 +2188,86 @@ declare let home$4: {
|
|
|
1769
2188
|
"choose-a-new-path": string;
|
|
1770
2189
|
"invalid-file-type": string;
|
|
1771
2190
|
"create-project": string;
|
|
2191
|
+
"create-pipeline": string;
|
|
1772
2192
|
"duplicate-project": string;
|
|
2193
|
+
"duplicate-pipeline": string;
|
|
1773
2194
|
"project-name": string;
|
|
1774
2195
|
"new-project": string;
|
|
2196
|
+
"new-pipeline": string;
|
|
1775
2197
|
open: string;
|
|
2198
|
+
import: string;
|
|
2199
|
+
"pipeline-name": string;
|
|
1776
2200
|
"your-projects": string;
|
|
1777
2201
|
"no-projects-yet": string;
|
|
2202
|
+
"no-pipelines-yet": string;
|
|
2203
|
+
"delete-project": string;
|
|
2204
|
+
"confirm-delete-project": string;
|
|
2205
|
+
"cannot-delete-project": string;
|
|
2206
|
+
"project-not-empty": string;
|
|
2207
|
+
transfer: string;
|
|
2208
|
+
"transfer-successful": string;
|
|
2209
|
+
"pipeline-transferred": string;
|
|
2210
|
+
"select-project": string;
|
|
2211
|
+
"build-history": string;
|
|
2212
|
+
duplicate: string;
|
|
2213
|
+
"rename-project": string;
|
|
2214
|
+
"new-project-name": string;
|
|
2215
|
+
"premium-feature": string;
|
|
2216
|
+
"migrate-warning": string;
|
|
2217
|
+
"simple-pipeline": string;
|
|
2218
|
+
"advanced-pipeline": string;
|
|
2219
|
+
"new-simple-project": string;
|
|
2220
|
+
"new-advanced-project": string;
|
|
2221
|
+
"store-project-internally": string;
|
|
2222
|
+
internal: string;
|
|
2223
|
+
"confirm-migration-message": string;
|
|
2224
|
+
"migrate-pipeline": string;
|
|
2225
|
+
"migration-success": string;
|
|
2226
|
+
"migrate-to-internal": string;
|
|
2227
|
+
"only-internal-supported-notice": string;
|
|
2228
|
+
"import-pipeline": string;
|
|
2229
|
+
"import-from-stable": string;
|
|
2230
|
+
"import-from-beta": string;
|
|
2231
|
+
"import-pipeline-file": string;
|
|
2232
|
+
"import-success": string;
|
|
2233
|
+
"failed-to-read-file": string;
|
|
2234
|
+
"export-pipeline": string;
|
|
2235
|
+
"export-success": string;
|
|
2236
|
+
"export-failed": string;
|
|
1778
2237
|
};
|
|
1779
|
-
declare namespace
|
|
1780
|
-
let
|
|
1781
|
-
export { scenarios_2 as scenarios };
|
|
2238
|
+
declare namespace pipelines_1$4 {
|
|
2239
|
+
let title: string;
|
|
1782
2240
|
}
|
|
2241
|
+
declare let tour$4: {
|
|
2242
|
+
"start-tour": string;
|
|
2243
|
+
"projects-list-title": string;
|
|
2244
|
+
"projects-list-description": string;
|
|
2245
|
+
"add-project-title": string;
|
|
2246
|
+
"add-project-description": string;
|
|
2247
|
+
"new-pipeline-title": string;
|
|
2248
|
+
"new-pipeline-description": string;
|
|
2249
|
+
"project-actions-title": string;
|
|
2250
|
+
"project-actions-description": string;
|
|
2251
|
+
"editor-canvas-title": string;
|
|
2252
|
+
"editor-canvas-description": string;
|
|
2253
|
+
"editor-save-title": string;
|
|
2254
|
+
"editor-save-description": string;
|
|
2255
|
+
"editor-run-title": string;
|
|
2256
|
+
"editor-run-description": string;
|
|
2257
|
+
"editor-logs-title": string;
|
|
2258
|
+
"editor-logs-description": string;
|
|
2259
|
+
"editor-close-title": string;
|
|
2260
|
+
"editor-close-description": string;
|
|
2261
|
+
};
|
|
1783
2262
|
declare namespace __json_default_export$3 {
|
|
1784
|
-
export { settings$4 as settings, headers$4 as headers, base$4 as base, home$4 as home,
|
|
2263
|
+
export { settings$4 as settings, headers$4 as headers, base$4 as base, home$4 as home, pipelines_1$4 as pipelines_1, tour$4 as tour, editor_1$4 as editor, pipelines_1$4 as pipelines };
|
|
1785
2264
|
}
|
|
1786
2265
|
//#endregion
|
|
1787
2266
|
//#region src/i18n/pt_BR.json.d.ts
|
|
1788
2267
|
declare let settings$3: {
|
|
1789
2268
|
darkTheme: string;
|
|
2269
|
+
autosave: string;
|
|
2270
|
+
autosaveDescription: string;
|
|
1790
2271
|
language: string;
|
|
1791
2272
|
languageOptions: {
|
|
1792
2273
|
"en-US": string;
|
|
@@ -1802,9 +2283,11 @@ declare let settings$3: {
|
|
|
1802
2283
|
integrations: string;
|
|
1803
2284
|
advanced: string;
|
|
1804
2285
|
billing: string;
|
|
2286
|
+
plugins: string;
|
|
2287
|
+
"core-plugins": string;
|
|
2288
|
+
"community-plugins": string;
|
|
2289
|
+
versions: string;
|
|
1805
2290
|
};
|
|
1806
|
-
clearTempFolders: string;
|
|
1807
|
-
clearTempFoldersDescription: string;
|
|
1808
2291
|
"pipeline-cache-folder": string;
|
|
1809
2292
|
"enter-or-browse-for-a-folder": string;
|
|
1810
2293
|
browse: string;
|
|
@@ -1818,10 +2301,19 @@ declare let settings$3: {
|
|
|
1818
2301
|
"failed-to-clear-cache-error-message": string;
|
|
1819
2302
|
"failed-to-reset-cache-folder-error-message": string;
|
|
1820
2303
|
"select-cache-folder": string;
|
|
2304
|
+
"restart-dashboard-tour": string;
|
|
2305
|
+
"restart-editor-tour": string;
|
|
2306
|
+
"tour-reset-success": string;
|
|
2307
|
+
"storage-pipelab": string;
|
|
2308
|
+
"storage-other": string;
|
|
2309
|
+
"storage-free": string;
|
|
2310
|
+
"disk-usage": string;
|
|
2311
|
+
free: string;
|
|
2312
|
+
other: string;
|
|
1821
2313
|
};
|
|
1822
2314
|
declare namespace headers$3 {
|
|
1823
2315
|
let dashboard: string;
|
|
1824
|
-
let
|
|
2316
|
+
let pipelines: string;
|
|
1825
2317
|
let editor: string;
|
|
1826
2318
|
let billing: string;
|
|
1827
2319
|
let team: string;
|
|
@@ -1837,17 +2329,30 @@ declare namespace base$3 {
|
|
|
1837
2329
|
export let logs: string;
|
|
1838
2330
|
export let ok: string;
|
|
1839
2331
|
export let add: string;
|
|
2332
|
+
export let search: string;
|
|
2333
|
+
export let success: string;
|
|
2334
|
+
export let error: string;
|
|
1840
2335
|
}
|
|
1841
2336
|
declare let editor_1$3: {
|
|
1842
2337
|
"invalid-file-content": string;
|
|
1843
2338
|
"welcome-back": string;
|
|
1844
|
-
"please-log-in-to-run-a-
|
|
2339
|
+
"please-log-in-to-run-a-pipeline": string;
|
|
1845
2340
|
"execution-done": string;
|
|
1846
2341
|
"your-project-has-been-executed-successfully": string;
|
|
1847
2342
|
"execution-failed": string;
|
|
1848
2343
|
"project-has-encountered-an-error": string;
|
|
1849
2344
|
"project-saved": string;
|
|
1850
2345
|
"your-project-has-be-saved-successfully": string;
|
|
2346
|
+
"view-history": string;
|
|
2347
|
+
"add-plugin": string;
|
|
2348
|
+
"display-advanced-nodes": string;
|
|
2349
|
+
"project-settings": string;
|
|
2350
|
+
"jit-loading-title": string;
|
|
2351
|
+
"jit-loading-subtitle": string;
|
|
2352
|
+
"jit-loading-status": string;
|
|
2353
|
+
"validation-failed": string;
|
|
2354
|
+
"validation-plugin-disabled-or-missing": string;
|
|
2355
|
+
"validation-missing-param": string;
|
|
1851
2356
|
};
|
|
1852
2357
|
declare let home$3: {
|
|
1853
2358
|
"invalid-preset": string;
|
|
@@ -1860,24 +2365,86 @@ declare let home$3: {
|
|
|
1860
2365
|
"choose-a-new-path": string;
|
|
1861
2366
|
"invalid-file-type": string;
|
|
1862
2367
|
"create-project": string;
|
|
2368
|
+
"create-pipeline": string;
|
|
1863
2369
|
"duplicate-project": string;
|
|
2370
|
+
"duplicate-pipeline": string;
|
|
1864
2371
|
"project-name": string;
|
|
1865
2372
|
"new-project": string;
|
|
2373
|
+
"new-pipeline": string;
|
|
1866
2374
|
open: string;
|
|
2375
|
+
import: string;
|
|
2376
|
+
"pipeline-name": string;
|
|
1867
2377
|
"your-projects": string;
|
|
1868
2378
|
"no-projects-yet": string;
|
|
2379
|
+
"no-pipelines-yet": string;
|
|
2380
|
+
"delete-project": string;
|
|
2381
|
+
"confirm-delete-project": string;
|
|
2382
|
+
"cannot-delete-project": string;
|
|
2383
|
+
"project-not-empty": string;
|
|
2384
|
+
transfer: string;
|
|
2385
|
+
"transfer-successful": string;
|
|
2386
|
+
"pipeline-transferred": string;
|
|
2387
|
+
"select-project": string;
|
|
2388
|
+
"build-history": string;
|
|
2389
|
+
duplicate: string;
|
|
2390
|
+
"rename-project": string;
|
|
2391
|
+
"new-project-name": string;
|
|
2392
|
+
"premium-feature": string;
|
|
2393
|
+
"migrate-warning": string;
|
|
2394
|
+
"simple-pipeline": string;
|
|
2395
|
+
"advanced-pipeline": string;
|
|
2396
|
+
"new-simple-project": string;
|
|
2397
|
+
"new-advanced-project": string;
|
|
2398
|
+
"store-project-internally": string;
|
|
2399
|
+
internal: string;
|
|
2400
|
+
"confirm-migration-message": string;
|
|
2401
|
+
"migrate-pipeline": string;
|
|
2402
|
+
"migration-success": string;
|
|
2403
|
+
"migrate-to-internal": string;
|
|
2404
|
+
"only-internal-supported-notice": string;
|
|
2405
|
+
"import-pipeline": string;
|
|
2406
|
+
"import-from-stable": string;
|
|
2407
|
+
"import-from-beta": string;
|
|
2408
|
+
"import-pipeline-file": string;
|
|
2409
|
+
"import-success": string;
|
|
2410
|
+
"failed-to-read-file": string;
|
|
2411
|
+
"export-pipeline": string;
|
|
2412
|
+
"export-success": string;
|
|
2413
|
+
"export-failed": string;
|
|
1869
2414
|
};
|
|
1870
|
-
declare namespace
|
|
1871
|
-
let
|
|
1872
|
-
export { scenarios_2 as scenarios };
|
|
2415
|
+
declare namespace pipelines_1$3 {
|
|
2416
|
+
let title: string;
|
|
1873
2417
|
}
|
|
2418
|
+
declare let tour$3: {
|
|
2419
|
+
"start-tour": string;
|
|
2420
|
+
"projects-list-title": string;
|
|
2421
|
+
"projects-list-description": string;
|
|
2422
|
+
"add-project-title": string;
|
|
2423
|
+
"add-project-description": string;
|
|
2424
|
+
"new-pipeline-title": string;
|
|
2425
|
+
"new-pipeline-description": string;
|
|
2426
|
+
"project-actions-title": string;
|
|
2427
|
+
"project-actions-description": string;
|
|
2428
|
+
"editor-canvas-title": string;
|
|
2429
|
+
"editor-canvas-description": string;
|
|
2430
|
+
"editor-save-title": string;
|
|
2431
|
+
"editor-save-description": string;
|
|
2432
|
+
"editor-run-title": string;
|
|
2433
|
+
"editor-run-description": string;
|
|
2434
|
+
"editor-logs-title": string;
|
|
2435
|
+
"editor-logs-description": string;
|
|
2436
|
+
"editor-close-title": string;
|
|
2437
|
+
"editor-close-description": string;
|
|
2438
|
+
};
|
|
1874
2439
|
declare namespace __json_default_export$4 {
|
|
1875
|
-
export { settings$3 as settings, headers$3 as headers, base$3 as base, home$3 as home,
|
|
2440
|
+
export { settings$3 as settings, headers$3 as headers, base$3 as base, home$3 as home, pipelines_1$3 as pipelines_1, tour$3 as tour, editor_1$3 as editor, pipelines_1$3 as pipelines };
|
|
1876
2441
|
}
|
|
1877
2442
|
//#endregion
|
|
1878
2443
|
//#region src/i18n/zh_CN.json.d.ts
|
|
1879
2444
|
declare let settings$2: {
|
|
1880
2445
|
darkTheme: string;
|
|
2446
|
+
autosave: string;
|
|
2447
|
+
autosaveDescription: string;
|
|
1881
2448
|
language: string;
|
|
1882
2449
|
languageOptions: {
|
|
1883
2450
|
"en-US": string;
|
|
@@ -1893,9 +2460,11 @@ declare let settings$2: {
|
|
|
1893
2460
|
integrations: string;
|
|
1894
2461
|
advanced: string;
|
|
1895
2462
|
billing: string;
|
|
2463
|
+
plugins: string;
|
|
2464
|
+
"core-plugins": string;
|
|
2465
|
+
"community-plugins": string;
|
|
2466
|
+
versions: string;
|
|
1896
2467
|
};
|
|
1897
|
-
clearTempFolders: string;
|
|
1898
|
-
clearTempFoldersDescription: string;
|
|
1899
2468
|
"pipeline-cache-folder": string;
|
|
1900
2469
|
"enter-or-browse-for-a-folder": string;
|
|
1901
2470
|
browse: string;
|
|
@@ -1909,10 +2478,19 @@ declare let settings$2: {
|
|
|
1909
2478
|
"failed-to-clear-cache-error-message": string;
|
|
1910
2479
|
"failed-to-reset-cache-folder-error-message": string;
|
|
1911
2480
|
"select-cache-folder": string;
|
|
2481
|
+
"restart-dashboard-tour": string;
|
|
2482
|
+
"restart-editor-tour": string;
|
|
2483
|
+
"tour-reset-success": string;
|
|
2484
|
+
"storage-pipelab": string;
|
|
2485
|
+
"storage-other": string;
|
|
2486
|
+
"storage-free": string;
|
|
2487
|
+
"disk-usage": string;
|
|
2488
|
+
free: string;
|
|
2489
|
+
other: string;
|
|
1912
2490
|
};
|
|
1913
2491
|
declare namespace headers$2 {
|
|
1914
2492
|
let dashboard: string;
|
|
1915
|
-
let
|
|
2493
|
+
let pipelines: string;
|
|
1916
2494
|
let editor: string;
|
|
1917
2495
|
let billing: string;
|
|
1918
2496
|
let team: string;
|
|
@@ -1928,17 +2506,30 @@ declare namespace base$2 {
|
|
|
1928
2506
|
export let logs: string;
|
|
1929
2507
|
export let ok: string;
|
|
1930
2508
|
export let add: string;
|
|
2509
|
+
export let search: string;
|
|
2510
|
+
export let success: string;
|
|
2511
|
+
export let error: string;
|
|
1931
2512
|
}
|
|
1932
2513
|
declare let editor_1$2: {
|
|
1933
2514
|
"invalid-file-content": string;
|
|
1934
2515
|
"welcome-back": string;
|
|
1935
|
-
"please-log-in-to-run-a-
|
|
2516
|
+
"please-log-in-to-run-a-pipeline": string;
|
|
1936
2517
|
"execution-done": string;
|
|
1937
2518
|
"your-project-has-been-executed-successfully": string;
|
|
1938
2519
|
"execution-failed": string;
|
|
1939
2520
|
"project-has-encountered-an-error": string;
|
|
1940
2521
|
"project-saved": string;
|
|
1941
2522
|
"your-project-has-be-saved-successfully": string;
|
|
2523
|
+
"view-history": string;
|
|
2524
|
+
"add-plugin": string;
|
|
2525
|
+
"display-advanced-nodes": string;
|
|
2526
|
+
"project-settings": string;
|
|
2527
|
+
"jit-loading-title": string;
|
|
2528
|
+
"jit-loading-subtitle": string;
|
|
2529
|
+
"jit-loading-status": string;
|
|
2530
|
+
"validation-failed": string;
|
|
2531
|
+
"validation-plugin-disabled-or-missing": string;
|
|
2532
|
+
"validation-missing-param": string;
|
|
1942
2533
|
};
|
|
1943
2534
|
declare let home$2: {
|
|
1944
2535
|
"invalid-preset": string;
|
|
@@ -1951,24 +2542,86 @@ declare let home$2: {
|
|
|
1951
2542
|
"choose-a-new-path": string;
|
|
1952
2543
|
"invalid-file-type": string;
|
|
1953
2544
|
"create-project": string;
|
|
2545
|
+
"create-pipeline": string;
|
|
1954
2546
|
"duplicate-project": string;
|
|
2547
|
+
"duplicate-pipeline": string;
|
|
1955
2548
|
"project-name": string;
|
|
1956
2549
|
"new-project": string;
|
|
2550
|
+
"new-pipeline": string;
|
|
1957
2551
|
open: string;
|
|
2552
|
+
import: string;
|
|
2553
|
+
"pipeline-name": string;
|
|
1958
2554
|
"your-projects": string;
|
|
1959
2555
|
"no-projects-yet": string;
|
|
2556
|
+
"no-pipelines-yet": string;
|
|
2557
|
+
"delete-project": string;
|
|
2558
|
+
"confirm-delete-project": string;
|
|
2559
|
+
"cannot-delete-project": string;
|
|
2560
|
+
"project-not-empty": string;
|
|
2561
|
+
transfer: string;
|
|
2562
|
+
"transfer-successful": string;
|
|
2563
|
+
"pipeline-transferred": string;
|
|
2564
|
+
"select-project": string;
|
|
2565
|
+
"build-history": string;
|
|
2566
|
+
duplicate: string;
|
|
2567
|
+
"rename-project": string;
|
|
2568
|
+
"new-project-name": string;
|
|
2569
|
+
"premium-feature": string;
|
|
2570
|
+
"migrate-warning": string;
|
|
2571
|
+
"simple-pipeline": string;
|
|
2572
|
+
"advanced-pipeline": string;
|
|
2573
|
+
"new-simple-project": string;
|
|
2574
|
+
"new-advanced-project": string;
|
|
2575
|
+
"store-project-internally": string;
|
|
2576
|
+
internal: string;
|
|
2577
|
+
"confirm-migration-message": string;
|
|
2578
|
+
"migrate-pipeline": string;
|
|
2579
|
+
"migration-success": string;
|
|
2580
|
+
"migrate-to-internal": string;
|
|
2581
|
+
"only-internal-supported-notice": string;
|
|
2582
|
+
"import-pipeline": string;
|
|
2583
|
+
"import-from-stable": string;
|
|
2584
|
+
"import-from-beta": string;
|
|
2585
|
+
"import-pipeline-file": string;
|
|
2586
|
+
"import-success": string;
|
|
2587
|
+
"failed-to-read-file": string;
|
|
2588
|
+
"export-pipeline": string;
|
|
2589
|
+
"export-success": string;
|
|
2590
|
+
"export-failed": string;
|
|
2591
|
+
};
|
|
2592
|
+
declare namespace pipelines_1$2 {
|
|
2593
|
+
let title: string;
|
|
2594
|
+
}
|
|
2595
|
+
declare let tour$2: {
|
|
2596
|
+
"start-tour": string;
|
|
2597
|
+
"projects-list-title": string;
|
|
2598
|
+
"projects-list-description": string;
|
|
2599
|
+
"add-project-title": string;
|
|
2600
|
+
"add-project-description": string;
|
|
2601
|
+
"new-pipeline-title": string;
|
|
2602
|
+
"new-pipeline-description": string;
|
|
2603
|
+
"project-actions-title": string;
|
|
2604
|
+
"project-actions-description": string;
|
|
2605
|
+
"editor-canvas-title": string;
|
|
2606
|
+
"editor-canvas-description": string;
|
|
2607
|
+
"editor-save-title": string;
|
|
2608
|
+
"editor-save-description": string;
|
|
2609
|
+
"editor-run-title": string;
|
|
2610
|
+
"editor-run-description": string;
|
|
2611
|
+
"editor-logs-title": string;
|
|
2612
|
+
"editor-logs-description": string;
|
|
2613
|
+
"editor-close-title": string;
|
|
2614
|
+
"editor-close-description": string;
|
|
1960
2615
|
};
|
|
1961
|
-
declare namespace scenarios_1$2 {
|
|
1962
|
-
let scenarios_2: string;
|
|
1963
|
-
export { scenarios_2 as scenarios };
|
|
1964
|
-
}
|
|
1965
2616
|
declare namespace __json_default_export$5 {
|
|
1966
|
-
export { settings$2 as settings, headers$2 as headers, base$2 as base, home$2 as home,
|
|
2617
|
+
export { settings$2 as settings, headers$2 as headers, base$2 as base, home$2 as home, pipelines_1$2 as pipelines_1, tour$2 as tour, editor_1$2 as editor, pipelines_1$2 as pipelines };
|
|
1967
2618
|
}
|
|
1968
2619
|
//#endregion
|
|
1969
2620
|
//#region src/i18n/es_ES.json.d.ts
|
|
1970
2621
|
declare let settings$1: {
|
|
1971
2622
|
darkTheme: string;
|
|
2623
|
+
autosave: string;
|
|
2624
|
+
autosaveDescription: string;
|
|
1972
2625
|
language: string;
|
|
1973
2626
|
languageOptions: {
|
|
1974
2627
|
"en-US": string;
|
|
@@ -1984,9 +2637,11 @@ declare let settings$1: {
|
|
|
1984
2637
|
integrations: string;
|
|
1985
2638
|
advanced: string;
|
|
1986
2639
|
billing: string;
|
|
2640
|
+
plugins: string;
|
|
2641
|
+
"core-plugins": string;
|
|
2642
|
+
"community-plugins": string;
|
|
2643
|
+
versions: string;
|
|
1987
2644
|
};
|
|
1988
|
-
clearTempFolders: string;
|
|
1989
|
-
clearTempFoldersDescription: string;
|
|
1990
2645
|
"pipeline-cache-folder": string;
|
|
1991
2646
|
"enter-or-browse-for-a-folder": string;
|
|
1992
2647
|
browse: string;
|
|
@@ -2000,10 +2655,19 @@ declare let settings$1: {
|
|
|
2000
2655
|
"failed-to-clear-cache-error-message": string;
|
|
2001
2656
|
"failed-to-reset-cache-folder-error-message": string;
|
|
2002
2657
|
"select-cache-folder": string;
|
|
2658
|
+
"restart-dashboard-tour": string;
|
|
2659
|
+
"restart-editor-tour": string;
|
|
2660
|
+
"tour-reset-success": string;
|
|
2661
|
+
"storage-pipelab": string;
|
|
2662
|
+
"storage-other": string;
|
|
2663
|
+
"storage-free": string;
|
|
2664
|
+
"disk-usage": string;
|
|
2665
|
+
free: string;
|
|
2666
|
+
other: string;
|
|
2003
2667
|
};
|
|
2004
2668
|
declare namespace headers$1 {
|
|
2005
2669
|
let dashboard: string;
|
|
2006
|
-
let
|
|
2670
|
+
let pipelines: string;
|
|
2007
2671
|
let editor: string;
|
|
2008
2672
|
let billing: string;
|
|
2009
2673
|
let team: string;
|
|
@@ -2019,17 +2683,30 @@ declare namespace base$1 {
|
|
|
2019
2683
|
export let logs: string;
|
|
2020
2684
|
export let ok: string;
|
|
2021
2685
|
export let add: string;
|
|
2686
|
+
export let search: string;
|
|
2687
|
+
export let success: string;
|
|
2688
|
+
export let error: string;
|
|
2022
2689
|
}
|
|
2023
2690
|
declare let editor_1$1: {
|
|
2024
2691
|
"invalid-file-content": string;
|
|
2025
2692
|
"welcome-back": string;
|
|
2026
|
-
"please-log-in-to-run-a-
|
|
2693
|
+
"please-log-in-to-run-a-pipeline": string;
|
|
2027
2694
|
"execution-done": string;
|
|
2028
2695
|
"your-project-has-been-executed-successfully": string;
|
|
2029
2696
|
"execution-failed": string;
|
|
2030
2697
|
"project-has-encountered-an-error": string;
|
|
2031
2698
|
"project-saved": string;
|
|
2032
2699
|
"your-project-has-be-saved-successfully": string;
|
|
2700
|
+
"view-history": string;
|
|
2701
|
+
"add-plugin": string;
|
|
2702
|
+
"display-advanced-nodes": string;
|
|
2703
|
+
"project-settings": string;
|
|
2704
|
+
"jit-loading-title": string;
|
|
2705
|
+
"jit-loading-subtitle": string;
|
|
2706
|
+
"jit-loading-status": string;
|
|
2707
|
+
"validation-failed": string;
|
|
2708
|
+
"validation-plugin-disabled-or-missing": string;
|
|
2709
|
+
"validation-missing-param": string;
|
|
2033
2710
|
};
|
|
2034
2711
|
declare let home$1: {
|
|
2035
2712
|
"invalid-preset": string;
|
|
@@ -2042,24 +2719,86 @@ declare let home$1: {
|
|
|
2042
2719
|
"choose-a-new-path": string;
|
|
2043
2720
|
"invalid-file-type": string;
|
|
2044
2721
|
"create-project": string;
|
|
2722
|
+
"create-pipeline": string;
|
|
2045
2723
|
"duplicate-project": string;
|
|
2724
|
+
"duplicate-pipeline": string;
|
|
2046
2725
|
"project-name": string;
|
|
2047
2726
|
"new-project": string;
|
|
2727
|
+
"new-pipeline": string;
|
|
2048
2728
|
open: string;
|
|
2729
|
+
import: string;
|
|
2730
|
+
"pipeline-name": string;
|
|
2049
2731
|
"your-projects": string;
|
|
2050
2732
|
"no-projects-yet": string;
|
|
2733
|
+
"no-pipelines-yet": string;
|
|
2734
|
+
"delete-project": string;
|
|
2735
|
+
"confirm-delete-project": string;
|
|
2736
|
+
"cannot-delete-project": string;
|
|
2737
|
+
"project-not-empty": string;
|
|
2738
|
+
transfer: string;
|
|
2739
|
+
"transfer-successful": string;
|
|
2740
|
+
"pipeline-transferred": string;
|
|
2741
|
+
"select-project": string;
|
|
2742
|
+
"build-history": string;
|
|
2743
|
+
duplicate: string;
|
|
2744
|
+
"rename-project": string;
|
|
2745
|
+
"new-project-name": string;
|
|
2746
|
+
"premium-feature": string;
|
|
2747
|
+
"migrate-warning": string;
|
|
2748
|
+
"simple-pipeline": string;
|
|
2749
|
+
"advanced-pipeline": string;
|
|
2750
|
+
"new-simple-project": string;
|
|
2751
|
+
"new-advanced-project": string;
|
|
2752
|
+
"store-project-internally": string;
|
|
2753
|
+
internal: string;
|
|
2754
|
+
"confirm-migration-message": string;
|
|
2755
|
+
"migrate-pipeline": string;
|
|
2756
|
+
"migration-success": string;
|
|
2757
|
+
"migrate-to-internal": string;
|
|
2758
|
+
"only-internal-supported-notice": string;
|
|
2759
|
+
"import-pipeline": string;
|
|
2760
|
+
"import-from-stable": string;
|
|
2761
|
+
"import-from-beta": string;
|
|
2762
|
+
"import-pipeline-file": string;
|
|
2763
|
+
"import-success": string;
|
|
2764
|
+
"failed-to-read-file": string;
|
|
2765
|
+
"export-pipeline": string;
|
|
2766
|
+
"export-success": string;
|
|
2767
|
+
"export-failed": string;
|
|
2051
2768
|
};
|
|
2052
|
-
declare namespace
|
|
2053
|
-
let
|
|
2054
|
-
export { scenarios_2 as scenarios };
|
|
2769
|
+
declare namespace pipelines_1$1 {
|
|
2770
|
+
let title: string;
|
|
2055
2771
|
}
|
|
2772
|
+
declare let tour$1: {
|
|
2773
|
+
"start-tour": string;
|
|
2774
|
+
"projects-list-title": string;
|
|
2775
|
+
"projects-list-description": string;
|
|
2776
|
+
"add-project-title": string;
|
|
2777
|
+
"add-project-description": string;
|
|
2778
|
+
"new-pipeline-title": string;
|
|
2779
|
+
"new-pipeline-description": string;
|
|
2780
|
+
"project-actions-title": string;
|
|
2781
|
+
"project-actions-description": string;
|
|
2782
|
+
"editor-canvas-title": string;
|
|
2783
|
+
"editor-canvas-description": string;
|
|
2784
|
+
"editor-save-title": string;
|
|
2785
|
+
"editor-save-description": string;
|
|
2786
|
+
"editor-run-title": string;
|
|
2787
|
+
"editor-run-description": string;
|
|
2788
|
+
"editor-logs-title": string;
|
|
2789
|
+
"editor-logs-description": string;
|
|
2790
|
+
"editor-close-title": string;
|
|
2791
|
+
"editor-close-description": string;
|
|
2792
|
+
};
|
|
2056
2793
|
declare namespace __json_default_export$2 {
|
|
2057
|
-
export { settings$1 as settings, headers$1 as headers, base$1 as base, home$1 as home,
|
|
2794
|
+
export { settings$1 as settings, headers$1 as headers, base$1 as base, home$1 as home, pipelines_1$1 as pipelines_1, tour$1 as tour, editor_1$1 as editor, pipelines_1$1 as pipelines };
|
|
2058
2795
|
}
|
|
2059
2796
|
//#endregion
|
|
2060
2797
|
//#region src/i18n/de_DE.json.d.ts
|
|
2061
2798
|
declare let settings: {
|
|
2062
2799
|
darkTheme: string;
|
|
2800
|
+
autosave: string;
|
|
2801
|
+
autosaveDescription: string;
|
|
2063
2802
|
language: string;
|
|
2064
2803
|
languageOptions: {
|
|
2065
2804
|
"en-US": string;
|
|
@@ -2075,9 +2814,11 @@ declare let settings: {
|
|
|
2075
2814
|
integrations: string;
|
|
2076
2815
|
advanced: string;
|
|
2077
2816
|
billing: string;
|
|
2817
|
+
plugins: string;
|
|
2818
|
+
"core-plugins": string;
|
|
2819
|
+
"community-plugins": string;
|
|
2820
|
+
versions: string;
|
|
2078
2821
|
};
|
|
2079
|
-
clearTempFolders: string;
|
|
2080
|
-
clearTempFoldersDescription: string;
|
|
2081
2822
|
"pipeline-cache-folder": string;
|
|
2082
2823
|
"enter-or-browse-for-a-folder": string;
|
|
2083
2824
|
browse: string;
|
|
@@ -2091,10 +2832,19 @@ declare let settings: {
|
|
|
2091
2832
|
"failed-to-clear-cache-error-message": string;
|
|
2092
2833
|
"failed-to-reset-cache-folder-error-message": string;
|
|
2093
2834
|
"select-cache-folder": string;
|
|
2835
|
+
"restart-dashboard-tour": string;
|
|
2836
|
+
"restart-editor-tour": string;
|
|
2837
|
+
"tour-reset-success": string;
|
|
2838
|
+
"storage-pipelab": string;
|
|
2839
|
+
"storage-other": string;
|
|
2840
|
+
"storage-free": string;
|
|
2841
|
+
"disk-usage": string;
|
|
2842
|
+
free: string;
|
|
2843
|
+
other: string;
|
|
2094
2844
|
};
|
|
2095
2845
|
declare namespace headers {
|
|
2096
2846
|
let dashboard: string;
|
|
2097
|
-
let
|
|
2847
|
+
let pipelines: string;
|
|
2098
2848
|
let editor: string;
|
|
2099
2849
|
let billing: string;
|
|
2100
2850
|
let team: string;
|
|
@@ -2110,17 +2860,30 @@ declare namespace base {
|
|
|
2110
2860
|
export let logs: string;
|
|
2111
2861
|
export let ok: string;
|
|
2112
2862
|
export let add: string;
|
|
2863
|
+
export let search: string;
|
|
2864
|
+
export let success: string;
|
|
2865
|
+
export let error: string;
|
|
2113
2866
|
}
|
|
2114
2867
|
declare let editor_1: {
|
|
2115
2868
|
"invalid-file-content": string;
|
|
2116
2869
|
"welcome-back": string;
|
|
2117
|
-
"please-log-in-to-run-a-
|
|
2870
|
+
"please-log-in-to-run-a-pipeline": string;
|
|
2118
2871
|
"execution-done": string;
|
|
2119
2872
|
"your-project-has-been-executed-successfully": string;
|
|
2120
2873
|
"execution-failed": string;
|
|
2121
2874
|
"project-has-encountered-an-error": string;
|
|
2122
2875
|
"project-saved": string;
|
|
2123
2876
|
"your-project-has-be-saved-successfully": string;
|
|
2877
|
+
"view-history": string;
|
|
2878
|
+
"add-plugin": string;
|
|
2879
|
+
"display-advanced-nodes": string;
|
|
2880
|
+
"project-settings": string;
|
|
2881
|
+
"jit-loading-title": string;
|
|
2882
|
+
"jit-loading-subtitle": string;
|
|
2883
|
+
"jit-loading-status": string;
|
|
2884
|
+
"validation-failed": string;
|
|
2885
|
+
"validation-plugin-disabled-or-missing": string;
|
|
2886
|
+
"validation-missing-param": string;
|
|
2124
2887
|
};
|
|
2125
2888
|
declare let home: {
|
|
2126
2889
|
"invalid-preset": string;
|
|
@@ -2133,82 +2896,85 @@ declare let home: {
|
|
|
2133
2896
|
"choose-a-new-path": string;
|
|
2134
2897
|
"invalid-file-type": string;
|
|
2135
2898
|
"create-project": string;
|
|
2899
|
+
"create-pipeline": string;
|
|
2136
2900
|
"duplicate-project": string;
|
|
2901
|
+
"duplicate-pipeline": string;
|
|
2137
2902
|
"project-name": string;
|
|
2138
2903
|
"new-project": string;
|
|
2904
|
+
"new-pipeline": string;
|
|
2139
2905
|
open: string;
|
|
2906
|
+
import: string;
|
|
2907
|
+
"pipeline-name": string;
|
|
2140
2908
|
"your-projects": string;
|
|
2141
2909
|
"no-projects-yet": string;
|
|
2910
|
+
"no-pipelines-yet": string;
|
|
2911
|
+
"delete-project": string;
|
|
2912
|
+
"confirm-delete-project": string;
|
|
2913
|
+
"cannot-delete-project": string;
|
|
2914
|
+
"project-not-empty": string;
|
|
2915
|
+
transfer: string;
|
|
2916
|
+
"transfer-successful": string;
|
|
2917
|
+
"pipeline-transferred": string;
|
|
2918
|
+
"select-project": string;
|
|
2919
|
+
"build-history": string;
|
|
2920
|
+
duplicate: string;
|
|
2921
|
+
"rename-project": string;
|
|
2922
|
+
"new-project-name": string;
|
|
2923
|
+
"premium-feature": string;
|
|
2924
|
+
"migrate-warning": string;
|
|
2925
|
+
"simple-pipeline": string;
|
|
2926
|
+
"advanced-pipeline": string;
|
|
2927
|
+
"new-simple-project": string;
|
|
2928
|
+
"new-advanced-project": string;
|
|
2929
|
+
"store-project-internally": string;
|
|
2930
|
+
internal: string;
|
|
2931
|
+
"confirm-migration-message": string;
|
|
2932
|
+
"migrate-pipeline": string;
|
|
2933
|
+
"migration-success": string;
|
|
2934
|
+
"migrate-to-internal": string;
|
|
2935
|
+
"only-internal-supported-notice": string;
|
|
2936
|
+
"import-pipeline": string;
|
|
2937
|
+
"import-from-stable": string;
|
|
2938
|
+
"import-from-beta": string;
|
|
2939
|
+
"import-pipeline-file": string;
|
|
2940
|
+
"import-success": string;
|
|
2941
|
+
"failed-to-read-file": string;
|
|
2942
|
+
"export-pipeline": string;
|
|
2943
|
+
"export-success": string;
|
|
2944
|
+
"export-failed": string;
|
|
2142
2945
|
};
|
|
2143
|
-
declare namespace
|
|
2144
|
-
let
|
|
2145
|
-
export { scenarios_2 as scenarios };
|
|
2946
|
+
declare namespace pipelines_1 {
|
|
2947
|
+
let title: string;
|
|
2146
2948
|
}
|
|
2949
|
+
declare let tour: {
|
|
2950
|
+
"start-tour": string;
|
|
2951
|
+
"projects-list-title": string;
|
|
2952
|
+
"projects-list-description": string;
|
|
2953
|
+
"add-project-title": string;
|
|
2954
|
+
"add-project-description": string;
|
|
2955
|
+
"new-pipeline-title": string;
|
|
2956
|
+
"new-pipeline-description": string;
|
|
2957
|
+
"project-actions-title": string;
|
|
2958
|
+
"project-actions-description": string;
|
|
2959
|
+
"editor-canvas-title": string;
|
|
2960
|
+
"editor-canvas-description": string;
|
|
2961
|
+
"editor-save-title": string;
|
|
2962
|
+
"editor-save-description": string;
|
|
2963
|
+
"editor-run-title": string;
|
|
2964
|
+
"editor-run-description": string;
|
|
2965
|
+
"editor-logs-title": string;
|
|
2966
|
+
"editor-logs-description": string;
|
|
2967
|
+
"editor-close-title": string;
|
|
2968
|
+
"editor-close-description": string;
|
|
2969
|
+
};
|
|
2147
2970
|
declare namespace __json_default_export {
|
|
2148
|
-
export { settings, headers, base, home,
|
|
2971
|
+
export { settings, headers, base, home, pipelines_1, tour, editor_1 as editor, pipelines_1 as pipelines };
|
|
2149
2972
|
}
|
|
2150
2973
|
//#endregion
|
|
2151
2974
|
//#region src/i18n-utils.d.ts
|
|
2152
2975
|
type MessageSchema = typeof __json_default_export$1;
|
|
2153
2976
|
type Locales = "en-US" | "fr-FR" | "pt-BR" | "zh-CN" | "es-ES" | "de-DE";
|
|
2154
2977
|
//#endregion
|
|
2155
|
-
//#region src/ipc.types.d.ts
|
|
2156
|
-
type UpdateStatus = "update-available" | "update-downloaded" | "checking-for-update" | "update-not-available" | "error";
|
|
2157
|
-
type IpcEvent<TYPE extends string, DATA> = {
|
|
2158
|
-
type: TYPE;
|
|
2159
|
-
data: DATA;
|
|
2160
|
-
};
|
|
2161
|
-
type EndEvent<DATA> = {
|
|
2162
|
-
type: "end";
|
|
2163
|
-
data: {
|
|
2164
|
-
type: "success";
|
|
2165
|
-
result: DATA;
|
|
2166
|
-
} | {
|
|
2167
|
-
type: "error";
|
|
2168
|
-
ipcError: string;
|
|
2169
|
-
};
|
|
2170
|
-
};
|
|
2171
|
-
type IpcDefinition = {
|
|
2172
|
-
"dialog:alert": [{
|
|
2173
|
-
message: string;
|
|
2174
|
-
buttons?: {
|
|
2175
|
-
title: string;
|
|
2176
|
-
value: string;
|
|
2177
|
-
}[];
|
|
2178
|
-
}, EndEvent<{
|
|
2179
|
-
answer: string;
|
|
2180
|
-
}>];
|
|
2181
|
-
"dialog:prompt": [{
|
|
2182
|
-
message: string;
|
|
2183
|
-
buttons?: {
|
|
2184
|
-
title: string;
|
|
2185
|
-
value: string;
|
|
2186
|
-
}[];
|
|
2187
|
-
}, EndEvent<{
|
|
2188
|
-
answer: string;
|
|
2189
|
-
}>];
|
|
2190
|
-
"log:message": [ILogObjMeta, EndEvent<void>];
|
|
2191
|
-
"update:set-status": [{
|
|
2192
|
-
status: UpdateStatus;
|
|
2193
|
-
}, EndEvent<void>];
|
|
2194
|
-
};
|
|
2195
|
-
type RendererChannels = keyof IpcDefinition;
|
|
2196
|
-
type RendererData<KEY extends RendererChannels> = IpcDefinition[KEY][0];
|
|
2197
|
-
type RendererEvents<KEY extends RendererChannels> = IpcDefinition[KEY][1];
|
|
2198
|
-
type RendererEnd<KEY extends RendererChannels> = Extract<IpcDefinition[KEY][1], {
|
|
2199
|
-
type: "end";
|
|
2200
|
-
}>["data"];
|
|
2201
|
-
type RendererMessage = {
|
|
2202
|
-
requestId: RequestId;
|
|
2203
|
-
data: any;
|
|
2204
|
-
};
|
|
2205
|
-
type RequestId = Tagged<string, "request-id">;
|
|
2206
|
-
type HandleListenerRendererSendFn<KEY extends RendererChannels> = (events: RendererEvents<KEY>) => void;
|
|
2207
|
-
type HandleListenerRenderer<KEY extends RendererChannels> = (event: any, data: {
|
|
2208
|
-
value: RendererData<KEY>;
|
|
2209
|
-
send: HandleListenerRendererSendFn<KEY>;
|
|
2210
|
-
}) => Promise<void>;
|
|
2211
|
-
//#endregion
|
|
2212
2978
|
//#region src/logger.d.ts
|
|
2213
2979
|
declare const useLogger: () => {
|
|
2214
2980
|
logger: () => Logger<unknown>;
|
|
@@ -3592,6 +4358,10 @@ declare const usePlugins: () => {
|
|
|
3592
4358
|
plugins: ShallowRef<RendererPluginDefinition[], RendererPluginDefinition[]>;
|
|
3593
4359
|
};
|
|
3594
4360
|
//#endregion
|
|
4361
|
+
//#region src/plugins-list.d.ts
|
|
4362
|
+
declare const DEFAULT_PLUGIN_IDS: string[];
|
|
4363
|
+
declare const DEV_ONLY_PLUGIN_IDS: string[];
|
|
4364
|
+
//#endregion
|
|
3595
4365
|
//#region src/subscription-errors.d.ts
|
|
3596
4366
|
declare class SubscriptionRequiredError extends Error implements SubscriptionError {
|
|
3597
4367
|
readonly code: "SUBSCRIPTION_REQUIRED";
|
|
@@ -3638,12 +4408,257 @@ declare const isRequired: (param: InputDefinition) => boolean;
|
|
|
3638
4408
|
declare const isRenderer: () => boolean;
|
|
3639
4409
|
//#endregion
|
|
3640
4410
|
//#region src/index.d.ts
|
|
3641
|
-
declare const appSettingsMigrator:
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
4411
|
+
declare const appSettingsMigrator: _pipelab_migration0.Migrator<{
|
|
4412
|
+
version: "1.0.0";
|
|
4413
|
+
theme: "light" | "dark";
|
|
4414
|
+
cacheFolder: string;
|
|
4415
|
+
}, {
|
|
4416
|
+
version: "7.0.0";
|
|
4417
|
+
theme: "light" | "dark";
|
|
4418
|
+
locale: "en-US" | "fr-FR" | "pt-BR" | "zh-CN" | "es-ES" | "de-DE";
|
|
4419
|
+
tours: {
|
|
4420
|
+
dashboard: {
|
|
4421
|
+
step: number;
|
|
4422
|
+
completed: boolean;
|
|
4423
|
+
};
|
|
4424
|
+
editor: {
|
|
4425
|
+
step: number;
|
|
4426
|
+
completed: boolean;
|
|
4427
|
+
};
|
|
4428
|
+
};
|
|
4429
|
+
agents: {
|
|
4430
|
+
id: string;
|
|
4431
|
+
name: string;
|
|
4432
|
+
url: string;
|
|
4433
|
+
}[];
|
|
4434
|
+
plugins: {
|
|
4435
|
+
name: string;
|
|
4436
|
+
enabled: boolean;
|
|
4437
|
+
description: string;
|
|
4438
|
+
}[];
|
|
4439
|
+
autosave: boolean;
|
|
4440
|
+
cacheFolder?: string;
|
|
4441
|
+
tempFolder?: string;
|
|
4442
|
+
}>;
|
|
4443
|
+
declare const defaultAppSettings: {
|
|
4444
|
+
version: "7.0.0";
|
|
4445
|
+
theme: "light" | "dark";
|
|
4446
|
+
locale: "en-US" | "fr-FR" | "pt-BR" | "zh-CN" | "es-ES" | "de-DE";
|
|
4447
|
+
tours: {
|
|
4448
|
+
dashboard: {
|
|
4449
|
+
step: number;
|
|
4450
|
+
completed: boolean;
|
|
4451
|
+
};
|
|
4452
|
+
editor: {
|
|
4453
|
+
step: number;
|
|
4454
|
+
completed: boolean;
|
|
4455
|
+
};
|
|
4456
|
+
};
|
|
4457
|
+
agents: {
|
|
4458
|
+
id: string;
|
|
4459
|
+
name: string;
|
|
4460
|
+
url: string;
|
|
4461
|
+
}[];
|
|
4462
|
+
plugins: {
|
|
4463
|
+
name: string;
|
|
4464
|
+
enabled: boolean;
|
|
4465
|
+
description: string;
|
|
4466
|
+
}[];
|
|
4467
|
+
autosave: boolean;
|
|
4468
|
+
cacheFolder?: string;
|
|
4469
|
+
tempFolder?: string;
|
|
4470
|
+
};
|
|
4471
|
+
declare const fileRepoMigrations: _pipelab_migration0.Migrator<{
|
|
4472
|
+
version: "1.0.0";
|
|
4473
|
+
data?: {
|
|
4474
|
+
[x: string]: {
|
|
4475
|
+
type: "external";
|
|
4476
|
+
id: string;
|
|
4477
|
+
summary: {
|
|
4478
|
+
name: string;
|
|
4479
|
+
plugins: string[];
|
|
4480
|
+
description: string;
|
|
4481
|
+
};
|
|
4482
|
+
project: string;
|
|
4483
|
+
path: string;
|
|
4484
|
+
lastModified: string;
|
|
4485
|
+
} | {
|
|
4486
|
+
type: "internal";
|
|
4487
|
+
id: string;
|
|
4488
|
+
project: string;
|
|
4489
|
+
lastModified: string;
|
|
4490
|
+
configName: string;
|
|
4491
|
+
} | {
|
|
4492
|
+
type: "pipelab-cloud";
|
|
4493
|
+
id: string;
|
|
4494
|
+
project: string;
|
|
4495
|
+
};
|
|
4496
|
+
};
|
|
4497
|
+
}, {
|
|
4498
|
+
version: "3.0.0";
|
|
4499
|
+
projects: {
|
|
4500
|
+
id: string;
|
|
4501
|
+
name: string;
|
|
4502
|
+
description: string;
|
|
4503
|
+
}[];
|
|
4504
|
+
pipelines?: ({
|
|
4505
|
+
type: "external";
|
|
4506
|
+
id: string;
|
|
4507
|
+
summary: {
|
|
4508
|
+
name: string;
|
|
4509
|
+
plugins: string[];
|
|
4510
|
+
description: string;
|
|
4511
|
+
};
|
|
4512
|
+
project: string;
|
|
4513
|
+
path: string;
|
|
4514
|
+
lastModified: string;
|
|
4515
|
+
} | {
|
|
4516
|
+
type: "internal";
|
|
4517
|
+
id: string;
|
|
4518
|
+
project: string;
|
|
4519
|
+
lastModified: string;
|
|
4520
|
+
configName: string;
|
|
4521
|
+
} | {
|
|
4522
|
+
type: "pipelab-cloud";
|
|
4523
|
+
id: string;
|
|
4524
|
+
project: string;
|
|
4525
|
+
})[];
|
|
4526
|
+
}>;
|
|
4527
|
+
declare const defaultFileRepo: {
|
|
4528
|
+
version: "3.0.0";
|
|
4529
|
+
projects: {
|
|
4530
|
+
id: string;
|
|
4531
|
+
name: string;
|
|
4532
|
+
description: string;
|
|
4533
|
+
}[];
|
|
4534
|
+
pipelines?: ({
|
|
4535
|
+
type: "external";
|
|
4536
|
+
id: string;
|
|
4537
|
+
summary: {
|
|
4538
|
+
name: string;
|
|
4539
|
+
plugins: string[];
|
|
4540
|
+
description: string;
|
|
4541
|
+
};
|
|
4542
|
+
project: string;
|
|
4543
|
+
path: string;
|
|
4544
|
+
lastModified: string;
|
|
4545
|
+
} | {
|
|
4546
|
+
type: "internal";
|
|
4547
|
+
id: string;
|
|
4548
|
+
project: string;
|
|
4549
|
+
lastModified: string;
|
|
4550
|
+
configName: string;
|
|
4551
|
+
} | {
|
|
4552
|
+
type: "pipelab-cloud";
|
|
4553
|
+
id: string;
|
|
4554
|
+
project: string;
|
|
4555
|
+
})[];
|
|
4556
|
+
};
|
|
4557
|
+
declare const savedFileMigrator: _pipelab_migration0.Migrator<{
|
|
4558
|
+
version: "1.0.0";
|
|
4559
|
+
name: string;
|
|
4560
|
+
description: string;
|
|
4561
|
+
variables: VariableBase[];
|
|
4562
|
+
canvas: {
|
|
4563
|
+
blocks: ({
|
|
4564
|
+
type: "action";
|
|
4565
|
+
params: {
|
|
4566
|
+
[x: string]: any;
|
|
4567
|
+
};
|
|
4568
|
+
uid: string;
|
|
4569
|
+
origin: {
|
|
4570
|
+
pluginId: string;
|
|
4571
|
+
nodeId: string;
|
|
4572
|
+
version?: string;
|
|
4573
|
+
};
|
|
4574
|
+
disabled?: boolean;
|
|
4575
|
+
} | {
|
|
4576
|
+
type: "event";
|
|
4577
|
+
params: {
|
|
4578
|
+
[x: string]: any;
|
|
4579
|
+
};
|
|
4580
|
+
uid: string;
|
|
4581
|
+
origin: {
|
|
4582
|
+
pluginId: string;
|
|
4583
|
+
nodeId: string;
|
|
4584
|
+
version?: string;
|
|
4585
|
+
};
|
|
4586
|
+
})[];
|
|
4587
|
+
};
|
|
4588
|
+
}, {
|
|
4589
|
+
version: "5.0.0";
|
|
4590
|
+
name: string;
|
|
4591
|
+
description: string;
|
|
4592
|
+
variables: VariableBase[];
|
|
4593
|
+
canvas: {
|
|
4594
|
+
blocks: {
|
|
4595
|
+
type: "action";
|
|
4596
|
+
params: {
|
|
4597
|
+
[x: string]: {
|
|
4598
|
+
editor: "editor" | "simple";
|
|
4599
|
+
value: unknown;
|
|
4600
|
+
};
|
|
4601
|
+
};
|
|
4602
|
+
uid: string;
|
|
4603
|
+
origin: {
|
|
4604
|
+
pluginId: string;
|
|
4605
|
+
nodeId: string;
|
|
4606
|
+
version?: string;
|
|
4607
|
+
};
|
|
4608
|
+
name?: string;
|
|
4609
|
+
disabled?: boolean;
|
|
4610
|
+
}[];
|
|
4611
|
+
triggers: {
|
|
4612
|
+
type: "event";
|
|
4613
|
+
params: {
|
|
4614
|
+
[x: string]: any;
|
|
4615
|
+
};
|
|
4616
|
+
uid: string;
|
|
4617
|
+
origin: {
|
|
4618
|
+
pluginId: string;
|
|
4619
|
+
nodeId: string;
|
|
4620
|
+
version?: string;
|
|
4621
|
+
};
|
|
4622
|
+
}[];
|
|
4623
|
+
};
|
|
4624
|
+
}>;
|
|
3646
4625
|
declare const configRegistry: Record<string, Migrator<any>>;
|
|
4626
|
+
declare const normalizePipelineConfig: (state: any) => boolean;
|
|
4627
|
+
declare const connectionsMigrator: _pipelab_migration0.Migrator<{
|
|
4628
|
+
version: "1.0.0";
|
|
4629
|
+
connections: ({
|
|
4630
|
+
id: string;
|
|
4631
|
+
name: string;
|
|
4632
|
+
pluginName: string;
|
|
4633
|
+
createdAt: string;
|
|
4634
|
+
isDefault: boolean;
|
|
4635
|
+
} & {
|
|
4636
|
+
[key: string]: unknown;
|
|
4637
|
+
})[];
|
|
4638
|
+
}, {
|
|
4639
|
+
version: "1.0.0";
|
|
4640
|
+
connections: ({
|
|
4641
|
+
id: string;
|
|
4642
|
+
name: string;
|
|
4643
|
+
pluginName: string;
|
|
4644
|
+
createdAt: string;
|
|
4645
|
+
isDefault: boolean;
|
|
4646
|
+
} & {
|
|
4647
|
+
[key: string]: unknown;
|
|
4648
|
+
})[];
|
|
4649
|
+
}>;
|
|
4650
|
+
declare const defaultConnections: {
|
|
4651
|
+
version: "1.0.0";
|
|
4652
|
+
connections: ({
|
|
4653
|
+
id: string;
|
|
4654
|
+
name: string;
|
|
4655
|
+
pluginName: string;
|
|
4656
|
+
createdAt: string;
|
|
4657
|
+
isDefault: boolean;
|
|
4658
|
+
} & {
|
|
4659
|
+
[key: string]: unknown;
|
|
4660
|
+
})[];
|
|
4661
|
+
};
|
|
3647
4662
|
//#endregion
|
|
3648
|
-
export { Action, Agent, type AppConfig, type AppConfigV1, type AppConfigV2, type AppConfigV3, type AppConfigV4, type AppConfigV5, type AppConfigV6, type AppConfigV7, AppSettingsValidator, AppSettingsValidatorV1, AppSettingsValidatorV2, AppSettingsValidatorV3, AppSettingsValidatorV4, AppSettingsValidatorV5, AppSettingsValidatorV6, AppSettingsValidatorV7, AuthorizationCheck, AuthorizationContext, BaseNode, BenefitNotFoundError, Block, BlockAction, BlockComment,
|
|
4663
|
+
export { Action, Agent, type AppConfig, type AppConfigV1, type AppConfigV2, type AppConfigV3, type AppConfigV4, type AppConfigV5, type AppConfigV6, type AppConfigV7, AppSettingsValidator, AppSettingsValidatorV1, AppSettingsValidatorV2, AppSettingsValidatorV3, AppSettingsValidatorV4, AppSettingsValidatorV5, AppSettingsValidatorV6, AppSettingsValidatorV7, AuthorizationCheck, AuthorizationContext, BaseNode, BenefitNotFoundError, Block, BlockAction, BlockComment, BlockEvent, BuildHistoryEntry, BuildHistoryQuery, BuildHistoryResponse, Channels, type Connection, ConnectionValidator, type ConnectionsConfig, type ConnectionsConfigV1, ConnectionsValidator, ConnectionsValidatorV1, Context, ControlType, ControlTypeArray, ControlTypeBase, ControlTypeBoolean, ControlTypeCheckbox, ControlTypeColor, ControlTypeElectronConfigureV2, ControlTypeExpression, ControlTypeInput, ControlTypeJSON, ControlTypeMultiSelect, ControlTypeNetlifySite, ControlTypePath, ControlTypeSelect, CreateQuickJSFn, DEFAULT_PLUGIN_IDS, DEV_ONLY_PLUGIN_IDS, Data$1 as Data, DataResult, Database, EditorParam, EditorParamValidatorV3, End, EndEvent, EnhancedFile, Enums, Event$1 as Event, Events, ExecutionError, ExecutionStep, Expression, ExtractInputsFromAction, ExtractInputsFromEvent, ExtractInputsFromExpression, type FileRepo, FileRepoProjectValidatorV2, type FileRepoV1, type FileRepoV2, type FileRepoV3, FileRepoValidator, FileRepoValidatorV1, FileRepoValidatorV2, FileRepoValidatorV3, GetDataEntries, GetDataKeys, GetFlowEntries, GetFlowKeys, HandleListenerRenderer, HandleListenerRendererSendFn, IBuildHistoryStorage, IconType, InputDefinition, InputOutputDefinition, InputsDefinition, InputsOutputsDefinition, IntegrationDefinition, IntegrationField, type IpcDefinition, IpcEvent, IpcMessage, Json, Locales, LogEntry, MainPluginDefinition, MessageSchema, Meta, MigrationChannel, MigrationOptions, type Migrator, type NodeId, Origin, OriginValidator, OutputDefinition, OutputsDefinition, ParamsToInput, PathOptions, PipelabNode, PipelabSelectOption, PluginDefinition, Position, Preset, PresetFn, PresetResult, Presets, PropType, RELEASE_SYNC, ReleaseChannel, RendererChannels, RendererData, RendererEnd, RendererEvents, type IpcDefinition$1 as RendererIpcDefinition, RendererMessage, RendererNodeDefinition, RendererPluginDefinition, type RequestId as RendererRequestId, type RequestId$1 as RequestId, SaveLocation, SaveLocationExternal, SaveLocationExternalValidator, SaveLocationInternal, SaveLocationInternalValidator, SaveLocationPipelabCloud, SaveLocationPipelabCloudValidator, SaveLocationValidator, SavedFile, SavedFileDefault, SavedFileDefaultValidatorV4, SavedFileDefaultValidatorV5, SavedFileSimple, SavedFileSimpleValidatorV4, SavedFileSimpleValidatorV5, SavedFileV1, SavedFileV2, SavedFileV3, SavedFileV4, SavedFileV5, SavedFileValidator, SavedFileValidatorV1, SavedFileValidatorV2, SavedFileValidatorV3, SavedFileValidatorV4, SavedFileValidatorV5, SetOutputActionFn, SetOutputExpressionFn, ShellChannels, StableDataReport, Steps, SubscriptionBenefit, SubscriptionError, SubscriptionExpiredError, SubscriptionRequiredError, Tables, TablesInsert, TablesUpdate, UnauthorizedError, UpdateStatus, Variable, VariableBase, VariableValidatorV1, WebSocketAPI, WebSocketClientConfig, WebSocketClientEvents, WebSocketConnectionError, WebSocketConnectionInfo, WebSocketConnectionState, WebSocketError, WebSocketErrorMessage, WebSocketEvent, WebSocketHandler, WebSocketListener, WebSocketManager, WebSocketMessage, WebSocketMessageType, WebSocketRequestMessage, WebSocketResponseMessage, WebSocketResponseType, WebSocketSendFunction, WebSocketServerConfig, WebSocketServerEvents, WebSocketTimeoutError, WithId, appSettingsMigrator, configRegistry, connectionsMigrator, createAction, createArray, createBooleanParam, createColorPicker, createDefinition, createEvent, createExpression, createNetlifySiteParam, createNodeDefinition, createNumberParam, createPasswordParam, createPathParam, createQuickJs, createQuickJsFromVariant, createRawParam, createStringParam, createSubscriptionError, createVersionSchema, __json_default_export as de_DE, defaultAppSettings, defaultConnections, defaultFileRepo, __json_default_export$1 as en_US, __json_default_export$2 as es_ES, fileRepoMigrations, fmt, foo, __json_default_export$3 as fr_FR, getSubscriptionErrorMessage, isRenderer, isRequired, isSubscriptionError, isSupabaseAvailable, isWebSocketErrorMessage, isWebSocketRequestMessage, isWebSocketResponseMessage, makeResolvedParams, newVariant, normalizePipelineConfig, processGraph, __json_default_export$4 as pt_BR, savedFileMigrator, supabase, transformUrl, useLogger, usePlugins, variableToFormattedVariable, __json_default_export$5 as zh_CN };
|
|
3649
4664
|
//# sourceMappingURL=index.d.mts.map
|