@pipelab/shared 1.0.0-beta.13 → 1.0.0-beta.15

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.
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "settings": {
3
3
  "darkTheme": "Tema escuro",
4
+ "autosave": "Salvar automaticamente",
5
+ "autosaveDescription": "Salvar alterações em suas pipelines automaticamente em tempo real.",
4
6
  "language": "Idioma",
5
7
  "languageOptions": {
6
8
  "en-US": "English",
@@ -12,37 +14,44 @@
12
14
  },
13
15
  "tabs": {
14
16
  "general": "Geral",
15
- "storage": "Armazenagem",
17
+ "storage": "Armazenamento",
16
18
  "integrations": "Integrações",
17
19
  "advanced": "Avançado",
18
- "billing": "Pagamento",
19
- "plugins": "Plugins",
20
- "core-plugins": "Plugins nativos",
21
- "community-plugins": "Plugins da comunidade",
20
+ "billing": "Faturamento",
21
+ "plugins": "Extensões",
22
+ "core-plugins": "Extensões nativas",
23
+ "community-plugins": "Extensões da comunidade",
22
24
  "versions": "Versões"
23
25
  },
24
- "clearTempFolders": "Automatically clean up temporary files",
25
- "clearTempFoldersDescription": "When enabled, all temporary files created during pipeline execution will be automatically deleted after the pipeline completes. This helps save disk space but you may need to copy artifacts yourself to preserve them.",
26
- "pipeline-cache-folder": "Pipeline Cache Folder:",
27
- "enter-or-browse-for-a-folder": "Enter or browse for a folder",
28
- "browse": "Browse",
29
- "manage-where-the-app-stores-temporary-and-cache-files": "Manage where the app stores temporary and cache files.",
30
- "clear-cache": "Clear cache",
31
- "reset-to-default": "Reset to default",
32
- "manage-subscription": "Manage Subscription",
33
- "renewal-date": "Renewal Date",
34
- "start-date": "Start Date:",
35
- "cache-cleared-successfully": "Cache cleared successfully",
36
- "failed-to-clear-cache-error-message": "Failed to clear cache: {0}",
37
- "failed-to-reset-cache-folder-error-message": "Failed to reset cache folder: {0}",
38
- "select-cache-folder": "Select Cache Folder"
26
+ "pipeline-cache-folder": "Pasta de cache de pipelines:",
27
+ "enter-or-browse-for-a-folder": "Digite ou procure uma pasta",
28
+ "browse": "Procurar",
29
+ "manage-where-the-app-stores-temporary-and-cache-files": "Configurar pastas locais para arquivos temporários e cache do aplicativo.",
30
+ "clear-cache": "Limpar cache",
31
+ "reset-to-default": "Redefinir para o padrão",
32
+ "manage-subscription": "Gerenciar assinatura",
33
+ "renewal-date": "Data de renovação",
34
+ "start-date": "Data de início:",
35
+ "cache-cleared-successfully": "Cache limpo com sucesso",
36
+ "failed-to-clear-cache-error-message": "Falha ao limpar cache: {0}",
37
+ "failed-to-reset-cache-folder-error-message": "Falha ao redefinir pasta de cache: {0}",
38
+ "select-cache-folder": "Selecionar pasta de cache",
39
+ "restart-dashboard-tour": "Redefinir guia de início",
40
+ "restart-editor-tour": "Redefinir guia do editor",
41
+ "tour-reset-success": "Os guias de ajuda foram redefinidos. Eles reaparecerão em sua próxima visita.",
42
+ "storage-pipelab": "Pipelab",
43
+ "storage-other": "Outros aplicativos",
44
+ "storage-free": "Espaço livre",
45
+ "disk-usage": "Uso do disco",
46
+ "free": "Livre",
47
+ "other": "Outro"
39
48
  },
40
49
  "headers": {
41
- "dashboard": "Dashboard",
42
- "scenarios": "Scenarios",
50
+ "dashboard": "Início",
51
+ "pipelines": "Pipelines",
43
52
  "editor": "Editor",
44
- "billing": "Billing",
45
- "team": "Team"
53
+ "billing": "@:settings.tabs.billing",
54
+ "team": "Equipe"
46
55
  },
