@pipelab/shared 1.0.0-beta.2 → 1.0.0-beta.21

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