@n8n/i18n 1.22.0 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7729 -3804
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +89 -11
- package/dist/index.d.ts +89 -11
- package/dist/index.js +7727 -3800
- package/dist/index.js.map +1 -1
- package/dist/{types-j8rdQ8e5.d.ts → types-CvlTqtF_.d.cts} +90 -12
- package/dist/{types-wNLLPlzG.d.cts → types-Gzyvgd4l.d.ts} +90 -12
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.js +0 -1
- package/dist/{utils-h8Z6_NUG.js → utils-BJm12gqs.js} +10 -4
- package/dist/utils-BJm12gqs.js.map +1 -0
- package/dist/{utils-CmS9ahSc.cjs → utils-p9ioSiTo.cjs} +9 -3
- package/dist/utils-p9ioSiTo.cjs.map +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +4 -4
- package/dist/utils-CmS9ahSc.cjs.map +0 -1
- package/dist/utils-h8Z6_NUG.js.map +0 -1
|
@@ -41,8 +41,11 @@ declare const _exports: {
|
|
|
41
41
|
"generic.annotations": string;
|
|
42
42
|
"generic.annotationData": string;
|
|
43
43
|
"generic.any": string;
|
|
44
|
+
"generic.allow": string;
|
|
45
|
+
"generic.deny": string;
|
|
44
46
|
"generic.cancel": string;
|
|
45
47
|
"generic.open": string;
|
|
48
|
+
"generic.openResource": string;
|
|
46
49
|
"generic.add": string;
|
|
47
50
|
"generic.close": string;
|
|
48
51
|
"generic.clear": string;
|
|
@@ -57,6 +60,7 @@ declare const _exports: {
|
|
|
57
60
|
"generic.fields": string;
|
|
58
61
|
"generic.folderCount": string;
|
|
59
62
|
"generic.folder": string;
|
|
63
|
+
"generic.keepBuilding": string;
|
|
60
64
|
"generic.learnMore": string;
|
|
61
65
|
"generic.reset": string;
|
|
62
66
|
"generic.resetAllFilters": string;
|
|
@@ -72,6 +76,7 @@ declare const _exports: {
|
|
|
72
76
|
"generic.tag_plural": string;
|
|
73
77
|
"generic.tag": string;
|
|
74
78
|
"generic.tests": string;
|
|
79
|
+
"generic.templates": string;
|
|
75
80
|
"generic.optional": string;
|
|
76
81
|
"generic.or": string;
|
|
77
82
|
"generic.clickToCopy": string;
|
|
@@ -93,6 +98,7 @@ declare const _exports: {
|
|
|
93
98
|
"generic.dismiss": string;
|
|
94
99
|
"generic.saving": string;
|
|
95
100
|
"generic.name": string;
|
|
101
|
+
"generic.description": string;
|
|
96
102
|
"generic.unsavedWork.confirmMessage.headline": string;
|
|
97
103
|
"generic.unsavedWork.confirmMessage.message": string;
|
|
98
104
|
"generic.unsavedWork.confirmMessage.confirmButtonText": string;
|
|
@@ -291,6 +297,33 @@ declare const _exports: {
|
|
|
291
297
|
"chat.window.session.id.copy": string;
|
|
292
298
|
"chat.window.session.reset": string;
|
|
293
299
|
"chat.window.session.resetSession": string;
|
|
300
|
+
"chatHub.agent.customAgents": string;
|
|
301
|
+
"chatHub.agent.newAgent": string;
|
|
302
|
+
"chatHub.agent.editor.title.new": string;
|
|
303
|
+
"chatHub.agent.editor.title.edit": string;
|
|
304
|
+
"chatHub.agent.editor.name.label": string;
|
|
305
|
+
"chatHub.agent.editor.name.placeholder": string;
|
|
306
|
+
"chatHub.agent.editor.description.label": string;
|
|
307
|
+
"chatHub.agent.editor.description.placeholder": string;
|
|
308
|
+
"chatHub.agent.editor.systemPrompt.label": string;
|
|
309
|
+
"chatHub.agent.editor.systemPrompt.placeholder": string;
|
|
310
|
+
"chatHub.agent.editor.model.label": string;
|
|
311
|
+
"chatHub.agent.editor.loading": string;
|
|
312
|
+
"chatHub.agent.editor.saving": string;
|
|
313
|
+
"chatHub.agent.editor.save": string;
|
|
314
|
+
"chatHub.agent.editor.cancel": string;
|
|
315
|
+
"chatHub.agent.editor.delete": string;
|
|
316
|
+
"chatHub.agent.editor.deleting": string;
|
|
317
|
+
"chatHub.agent.editor.delete.confirm.title": string;
|
|
318
|
+
"chatHub.agent.editor.delete.confirm.message": string;
|
|
319
|
+
"chatHub.agent.editor.delete.confirm.button": string;
|
|
320
|
+
"chatHub.agent.editor.delete.cancel.button": string;
|
|
321
|
+
"chatHub.agent.editor.error.load": string;
|
|
322
|
+
"chatHub.agent.editor.error.save": string;
|
|
323
|
+
"chatHub.agent.editor.error.delete": string;
|
|
324
|
+
"chatHub.agent.editor.success.create": string;
|
|
325
|
+
"chatHub.agent.editor.success.update": string;
|
|
326
|
+
"chatHub.agent.editor.success.delete": string;
|
|
294
327
|
"chatEmbed.infoTip.description": string;
|
|
295
328
|
"chatEmbed.infoTip.link": string;
|
|
296
329
|
"chatEmbed.title": string;
|
|
@@ -782,6 +815,7 @@ declare const _exports: {
|
|
|
782
815
|
"experiments.personalizedTemplatesV3.loadingTemplates": string;
|
|
783
816
|
"experiments.personalizedTemplatesV3.recommendationTooltip": string;
|
|
784
817
|
"experiments.personalizedTemplatesV3.recommendedForYou": string;
|
|
818
|
+
"experiments.templatesDataQuality.modalTitle": string;
|
|
785
819
|
error: string;
|
|
786
820
|
"error.goBack": string;
|
|
787
821
|
"error.pageNotFound": string;
|
|
@@ -1037,6 +1071,11 @@ declare const _exports: {
|
|
|
1037
1071
|
"folder.delete.modal.confirmation": string;
|
|
1038
1072
|
"folder.count": string;
|
|
1039
1073
|
"workflow.count": string;
|
|
1074
|
+
"workflow.description.tooltip": string;
|
|
1075
|
+
"workflow.description.placeholder": string;
|
|
1076
|
+
"workflow.description.placeholder.mcp": string;
|
|
1077
|
+
"workflow.description.placeholder.mcp.webhook": string;
|
|
1078
|
+
"workflow.description.error.title": string;
|
|
1040
1079
|
"folder.and.workflow.separator": string;
|
|
1041
1080
|
"folders.delete.action": string;
|
|
1042
1081
|
"folders.delete.error.message": string;
|
|
@@ -1153,7 +1192,6 @@ declare const _exports: {
|
|
|
1153
1192
|
"mainSidebar.showMessage.handleArchive.title": string;
|
|
1154
1193
|
"mainSidebar.showMessage.handleUnarchive.title": string;
|
|
1155
1194
|
"mainSidebar.showMessage.stopExecution.title": string;
|
|
1156
|
-
"mainSidebar.templates": string;
|
|
1157
1195
|
"mainSidebar.workflows": string;
|
|
1158
1196
|
"mainSidebar.workflows.readOnlyEnv.tooltip": string;
|
|
1159
1197
|
"mainSidebar.workflows.readOnlyEnv.tooltip.link": string;
|
|
@@ -1162,6 +1200,7 @@ declare const _exports: {
|
|
|
1162
1200
|
"mainSidebar.whatsNew": string;
|
|
1163
1201
|
"mainSidebar.whatsNew.fullChangelog": string;
|
|
1164
1202
|
"mcp.workflowNotEligable.description": string;
|
|
1203
|
+
"mcp.instanceLevelAccessDisabled.description": string;
|
|
1165
1204
|
"mcp.workflowDeactivated.title": string;
|
|
1166
1205
|
"mcp.productionCheklist.title": string;
|
|
1167
1206
|
"mcp.productionCheklist.description": string;
|
|
@@ -1273,6 +1312,7 @@ declare const _exports: {
|
|
|
1273
1312
|
"ndv.output.tooMuchData.message": string;
|
|
1274
1313
|
"ndv.output.tooMuchData.showDataAnyway": string;
|
|
1275
1314
|
"ndv.output.tooMuchData.title": string;
|
|
1315
|
+
"ndv.output.logs.tooMuchData.message": string;
|
|
1276
1316
|
"ndv.output.waitingToRun": string;
|
|
1277
1317
|
"ndv.output.noToolUsedInfo": string;
|
|
1278
1318
|
"ndv.title.cancel": string;
|
|
@@ -1715,6 +1755,17 @@ declare const _exports: {
|
|
|
1715
1755
|
"nodeWebhooks.webhookUrls.mcpTrigger": string;
|
|
1716
1756
|
"openWorkflow.workflowImportError": string;
|
|
1717
1757
|
"openWorkflow.workflowNotFoundError": string;
|
|
1758
|
+
"oauth.consentView.title": string;
|
|
1759
|
+
"oauth.consentView.heading": string;
|
|
1760
|
+
"oauth.consentView.description": string;
|
|
1761
|
+
"oauth.consentView.action.listWorkflows": string;
|
|
1762
|
+
"oauth.consentView.action.workflowDetails": string;
|
|
1763
|
+
"oauth.consentView.readMore": string;
|
|
1764
|
+
"oauth.consentView.error.deny": string;
|
|
1765
|
+
"oauth.consentView.error.allow": string;
|
|
1766
|
+
"oauth.consentView.error.fetchDetails": string;
|
|
1767
|
+
"oauth.consentView.success.title": string;
|
|
1768
|
+
"oauth.consentView.success.description": string;
|
|
1718
1769
|
"parameterInput.expressionResult": string;
|
|
1719
1770
|
"parameterInput.tip": string;
|
|
1720
1771
|
"parameterInput.dragTipBeforePill": string;
|
|
@@ -2146,6 +2197,8 @@ declare const _exports: {
|
|
|
2146
2197
|
"settings.mcp.empty.description": string;
|
|
2147
2198
|
"settings.mcp.toggle.disabled.tooltip": string;
|
|
2148
2199
|
"settings.mcp.toggle.error": string;
|
|
2200
|
+
"settings.mcp.instructions.tabs.oauth": string;
|
|
2201
|
+
"settings.mcp.instructions.tabs.apiKey": string;
|
|
2149
2202
|
"settings.mcp.instructions.enableAccess": string;
|
|
2150
2203
|
"settings.mcp.instructions.serverUrl": string;
|
|
2151
2204
|
"settings.mcp.instructions.apiKey.label": string;
|
|
@@ -2157,6 +2210,18 @@ declare const _exports: {
|
|
|
2157
2210
|
"settings.mcp.newKey.notice": string;
|
|
2158
2211
|
"settings.mcp.error.fetching.apiKey": string;
|
|
2159
2212
|
"settings.mcp.error.rotating.apiKey": string;
|
|
2213
|
+
"settings.mcp.error.fetching.oAuthClients": string;
|
|
2214
|
+
"settings.mcp.oAuthClients.heading": string;
|
|
2215
|
+
"settings.mcp.oAuthClients.table.clientName": string;
|
|
2216
|
+
"settings.mcp.oAuthClients.table.connectedAt": string;
|
|
2217
|
+
"settings.mcp.oAuthClients.table.lastUsedAt": string;
|
|
2218
|
+
"settings.mcp.oAuthClients.table.action.revokeAccess": string;
|
|
2219
|
+
"settings.mcp.oAuthClients.revoke.success.title": string;
|
|
2220
|
+
"settings.mcp.oAuthClients.revoke.success.message": string;
|
|
2221
|
+
"settings.mcp.oAuthClients.revoke.error": string;
|
|
2222
|
+
"settings.mcp.oAuthClients.table.empty.title": string;
|
|
2223
|
+
"settings.mcp.refresh.tooltip": string;
|
|
2224
|
+
"settings.mcp.workflowsTable.workflow": string;
|
|
2160
2225
|
"settings.goBack": string;
|
|
2161
2226
|
"settings.personal": string;
|
|
2162
2227
|
"settings.personal.basicInformation": string;
|
|
@@ -2362,6 +2427,12 @@ declare const _exports: {
|
|
|
2362
2427
|
"settings.usageAndPlan.license.activation.error.title": string;
|
|
2363
2428
|
"settings.usageAndPlan.license.activation.success.title": string;
|
|
2364
2429
|
"settings.usageAndPlan.license.activation.success.message": string;
|
|
2430
|
+
"settings.usageAndPlan.dialog.eula.title": string;
|
|
2431
|
+
"settings.usageAndPlan.dialog.eula.description": string;
|
|
2432
|
+
"settings.usageAndPlan.dialog.eula.checkbox.label": string;
|
|
2433
|
+
"settings.usageAndPlan.dialog.eula.link.text": string;
|
|
2434
|
+
"settings.usageAndPlan.dialog.eula.button.accept": string;
|
|
2435
|
+
"settings.usageAndPlan.dialog.eula.button.cancel": string;
|
|
2365
2436
|
"settings.usageAndPlan.license.communityRegistered.tooltip": string;
|
|
2366
2437
|
"settings.provisioning.title": string;
|
|
2367
2438
|
"settings.provisioning.description": string;
|
|
@@ -2379,13 +2450,18 @@ declare const _exports: {
|
|
|
2379
2450
|
"settings.provisioning.scopesProjectsRolesClaimName": string;
|
|
2380
2451
|
"settings.provisioning.scopesProjectsRolesClaimName.placeholder": string;
|
|
2381
2452
|
"settings.provisioning.scopesProjectsRolesClaimName.help": string;
|
|
2382
|
-
"settings.provisioning.
|
|
2383
|
-
"settings.provisioning.
|
|
2384
|
-
"settings.
|
|
2385
|
-
"settings.
|
|
2386
|
-
"settings.
|
|
2387
|
-
"settings.
|
|
2388
|
-
"settings.
|
|
2453
|
+
"settings.provisioning.toggle": string;
|
|
2454
|
+
"settings.provisioning.toggle.help": string;
|
|
2455
|
+
"settings.provisioningConfirmDialog.title": string;
|
|
2456
|
+
"settings.provisioningConfirmDialog.breakingChangeDescription.firstLine": string;
|
|
2457
|
+
"settings.provisioningConfirmDialog.breakingChangeDescription.list.one": string;
|
|
2458
|
+
"settings.provisioningConfirmDialog.breakingChangeDescription.list.two": string;
|
|
2459
|
+
"settings.provisioningConfirmDialog.breakingChangeRequiredSteps": string;
|
|
2460
|
+
"settings.provisioningConfirmDialog.button.confirm": string;
|
|
2461
|
+
"settings.provisioningConfirmDialog.button.cancel": string;
|
|
2462
|
+
"settings.provisioningConfirmDialog.button.generateCsvExport": string;
|
|
2463
|
+
"settings.provisioningConfirmDialog.button.downloadProjectRolesCsv": string;
|
|
2464
|
+
"settings.provisioningConfirmDialog.button.downloadInstanceRolesCsv": string;
|
|
2389
2465
|
"settings.externalSecrets.title": string;
|
|
2390
2466
|
"settings.externalSecrets.info": string;
|
|
2391
2467
|
"settings.externalSecrets.info.link": string;
|
|
@@ -2904,6 +2980,8 @@ declare const _exports: {
|
|
|
2904
2980
|
"workflows.templateRecoV2.loadingTemplates": string;
|
|
2905
2981
|
"workflows.templateRecoV2.useTemplate": string;
|
|
2906
2982
|
"workflows.templateRecoV2.exploreTemplates": string;
|
|
2983
|
+
"workflows.templatesDataQuality.loadingTemplates": string;
|
|
2984
|
+
"workflows.templatesDataQuality.seeMoreTemplates": string;
|
|
2907
2985
|
"workflows.search.placeholder": string;
|
|
2908
2986
|
"workflows.filters": string;
|
|
2909
2987
|
"workflows.filters.tags": string;
|
|
@@ -3009,6 +3087,7 @@ declare const _exports: {
|
|
|
3009
3087
|
"variables.add.unavailable": string;
|
|
3010
3088
|
"variables.add.unavailable.empty": string;
|
|
3011
3089
|
"variables.add.onlyOwnerCanCreate": string;
|
|
3090
|
+
"variables.add.button.label": string;
|
|
3012
3091
|
"variables.empty.heading": string;
|
|
3013
3092
|
"variables.empty.heading.userNotSetup": string;
|
|
3014
3093
|
"variables.empty.description": string;
|
|
@@ -3109,7 +3188,6 @@ declare const _exports: {
|
|
|
3109
3188
|
"dataTable.addColumn.typeInput.label": string;
|
|
3110
3189
|
"dataTable.addColumn.error": string;
|
|
3111
3190
|
"dataTable.addColumn.alreadyExistsError": string;
|
|
3112
|
-
"dataTable.addColumn.alreadyExistsDescription": string;
|
|
3113
3191
|
"dataTable.moveColumn.error": string;
|
|
3114
3192
|
"dataTable.deleteColumn.error": string;
|
|
3115
3193
|
"dataTable.deleteColumn.confirm.title": string;
|
|
@@ -3139,6 +3217,7 @@ declare const _exports: {
|
|
|
3139
3217
|
"dataTable.filters.lessThan": string;
|
|
3140
3218
|
"dataTable.filters.lessThanOrEqual": string;
|
|
3141
3219
|
"dataTable.addColumn.systemColumnDescription": string;
|
|
3220
|
+
"dataTable.addColumn.alreadyExistsDescription": string;
|
|
3142
3221
|
"dataTable.addColumn.testingColumnDescription": string;
|
|
3143
3222
|
"settings.ldap": string;
|
|
3144
3223
|
"settings.ldap.note": string;
|
|
@@ -3738,7 +3817,6 @@ declare const _exports: {
|
|
|
3738
3817
|
"commandBar.sections.evaluation": string;
|
|
3739
3818
|
"commandBar.sections.demo": string;
|
|
3740
3819
|
"commandBar.sections.general": string;
|
|
3741
|
-
"commandBar.sections.templates": string;
|
|
3742
3820
|
"commandBar.templates.import": string;
|
|
3743
3821
|
"commandBar.templates.importWithPrefix": string;
|
|
3744
3822
|
"commandBar.nodes.addNode": string;
|
|
@@ -3814,5 +3892,5 @@ interface INodeTranslationHeaders {
|
|
|
3814
3892
|
};
|
|
3815
3893
|
}
|
|
3816
3894
|
//#endregion
|
|
3817
|
-
export {
|
|
3818
|
-
//# sourceMappingURL=types-
|
|
3895
|
+
export { BaseTextKey, GetBaseTextKey, INodeTranslationHeaders, LocaleMessages };
|
|
3896
|
+
//# sourceMappingURL=types-CvlTqtF_.d.cts.map
|
|
@@ -41,8 +41,11 @@ declare const _exports: {
|
|
|
41
41
|
"generic.annotations": string;
|
|
42
42
|
"generic.annotationData": string;
|
|
43
43
|
"generic.any": string;
|
|
44
|
+
"generic.allow": string;
|
|
45
|
+
"generic.deny": string;
|
|
44
46
|
"generic.cancel": string;
|
|
45
47
|
"generic.open": string;
|
|
48
|
+
"generic.openResource": string;
|
|
46
49
|
"generic.add": string;
|
|
47
50
|
"generic.close": string;
|
|
48
51
|
"generic.clear": string;
|
|
@@ -57,6 +60,7 @@ declare const _exports: {
|
|
|
57
60
|
"generic.fields": string;
|
|
58
61
|
"generic.folderCount": string;
|
|
59
62
|
"generic.folder": string;
|
|
63
|
+
"generic.keepBuilding": string;
|
|
60
64
|
"generic.learnMore": string;
|
|
61
65
|
"generic.reset": string;
|
|
62
66
|
"generic.resetAllFilters": string;
|
|
@@ -72,6 +76,7 @@ declare const _exports: {
|
|
|
72
76
|
"generic.tag_plural": string;
|
|
73
77
|
"generic.tag": string;
|
|
74
78
|
"generic.tests": string;
|
|
79
|
+
"generic.templates": string;
|
|
75
80
|
"generic.optional": string;
|
|
76
81
|
"generic.or": string;
|
|
77
82
|
"generic.clickToCopy": string;
|
|
@@ -93,6 +98,7 @@ declare const _exports: {
|
|
|
93
98
|
"generic.dismiss": string;
|
|
94
99
|
"generic.saving": string;
|
|
95
100
|
"generic.name": string;
|
|
101
|
+
"generic.description": string;
|
|
96
102
|
"generic.unsavedWork.confirmMessage.headline": string;
|
|
97
103
|
"generic.unsavedWork.confirmMessage.message": string;
|
|
98
104
|
"generic.unsavedWork.confirmMessage.confirmButtonText": string;
|
|
@@ -291,6 +297,33 @@ declare const _exports: {
|
|
|
291
297
|
"chat.window.session.id.copy": string;
|
|
292
298
|
"chat.window.session.reset": string;
|
|
293
299
|
"chat.window.session.resetSession": string;
|
|
300
|
+
"chatHub.agent.customAgents": string;
|
|
301
|
+
"chatHub.agent.newAgent": string;
|
|
302
|
+
"chatHub.agent.editor.title.new": string;
|
|
303
|
+
"chatHub.agent.editor.title.edit": string;
|
|
304
|
+
"chatHub.agent.editor.name.label": string;
|
|
305
|
+
"chatHub.agent.editor.name.placeholder": string;
|
|
306
|
+
"chatHub.agent.editor.description.label": string;
|
|
307
|
+
"chatHub.agent.editor.description.placeholder": string;
|
|
308
|
+
"chatHub.agent.editor.systemPrompt.label": string;
|
|
309
|
+
"chatHub.agent.editor.systemPrompt.placeholder": string;
|
|
310
|
+
"chatHub.agent.editor.model.label": string;
|
|
311
|
+
"chatHub.agent.editor.loading": string;
|
|
312
|
+
"chatHub.agent.editor.saving": string;
|
|
313
|
+
"chatHub.agent.editor.save": string;
|
|
314
|
+
"chatHub.agent.editor.cancel": string;
|
|
315
|
+
"chatHub.agent.editor.delete": string;
|
|
316
|
+
"chatHub.agent.editor.deleting": string;
|
|
317
|
+
"chatHub.agent.editor.delete.confirm.title": string;
|
|
318
|
+
"chatHub.agent.editor.delete.confirm.message": string;
|
|
319
|
+
"chatHub.agent.editor.delete.confirm.button": string;
|
|
320
|
+
"chatHub.agent.editor.delete.cancel.button": string;
|
|
321
|
+
"chatHub.agent.editor.error.load": string;
|
|
322
|
+
"chatHub.agent.editor.error.save": string;
|
|
323
|
+
"chatHub.agent.editor.error.delete": string;
|
|
324
|
+
"chatHub.agent.editor.success.create": string;
|
|
325
|
+
"chatHub.agent.editor.success.update": string;
|
|
326
|
+
"chatHub.agent.editor.success.delete": string;
|
|
294
327
|
"chatEmbed.infoTip.description": string;
|
|
295
328
|
"chatEmbed.infoTip.link": string;
|
|
296
329
|
"chatEmbed.title": string;
|
|
@@ -782,6 +815,7 @@ declare const _exports: {
|
|
|
782
815
|
"experiments.personalizedTemplatesV3.loadingTemplates": string;
|
|
783
816
|
"experiments.personalizedTemplatesV3.recommendationTooltip": string;
|
|
784
817
|
"experiments.personalizedTemplatesV3.recommendedForYou": string;
|
|
818
|
+
"experiments.templatesDataQuality.modalTitle": string;
|
|
785
819
|
error: string;
|
|
786
820
|
"error.goBack": string;
|
|
787
821
|
"error.pageNotFound": string;
|
|
@@ -1037,6 +1071,11 @@ declare const _exports: {
|
|
|
1037
1071
|
"folder.delete.modal.confirmation": string;
|
|
1038
1072
|
"folder.count": string;
|
|
1039
1073
|
"workflow.count": string;
|
|
1074
|
+
"workflow.description.tooltip": string;
|
|
1075
|
+
"workflow.description.placeholder": string;
|
|
1076
|
+
"workflow.description.placeholder.mcp": string;
|
|
1077
|
+
"workflow.description.placeholder.mcp.webhook": string;
|
|
1078
|
+
"workflow.description.error.title": string;
|
|
1040
1079
|
"folder.and.workflow.separator": string;
|
|
1041
1080
|
"folders.delete.action": string;
|
|
1042
1081
|
"folders.delete.error.message": string;
|
|
@@ -1153,7 +1192,6 @@ declare const _exports: {
|
|
|
1153
1192
|
"mainSidebar.showMessage.handleArchive.title": string;
|
|
1154
1193
|
"mainSidebar.showMessage.handleUnarchive.title": string;
|
|
1155
1194
|
"mainSidebar.showMessage.stopExecution.title": string;
|
|
1156
|
-
"mainSidebar.templates": string;
|
|
1157
1195
|
"mainSidebar.workflows": string;
|
|
1158
1196
|
"mainSidebar.workflows.readOnlyEnv.tooltip": string;
|
|
1159
1197
|
"mainSidebar.workflows.readOnlyEnv.tooltip.link": string;
|
|
@@ -1162,6 +1200,7 @@ declare const _exports: {
|
|
|
1162
1200
|
"mainSidebar.whatsNew": string;
|
|
1163
1201
|
"mainSidebar.whatsNew.fullChangelog": string;
|
|
1164
1202
|
"mcp.workflowNotEligable.description": string;
|
|
1203
|
+
"mcp.instanceLevelAccessDisabled.description": string;
|
|
1165
1204
|
"mcp.workflowDeactivated.title": string;
|
|
1166
1205
|
"mcp.productionCheklist.title": string;
|
|
1167
1206
|
"mcp.productionCheklist.description": string;
|
|
@@ -1273,6 +1312,7 @@ declare const _exports: {
|
|
|
1273
1312
|
"ndv.output.tooMuchData.message": string;
|
|
1274
1313
|
"ndv.output.tooMuchData.showDataAnyway": string;
|
|
1275
1314
|
"ndv.output.tooMuchData.title": string;
|
|
1315
|
+
"ndv.output.logs.tooMuchData.message": string;
|
|
1276
1316
|
"ndv.output.waitingToRun": string;
|
|
1277
1317
|
"ndv.output.noToolUsedInfo": string;
|
|
1278
1318
|
"ndv.title.cancel": string;
|
|
@@ -1715,6 +1755,17 @@ declare const _exports: {
|
|
|
1715
1755
|
"nodeWebhooks.webhookUrls.mcpTrigger": string;
|
|
1716
1756
|
"openWorkflow.workflowImportError": string;
|
|
1717
1757
|
"openWorkflow.workflowNotFoundError": string;
|
|
1758
|
+
"oauth.consentView.title": string;
|
|
1759
|
+
"oauth.consentView.heading": string;
|
|
1760
|
+
"oauth.consentView.description": string;
|
|
1761
|
+
"oauth.consentView.action.listWorkflows": string;
|
|
1762
|
+
"oauth.consentView.action.workflowDetails": string;
|
|
1763
|
+
"oauth.consentView.readMore": string;
|
|
1764
|
+
"oauth.consentView.error.deny": string;
|
|
1765
|
+
"oauth.consentView.error.allow": string;
|
|
1766
|
+
"oauth.consentView.error.fetchDetails": string;
|
|
1767
|
+
"oauth.consentView.success.title": string;
|
|
1768
|
+
"oauth.consentView.success.description": string;
|
|
1718
1769
|
"parameterInput.expressionResult": string;
|
|
1719
1770
|
"parameterInput.tip": string;
|
|
1720
1771
|
"parameterInput.dragTipBeforePill": string;
|
|
@@ -2146,6 +2197,8 @@ declare const _exports: {
|
|
|
2146
2197
|
"settings.mcp.empty.description": string;
|
|
2147
2198
|
"settings.mcp.toggle.disabled.tooltip": string;
|
|
2148
2199
|
"settings.mcp.toggle.error": string;
|
|
2200
|
+
"settings.mcp.instructions.tabs.oauth": string;
|
|
2201
|
+
"settings.mcp.instructions.tabs.apiKey": string;
|
|
2149
2202
|
"settings.mcp.instructions.enableAccess": string;
|
|
2150
2203
|
"settings.mcp.instructions.serverUrl": string;
|
|
2151
2204
|
"settings.mcp.instructions.apiKey.label": string;
|
|
@@ -2157,6 +2210,18 @@ declare const _exports: {
|
|
|
2157
2210
|
"settings.mcp.newKey.notice": string;
|
|
2158
2211
|
"settings.mcp.error.fetching.apiKey": string;
|
|
2159
2212
|
"settings.mcp.error.rotating.apiKey": string;
|
|
2213
|
+
"settings.mcp.error.fetching.oAuthClients": string;
|
|
2214
|
+
"settings.mcp.oAuthClients.heading": string;
|
|
2215
|
+
"settings.mcp.oAuthClients.table.clientName": string;
|
|
2216
|
+
"settings.mcp.oAuthClients.table.connectedAt": string;
|
|
2217
|
+
"settings.mcp.oAuthClients.table.lastUsedAt": string;
|
|
2218
|
+
"settings.mcp.oAuthClients.table.action.revokeAccess": string;
|
|
2219
|
+
"settings.mcp.oAuthClients.revoke.success.title": string;
|
|
2220
|
+
"settings.mcp.oAuthClients.revoke.success.message": string;
|
|
2221
|
+
"settings.mcp.oAuthClients.revoke.error": string;
|
|
2222
|
+
"settings.mcp.oAuthClients.table.empty.title": string;
|
|
2223
|
+
"settings.mcp.refresh.tooltip": string;
|
|
2224
|
+
"settings.mcp.workflowsTable.workflow": string;
|
|
2160
2225
|
"settings.goBack": string;
|
|
2161
2226
|
"settings.personal": string;
|
|
2162
2227
|
"settings.personal.basicInformation": string;
|
|
@@ -2362,6 +2427,12 @@ declare const _exports: {
|
|
|
2362
2427
|
"settings.usageAndPlan.license.activation.error.title": string;
|
|
2363
2428
|
"settings.usageAndPlan.license.activation.success.title": string;
|
|
2364
2429
|
"settings.usageAndPlan.license.activation.success.message": string;
|
|
2430
|
+
"settings.usageAndPlan.dialog.eula.title": string;
|
|
2431
|
+
"settings.usageAndPlan.dialog.eula.description": string;
|
|
2432
|
+
"settings.usageAndPlan.dialog.eula.checkbox.label": string;
|
|
2433
|
+
"settings.usageAndPlan.dialog.eula.link.text": string;
|
|
2434
|
+
"settings.usageAndPlan.dialog.eula.button.accept": string;
|
|
2435
|
+
"settings.usageAndPlan.dialog.eula.button.cancel": string;
|
|
2365
2436
|
"settings.usageAndPlan.license.communityRegistered.tooltip": string;
|
|
2366
2437
|
"settings.provisioning.title": string;
|
|
2367
2438
|
"settings.provisioning.description": string;
|
|
@@ -2379,13 +2450,18 @@ declare const _exports: {
|
|
|
2379
2450
|
"settings.provisioning.scopesProjectsRolesClaimName": string;
|
|
2380
2451
|
"settings.provisioning.scopesProjectsRolesClaimName.placeholder": string;
|
|
2381
2452
|
"settings.provisioning.scopesProjectsRolesClaimName.help": string;
|
|
2382
|
-
"settings.provisioning.
|
|
2383
|
-
"settings.provisioning.
|
|
2384
|
-
"settings.
|
|
2385
|
-
"settings.
|
|
2386
|
-
"settings.
|
|
2387
|
-
"settings.
|
|
2388
|
-
"settings.
|
|
2453
|
+
"settings.provisioning.toggle": string;
|
|
2454
|
+
"settings.provisioning.toggle.help": string;
|
|
2455
|
+
"settings.provisioningConfirmDialog.title": string;
|
|
2456
|
+
"settings.provisioningConfirmDialog.breakingChangeDescription.firstLine": string;
|
|
2457
|
+
"settings.provisioningConfirmDialog.breakingChangeDescription.list.one": string;
|
|
2458
|
+
"settings.provisioningConfirmDialog.breakingChangeDescription.list.two": string;
|
|
2459
|
+
"settings.provisioningConfirmDialog.breakingChangeRequiredSteps": string;
|
|
2460
|
+
"settings.provisioningConfirmDialog.button.confirm": string;
|
|
2461
|
+
"settings.provisioningConfirmDialog.button.cancel": string;
|
|
2462
|
+
"settings.provisioningConfirmDialog.button.generateCsvExport": string;
|
|
2463
|
+
"settings.provisioningConfirmDialog.button.downloadProjectRolesCsv": string;
|
|
2464
|
+
"settings.provisioningConfirmDialog.button.downloadInstanceRolesCsv": string;
|
|
2389
2465
|
"settings.externalSecrets.title": string;
|
|
2390
2466
|
"settings.externalSecrets.info": string;
|
|
2391
2467
|
"settings.externalSecrets.info.link": string;
|
|
@@ -2904,6 +2980,8 @@ declare const _exports: {
|
|
|
2904
2980
|
"workflows.templateRecoV2.loadingTemplates": string;
|
|
2905
2981
|
"workflows.templateRecoV2.useTemplate": string;
|
|
2906
2982
|
"workflows.templateRecoV2.exploreTemplates": string;
|
|
2983
|
+
"workflows.templatesDataQuality.loadingTemplates": string;
|
|
2984
|
+
"workflows.templatesDataQuality.seeMoreTemplates": string;
|
|
2907
2985
|
"workflows.search.placeholder": string;
|
|
2908
2986
|
"workflows.filters": string;
|
|
2909
2987
|
"workflows.filters.tags": string;
|
|
@@ -3009,6 +3087,7 @@ declare const _exports: {
|
|
|
3009
3087
|
"variables.add.unavailable": string;
|
|
3010
3088
|
"variables.add.unavailable.empty": string;
|
|
3011
3089
|
"variables.add.onlyOwnerCanCreate": string;
|
|
3090
|
+
"variables.add.button.label": string;
|
|
3012
3091
|
"variables.empty.heading": string;
|
|
3013
3092
|
"variables.empty.heading.userNotSetup": string;
|
|
3014
3093
|
"variables.empty.description": string;
|
|
@@ -3109,7 +3188,6 @@ declare const _exports: {
|
|
|
3109
3188
|
"dataTable.addColumn.typeInput.label": string;
|
|
3110
3189
|
"dataTable.addColumn.error": string;
|
|
3111
3190
|
"dataTable.addColumn.alreadyExistsError": string;
|
|
3112
|
-
"dataTable.addColumn.alreadyExistsDescription": string;
|
|
3113
3191
|
"dataTable.moveColumn.error": string;
|
|
3114
3192
|
"dataTable.deleteColumn.error": string;
|
|
3115
3193
|
"dataTable.deleteColumn.confirm.title": string;
|
|
@@ -3139,6 +3217,7 @@ declare const _exports: {
|
|
|
3139
3217
|
"dataTable.filters.lessThan": string;
|
|
3140
3218
|
"dataTable.filters.lessThanOrEqual": string;
|
|
3141
3219
|
"dataTable.addColumn.systemColumnDescription": string;
|
|
3220
|
+
"dataTable.addColumn.alreadyExistsDescription": string;
|
|
3142
3221
|
"dataTable.addColumn.testingColumnDescription": string;
|
|
3143
3222
|
"settings.ldap": string;
|
|
3144
3223
|
"settings.ldap.note": string;
|
|
@@ -3738,7 +3817,6 @@ declare const _exports: {
|
|
|
3738
3817
|
"commandBar.sections.evaluation": string;
|
|
3739
3818
|
"commandBar.sections.demo": string;
|
|
3740
3819
|
"commandBar.sections.general": string;
|
|
3741
|
-
"commandBar.sections.templates": string;
|
|
3742
3820
|
"commandBar.templates.import": string;
|
|
3743
3821
|
"commandBar.templates.importWithPrefix": string;
|
|
3744
3822
|
"commandBar.nodes.addNode": string;
|
|
@@ -3814,5 +3892,5 @@ interface INodeTranslationHeaders {
|
|
|
3814
3892
|
};
|
|
3815
3893
|
}
|
|
3816
3894
|
//#endregion
|
|
3817
|
-
export {
|
|
3818
|
-
//# sourceMappingURL=types-
|
|
3895
|
+
export { BaseTextKey, GetBaseTextKey, INodeTranslationHeaders, LocaleMessages };
|
|
3896
|
+
//# sourceMappingURL=types-Gzyvgd4l.d.ts.map
|
package/dist/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseTextKey, GetBaseTextKey, INodeTranslationHeaders, LocaleMessages } from "./types-CvlTqtF_.cjs";
|
|
2
2
|
export { BaseTextKey, GetBaseTextKey, INodeTranslationHeaders, LocaleMessages };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseTextKey, GetBaseTextKey, INodeTranslationHeaders, LocaleMessages } from "./types-Gzyvgd4l.js";
|
|
2
2
|
export { BaseTextKey, GetBaseTextKey, INodeTranslationHeaders, LocaleMessages };
|
package/dist/types.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -9,8 +9,14 @@
|
|
|
9
9
|
*/
|
|
10
10
|
function deriveMiddleKey(path, parameter) {
|
|
11
11
|
let middleKey = parameter.name;
|
|
12
|
-
if (isTopLevelCollection(path, parameter) || isNestedInCollectionLike(path))
|
|
13
|
-
|
|
12
|
+
if (isTopLevelCollection(path, parameter) || isNestedInCollectionLike(path)) {
|
|
13
|
+
const pathSegments = normalize(path).split(".");
|
|
14
|
+
middleKey = insertOptionsAndValues(pathSegments).join(".");
|
|
15
|
+
}
|
|
16
|
+
if (isNestedCollection(path, parameter) || isFixedCollection(path, parameter)) {
|
|
17
|
+
const pathSegments = [...normalize(path).split("."), parameter.name];
|
|
18
|
+
middleKey = insertOptionsAndValues(pathSegments).join(".");
|
|
19
|
+
}
|
|
14
20
|
return middleKey;
|
|
15
21
|
}
|
|
16
22
|
/**
|
|
@@ -47,5 +53,5 @@ const insertOptionsAndValues = (pathSegments) => {
|
|
|
47
53
|
};
|
|
48
54
|
|
|
49
55
|
//#endregion
|
|
50
|
-
export {
|
|
51
|
-
//# sourceMappingURL=utils-
|
|
56
|
+
export { deriveMiddleKey, insertOptionsAndValues, isNestedInCollectionLike, normalize };
|
|
57
|
+
//# sourceMappingURL=utils-BJm12gqs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils-BJm12gqs.js","names":["path: string","parameter: { name: string; type?: string }","parameter: { type?: string }","pathSegments: string[]"],"sources":["../src/utils.ts"],"sourcesContent":["/**\n * Derive the middle key, i.e. the segment of the render key located between\n * the initial key (path to parameters root) and the property to render.\n *\n * Used by `nodeText()` to handle nested params.\n *\n * Location: `n8n-nodes-base.nodes.github.nodeView.<middleKey>.placeholder`\n */\nexport function deriveMiddleKey(path: string, parameter: { name: string; type?: string }) {\n\tlet middleKey = parameter.name;\n\n\tif (isTopLevelCollection(path, parameter) || isNestedInCollectionLike(path)) {\n\t\tconst pathSegments = normalize(path).split('.');\n\t\tmiddleKey = insertOptionsAndValues(pathSegments).join('.');\n\t}\n\n\tif (isNestedCollection(path, parameter) || isFixedCollection(path, parameter)) {\n\t\tconst pathSegments = [...normalize(path).split('.'), parameter.name];\n\t\tmiddleKey = insertOptionsAndValues(pathSegments).join('.');\n\t}\n\n\treturn middleKey;\n}\n\n/**\n * Check if a param path is for a param nested inside a `collection` or\n * `fixedCollection` param.\n */\nexport const isNestedInCollectionLike = (path: string) => path.split('.').length >= 3;\n\nconst isTopLevelCollection = (path: string, parameter: { type?: string }) =>\n\tpath.split('.').length === 2 && parameter.type === 'collection';\n\nconst isNestedCollection = (path: string, parameter: { type?: string }) =>\n\tpath.split('.').length > 2 && parameter.type === 'collection';\n\n/**\n * Check if the param is a normal `fixedCollection`, i.e. a FC other than the wrapper\n * that sits at the root of a node's top-level param and contains all of them.\n */\nconst isFixedCollection = (path: string, parameter: { type?: string }) =>\n\tparameter.type === 'fixedCollection' && path !== 'parameters';\n\n/**\n * Remove all indices and the `parameters.` prefix from a parameter path.\n *\n * Example: `parameters.a[0].b` → `a.b`\n */\nexport const normalize = (path: string) => path.replace(/\\[.*?\\]/g, '').replace('parameters.', '');\n\n/**\n * Insert `'options'` and `'values'` on an alternating basis in a string array of\n * indefinite length. Helper to create a valid render key for a collection-like param.\n *\n * Example: `['a', 'b', 'c']` → `['a', 'options', 'b', 'values', 'c']`\n */\nexport const insertOptionsAndValues = (pathSegments: string[]) => {\n\treturn pathSegments.reduce<string[]>((acc, cur, i) => {\n\t\tacc.push(cur);\n\n\t\tif (i === pathSegments.length - 1) return acc;\n\n\t\tacc.push(i % 2 === 0 ? 'options' : 'values');\n\n\t\treturn acc;\n\t}, []);\n};\n"],"mappings":";;;;;;;;;AAQA,SAAgB,gBAAgBA,MAAcC,WAA4C;CACzF,IAAI,YAAY,UAAU;AAE1B,KAAI,qBAAqB,MAAM,UAAU,IAAI,yBAAyB,KAAK,EAAE;EAC5E,MAAM,eAAe,UAAU,KAAK,CAAC,MAAM,IAAI;AAC/C,cAAY,uBAAuB,aAAa,CAAC,KAAK,IAAI;CAC1D;AAED,KAAI,mBAAmB,MAAM,UAAU,IAAI,kBAAkB,MAAM,UAAU,EAAE;EAC9E,MAAM,eAAe,CAAC,GAAG,UAAU,KAAK,CAAC,MAAM,IAAI,EAAE,UAAU,IAAK;AACpE,cAAY,uBAAuB,aAAa,CAAC,KAAK,IAAI;CAC1D;AAED,QAAO;AACP;;;;;AAMD,MAAa,2BAA2B,CAACD,SAAiB,KAAK,MAAM,IAAI,CAAC,UAAU;AAEpF,MAAM,uBAAuB,CAACA,MAAcE,cAC3C,KAAK,MAAM,IAAI,CAAC,WAAW,KAAK,UAAU,SAAS;AAEpD,MAAM,qBAAqB,CAACF,MAAcE,cACzC,KAAK,MAAM,IAAI,CAAC,SAAS,KAAK,UAAU,SAAS;;;;;AAMlD,MAAM,oBAAoB,CAACF,MAAcE,cACxC,UAAU,SAAS,qBAAqB,SAAS;;;;;;AAOlD,MAAa,YAAY,CAACF,SAAiB,KAAK,QAAQ,YAAY,GAAG,CAAC,QAAQ,eAAe,GAAG;;;;;;;AAQlG,MAAa,yBAAyB,CAACG,iBAA2B;AACjE,QAAO,aAAa,OAAiB,CAAC,KAAK,KAAK,MAAM;AACrD,MAAI,KAAK,IAAI;AAEb,MAAI,MAAM,aAAa,SAAS,EAAG,QAAO;AAE1C,MAAI,KAAK,IAAI,MAAM,IAAI,YAAY,SAAS;AAE5C,SAAO;CACP,GAAE,CAAE,EAAC;AACN"}
|
|
@@ -10,8 +10,14 @@
|
|
|
10
10
|
*/
|
|
11
11
|
function deriveMiddleKey(path, parameter) {
|
|
12
12
|
let middleKey = parameter.name;
|
|
13
|
-
if (isTopLevelCollection(path, parameter) || isNestedInCollectionLike(path))
|
|
14
|
-
|
|
13
|
+
if (isTopLevelCollection(path, parameter) || isNestedInCollectionLike(path)) {
|
|
14
|
+
const pathSegments = normalize(path).split(".");
|
|
15
|
+
middleKey = insertOptionsAndValues(pathSegments).join(".");
|
|
16
|
+
}
|
|
17
|
+
if (isNestedCollection(path, parameter) || isFixedCollection(path, parameter)) {
|
|
18
|
+
const pathSegments = [...normalize(path).split("."), parameter.name];
|
|
19
|
+
middleKey = insertOptionsAndValues(pathSegments).join(".");
|
|
20
|
+
}
|
|
15
21
|
return middleKey;
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
@@ -72,4 +78,4 @@ Object.defineProperty(exports, 'normalize', {
|
|
|
72
78
|
return normalize;
|
|
73
79
|
}
|
|
74
80
|
});
|
|
75
|
-
//# sourceMappingURL=utils-
|
|
81
|
+
//# sourceMappingURL=utils-p9ioSiTo.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils-p9ioSiTo.cjs","names":["path: string","parameter: { name: string; type?: string }","parameter: { type?: string }","pathSegments: string[]"],"sources":["../src/utils.ts"],"sourcesContent":["/**\n * Derive the middle key, i.e. the segment of the render key located between\n * the initial key (path to parameters root) and the property to render.\n *\n * Used by `nodeText()` to handle nested params.\n *\n * Location: `n8n-nodes-base.nodes.github.nodeView.<middleKey>.placeholder`\n */\nexport function deriveMiddleKey(path: string, parameter: { name: string; type?: string }) {\n\tlet middleKey = parameter.name;\n\n\tif (isTopLevelCollection(path, parameter) || isNestedInCollectionLike(path)) {\n\t\tconst pathSegments = normalize(path).split('.');\n\t\tmiddleKey = insertOptionsAndValues(pathSegments).join('.');\n\t}\n\n\tif (isNestedCollection(path, parameter) || isFixedCollection(path, parameter)) {\n\t\tconst pathSegments = [...normalize(path).split('.'), parameter.name];\n\t\tmiddleKey = insertOptionsAndValues(pathSegments).join('.');\n\t}\n\n\treturn middleKey;\n}\n\n/**\n * Check if a param path is for a param nested inside a `collection` or\n * `fixedCollection` param.\n */\nexport const isNestedInCollectionLike = (path: string) => path.split('.').length >= 3;\n\nconst isTopLevelCollection = (path: string, parameter: { type?: string }) =>\n\tpath.split('.').length === 2 && parameter.type === 'collection';\n\nconst isNestedCollection = (path: string, parameter: { type?: string }) =>\n\tpath.split('.').length > 2 && parameter.type === 'collection';\n\n/**\n * Check if the param is a normal `fixedCollection`, i.e. a FC other than the wrapper\n * that sits at the root of a node's top-level param and contains all of them.\n */\nconst isFixedCollection = (path: string, parameter: { type?: string }) =>\n\tparameter.type === 'fixedCollection' && path !== 'parameters';\n\n/**\n * Remove all indices and the `parameters.` prefix from a parameter path.\n *\n * Example: `parameters.a[0].b` → `a.b`\n */\nexport const normalize = (path: string) => path.replace(/\\[.*?\\]/g, '').replace('parameters.', '');\n\n/**\n * Insert `'options'` and `'values'` on an alternating basis in a string array of\n * indefinite length. Helper to create a valid render key for a collection-like param.\n *\n * Example: `['a', 'b', 'c']` → `['a', 'options', 'b', 'values', 'c']`\n */\nexport const insertOptionsAndValues = (pathSegments: string[]) => {\n\treturn pathSegments.reduce<string[]>((acc, cur, i) => {\n\t\tacc.push(cur);\n\n\t\tif (i === pathSegments.length - 1) return acc;\n\n\t\tacc.push(i % 2 === 0 ? 'options' : 'values');\n\n\t\treturn acc;\n\t}, []);\n};\n"],"mappings":";;;;;;;;;;AAQA,SAAgB,gBAAgBA,MAAcC,WAA4C;CACzF,IAAI,YAAY,UAAU;AAE1B,KAAI,qBAAqB,MAAM,UAAU,IAAI,yBAAyB,KAAK,EAAE;EAC5E,MAAM,eAAe,UAAU,KAAK,CAAC,MAAM,IAAI;AAC/C,cAAY,uBAAuB,aAAa,CAAC,KAAK,IAAI;CAC1D;AAED,KAAI,mBAAmB,MAAM,UAAU,IAAI,kBAAkB,MAAM,UAAU,EAAE;EAC9E,MAAM,eAAe,CAAC,GAAG,UAAU,KAAK,CAAC,MAAM,IAAI,EAAE,UAAU,IAAK;AACpE,cAAY,uBAAuB,aAAa,CAAC,KAAK,IAAI;CAC1D;AAED,QAAO;AACP;;;;;AAMD,MAAa,2BAA2B,CAACD,SAAiB,KAAK,MAAM,IAAI,CAAC,UAAU;AAEpF,MAAM,uBAAuB,CAACA,MAAcE,cAC3C,KAAK,MAAM,IAAI,CAAC,WAAW,KAAK,UAAU,SAAS;AAEpD,MAAM,qBAAqB,CAACF,MAAcE,cACzC,KAAK,MAAM,IAAI,CAAC,SAAS,KAAK,UAAU,SAAS;;;;;AAMlD,MAAM,oBAAoB,CAACF,MAAcE,cACxC,UAAU,SAAS,qBAAqB,SAAS;;;;;;AAOlD,MAAa,YAAY,CAACF,SAAiB,KAAK,QAAQ,YAAY,GAAG,CAAC,QAAQ,eAAe,GAAG;;;;;;;AAQlG,MAAa,yBAAyB,CAACG,iBAA2B;AACjE,QAAO,aAAa,OAAiB,CAAC,KAAK,KAAK,MAAM;AACrD,MAAI,KAAK,IAAI;AAEb,MAAI,MAAM,aAAa,SAAS,EAAG,QAAO;AAE1C,MAAI,KAAK,IAAI,MAAM,IAAI,YAAY,SAAS;AAE5C,SAAO;CACP,GAAE,CAAE,EAAC;AACN"}
|
package/dist/utils.cjs
CHANGED
package/dist/utils.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { deriveMiddleKey, insertOptionsAndValues, isNestedInCollectionLike, normalize } from "./utils-BJm12gqs.js";
|
|
2
2
|
|
|
3
3
|
export { deriveMiddleKey, insertOptionsAndValues, isNestedInCollectionLike, normalize };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/i18n",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.24.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"LICENSE.md",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"vue-i18n": "^11.1.2",
|
|
27
|
-
"n8n-workflow": "1.
|
|
27
|
+
"n8n-workflow": "1.117.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"vitest": "^3.1.3",
|
|
41
41
|
"vue-tsc": "^2.2.8",
|
|
42
42
|
"@n8n/eslint-config": "0.0.1",
|
|
43
|
-
"@n8n/
|
|
44
|
-
"@n8n/
|
|
43
|
+
"@n8n/typescript-config": "1.3.0",
|
|
44
|
+
"@n8n/vitest-config": "1.5.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"vue": "^3.5.13"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils-CmS9ahSc.cjs","names":[],"sources":["../src/utils.ts"],"sourcesContent":["/**\n * Derive the middle key, i.e. the segment of the render key located between\n * the initial key (path to parameters root) and the property to render.\n *\n * Used by `nodeText()` to handle nested params.\n *\n * Location: `n8n-nodes-base.nodes.github.nodeView.<middleKey>.placeholder`\n */\nexport function deriveMiddleKey(path: string, parameter: { name: string; type?: string }) {\n\tlet middleKey = parameter.name;\n\n\tif (isTopLevelCollection(path, parameter) || isNestedInCollectionLike(path)) {\n\t\tconst pathSegments = normalize(path).split('.');\n\t\tmiddleKey = insertOptionsAndValues(pathSegments).join('.');\n\t}\n\n\tif (isNestedCollection(path, parameter) || isFixedCollection(path, parameter)) {\n\t\tconst pathSegments = [...normalize(path).split('.'), parameter.name];\n\t\tmiddleKey = insertOptionsAndValues(pathSegments).join('.');\n\t}\n\n\treturn middleKey;\n}\n\n/**\n * Check if a param path is for a param nested inside a `collection` or\n * `fixedCollection` param.\n */\nexport const isNestedInCollectionLike = (path: string) => path.split('.').length >= 3;\n\nconst isTopLevelCollection = (path: string, parameter: { type?: string }) =>\n\tpath.split('.').length === 2 && parameter.type === 'collection';\n\nconst isNestedCollection = (path: string, parameter: { type?: string }) =>\n\tpath.split('.').length > 2 && parameter.type === 'collection';\n\n/**\n * Check if the param is a normal `fixedCollection`, i.e. a FC other than the wrapper\n * that sits at the root of a node's top-level param and contains all of them.\n */\nconst isFixedCollection = (path: string, parameter: { type?: string }) =>\n\tparameter.type === 'fixedCollection' && path !== 'parameters';\n\n/**\n * Remove all indices and the `parameters.` prefix from a parameter path.\n *\n * Example: `parameters.a[0].b` → `a.b`\n */\nexport const normalize = (path: string) => path.replace(/\\[.*?\\]/g, '').replace('parameters.', '');\n\n/**\n * Insert `'options'` and `'values'` on an alternating basis in a string array of\n * indefinite length. Helper to create a valid render key for a collection-like param.\n *\n * Example: `['a', 'b', 'c']` → `['a', 'options', 'b', 'values', 'c']`\n */\nexport const insertOptionsAndValues = (pathSegments: string[]) => {\n\treturn pathSegments.reduce<string[]>((acc, cur, i) => {\n\t\tacc.push(cur);\n\n\t\tif (i === pathSegments.length - 1) return acc;\n\n\t\tacc.push(i % 2 === 0 ? 'options' : 'values');\n\n\t\treturn acc;\n\t}, []);\n};\n"],"mappings":";;;;;;;;;;AAQA,SAAgB,gBAAgB,MAAc,WAA4C;CACzF,IAAI,YAAY,UAAU;AAE1B,KAAI,qBAAqB,MAAM,UAAU,IAAI,yBAAyB,KAAK,CAE1E,aAAY,uBADS,UAAU,KAAK,CAAC,MAAM,IAAI,CACC,CAAC,KAAK,IAAI;AAG3D,KAAI,mBAAmB,MAAM,UAAU,IAAI,kBAAkB,MAAM,UAAU,CAE5E,aAAY,uBADS,CAAC,GAAG,UAAU,KAAK,CAAC,MAAM,IAAI,EAAE,UAAU,KAAK,CACpB,CAAC,KAAK,IAAI;AAG3D,QAAO;;;;;;AAOR,MAAa,4BAA4B,SAAiB,KAAK,MAAM,IAAI,CAAC,UAAU;AAEpF,MAAM,wBAAwB,MAAc,cAC3C,KAAK,MAAM,IAAI,CAAC,WAAW,KAAK,UAAU,SAAS;AAEpD,MAAM,sBAAsB,MAAc,cACzC,KAAK,MAAM,IAAI,CAAC,SAAS,KAAK,UAAU,SAAS;;;;;AAMlD,MAAM,qBAAqB,MAAc,cACxC,UAAU,SAAS,qBAAqB,SAAS;;;;;;AAOlD,MAAa,aAAa,SAAiB,KAAK,QAAQ,YAAY,GAAG,CAAC,QAAQ,eAAe,GAAG;;;;;;;AAQlG,MAAa,0BAA0B,iBAA2B;AACjE,QAAO,aAAa,QAAkB,KAAK,KAAK,MAAM;AACrD,MAAI,KAAK,IAAI;AAEb,MAAI,MAAM,aAAa,SAAS,EAAG,QAAO;AAE1C,MAAI,KAAK,IAAI,MAAM,IAAI,YAAY,SAAS;AAE5C,SAAO;IACL,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils-h8Z6_NUG.js","names":[],"sources":["../src/utils.ts"],"sourcesContent":["/**\n * Derive the middle key, i.e. the segment of the render key located between\n * the initial key (path to parameters root) and the property to render.\n *\n * Used by `nodeText()` to handle nested params.\n *\n * Location: `n8n-nodes-base.nodes.github.nodeView.<middleKey>.placeholder`\n */\nexport function deriveMiddleKey(path: string, parameter: { name: string; type?: string }) {\n\tlet middleKey = parameter.name;\n\n\tif (isTopLevelCollection(path, parameter) || isNestedInCollectionLike(path)) {\n\t\tconst pathSegments = normalize(path).split('.');\n\t\tmiddleKey = insertOptionsAndValues(pathSegments).join('.');\n\t}\n\n\tif (isNestedCollection(path, parameter) || isFixedCollection(path, parameter)) {\n\t\tconst pathSegments = [...normalize(path).split('.'), parameter.name];\n\t\tmiddleKey = insertOptionsAndValues(pathSegments).join('.');\n\t}\n\n\treturn middleKey;\n}\n\n/**\n * Check if a param path is for a param nested inside a `collection` or\n * `fixedCollection` param.\n */\nexport const isNestedInCollectionLike = (path: string) => path.split('.').length >= 3;\n\nconst isTopLevelCollection = (path: string, parameter: { type?: string }) =>\n\tpath.split('.').length === 2 && parameter.type === 'collection';\n\nconst isNestedCollection = (path: string, parameter: { type?: string }) =>\n\tpath.split('.').length > 2 && parameter.type === 'collection';\n\n/**\n * Check if the param is a normal `fixedCollection`, i.e. a FC other than the wrapper\n * that sits at the root of a node's top-level param and contains all of them.\n */\nconst isFixedCollection = (path: string, parameter: { type?: string }) =>\n\tparameter.type === 'fixedCollection' && path !== 'parameters';\n\n/**\n * Remove all indices and the `parameters.` prefix from a parameter path.\n *\n * Example: `parameters.a[0].b` → `a.b`\n */\nexport const normalize = (path: string) => path.replace(/\\[.*?\\]/g, '').replace('parameters.', '');\n\n/**\n * Insert `'options'` and `'values'` on an alternating basis in a string array of\n * indefinite length. Helper to create a valid render key for a collection-like param.\n *\n * Example: `['a', 'b', 'c']` → `['a', 'options', 'b', 'values', 'c']`\n */\nexport const insertOptionsAndValues = (pathSegments: string[]) => {\n\treturn pathSegments.reduce<string[]>((acc, cur, i) => {\n\t\tacc.push(cur);\n\n\t\tif (i === pathSegments.length - 1) return acc;\n\n\t\tacc.push(i % 2 === 0 ? 'options' : 'values');\n\n\t\treturn acc;\n\t}, []);\n};\n"],"mappings":";;;;;;;;;AAQA,SAAgB,gBAAgB,MAAc,WAA4C;CACzF,IAAI,YAAY,UAAU;AAE1B,KAAI,qBAAqB,MAAM,UAAU,IAAI,yBAAyB,KAAK,CAE1E,aAAY,uBADS,UAAU,KAAK,CAAC,MAAM,IAAI,CACC,CAAC,KAAK,IAAI;AAG3D,KAAI,mBAAmB,MAAM,UAAU,IAAI,kBAAkB,MAAM,UAAU,CAE5E,aAAY,uBADS,CAAC,GAAG,UAAU,KAAK,CAAC,MAAM,IAAI,EAAE,UAAU,KAAK,CACpB,CAAC,KAAK,IAAI;AAG3D,QAAO;;;;;;AAOR,MAAa,4BAA4B,SAAiB,KAAK,MAAM,IAAI,CAAC,UAAU;AAEpF,MAAM,wBAAwB,MAAc,cAC3C,KAAK,MAAM,IAAI,CAAC,WAAW,KAAK,UAAU,SAAS;AAEpD,MAAM,sBAAsB,MAAc,cACzC,KAAK,MAAM,IAAI,CAAC,SAAS,KAAK,UAAU,SAAS;;;;;AAMlD,MAAM,qBAAqB,MAAc,cACxC,UAAU,SAAS,qBAAqB,SAAS;;;;;;AAOlD,MAAa,aAAa,SAAiB,KAAK,QAAQ,YAAY,GAAG,CAAC,QAAQ,eAAe,GAAG;;;;;;;AAQlG,MAAa,0BAA0B,iBAA2B;AACjE,QAAO,aAAa,QAAkB,KAAK,KAAK,MAAM;AACrD,MAAI,KAAK,IAAI;AAEb,MAAI,MAAM,aAAa,SAAS,EAAG,QAAO;AAE1C,MAAI,KAAK,IAAI,MAAM,IAAI,YAAY,SAAS;AAE5C,SAAO;IACL,EAAE,CAAC"}
|