47
56
  "base": {
48
57
  "close": "Fechar",
@@ -51,40 +60,113 @@
51
60
  "cancel": "Cancelar",
52
61
  "end": "Fim",
53
62
  "delete": "Excluir",
54
- "logs": "Logs",
63
+ "logs": "Registros",
55
64
  "ok": "OK",
56
- "add": "Adicionar"
65
+ "add": "Adicionar",
66
+ "search": "Buscar...",
67
+ "success": "Sucesso",
68
+ "error": "Erro"
57
69
  },
58
70
  "editor": {
59
- "invalid-file-content": "Invalid file content",
60
- "welcome-back": "Welcome back!",
61
- "please-log-in-to-run-a-scenario": "Please log in to run a scenario",
62
- "execution-done": "Execution done",
63
- "your-project-has-been-executed-successfully": "Your project has been executed successfully",
64
- "execution-failed": "Execution failed",
65
- "project-has-encountered-an-error": "Project has encountered an error:",
66
- "project-saved": "Project saved",
67
- "your-project-has-be-saved-successfully": "Your project has be saved successfully"
71
+ "invalid-file-content": "Conteúdo do arquivo inválido",
72
+ "welcome-back": "Bem-vindo de volta!",
73
+ "please-log-in-to-run-a-pipeline": "Por favor, faça login para executar esta pipeline.",
74
+ "execution-done": "Execução concluída com sucesso",
75
+ "your-project-has-been-executed-successfully": "Sua pipeline foi executada e concluída com sucesso.",
76
+ "execution-failed": "Falha na execução",
77
+ "project-has-encountered-an-error": "A pipeline encontrou um erro:",
78
+ "project-saved": "Pipeline salva",
79
+ "your-project-has-be-saved-successfully": "Sua pipeline foi salva com sucesso.",
80
+ "view-history": "Histórico",
81
+ "add-plugin": "Adicionar extensão",
82
+ "display-advanced-nodes": "Exibir blocos avançados",
83
+ "project-settings": "Ajustes da pipeline",
84
+ "jit-loading-title": "Preparando extensões",
85
+ "jit-loading-subtitle": "Aguarde enquanto o Pipelab baixa e configura as extensões necessárias para esta pipeline.",
86
+ "jit-loading-status": "Baixando e configurando pacotes de extensões...",
87
+ "validation-failed": "Falha na validação",
88
+ "validation-plugin-disabled-or-missing": "O bloco \"{nodeName}\" requer a extensão \"{pluginId}\", que não está instalada ou ativada.",
89
+ "validation-missing-param": "Por favor, configure o campo obrigatório \"{paramName}\" no bloco \"{nodeName}\"."
68
90
  },
