@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.mjs
CHANGED
|
@@ -119,8 +119,7 @@ const defaultAppSettings$1 = settingsMigratorInternal.createDefault({
|
|
|
119
119
|
completed: false
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
|
-
plugins: DEFAULT_PLUGINS
|
|
123
|
-
isInternalMigrationBannerClosed: false
|
|
122
|
+
plugins: DEFAULT_PLUGINS
|
|
124
123
|
});
|
|
125
124
|
const appSettingsMigrator$1 = settingsMigratorInternal.createMigrations({
|
|
126
125
|
defaultValue: defaultAppSettings$1,
|
|
@@ -171,12 +170,12 @@ const appSettingsMigrator$1 = settingsMigratorInternal.createMigrations({
|
|
|
171
170
|
createMigration$1({
|
|
172
171
|
version: "6.0.0",
|
|
173
172
|
up: (state) => {
|
|
174
|
-
const { cacheFolder
|
|
173
|
+
const { cacheFolder, clearTemporaryFoldersOnPipelineEnd: __, ...rest } = state;
|
|
175
174
|
return {
|
|
176
175
|
...rest,
|
|
176
|
+
cacheFolder,
|
|
177
177
|
agents: [],
|
|
178
|
-
plugins: DEFAULT_PLUGINS
|
|
179
|
-
isInternalMigrationBannerClosed: false
|
|
178
|
+
plugins: DEFAULT_PLUGINS
|
|
180
179
|
};
|
|
181
180
|
}
|
|
182
181
|
}),
|
|
@@ -572,7 +571,8 @@ const AppSettingsValidatorV7 = object({
|
|
|
572
571
|
enabled: boolean(),
|
|
573
572
|
description: string()
|
|
574
573
|
})),
|
|
575
|
-
|
|
574
|
+
cacheFolder: optional(string()),
|
|
575
|
+
tempFolder: optional(string())
|
|
576
576
|
});
|
|
577
577
|
const ConnectionValidator = looseObject({
|
|
578
578
|
id: string(),
|
|
@@ -916,8 +916,14 @@ var en_US_default = {
|
|
|
916
916
|
"migrate-to-internal": "Move to Workspace",
|
|
917
917
|
"only-internal-supported-notice": "Pipelab now manages all pipelines within the application workspace. External files are deprecated, but can be imported into your workspace.",
|
|
918
918
|
"import-pipeline": "Import Pipeline",
|
|
919
|
+
"import-from-stable": "Import from Stable...",
|
|
920
|
+
"import-from-beta": "Import from Beta...",
|
|
921
|
+
"import-pipeline-file": "Import pipeline file (.pipelab)...",
|
|
919
922
|
"import-success": "Pipeline imported successfully",
|
|
920
|
-
"failed-to-read-file": "Failed to read the selected file"
|
|
923
|
+
"failed-to-read-file": "Failed to read the selected file",
|
|
924
|
+
"export-pipeline": "Export Pipeline...",
|
|
925
|
+
"export-success": "Pipeline exported successfully",
|
|
926
|
+
"export-failed": "Failed to export pipeline"
|
|
921
927
|
},
|
|
922
928
|
pipelines: { "title": "@:headers.pipelines" },
|
|
923
929
|
tour: {
|
|
@@ -1083,8 +1089,14 @@ var fr_FR_default = {
|
|
|
1083
1089
|
"migrate-to-internal": "Déplacer vers l'espace de travail",
|
|
1084
1090
|
"only-internal-supported-notice": "Pipelab gère désormais tous les pipelines au sein de l'espace de travail de l'application. Les fichiers externes sont obsolètes, mais peuvent toujours être importés.",
|
|
1085
1091
|
"import-pipeline": "Importer le Pipeline",
|
|
1092
|
+
"import-from-stable": "Importer depuis Stable...",
|
|
1093
|
+
"import-from-beta": "Importer depuis Beta...",
|
|
1094
|
+
"import-pipeline-file": "Importer un fichier de pipeline (.pipelab)...",
|
|
1086
1095
|
"import-success": "Pipeline importé avec succès",
|
|
1087
|
-
"failed-to-read-file": "Échec de la lecture du fichier sélectionné"
|
|
1096
|
+
"failed-to-read-file": "Échec de la lecture du fichier sélectionné",
|
|
1097
|
+
"export-pipeline": "Exporter le pipeline...",
|
|
1098
|
+
"export-success": "Pipeline exporté avec succès",
|
|
1099
|
+
"export-failed": "Échec de l'exportation du pipeline"
|
|
1088
1100
|
},
|
|
1089
1101
|
pipelines: { "title": "@:headers.pipelines" },
|
|
1090
1102
|
tour: {
|
|
@@ -1250,8 +1262,14 @@ var pt_BR_default = {
|
|
|
1250
1262
|
"migrate-to-internal": "Mover para o espaço de trabalho",
|
|
1251
1263
|
"only-internal-supported-notice": "O Pipelab agora gerencia todas as pipelines dentro do espaço de trabalho do aplicativo. Arquivos externos foram descontinuados, mas podem ser importados.",
|
|
1252
1264
|
"import-pipeline": "Importar Pipeline",
|
|
1265
|
+
"import-from-stable": "Importar do Stable...",
|
|
1266
|
+
"import-from-beta": "Importar do Beta...",
|
|
1267
|
+
"import-pipeline-file": "Importar arquivo de pipeline (.pipelab)...",
|
|
1253
1268
|
"import-success": "Pipeline importada com sucesso",
|
|
1254
|
-
"failed-to-read-file": "Falha ao ler o arquivo selecionado"
|
|
1269
|
+
"failed-to-read-file": "Falha ao ler o arquivo selecionado",
|
|
1270
|
+
"export-pipeline": "Exportar pipeline...",
|
|
1271
|
+
"export-success": "Pipeline exportado com sucesso",
|
|
1272
|
+
"export-failed": "Falha ao exportar pipeline"
|
|
1255
1273
|
},
|
|
1256
1274
|
pipelines: { "title": "@:headers.pipelines" },
|
|
1257
1275
|
tour: {
|
|
@@ -1417,8 +1435,14 @@ var zh_CN_default = {
|
|
|
1417
1435
|
"migrate-to-internal": "移动到工作区",
|
|
1418
1436
|
"only-internal-supported-notice": "Pipelab 现在管理应用工作区内的所有流水线。外部文件已被弃用,但仍可以导入。",
|
|
1419
1437
|
"import-pipeline": "导入流水线",
|
|
1438
|
+
"import-from-stable": "从 Stable 导入...",
|
|
1439
|
+
"import-from-beta": "从 Beta 导入...",
|
|
1440
|
+
"import-pipeline-file": "导入管道文件 (.pipelab)...",
|
|
1420
1441
|
"import-success": "流水线已成功导入",
|
|
1421
|
-
"failed-to-read-file": "读取所选文件失败"
|
|
1442
|
+
"failed-to-read-file": "读取所选文件失败",
|
|
1443
|
+
"export-pipeline": "导出流水线...",
|
|
1444
|
+
"export-success": "流水线导出成功",
|
|
1445
|
+
"export-failed": "导出流水线失败"
|
|
1422
1446
|
},
|
|
1423
1447
|
pipelines: { "title": "@:headers.pipelines" },
|
|
1424
1448
|
tour: {
|
|
@@ -1584,8 +1608,14 @@ var es_ES_default = {
|
|
|
1584
1608
|
"migrate-to-internal": "Mover al espacio de trabajo",
|
|
1585
1609
|
"only-internal-supported-notice": "Pipelab ahora gestiona todos los pipelines dentro del espacio de trabajo. Los archivos externos están obsoletos, pero pueden importarse.",
|
|
1586
1610
|
"import-pipeline": "Importar Pipeline",
|
|
1611
|
+
"import-from-stable": "Importar desde Stable...",
|
|
1612
|
+
"import-from-beta": "Importar desde Beta...",
|
|
1613
|
+
"import-pipeline-file": "Importar archivo de pipeline (.pipelab)...",
|
|
1587
1614
|
"import-success": "Pipeline importado con éxito",
|
|
1588
|
-
"failed-to-read-file": "Error al leer el archivo seleccionado"
|
|
1615
|
+
"failed-to-read-file": "Error al leer el archivo seleccionado",
|
|
1616
|
+
"export-pipeline": "Exportar pipeline...",
|
|
1617
|
+
"export-success": "Pipeline exportado correctamente",
|
|
1618
|
+
"export-failed": "Error al exportar el pipeline"
|
|
1589
1619
|
},
|
|
1590
1620
|
pipelines: { "title": "@:headers.pipelines" },
|
|
1591
1621
|
tour: {
|
|
@@ -1751,8 +1781,14 @@ var de_DE_default = {
|
|
|
1751
1781
|
"migrate-to-internal": "In Arbeitsbereich verschieben",
|
|
1752
1782
|
"only-internal-supported-notice": "Pipelab verwaltet jetzt alle Pipelines im Arbeitsbereich der Anwendung. Externe Dateien sind veraltet, können aber weiterhin importiert werden.",
|
|
1753
1783
|
"import-pipeline": "Pipeline importieren",
|
|
1784
|
+
"import-from-stable": "Aus Stable importieren...",
|
|
1785
|
+
"import-from-beta": "Aus Beta importieren...",
|
|
1786
|
+
"import-pipeline-file": "Pipeline-Datei importieren (.pipelab)...",
|
|
1754
1787
|
"import-success": "Pipeline erfolgreich importiert",
|
|
1755
|
-
"failed-to-read-file": "Ausgewählte Datei konnte nicht gelesen werden"
|
|
1788
|
+
"failed-to-read-file": "Ausgewählte Datei konnte nicht gelesen werden",
|
|
1789
|
+
"export-pipeline": "Pipeline exportieren...",
|
|
1790
|
+
"export-success": "Pipeline erfolgreich exportiert",
|
|
1791
|
+
"export-failed": "Fehler beim Exportieren der Pipeline"
|
|
1756
1792
|
},
|
|
1757
1793
|
pipelines: { "title": "@:headers.pipelines" },
|
|
1758
1794
|
tour: {
|