@pipelab/shared 1.0.0-beta.14 → 1.0.0-beta.17
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/CHANGELOG.md +27 -0
- package/dist/index.d.mts +516 -406
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +48 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/apis.ts +86 -7
- package/src/config/migrators.ts +2 -3
- package/src/config.schema.ts +2 -1
- package/src/i18n/de_DE.json +7 -1
- package/src/i18n/en_US.json +7 -1
- package/src/i18n/es_ES.json +7 -1
- package/src/i18n/fr_FR.json +7 -1
- package/src/i18n/pt_BR.json +7 -1
- package/src/i18n/zh_CN.json +7 -1
- package/src/model.test.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -906,6 +906,287 @@ type EnhancedFile<T = SavedFile> = WithId<SaveLocation> & {
|
|
|
906
906
|
content: T;
|
|
907
907
|
};
|
|
908
908
|
//#endregion
|
|
909
|
+
//#region src/config.schema.d.ts
|
|
910
|
+
declare const createVersionSchema: <T extends GenericSchema<any, any>>(schema: T) => T;
|
|
911
|
+
declare const AppSettingsValidatorV1: valibot.ObjectSchema<{
|
|
912
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
913
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
914
|
+
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
915
|
+
}, undefined>;
|
|
916
|
+
declare const AppSettingsValidatorV2: valibot.ObjectSchema<{
|
|
917
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
918
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
919
|
+
readonly version: valibot.LiteralSchema<"2.0.0", undefined>;
|
|
920
|
+
}, undefined>;
|
|
921
|
+
declare const AppSettingsValidatorV3: valibot.ObjectSchema<{
|
|
922
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
923
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
924
|
+
readonly version: valibot.LiteralSchema<"3.0.0", undefined>;
|
|
925
|
+
readonly clearTemporaryFoldersOnPipelineEnd: valibot.BooleanSchema<undefined>;
|
|
926
|
+
}, undefined>;
|
|
927
|
+
declare const AppSettingsValidatorV4: valibot.ObjectSchema<{
|
|
928
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
929
|
+
readonly version: valibot.LiteralSchema<"4.0.0", undefined>;
|
|
930
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
931
|
+
readonly clearTemporaryFoldersOnPipelineEnd: valibot.BooleanSchema<undefined>;
|
|
932
|
+
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>;
|
|
933
|
+
}, undefined>;
|
|
934
|
+
declare const AppSettingsValidatorV5: valibot.ObjectSchema<{
|
|
935
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
936
|
+
readonly version: valibot.LiteralSchema<"5.0.0", undefined>;
|
|
937
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
938
|
+
readonly clearTemporaryFoldersOnPipelineEnd: valibot.BooleanSchema<undefined>;
|
|
939
|
+
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>;
|
|
940
|
+
readonly tours: valibot.ObjectSchema<{
|
|
941
|
+
readonly dashboard: valibot.ObjectSchema<{
|
|
942
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
943
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
944
|
+
}, undefined>;
|
|
945
|
+
readonly editor: valibot.ObjectSchema<{
|
|
946
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
947
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
948
|
+
}, undefined>;
|
|
949
|
+
}, undefined>;
|
|
950
|
+
}, undefined>;
|
|
951
|
+
declare const AppSettingsValidatorV6: valibot.ObjectSchema<{
|
|
952
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
953
|
+
readonly version: valibot.LiteralSchema<"6.0.0", undefined>;
|
|
954
|
+
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
955
|
+
readonly clearTemporaryFoldersOnPipelineEnd: valibot.BooleanSchema<undefined>;
|
|
956
|
+
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>;
|
|
957
|
+
readonly tours: valibot.ObjectSchema<{
|
|
958
|
+
readonly dashboard: valibot.ObjectSchema<{
|
|
959
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
960
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
961
|
+
}, undefined>;
|
|
962
|
+
readonly editor: valibot.ObjectSchema<{
|
|
963
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
964
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
965
|
+
}, undefined>;
|
|
966
|
+
}, undefined>;
|
|
967
|
+
readonly autosave: valibot.BooleanSchema<undefined>;
|
|
968
|
+
}, undefined>;
|
|
969
|
+
declare const AppSettingsValidatorV7: valibot.ObjectSchema<{
|
|
970
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
971
|
+
readonly version: valibot.LiteralSchema<"7.0.0", undefined>;
|
|
972
|
+
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>;
|
|
973
|
+
readonly tours: valibot.ObjectSchema<{
|
|
974
|
+
readonly dashboard: valibot.ObjectSchema<{
|
|
975
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
976
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
977
|
+
}, undefined>;
|
|
978
|
+
readonly editor: valibot.ObjectSchema<{
|
|
979
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
980
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
981
|
+
}, undefined>;
|
|
982
|
+
}, undefined>;
|
|
983
|
+
readonly autosave: valibot.BooleanSchema<undefined>;
|
|
984
|
+
readonly agents: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
985
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
986
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
987
|
+
readonly url: valibot.StringSchema<undefined>;
|
|
988
|
+
}, undefined>, undefined>;
|
|
989
|
+
readonly plugins: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
990
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
991
|
+
readonly enabled: valibot.BooleanSchema<undefined>;
|
|
992
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
993
|
+
}, undefined>, undefined>;
|
|
994
|
+
readonly cacheFolder: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
995
|
+
readonly tempFolder: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
996
|
+
}, undefined>;
|
|
997
|
+
declare const ConnectionValidator: valibot.LooseObjectSchema<{
|
|
998
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
999
|
+
readonly pluginName: valibot.StringSchema<undefined>;
|
|
1000
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1001
|
+
readonly createdAt: valibot.StringSchema<undefined>;
|
|
1002
|
+
readonly isDefault: valibot.BooleanSchema<undefined>;
|
|
1003
|
+
}, undefined>;
|
|
1004
|
+
declare const ConnectionsValidatorV1: valibot.ObjectSchema<{
|
|
1005
|
+
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
1006
|
+
readonly connections: valibot.ArraySchema<valibot.LooseObjectSchema<{
|
|
1007
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1008
|
+
readonly pluginName: valibot.StringSchema<undefined>;
|
|
1009
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1010
|
+
readonly createdAt: valibot.StringSchema<undefined>;
|
|
1011
|
+
readonly isDefault: valibot.BooleanSchema<undefined>;
|
|
1012
|
+
}, undefined>, undefined>;
|
|
1013
|
+
}, undefined>;
|
|
1014
|
+
type Connection = InferInput<typeof ConnectionValidator>;
|
|
1015
|
+
type ConnectionsConfigV1 = InferInput<typeof ConnectionsValidatorV1>;
|
|
1016
|
+
type ConnectionsConfig = ConnectionsConfigV1;
|
|
1017
|
+
declare const ConnectionsValidator: valibot.ObjectSchema<{
|
|
1018
|
+
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
1019
|
+
readonly connections: valibot.ArraySchema<valibot.LooseObjectSchema<{
|
|
1020
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1021
|
+
readonly pluginName: valibot.StringSchema<undefined>;
|
|
1022
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1023
|
+
readonly createdAt: valibot.StringSchema<undefined>;
|
|
1024
|
+
readonly isDefault: valibot.BooleanSchema<undefined>;
|
|
1025
|
+
}, undefined>, undefined>;
|
|
1026
|
+
}, undefined>;
|
|
1027
|
+
type AppConfigV1 = InferInput<typeof AppSettingsValidatorV1>;
|
|
1028
|
+
type AppConfigV2 = InferInput<typeof AppSettingsValidatorV2>;
|
|
1029
|
+
type AppConfigV3 = InferInput<typeof AppSettingsValidatorV3>;
|
|
1030
|
+
type AppConfigV4 = InferInput<typeof AppSettingsValidatorV4>;
|
|
1031
|
+
type AppConfigV5 = InferInput<typeof AppSettingsValidatorV5>;
|
|
1032
|
+
type AppConfigV6 = InferInput<typeof AppSettingsValidatorV6>;
|
|
1033
|
+
type AppConfigV7 = InferInput<typeof AppSettingsValidatorV7>;
|
|
1034
|
+
type AppConfig = AppConfigV7;
|
|
1035
|
+
declare const AppSettingsValidator: valibot.ObjectSchema<{
|
|
1036
|
+
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
1037
|
+
readonly version: valibot.LiteralSchema<"7.0.0", undefined>;
|
|
1038
|
+
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>;
|
|
1039
|
+
readonly tours: valibot.ObjectSchema<{
|
|
1040
|
+
readonly dashboard: valibot.ObjectSchema<{
|
|
1041
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
1042
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
1043
|
+
}, undefined>;
|
|
1044
|
+
readonly editor: valibot.ObjectSchema<{
|
|
1045
|
+
readonly step: valibot.NumberSchema<undefined>;
|
|
1046
|
+
readonly completed: valibot.BooleanSchema<undefined>;
|
|
1047
|
+
}, undefined>;
|
|
1048
|
+
}, undefined>;
|
|
1049
|
+
readonly autosave: valibot.BooleanSchema<undefined>;
|
|
1050
|
+
readonly agents: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1051
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1052
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1053
|
+
readonly url: valibot.StringSchema<undefined>;
|
|
1054
|
+
}, undefined>, undefined>;
|
|
1055
|
+
readonly plugins: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1056
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1057
|
+
readonly enabled: valibot.BooleanSchema<undefined>;
|
|
1058
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1059
|
+
}, undefined>, undefined>;
|
|
1060
|
+
readonly cacheFolder: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
1061
|
+
readonly tempFolder: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
1062
|
+
}, undefined>;
|
|
1063
|
+
//#endregion
|
|
1064
|
+
//#region src/config/projects-definition.d.ts
|
|
1065
|
+
declare const FileRepoValidatorV1: valibot.ObjectSchema<{
|
|
1066
|
+
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
1067
|
+
readonly data: valibot.OptionalSchema<valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1068
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1069
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1070
|
+
readonly path: valibot.StringSchema<undefined>;
|
|
1071
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1072
|
+
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1073
|
+
readonly summary: valibot.ObjectSchema<{
|
|
1074
|
+
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1075
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1076
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1077
|
+
}, undefined>;
|
|
1078
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1079
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1080
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1081
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1082
|
+
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1083
|
+
readonly configName: valibot.StringSchema<undefined>;
|
|
1084
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1085
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1086
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1087
|
+
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1088
|
+
}, undefined>], undefined>, undefined>, {}>;
|
|
1089
|
+
}, undefined>;
|
|
1090
|
+
declare const FileRepoProjectValidatorV2: valibot.ObjectSchema<{
|
|
1091
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1092
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1093
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1094
|
+
}, undefined>;
|
|
1095
|
+
declare const FileRepoValidatorV2: valibot.ObjectSchema<{
|
|
1096
|
+
readonly version: valibot.LiteralSchema<"2.0.0", undefined>;
|
|
1097
|
+
readonly projects: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1098
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1099
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1100
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1101
|
+
}, undefined>, undefined>;
|
|
1102
|
+
readonly pipelines: valibot.OptionalSchema<valibot.ArraySchema<valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1103
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1104
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1105
|
+
readonly path: valibot.StringSchema<undefined>;
|
|
1106
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1107
|
+
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1108
|
+
readonly summary: valibot.ObjectSchema<{
|
|
1109
|
+
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1110
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1111
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1112
|
+
}, undefined>;
|
|
1113
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1114
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1115
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1116
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1117
|
+
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1118
|
+
readonly configName: valibot.StringSchema<undefined>;
|
|
1119
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1120
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1121
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1122
|
+
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1123
|
+
}, undefined>], undefined>, undefined>, readonly []>;
|
|
1124
|
+
}, undefined>;
|
|
1125
|
+
declare const FileRepoValidatorV3: valibot.ObjectSchema<{
|
|
1126
|
+
readonly version: valibot.LiteralSchema<"3.0.0", undefined>;
|
|
1127
|
+
readonly projects: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1128
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1129
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1130
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1131
|
+
}, undefined>, undefined>;
|
|
1132
|
+
readonly pipelines: valibot.OptionalSchema<valibot.ArraySchema<valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1133
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1134
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1135
|
+
readonly path: valibot.StringSchema<undefined>;
|
|
1136
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1137
|
+
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1138
|
+
readonly summary: valibot.ObjectSchema<{
|
|
1139
|
+
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1140
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1141
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1142
|
+
}, undefined>;
|
|
1143
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1144
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1145
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1146
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1147
|
+
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1148
|
+
readonly configName: valibot.StringSchema<undefined>;
|
|
1149
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1150
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1151
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1152
|
+
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1153
|
+
}, undefined>], undefined>, undefined>, readonly []>;
|
|
1154
|
+
}, undefined>;
|
|
1155
|
+
type FileRepoV1 = InferInput<typeof FileRepoValidatorV1>;
|
|
1156
|
+
type FileRepoV2 = InferInput<typeof FileRepoValidatorV2>;
|
|
1157
|
+
type FileRepoV3 = InferInput<typeof FileRepoValidatorV3>;
|
|
1158
|
+
declare const FileRepoValidator: valibot.ObjectSchema<{
|
|
1159
|
+
readonly version: valibot.LiteralSchema<"3.0.0", undefined>;
|
|
1160
|
+
readonly projects: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1161
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1162
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1163
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1164
|
+
}, undefined>, undefined>;
|
|
1165
|
+
readonly pipelines: valibot.OptionalSchema<valibot.ArraySchema<valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1166
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1167
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1168
|
+
readonly path: valibot.StringSchema<undefined>;
|
|
1169
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1170
|
+
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1171
|
+
readonly summary: valibot.ObjectSchema<{
|
|
1172
|
+
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1173
|
+
readonly name: valibot.StringSchema<undefined>;
|
|
1174
|
+
readonly description: valibot.StringSchema<undefined>;
|
|
1175
|
+
}, undefined>;
|
|
1176
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1177
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1178
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1179
|
+
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1180
|
+
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1181
|
+
readonly configName: valibot.StringSchema<undefined>;
|
|
1182
|
+
}, undefined>, valibot.ObjectSchema<{
|
|
1183
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
1184
|
+
readonly project: valibot.StringSchema<undefined>;
|
|
1185
|
+
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1186
|
+
}, undefined>], undefined>, undefined>, readonly []>;
|
|
1187
|
+
}, undefined>;
|
|
1188
|
+
type FileRepo = InferInput<typeof FileRepoValidator>;
|
|
1189
|
+
//#endregion
|
|
909
1190
|
//#region src/websocket.types.d.ts
|
|
910
1191
|
type WebSocketConnectionState = "connecting" | "connected" | "disconnected" | "error" | "reconnecting";
|
|
911
1192
|
interface WebSocketServerConfig {
|
|
@@ -1137,7 +1418,53 @@ type EndEvent$1<DATA> = {
|
|
|
1137
1418
|
code?: string;
|
|
1138
1419
|
};
|
|
1139
1420
|
};
|
|
1140
|
-
type Presets = Record<string, PresetResult>;
|
|
1421
|
+
type Presets = Record<string, PresetResult>;
|
|
1422
|
+
type StableDataReport = {
|
|
1423
|
+
sourceChannel: "Stable" | "Beta" | "Dev";
|
|
1424
|
+
targetChannel: "Stable" | "Beta" | "Dev";
|
|
1425
|
+
settingsExists: boolean;
|
|
1426
|
+
settingsVersion: string | null;
|
|
1427
|
+
settingsVersionTarget: string | null;
|
|
1428
|
+
settingsMtimeSource: number;
|
|
1429
|
+
settingsMtimeTarget: number;
|
|
1430
|
+
settingsImportable: boolean;
|
|
1431
|
+
connectionsExists: boolean;
|
|
1432
|
+
connectionsCount: number;
|
|
1433
|
+
connectionsVersion: string | null;
|
|
1434
|
+
connectionsVersionTarget: string | null;
|
|
1435
|
+
connectionsMtimeSource: number;
|
|
1436
|
+
connectionsMtimeTarget: number;
|
|
1437
|
+
connectionsImportable: boolean;
|
|
1438
|
+
projectsExists: boolean;
|
|
1439
|
+
projectsVersion: string | null;
|
|
1440
|
+
projectsVersionTarget: string | null;
|
|
1441
|
+
projectsMtimeSource: number;
|
|
1442
|
+
projectsMtimeTarget: number;
|
|
1443
|
+
projectsImportable: boolean;
|
|
1444
|
+
projects: Array<{
|
|
1445
|
+
id: string;
|
|
1446
|
+
name: string;
|
|
1447
|
+
description: string;
|
|
1448
|
+
pipelines: Array<{
|
|
1449
|
+
id: string;
|
|
1450
|
+
name: string;
|
|
1451
|
+
description: string;
|
|
1452
|
+
type: "internal" | "external" | "pipelab-cloud";
|
|
1453
|
+
lastModifiedStable?: string;
|
|
1454
|
+
lastModifiedBeta?: string;
|
|
1455
|
+
existsInBeta: boolean;
|
|
1456
|
+
}>;
|
|
1457
|
+
}>;
|
|
1458
|
+
};
|
|
1459
|
+
type ReleaseChannel = "stable" | "beta" | "dev";
|
|
1460
|
+
type MigrationChannel = "stable" | "beta";
|
|
1461
|
+
type MigrationOptions = {
|
|
1462
|
+
migrateSettings: boolean;
|
|
1463
|
+
migrateConnections: boolean;
|
|
1464
|
+
selectedProjects: string[];
|
|
1465
|
+
selectedPipelines: string[];
|
|
1466
|
+
sourceChannel?: MigrationChannel;
|
|
1467
|
+
};
|
|
1141
1468
|
type IpcDefinition = {
|
|
1142
1469
|
"fs:read": [{
|
|
1143
1470
|
path: string;
|
|
@@ -1200,28 +1527,47 @@ type IpcDefinition = {
|
|
|
1200
1527
|
userData: string;
|
|
1201
1528
|
};
|
|
1202
1529
|
}>];
|
|
1203
|
-
"
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
"config:save": [{
|
|
1209
|
-
data: any;
|
|
1210
|
-
config: string;
|
|
1211
|
-
}, EndEvent$1<{
|
|
1212
|
-
result: "ok";
|
|
1213
|
-
}>];
|
|
1214
|
-
"config:reset": [{
|
|
1215
|
-
config: string;
|
|
1530
|
+
"settings:load": [void, EndEvent$1<AppConfig>];
|
|
1531
|
+
"settings:save": [{
|
|
1532
|
+
data: AppConfig;
|
|
1533
|
+
}, EndEvent$1<"ok">];
|
|
1534
|
+
"settings:reset": [{
|
|
1216
1535
|
key: string;
|
|
1217
|
-
}, EndEvent$1<
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
}>];
|
|
1536
|
+
}, EndEvent$1<"ok">];
|
|
1537
|
+
"connections:load": [void, EndEvent$1<ConnectionsConfig>];
|
|
1538
|
+
"connections:save": [{
|
|
1539
|
+
data: ConnectionsConfig;
|
|
1540
|
+
}, EndEvent$1<"ok">];
|
|
1541
|
+
"connections:reset": [{
|
|
1542
|
+
key: string;
|
|
1543
|
+
}, EndEvent$1<"ok">];
|
|
1544
|
+
"projects:load": [void, EndEvent$1<FileRepo>];
|
|
1545
|
+
"projects:save": [{
|
|
1546
|
+
data: FileRepo;
|
|
1547
|
+
}, EndEvent$1<"ok">];
|
|
1548
|
+
"projects:reset": [{
|
|
1549
|
+
key: string;
|
|
1550
|
+
}, EndEvent$1<"ok">];
|
|
1551
|
+
"pipeline:load-by-name": [{
|
|
1552
|
+
name: string;
|
|
1553
|
+
}, EndEvent$1<SavedFile>];
|
|
1554
|
+
"pipeline:load-by-path": [{
|
|
1555
|
+
path: string;
|
|
1556
|
+
}, EndEvent$1<SavedFile>];
|
|
1557
|
+
"pipeline:save-by-name": [{
|
|
1558
|
+
name: string;
|
|
1559
|
+
data: string;
|
|
1560
|
+
}, EndEvent$1<"ok">];
|
|
1561
|
+
"pipeline:save-by-path": [{
|
|
1562
|
+
path: string;
|
|
1563
|
+
data: string;
|
|
1564
|
+
}, EndEvent$1<"ok">];
|
|
1565
|
+
"pipeline:delete-by-name": [{
|
|
1566
|
+
name: string;
|
|
1567
|
+
}, EndEvent$1<"ok">];
|
|
1568
|
+
"pipeline:delete-by-path": [{
|
|
1569
|
+
path: string;
|
|
1570
|
+
}, EndEvent$1<"ok">];
|
|
1225
1571
|
"action:cancel": [void, EndEvent$1<{
|
|
1226
1572
|
result: "ok" | "ko";
|
|
1227
1573
|
}>];
|
|
@@ -1324,6 +1670,7 @@ type IpcDefinition = {
|
|
|
1324
1670
|
}>];
|
|
1325
1671
|
"agent:version:get": [void, EndEvent$1<{
|
|
1326
1672
|
version: string;
|
|
1673
|
+
channel: ReleaseChannel;
|
|
1327
1674
|
}>];
|
|
1328
1675
|
"startup:progress": [void, {
|
|
1329
1676
|
type: "progress";
|
|
@@ -1348,390 +1695,117 @@ type IpcDefinition = {
|
|
|
1348
1695
|
keywords?: string[];
|
|
1349
1696
|
date?: string;
|
|
1350
1697
|
}>;
|
|
1351
|
-
}>];
|
|
1352
|
-
"plugin:get-details": [{
|
|
1353
|
-
packageName: string;
|
|
1354
|
-
}, EndEvent$1<{
|
|
1355
|
-
name: string;
|
|
1356
|
-
latestVersion: string;
|
|
1357
|
-
versions: string[];
|
|
1358
|
-
description?: string;
|
|
1359
|
-
}>];
|
|
1360
|
-
"plugin:install": [{
|
|
1361
|
-
packageName: string;
|
|
1362
|
-
version: string;
|
|
1363
|
-
}, EndEvent$1<{
|
|
1364
|
-
result: "ok";
|
|
1365
|
-
}>];
|
|
1366
|
-
"plugin:uninstall": [{
|
|
1367
|
-
packageName: string;
|
|
1368
|
-
}, EndEvent$1<{
|
|
1369
|
-
result: "ok";
|
|
1370
|
-
}>];
|
|
1371
|
-
"plugin:list-installed": [void, EndEvent$1<{
|
|
1372
|
-
installed: Array<{
|
|
1373
|
-
name: string;
|
|
1374
|
-
version: string;
|
|
1375
|
-
description?: string;
|
|
1376
|
-
}>;
|
|
1377
|
-
}>];
|
|
1378
|
-
"plugin:ensure-loaded": [{
|
|
1379
|
-
plugins: Record<string, string>;
|
|
1380
|
-
}, EndEvent$1<{
|
|
1381
|
-
loaded: string[];
|
|
1382
|
-
failed: string[];
|
|
1383
|
-
}>];
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
type
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
};
|
|
1404
|
-
type EndEvent<DATA> = {
|
|
1405
|
-
type: "end";
|
|
1406
|
-
data: {
|
|
1407
|
-
type: "success";
|
|
1408
|
-
result: DATA;
|
|
1409
|
-
} | {
|
|
1410
|
-
type: "error";
|
|
1411
|
-
ipcError: string;
|
|
1412
|
-
};
|
|
1413
|
-
};
|
|
1414
|
-
type IpcDefinition$1 = {
|
|
1415
|
-
"dialog:alert": [{
|
|
1416
|
-
message: string;
|
|
1417
|
-
buttons?: {
|
|
1418
|
-
title: string;
|
|
1419
|
-
value: string;
|
|
1420
|
-
}[];
|
|
1421
|
-
}, EndEvent<{
|
|
1422
|
-
answer: string;
|
|
1423
|
-
}>];
|
|
1424
|
-
"dialog:prompt": [{
|
|
1425
|
-
message: string;
|
|
1426
|
-
buttons?: {
|
|
1427
|
-
title: string;
|
|
1428
|
-
value: string;
|
|
1429
|
-
}[];
|
|
1430
|
-
}, EndEvent<{
|
|
1431
|
-
answer: string;
|
|
1432
|
-
}>];
|
|
1433
|
-
"log:message": [ILogObjMeta, EndEvent<void>];
|
|
1434
|
-
"update:set-status": [{
|
|
1435
|
-
status: UpdateStatus;
|
|
1436
|
-
downloadUrl?: string;
|
|
1437
|
-
version?: string;
|
|
1438
|
-
}, EndEvent<void>];
|
|
1439
|
-
};
|
|
1440
|
-
type RendererChannels = keyof IpcDefinition$1;
|
|
1441
|
-
type RendererData<KEY extends RendererChannels> = IpcDefinition$1[KEY][0];
|
|
1442
|
-
type RendererEvents<KEY extends RendererChannels> = IpcDefinition$1[KEY][1];
|
|
1443
|
-
type RendererEnd<KEY extends RendererChannels> = Extract<IpcDefinition$1[KEY][1], {
|
|
1444
|
-
type: "end";
|
|
1445
|
-
}>["data"];
|
|
1446
|
-
type RendererMessage = {
|
|
1447
|
-
requestId: RequestId;
|
|
1448
|
-
data: any;
|
|
1449
|
-
};
|
|
1450
|
-
type RequestId = Tagged<string, "request-id">;
|
|
1451
|
-
type HandleListenerRendererSendFn<KEY extends RendererChannels> = (events: RendererEvents<KEY>) => void;
|
|
1452
|
-
type HandleListenerRenderer<KEY extends RendererChannels> = (event: any, data: {
|
|
1453
|
-
value: RendererData<KEY>;
|
|
1454
|
-
send: HandleListenerRendererSendFn<KEY>;
|
|
1455
|
-
}) => Promise<void>;
|
|
1456
|
-
//#endregion
|
|
1457
|
-
//#region src/config/projects-definition.d.ts
|
|
1458
|
-
declare const FileRepoValidatorV1: valibot.ObjectSchema<{
|
|
1459
|
-
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
1460
|
-
readonly data: valibot.OptionalSchema<valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1461
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1462
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1463
|
-
readonly path: valibot.StringSchema<undefined>;
|
|
1464
|
-
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1465
|
-
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1466
|
-
readonly summary: valibot.ObjectSchema<{
|
|
1467
|
-
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1468
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1469
|
-
readonly description: valibot.StringSchema<undefined>;
|
|
1470
|
-
}, undefined>;
|
|
1471
|
-
}, undefined>, valibot.ObjectSchema<{
|
|
1472
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1473
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1474
|
-
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1475
|
-
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1476
|
-
readonly configName: valibot.StringSchema<undefined>;
|
|
1477
|
-
}, undefined>, valibot.ObjectSchema<{
|
|
1478
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1479
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1480
|
-
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1481
|
-
}, undefined>], undefined>, undefined>, {}>;
|
|
1482
|
-
}, undefined>;
|
|
1483
|
-
declare const FileRepoProjectValidatorV2: valibot.ObjectSchema<{
|
|
1484
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1485
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1486
|
-
readonly description: valibot.StringSchema<undefined>;
|
|
1487
|
-
}, undefined>;
|
|
1488
|
-
declare const FileRepoValidatorV2: valibot.ObjectSchema<{
|
|
1489
|
-
readonly version: valibot.LiteralSchema<"2.0.0", undefined>;
|
|
1490
|
-
readonly projects: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1491
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1492
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1493
|
-
readonly description: valibot.StringSchema<undefined>;
|
|
1494
|
-
}, undefined>, undefined>;
|
|
1495
|
-
readonly pipelines: valibot.OptionalSchema<valibot.ArraySchema<valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1496
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1497
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1498
|
-
readonly path: valibot.StringSchema<undefined>;
|
|
1499
|
-
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1500
|
-
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1501
|
-
readonly summary: valibot.ObjectSchema<{
|
|
1502
|
-
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1503
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1504
|
-
readonly description: valibot.StringSchema<undefined>;
|
|
1505
|
-
}, undefined>;
|
|
1506
|
-
}, undefined>, valibot.ObjectSchema<{
|
|
1507
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1508
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1509
|
-
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1510
|
-
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1511
|
-
readonly configName: valibot.StringSchema<undefined>;
|
|
1512
|
-
}, undefined>, valibot.ObjectSchema<{
|
|
1513
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1514
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1515
|
-
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1516
|
-
}, undefined>], undefined>, undefined>, readonly []>;
|
|
1517
|
-
}, undefined>;
|
|
1518
|
-
declare const FileRepoValidatorV3: valibot.ObjectSchema<{
|
|
1519
|
-
readonly version: valibot.LiteralSchema<"3.0.0", undefined>;
|
|
1520
|
-
readonly projects: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1521
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1522
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1523
|
-
readonly description: valibot.StringSchema<undefined>;
|
|
1524
|
-
}, undefined>, undefined>;
|
|
1525
|
-
readonly pipelines: valibot.OptionalSchema<valibot.ArraySchema<valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1526
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1527
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1528
|
-
readonly path: valibot.StringSchema<undefined>;
|
|
1529
|
-
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1530
|
-
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1531
|
-
readonly summary: valibot.ObjectSchema<{
|
|
1532
|
-
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1533
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1534
|
-
readonly description: valibot.StringSchema<undefined>;
|
|
1535
|
-
}, undefined>;
|
|
1536
|
-
}, undefined>, valibot.ObjectSchema<{
|
|
1537
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1538
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1539
|
-
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1540
|
-
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1541
|
-
readonly configName: valibot.StringSchema<undefined>;
|
|
1542
|
-
}, undefined>, valibot.ObjectSchema<{
|
|
1543
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1544
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1545
|
-
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1546
|
-
}, undefined>], undefined>, undefined>, readonly []>;
|
|
1547
|
-
}, undefined>;
|
|
1548
|
-
type FileRepoV1 = InferInput<typeof FileRepoValidatorV1>;
|
|
1549
|
-
type FileRepoV2 = InferInput<typeof FileRepoValidatorV2>;
|
|
1550
|
-
type FileRepoV3 = InferInput<typeof FileRepoValidatorV3>;
|
|
1551
|
-
declare const FileRepoValidator: valibot.ObjectSchema<{
|
|
1552
|
-
readonly version: valibot.LiteralSchema<"3.0.0", undefined>;
|
|
1553
|
-
readonly projects: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1554
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1555
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1556
|
-
readonly description: valibot.StringSchema<undefined>;
|
|
1557
|
-
}, undefined>, undefined>;
|
|
1558
|
-
readonly pipelines: valibot.OptionalSchema<valibot.ArraySchema<valibot.UnionSchema<[valibot.ObjectSchema<{
|
|
1559
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1560
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1561
|
-
readonly path: valibot.StringSchema<undefined>;
|
|
1562
|
-
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1563
|
-
readonly type: valibot.LiteralSchema<"external", undefined>;
|
|
1564
|
-
readonly summary: valibot.ObjectSchema<{
|
|
1565
|
-
readonly plugins: valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>;
|
|
1566
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1567
|
-
readonly description: valibot.StringSchema<undefined>;
|
|
1568
|
-
}, undefined>;
|
|
1569
|
-
}, undefined>, valibot.ObjectSchema<{
|
|
1570
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1571
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1572
|
-
readonly lastModified: valibot.StringSchema<undefined>;
|
|
1573
|
-
readonly type: valibot.LiteralSchema<"internal", undefined>;
|
|
1574
|
-
readonly configName: valibot.StringSchema<undefined>;
|
|
1575
|
-
}, undefined>, valibot.ObjectSchema<{
|
|
1576
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1577
|
-
readonly project: valibot.StringSchema<undefined>;
|
|
1578
|
-
readonly type: valibot.LiteralSchema<"pipelab-cloud", undefined>;
|
|
1579
|
-
}, undefined>], undefined>, undefined>, readonly []>;
|
|
1580
|
-
}, undefined>;
|
|
1581
|
-
type FileRepo = InferInput<typeof FileRepoValidator>;
|
|
1698
|
+
}>];
|
|
1699
|
+
"plugin:get-details": [{
|
|
1700
|
+
packageName: string;
|
|
1701
|
+
}, EndEvent$1<{
|
|
1702
|
+
name: string;
|
|
1703
|
+
latestVersion: string;
|
|
1704
|
+
versions: string[];
|
|
1705
|
+
description?: string;
|
|
1706
|
+
}>];
|
|
1707
|
+
"plugin:install": [{
|
|
1708
|
+
packageName: string;
|
|
1709
|
+
version: string;
|
|
1710
|
+
}, EndEvent$1<{
|
|
1711
|
+
result: "ok";
|
|
1712
|
+
}>];
|
|
1713
|
+
"plugin:uninstall": [{
|
|
1714
|
+
packageName: string;
|
|
1715
|
+
}, EndEvent$1<{
|
|
1716
|
+
result: "ok";
|
|
1717
|
+
}>];
|
|
1718
|
+
"plugin:list-installed": [void, EndEvent$1<{
|
|
1719
|
+
installed: Array<{
|
|
1720
|
+
name: string;
|
|
1721
|
+
version: string;
|
|
1722
|
+
description?: string;
|
|
1723
|
+
}>;
|
|
1724
|
+
}>];
|
|
1725
|
+
"plugin:ensure-loaded": [{
|
|
1726
|
+
plugins: Record<string, string>;
|
|
1727
|
+
}, EndEvent$1<{
|
|
1728
|
+
loaded: string[];
|
|
1729
|
+
failed: string[];
|
|
1730
|
+
}>];
|
|
1731
|
+
"migration:scan-stable": [{
|
|
1732
|
+
sourceChannel?: MigrationChannel;
|
|
1733
|
+
}, EndEvent$1<StableDataReport>];
|
|
1734
|
+
"migration:perform": [MigrationOptions, EndEvent$1<{
|
|
1735
|
+
result: "ok";
|
|
1736
|
+
}>];
|
|
1737
|
+
};
|
|
1738
|
+
type Channels = keyof IpcDefinition;
|
|
1739
|
+
declare const ShellChannels: Channels[];
|
|
1740
|
+
type Data$1<KEY extends Channels> = IpcDefinition[KEY][0];
|
|
1741
|
+
type Events<KEY extends Channels> = IpcDefinition[KEY][1];
|
|
1742
|
+
type End<KEY extends Channels> = Extract<IpcDefinition[KEY][1], {
|
|
1743
|
+
type: "end";
|
|
1744
|
+
}>["data"];
|
|
1745
|
+
type IpcMessage = {
|
|
1746
|
+
requestId: RequestId$1;
|
|
1747
|
+
data: any;
|
|
1748
|
+
};
|
|
1749
|
+
type RequestId$1 = Tagged<string, "request-id">;
|
|
1582
1750
|
//#endregion
|
|
1583
|
-
//#region src/
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
}
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
},
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
readonly autosave: valibot.BooleanSchema<undefined>;
|
|
1642
|
-
}, undefined>;
|
|
1643
|
-
declare const AppSettingsValidatorV7: valibot.ObjectSchema<{
|
|
1644
|
-
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
1645
|
-
readonly version: valibot.LiteralSchema<"7.0.0", undefined>;
|
|
1646
|
-
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>;
|
|
1647
|
-
readonly tours: valibot.ObjectSchema<{
|
|
1648
|
-
readonly dashboard: valibot.ObjectSchema<{
|
|
1649
|
-
readonly step: valibot.NumberSchema<undefined>;
|
|
1650
|
-
readonly completed: valibot.BooleanSchema<undefined>;
|
|
1651
|
-
}, undefined>;
|
|
1652
|
-
readonly editor: valibot.ObjectSchema<{
|
|
1653
|
-
readonly step: valibot.NumberSchema<undefined>;
|
|
1654
|
-
readonly completed: valibot.BooleanSchema<undefined>;
|
|
1655
|
-
}, undefined>;
|
|
1656
|
-
}, undefined>;
|
|
1657
|
-
readonly autosave: valibot.BooleanSchema<undefined>;
|
|
1658
|
-
readonly agents: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1659
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1660
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1661
|
-
readonly url: valibot.StringSchema<undefined>;
|
|
1662
|
-
}, undefined>, undefined>;
|
|
1663
|
-
readonly plugins: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1664
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1665
|
-
readonly enabled: valibot.BooleanSchema<undefined>;
|
|
1666
|
-
readonly description: valibot.StringSchema<undefined>;
|
|
1667
|
-
}, undefined>, undefined>;
|
|
1668
|
-
readonly isInternalMigrationBannerClosed: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, false>;
|
|
1669
|
-
}, undefined>;
|
|
1670
|
-
declare const ConnectionValidator: valibot.LooseObjectSchema<{
|
|
1671
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1672
|
-
readonly pluginName: valibot.StringSchema<undefined>;
|
|
1673
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1674
|
-
readonly createdAt: valibot.StringSchema<undefined>;
|
|
1675
|
-
readonly isDefault: valibot.BooleanSchema<undefined>;
|
|
1676
|
-
}, undefined>;
|
|
1677
|
-
declare const ConnectionsValidatorV1: valibot.ObjectSchema<{
|
|
1678
|
-
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
1679
|
-
readonly connections: valibot.ArraySchema<valibot.LooseObjectSchema<{
|
|
1680
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1681
|
-
readonly pluginName: valibot.StringSchema<undefined>;
|
|
1682
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1683
|
-
readonly createdAt: valibot.StringSchema<undefined>;
|
|
1684
|
-
readonly isDefault: valibot.BooleanSchema<undefined>;
|
|
1685
|
-
}, undefined>, undefined>;
|
|
1686
|
-
}, undefined>;
|
|
1687
|
-
type Connection = InferInput<typeof ConnectionValidator>;
|
|
1688
|
-
type ConnectionsConfigV1 = InferInput<typeof ConnectionsValidatorV1>;
|
|
1689
|
-
type ConnectionsConfig = ConnectionsConfigV1;
|
|
1690
|
-
declare const ConnectionsValidator: valibot.ObjectSchema<{
|
|
1691
|
-
readonly version: valibot.LiteralSchema<"1.0.0", undefined>;
|
|
1692
|
-
readonly connections: valibot.ArraySchema<valibot.LooseObjectSchema<{
|
|
1693
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1694
|
-
readonly pluginName: valibot.StringSchema<undefined>;
|
|
1695
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1696
|
-
readonly createdAt: valibot.StringSchema<undefined>;
|
|
1697
|
-
readonly isDefault: valibot.BooleanSchema<undefined>;
|
|
1698
|
-
}, undefined>, undefined>;
|
|
1699
|
-
}, undefined>;
|
|
1700
|
-
type AppConfigV1 = InferInput<typeof AppSettingsValidatorV1>;
|
|
1701
|
-
type AppConfigV2 = InferInput<typeof AppSettingsValidatorV2>;
|
|
1702
|
-
type AppConfigV3 = InferInput<typeof AppSettingsValidatorV3>;
|
|
1703
|
-
type AppConfigV4 = InferInput<typeof AppSettingsValidatorV4>;
|
|
1704
|
-
type AppConfigV5 = InferInput<typeof AppSettingsValidatorV5>;
|
|
1705
|
-
type AppConfigV6 = InferInput<typeof AppSettingsValidatorV6>;
|
|
1706
|
-
type AppConfigV7 = InferInput<typeof AppSettingsValidatorV7>;
|
|
1707
|
-
type AppConfig = AppConfigV7;
|
|
1708
|
-
declare const AppSettingsValidator: valibot.ObjectSchema<{
|
|
1709
|
-
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
1710
|
-
readonly version: valibot.LiteralSchema<"7.0.0", undefined>;
|
|
1711
|
-
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>;
|
|
1712
|
-
readonly tours: valibot.ObjectSchema<{
|
|
1713
|
-
readonly dashboard: valibot.ObjectSchema<{
|
|
1714
|
-
readonly step: valibot.NumberSchema<undefined>;
|
|
1715
|
-
readonly completed: valibot.BooleanSchema<undefined>;
|
|
1716
|
-
}, undefined>;
|
|
1717
|
-
readonly editor: valibot.ObjectSchema<{
|
|
1718
|
-
readonly step: valibot.NumberSchema<undefined>;
|
|
1719
|
-
readonly completed: valibot.BooleanSchema<undefined>;
|
|
1720
|
-
}, undefined>;
|
|
1721
|
-
}, undefined>;
|
|
1722
|
-
readonly autosave: valibot.BooleanSchema<undefined>;
|
|
1723
|
-
readonly agents: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1724
|
-
readonly id: valibot.StringSchema<undefined>;
|
|
1725
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1726
|
-
readonly url: valibot.StringSchema<undefined>;
|
|
1727
|
-
}, undefined>, undefined>;
|
|
1728
|
-
readonly plugins: valibot.ArraySchema<valibot.ObjectSchema<{
|
|
1729
|
-
readonly name: valibot.StringSchema<undefined>;
|
|
1730
|
-
readonly enabled: valibot.BooleanSchema<undefined>;
|
|
1731
|
-
readonly description: valibot.StringSchema<undefined>;
|
|
1732
|
-
}, undefined>, undefined>;
|
|
1733
|
-
readonly isInternalMigrationBannerClosed: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, false>;
|
|
1734
|
-
}, undefined>;
|
|
1751
|
+
//#region src/ipc.types.d.ts
|
|
1752
|
+
type UpdateStatus = "update-available" | "update-downloaded" | "checking-for-update" | "update-not-available" | "error";
|
|
1753
|
+
type IpcEvent<TYPE extends string, DATA> = {
|
|
1754
|
+
type: TYPE;
|
|
1755
|
+
data: DATA;
|
|
1756
|
+
};
|
|
1757
|
+
type EndEvent<DATA> = {
|
|
1758
|
+
type: "end";
|
|
1759
|
+
data: {
|
|
1760
|
+
type: "success";
|
|
1761
|
+
result: DATA;
|
|
1762
|
+
} | {
|
|
1763
|
+
type: "error";
|
|
1764
|
+
ipcError: string;
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
type IpcDefinition$1 = {
|
|
1768
|
+
"dialog:alert": [{
|
|
1769
|
+
message: string;
|
|
1770
|
+
buttons?: {
|
|
1771
|
+
title: string;
|
|
1772
|
+
value: string;
|
|
1773
|
+
}[];
|
|
1774
|
+
}, EndEvent<{
|
|
1775
|
+
answer: string;
|
|
1776
|
+
}>];
|
|
1777
|
+
"dialog:prompt": [{
|
|
1778
|
+
message: string;
|
|
1779
|
+
buttons?: {
|
|
1780
|
+
title: string;
|
|
1781
|
+
value: string;
|
|
1782
|
+
}[];
|
|
1783
|
+
}, EndEvent<{
|
|
1784
|
+
answer: string;
|
|
1785
|
+
}>];
|
|
1786
|
+
"log:message": [ILogObjMeta, EndEvent<void>];
|
|
1787
|
+
"update:set-status": [{
|
|
1788
|
+
status: UpdateStatus;
|
|
1789
|
+
downloadUrl?: string;
|
|
1790
|
+
version?: string;
|
|
1791
|
+
}, EndEvent<void>];
|
|
1792
|
+
};
|
|
1793
|
+
type RendererChannels = keyof IpcDefinition$1;
|
|
1794
|
+
type RendererData<KEY extends RendererChannels> = IpcDefinition$1[KEY][0];
|
|
1795
|
+
type RendererEvents<KEY extends RendererChannels> = IpcDefinition$1[KEY][1];
|
|
1796
|
+
type RendererEnd<KEY extends RendererChannels> = Extract<IpcDefinition$1[KEY][1], {
|
|
1797
|
+
type: "end";
|
|
1798
|
+
}>["data"];
|
|
1799
|
+
type RendererMessage = {
|
|
1800
|
+
requestId: RequestId;
|
|
1801
|
+
data: any;
|
|
1802
|
+
};
|
|
1803
|
+
type RequestId = Tagged<string, "request-id">;
|
|
1804
|
+
type HandleListenerRendererSendFn<KEY extends RendererChannels> = (events: RendererEvents<KEY>) => void;
|
|
1805
|
+
type HandleListenerRenderer<KEY extends RendererChannels> = (event: any, data: {
|
|
1806
|
+
value: RendererData<KEY>;
|
|
1807
|
+
send: HandleListenerRendererSendFn<KEY>;
|
|
1808
|
+
}) => Promise<void>;
|
|
1735
1809
|
//#endregion
|
|
1736
1810
|
//#region src/database.types.d.ts
|
|
1737
1811
|
type Json = string | number | boolean | null | {
|
|
@@ -1967,8 +2041,14 @@ declare let home$5: {
|
|
|
1967
2041
|
"migrate-to-internal": string;
|
|
1968
2042
|
"only-internal-supported-notice": string;
|
|
1969
2043
|
"import-pipeline": string;
|
|
2044
|
+
"import-from-stable": string;
|
|
2045
|
+
"import-from-beta": string;
|
|
2046
|
+
"import-pipeline-file": string;
|
|
1970
2047
|
"import-success": string;
|
|
1971
2048
|
"failed-to-read-file": string;
|
|
2049
|
+
"export-pipeline": string;
|
|
2050
|
+
"export-success": string;
|
|
2051
|
+
"export-failed": string;
|
|
1972
2052
|
};
|
|
1973
2053
|
declare namespace pipelines_1$5 {
|
|
1974
2054
|
let title: string;
|
|
@@ -2138,8 +2218,14 @@ declare let home$4: {
|
|
|
2138
2218
|
"migrate-to-internal": string;
|
|
2139
2219
|
"only-internal-supported-notice": string;
|
|
2140
2220
|
"import-pipeline": string;
|
|
2221
|
+
"import-from-stable": string;
|
|
2222
|
+
"import-from-beta": string;
|
|
2223
|
+
"import-pipeline-file": string;
|
|
2141
2224
|
"import-success": string;
|
|
2142
2225
|
"failed-to-read-file": string;
|
|
2226
|
+
"export-pipeline": string;
|
|
2227
|
+
"export-success": string;
|
|
2228
|
+
"export-failed": string;
|
|
2143
2229
|
};
|
|
2144
2230
|
declare namespace pipelines_1$4 {
|
|
2145
2231
|
let title: string;
|
|
@@ -2309,8 +2395,14 @@ declare let home$3: {
|
|
|
2309
2395
|
"migrate-to-internal": string;
|
|
2310
2396
|
"only-internal-supported-notice": string;
|
|
2311
2397
|
"import-pipeline": string;
|
|
2398
|
+
"import-from-stable": string;
|
|
2399
|
+
"import-from-beta": string;
|
|
2400
|
+
"import-pipeline-file": string;
|
|
2312
2401
|
"import-success": string;
|
|
2313
2402
|
"failed-to-read-file": string;
|
|
2403
|
+
"export-pipeline": string;
|
|
2404
|
+
"export-success": string;
|
|
2405
|
+
"export-failed": string;
|
|
2314
2406
|
};
|
|
2315
2407
|
declare namespace pipelines_1$3 {
|
|
2316
2408
|
let title: string;
|
|
@@ -2480,8 +2572,14 @@ declare let home$2: {
|
|
|
2480
2572
|
"migrate-to-internal": string;
|
|
2481
2573
|
"only-internal-supported-notice": string;
|
|
2482
2574
|
"import-pipeline": string;
|
|
2575
|
+
"import-from-stable": string;
|
|
2576
|
+
"import-from-beta": string;
|
|
2577
|
+
"import-pipeline-file": string;
|
|
2483
2578
|
"import-success": string;
|
|
2484
2579
|
"failed-to-read-file": string;
|
|
2580
|
+
"export-pipeline": string;
|
|
2581
|
+
"export-success": string;
|
|
2582
|
+
"export-failed": string;
|
|
2485
2583
|
};
|
|
2486
2584
|
declare namespace pipelines_1$2 {
|
|
2487
2585
|
let title: string;
|
|
@@ -2651,8 +2749,14 @@ declare let home$1: {
|
|
|
2651
2749
|
"migrate-to-internal": string;
|
|
2652
2750
|
"only-internal-supported-notice": string;
|
|
2653
2751
|
"import-pipeline": string;
|
|
2752
|
+
"import-from-stable": string;
|
|
2753
|
+
"import-from-beta": string;
|
|
2754
|
+
"import-pipeline-file": string;
|
|
2654
2755
|
"import-success": string;
|
|
2655
2756
|
"failed-to-read-file": string;
|
|
2757
|
+
"export-pipeline": string;
|
|
2758
|
+
"export-success": string;
|
|
2759
|
+
"export-failed": string;
|
|
2656
2760
|
};
|
|
2657
2761
|
declare namespace pipelines_1$1 {
|
|
2658
2762
|
let title: string;
|
|
@@ -2822,8 +2926,14 @@ declare let home: {
|
|
|
2822
2926
|
"migrate-to-internal": string;
|
|
2823
2927
|
"only-internal-supported-notice": string;
|
|
2824
2928
|
"import-pipeline": string;
|
|
2929
|
+
"import-from-stable": string;
|
|
2930
|
+
"import-from-beta": string;
|
|
2931
|
+
"import-pipeline-file": string;
|
|
2825
2932
|
"import-success": string;
|
|
2826
2933
|
"failed-to-read-file": string;
|
|
2934
|
+
"export-pipeline": string;
|
|
2935
|
+
"export-success": string;
|
|
2936
|
+
"export-failed": string;
|
|
2827
2937
|
};
|
|
2828
2938
|
declare namespace pipelines_1 {
|
|
2829
2939
|
let title: string;
|
|
@@ -4296,5 +4406,5 @@ declare const normalizePipelineConfig: (state: any) => boolean;
|
|
|
4296
4406
|
declare const connectionsMigrator: any;
|
|
4297
4407
|
declare const defaultConnections: any;
|
|
4298
4408
|
//#endregion
|
|
4299
|
-
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, type Migrator, type NodeId, Origin, OriginValidator, OutputDefinition, OutputsDefinition, ParamsToInput, PathOptions, PipelabNode, PipelabSelectOption, PluginDefinition, Position, Preset, PresetFn, PresetResult, Presets, PropType, RELEASE_SYNC, 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, 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 };
|
|
4409
|
+
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 };
|
|
4300
4410
|
//# sourceMappingURL=index.d.mts.map
|