69
91
  "home": {
70
- "invalid-preset": "Invalid preset",
71
- "store-project-on-the-cloud": "Store project on the cloud",
72
- "cloud": "Cloud",
73
- "store-project-locally": "Store project locally",
92
+ "invalid-preset": "Modelo inválido",
93
+ "store-project-on-the-cloud": "Salvar projeto na nuvem",
94
+ "cloud": "Nuvem",
95
+ "store-project-locally": "Salvar projeto localmente",
74
96
  "local": "Local",
75
- "invalid-number-of-paths-selected": "Invalid number of paths selected",
76
- "pipelab-project": "Pipelab Project",
77
- "choose-a-new-path": "Choose a new path",
78
- "invalid-file-type": "Invalid file type",
79
- "create-project": "Create project",
80
- "duplicate-project": "Duplicate project",
81
- "project-name": "Project Name",
82
- "new-project": "New Project",
83
- "open": "Open",
84
- "your-projects": "Your projects",
85
- "no-projects-yet": "No projects yet"
97
+ "invalid-number-of-paths-selected": "Número de caminhos selecionado inválido",
98
+ "pipelab-project": "Projeto Pipelab",
99
+ "choose-a-new-path": "Escolha um novo caminho",
100
+ "invalid-file-type": "Tipo de arquivo inválido",
101
+ "create-project": "Criar Projeto",
102
+ "create-pipeline": "Criar Pipeline",
103
+ "duplicate-project": "Duplicar Projeto",
104
+ "duplicate-pipeline": "Duplicar Pipeline",
105
+ "project-name": "Nome do projeto",
106
+ "new-project": "Novo Projeto",
107
+ "new-pipeline": "Nova Pipeline",
108
+ "open": "Abrir",
109
+ "import": "Importar",
110
+ "pipeline-name": "Nome da pipeline",
111
+ "your-projects": "Seus projetos",
112
+ "no-projects-yet": "Nenhum projeto ainda",
113
+ "no-pipelines-yet": "Nenhuma pipeline ainda",
114
+ "delete-project": "Excluir Projeto",
115
+ "confirm-delete-project": "Tem certeza de que deseja excluir este projeto? Esta ação não pode ser desfeita.",
116
+ "cannot-delete-project": "Não é possível excluir o projeto",
117
+ "project-not-empty": "Este projeto contém pipelines. Por favor, exclua-os primeiro.",
118
+ "transfer": "Transferir",
119
+ "transfer-successful": "Transferência bem-sucedida",
120
+ "pipeline-transferred": "Pipeline transferida com sucesso",
121
+ "select-project": "Selecionar Projeto",
122
+ "build-history": "Histórico de execuções",
123
+ "duplicate": "Duplicar",
124
+ "rename-project": "Renomear Projeto",
125
+ "new-project-name": "Novo nome do projeto",
126
+ "premium-feature": "Este é um recurso premium",
127
+ "migrate-warning": "Este formato de arquivo em prazo curto será descontinuado. Por favor, migre-o para o novo armazenamento local do aplicativo.",
128
+ "simple-pipeline": "Pipeline básica",
129
+ "advanced-pipeline": "Pipeline avançada",
130
+ "new-simple-project": "Novo projeto simples",
131
+ "new-advanced-project": "Novo projeto avançado",
132
+ "store-project-internally": "Salvar projeto localmente",
133
+ "internal": "Interno",
134
+ "confirm-migration-message": "Tem certeza de que deseja mover esta pipeline para o armazenamento local do aplicativo? O Pipelab gerenciará esta pipeline internamente.",
135
+ "migrate-pipeline": "Migrar Pipeline",
136
+ "migration-success": "Pipeline migrada com sucesso",
137
+ "migrate-to-internal": "Mover para o espaço de trabalho",
138
+ "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.",
139
+ "import-pipeline": "Importar Pipeline",
140
+ "import-from-stable": "Importar do Stable...",
141
+ "import-pipeline-file": "Importar arquivo de pipeline (.pipelab)...",
142
+ "import-success": "Pipeline importada com sucesso",
143
+ "failed-to-read-file": "Falha ao ler o arquivo selecionado",
144
+ "export-pipeline": "Exportar pipeline...",
145
+ "export-success": "Pipeline exportado com sucesso",
146
+ "export-failed": "Falha ao exportar pipeline"
86
147
  },
87
- "scenarios": {
88
- "scenarios": "Scenarios"
148
+ "pipelines": {
149
+ "title": "@:headers.pipelines"
150
+ },
151
+ "tour": {
152
+ "start-tour": "Iniciar guia",
153
+ "projects-list-title": "Navegador de projetos",
154
+ "projects-list-description": "Esta barra lateral mostra seus projetos. Ao selecionar um, suas pipelines serão exibidas na área principal.",
155
+ "add-project-title": "Criar novo projeto",
156
+ "add-project-description": "Os projetos organizam suas pipelines por tópico ou cliente. Clique aqui para criar um novo projeto.",
157
+ "new-pipeline-title": "Criar uma pipeline",
158
+ "new-pipeline-description": "Pronto para automatizar? Crie uma nova pipeline para começar a adicionar ações e lógica.",
159
+ "project-actions-title": "Gerenciamento de projetos",
160
+ "project-actions-description": "Use estes botões para renomear ou excluir o projeto selecionado.",
161
+ "editor-canvas-title": "O painel visual",
162
+ "editor-canvas-description": "Este é o seu painel. Arraste e solte blocos de ação aqui para construir seu fluxo.",
163
+ "editor-save-title": "Salvar progresso",
164
+ "editor-save-description": "Mantenha suas alterações seguras. Recomendamos salvar sua pipeline frequentemente.",
165
+ "editor-run-title": "Testar pipeline",
166
+ "editor-run-description": "Clique em Executar para testar sua pipeline. O Pipelab executará cada bloco em tempo real.",
167
+ "editor-logs-title": "Registros de execução",
168
+ "editor-logs-description": "O painel de registros exibe as etapas de execução em tempo real, ajudando você a monitorar e depurar.",
169
+ "editor-close-title": "Fechar editor",
170
+ "editor-close-description": "Terminou por agora? Volte para o painel principal para gerenciar outros projetos e pipelines."
89
171
  }
90
172
  }
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "settings": {
3
- "darkTheme": "Dark theme",
4
- "language": "Language",
3
+ "darkTheme": "深色主题",
4
+ "autosave": "自动保存",
5
+ "autosaveDescription": "自动保存流水线修改,省心省力。",
6
+ "language": "语言",
5
7
  "languageOptions": {
6
8
  "en-US": "English",
7
9
  "fr-FR": "French",
@@ -11,38 +13,45 @@
11
13
  "de-DE": "German"
12
14
  },
13
15
  "tabs": {
14
- "general": "General",
15
- "storage": "Storage",
16
- "integrations": "Integrations",
17
- "advanced": "Advanced",
18
- "billing": "Billing",
19
- "plugins": "Plugins",
16
+ "general": "常规",
17
+ "storage": "存储",
18
+ "integrations": "集成",
19
+ "advanced": "高级",
20
+ "billing": "计费",
21
+ "plugins": "插件",
20
22
  "core-plugins": "核心插件",
21
23
  "community-plugins": "社区插件",
22
24
  "versions": "版本"
23
25
  },
24
- "clearTempFolders": "Automatically clean up temporary files",
25
- "clearTempFoldersDescription": "When enabled, all temporary files created during pipeline execution will be automatically deleted after the pipeline completes. This helps save disk space but you may need to copy artifacts yourself to preserve them.",
26
- "pipeline-cache-folder": "Pipeline Cache Folder:",
27
- "enter-or-browse-for-a-folder": "Enter or browse for a folder",
28
- "browse": "Browse",
29
- "manage-where-the-app-stores-temporary-and-cache-files": "Manage where the app stores temporary and cache files.",
30
- "clear-cache": "Clear cache",
31
- "reset-to-default": "Reset to default",
32
- "manage-subscription": "Manage Subscription",
33
- "renewal-date": "Renewal Date",
34
- "start-date": "Start Date:",
35
- "cache-cleared-successfully": "Cache cleared successfully",
36
- "failed-to-clear-cache-error-message": "Failed to clear cache: {0}",
37
- "failed-to-reset-cache-folder-error-message": "Failed to reset cache folder: {0}",
38
- "select-cache-folder": "Select Cache Folder"
26
+ "pipeline-cache-folder": "流水线缓存文件夹:",
27
+ "enter-or-browse-for-a-folder": "输入或浏览选择文件夹",
28
+ "browse": "浏览",
29
+ "manage-where-the-app-stores-temporary-and-cache-files": "配置用于存储临时文件和应用程序缓存的本地目录。",
30
+ "clear-cache": "清除缓存",
31
+ "reset-to-default": "恢复默认",
32
+ "manage-subscription": "管理订阅",
33
+ "renewal-date": "续订日期",
34
+ "start-date": "开始日期:",
35
+ "cache-cleared-successfully": "缓存清除成功",
36
+ "failed-to-clear-cache-error-message": "清除缓存失败: {0}",
37
+ "failed-to-reset-cache-folder-error-message": "重置缓存文件夹失败: {0}",
38
+ "select-cache-folder": "选择缓存文件夹",
39
+ "restart-dashboard-tour": "重置仪表盘指南",
40
+ "restart-editor-tour": "重置编辑器指南",
41
+ "tour-reset-success": "帮助指南已重置。将在您下次访问时重新显示。",
42
+ "storage-pipelab": "Pipelab",
43
+ "storage-other": "其他应用",
44
+ "storage-free": "空闲空间",
45
+ "disk-usage": "磁盘使用情况",
46
+ "free": "空闲",
47
+ "other": "其他"
39
48
  },
40
49
  "headers": {
41
- "dashboard": "Dashboard",
42
- "scenarios": "Scenarios",
43
- "editor": "Editor",
44
- "billing": "Billing",
45
- "team": "Team"
50
+ "dashboard": "仪表盘",
51
+ "pipelines": "流水线",
52
+ "editor": "编辑器",
53
+ "billing": "@:settings.tabs.billing",
54
+ "team": "团队"
46
55
  },
47
56
  "base": {
48
57
  "close": "关闭",
@@ -53,38 +62,111 @@
53
62
  "delete": "删除",
54
63
  "logs": "日志",
55
64
  "ok": "确定",
56
- "add": "添加"
65
+ "add": "添加",
66
+ "search": "搜索...",
67
+ "success": "成功",
68
+ "error": "错误"
57
69
  },
58
70
  "editor": {
59
- "invalid-file-content": "Invalid file content",
60
- "welcome-back": "Welcome back!",
61
- "please-log-in-to-run-a-scenario": "Please log in to run a scenario",
62
- "execution-done": "Execution done",
63
- "your-project-has-been-executed-successfully": "Your project has been executed successfully",
64
- "execution-failed": "Execution failed",
65
- "project-has-encountered-an-error": "Project has encountered an error:",
66
- "project-saved": "Project saved",
67
- "your-project-has-be-saved-successfully": "Your project has be saved successfully"
71
+ "invalid-file-content": "无效的文件内容",
72
+ "welcome-back": "欢迎回来!",
73
+ "please-log-in-to-run-a-pipeline": "请登录后运行此流水线。",
74
+ "execution-done": "运行成功完成",
75
+ "your-project-has-been-executed-successfully": "您的流水线已成功运行完成。",
76
+ "execution-failed": "运行失败",
77
+ "project-has-encountered-an-error": "流水线遇到错误:",
78
+ "project-saved": "流水线已保存",
79
+ "your-project-has-be-saved-successfully": "您的流水线已成功保存。",
80
+ "view-history": "历史记录",
81
+ "add-plugin": "添加插件",
82
+ "display-advanced-nodes": "显示高级节点",
83
+ "project-settings": "流水线设置",
84
+ "jit-loading-title": "正在准备插件",
85
+ "jit-loading-subtitle": "请稍候,Pipelab 正在下载并配置此流水线所需的插件。",
86
+ "jit-loading-status": "正在下载并安装插件包...",
87
+ "validation-failed": "验证失败",
88
+ "validation-plugin-disabled-or-missing": "节点 \"{nodeName}\" 需要插件 \"{pluginId}\",该插件目前未安装或未启用。",
89
+ "validation-missing-param": "请配置节点 \"{nodeName}\" 中的必填字段 \"{paramName}\"。"
68
90
  },
69
91
  "home": {
70
- "invalid-preset": "Invalid preset",
71
- "store-project-on-the-cloud": "Store project on the cloud",
72
- "cloud": "Cloud",
73
- "store-project-locally": "Store project locally",
74
- "local": "Local",
75
- "invalid-number-of-paths-selected": "Invalid number of paths selected",
76
- "pipelab-project": "Pipelab Project",
77
- "choose-a-new-path": "Choose a new path",
78
- "invalid-file-type": "Invalid file type",
79
- "create-project": "Create project",
80
- "duplicate-project": "Duplicate project",
81
- "project-name": "Project Name",
82
- "new-project": "New Project",
83
- "open": "Open",
84
- "your-projects": "Your projects",
85
- "no-projects-yet": "No projects yet"
92
+ "invalid-preset": "无效的预设",
93
+ "store-project-on-the-cloud": "保存项目到云端",
94
+ "cloud": "云端",
95
+ "store-project-locally": "本地保存项目",
96
+ "local": "本地",
97
+ "invalid-number-of-paths-selected": "选择的路径数量无效",
98
+ "pipelab-project": "Pipelab 项目",
99
+ "choose-a-new-path": "选择新路径",
100
+ "invalid-file-type": "无效的文件类型",
101
+ "create-project": "创建项目",
102
+ "create-pipeline": "创建流水线",
103
+ "duplicate-project": "复制项目",
104
+ "duplicate-pipeline": "复制流水线",
105
+ "project-name": "项目名称",
106
+ "new-project": "新建项目",
107
+ "new-pipeline": "新建流水线",
108
+ "open": "打开",
109
+ "import": "导入",
110
+ "pipeline-name": "流水线名称",
111
+ "your-projects": "您的项目",
112
+ "no-projects-yet": "暂无项目",
113
+ "no-pipelines-yet": "暂无流水线",
114
+ "delete-project": "删除项目",
115
+ "confirm-delete-project": "您确定要删除此项目吗?此操作无法撤销。",
116
+ "cannot-delete-project": "无法删除项目",
117
+ "project-not-empty": "此项目包含流水线。请先删除它们。",
118
+ "transfer": "转移",
119
+ "transfer-successful": "转移成功",
120
+ "pipeline-transferred": "流水线已成功转移",
121
+ "select-project": "选择项目",
122
+ "build-history": "运行历史",
123
+ "duplicate": "复制",
124
+ "rename-project": "重命名项目",
125
+ "new-project-name": "新项目名称",
126
+ "premium-feature": "这是高级会员功能",
127
+ "migrate-warning": "此文件格式即将被弃用。请将其迁移到新的本地工作区存储。",
128
+ "simple-pipeline": "基础流水线",
129
+ "advanced-pipeline": "高级流水线",
130
+ "new-simple-project": "新建简单项目",
131
+ "new-advanced-project": "新建高级项目",
132
+ "store-project-internally": "本地保存项目",
133
+ "internal": "内部",
134
+ "confirm-migration-message": "您确定要将此流水线移动到本地工作区存储吗?Pipelab 将在内部管理此流水线。",
135
+ "migrate-pipeline": "迁移流水线",
136
+ "migration-success": "流水线已成功迁移",
137
+ "migrate-to-internal": "移动到工作区",
138
+ "only-internal-supported-notice": "Pipelab 现在管理应用工作区内的所有流水线。外部文件已被弃用,但仍可以导入。",
139
+ "import-pipeline": "导入流水线",
140
+ "import-from-stable": "从 Stable 导入...",
141
+ "import-pipeline-file": "导入管道文件 (.pipelab)...",
142
+ "import-success": "流水线已成功导入",
143
+ "failed-to-read-file": "读取所选文件失败",
144
+ "export-pipeline": "导出流水线...",
145
+ "export-success": "流水线导出成功",
146
+ "export-failed": "导出流水线失败"
86
147
  },
87
- "scenarios": {
88
- "scenarios": "Scenarios"
148
+ "pipelines": {
149
+ "title": "@:headers.pipelines"
150
+ },
151
+ "tour": {
152
+ "start-tour": "开始向导",
153
+ "projects-list-title": "项目导航器",
154
+ "projects-list-description": "此侧边栏列出您的项目。选择一个项目将在主区域显示其包含的流水线。",
155
+ "add-project-title": "创建新项目",
156
+ "add-project-description": "项目可以按主题或客户组织您的流水线。点击这里开始一个新项目。",
157
+ "new-pipeline-title": "创建流水线",
158
+ "new-pipeline-description": "准备好自动化了吗?创建一个新流水线开始添加操作和逻辑。",
159
+ "project-actions-title": "项目管理",
160
+ "project-actions-description": "使用这些按钮重命名或删除当前选择的项目。",
161
+ "editor-canvas-title": "可视化画布",
162
+ "editor-canvas-description": "这是您的画布。拖放操作块到这里以构建您的自动化流程。",
163
+ "editor-save-title": "保存进度",
164
+ "editor-save-description": "确保您的更改已安全保存。我们建议您经常保存流水线。",
165
+ "editor-run-title": "测试流水线",
166
+ "editor-run-description": "点击“运行”测试流水线。Pipelab 将实时执行每个步骤。",
167
+ "editor-logs-title": "运行日志",
168
+ "editor-logs-description": "日志面板实时显示执行步骤,帮助您监控和调试。",
169
+ "editor-close-title": "关闭编辑器",
170
+ "editor-close-description": "今天的工作完成了吗?返回仪表盘以管理其他项目和流水线。"
89
171
  }
90
172
  }
package/src/index.ts CHANGED
@@ -28,11 +28,12 @@ export type { IpcDefinition as RendererIpcDefinition } from "./ipc.types";
28
28
  export type { RequestId } from "./apis";
29
29
  export type { RequestId as RendererRequestId } from "./ipc.types";
30
30
  export type { NodeId } from "./model";
31
- export type { FileRepo, FileRepoV1, FileRepoV2 } from "./config/projects-definition";
31
+ export type { FileRepo, FileRepoV1, FileRepoV2, FileRepoV3 } from "./config/projects-definition";
32
32
  export {
33
33
  FileRepoValidator,
34
34
  FileRepoValidatorV1,
35
35
  FileRepoValidatorV2,
36
+ FileRepoValidatorV3,
36
37
  FileRepoProjectValidatorV2,
37
38
  } from "./config/projects-definition";
38
39
 
@@ -64,7 +65,6 @@ export * from "./websocket.types";
64
65
  export * from "./config/projects-definition"; // <-- RE-ADDED
65
66
  export * from "./config/settings-definition"; // <-- RE-ADDED
66
67
  export * from "./config/connections-definition";
67
- export * from "./config/projects-types";
68
68
 
69
69
  // NOTE: We avoid "export * from './config'" to prevent nested re-export circles.
70
70
  // All necessary members from the config subfolder are explicitly exported above.
package/src/model.test.ts CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  fileRepoMigrations,
8
8
  connectionsMigrator,
9
9
  } from "./config/migrators";
10
- import { AppConfigV6, AppConfigV8 } from "./config.schema";
10
+ import { AppConfigV6, AppConfigV7 } from "./config.schema";
11
11
 
12
12
  describe("model", () => {
13
13
  it("should migrate 1.0.0 to 2.0.0", async () => {
@@ -326,7 +326,7 @@ describe("model", () => {
326
326
  } satisfies SavedFileV5);
327
327
  });
328
328
 
329
- it("should migrate AppConfigV6 to AppConfigV8", async () => {
329
+ it("should migrate AppConfigV6 to AppConfigV7", async () => {
330
330
  const v6: AppConfigV6 = {
331
331
  version: "6.0.0",
332
332
  theme: "dark",
@@ -340,10 +340,10 @@ describe("model", () => {
340
340
  autosave: false,
341
341
  };
342
342
 
343
- const v8 = await appSettingsMigrator.migrate(v6, { target: "8.0.0" });
343
+ const v7 = await appSettingsMigrator.migrate(v6, { target: "7.0.0" });
344
344
 
345
- expect(v8).toStrictEqual({
346
- version: "8.0.0",
345
+ expect(v7).toStrictEqual({
346
+ version: "7.0.0",
347
347
  theme: "dark",
348
348
  locale: "fr-FR",
349
349
  tours: {
@@ -352,15 +352,8 @@ describe("model", () => {
352
352
  },
353
353
  autosave: false,
354
354
  agents: [],
355
- buildHistory: {
356
- retentionPolicy: {
357
- enabled: false,
358
- maxEntries: 50,
359
- maxAge: 30,
360
- },
361
- },
362
355
  plugins: expect.any(Array),
363
- isInternalMigrationBannerClosed: false,
356
+ cacheFolder: "/some/path",
364
357
  });
365
358
  });
366
359
 
@@ -390,7 +383,7 @@ describe("model", () => {
390
383
  });
391
384
 
392
385
  describe("fileRepoMigrations", () => {
393
- it("should migrate FileRepoV1 (data record) to FileRepoV2 (pipelines array)", async () => {
386
+ it("should migrate FileRepoV1 (data record) to FileRepoV3 (pipelines array)", async () => {
394
387
  const v1 = {
395
388
  version: "1.0.0" as const,
396
389
  data: {
@@ -414,10 +407,10 @@ describe("model", () => {
414
407
  },
415
408
  };
416
409
 
417
- const v2 = await fileRepoMigrations.migrate(v1, { target: "2.0.0" });
410
+ const v3 = await fileRepoMigrations.migrate(v1, { target: "3.0.0" });
418
411
 
419
- expect(v2).toStrictEqual({
420
- version: "2.0.0",
412
+ expect(v3).toStrictEqual({
413
+ version: "3.0.0",
421
414
  data: v1.data,
422
415
  projects: [
423
416
  {
@@ -456,8 +449,8 @@ describe("model", () => {
456
449
  data: null,
457
450
  };
458
451
 
459
- const result = await fileRepoMigrations.migrate(corrupted, { target: "2.0.0" });
460
- expect(result.version).toBe("2.0.0");
452
+ const result = await fileRepoMigrations.migrate(corrupted, { target: "3.0.0" });
453
+ expect(result.version).toBe("3.0.0");
461
454
  expect(result.projects).toHaveLength(1);
462
455
  expect(result.pipelines).toEqual([]);
463
456
  });