@wildo-ai/wildo-cli 1.1.5 → 1.1.6
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/bin/wildo.ts +12 -1
- package/dist/bin/wildo.js +13 -1
- package/dist/bin/wildo.js.map +1 -1
- package/dist/src/commands/__tests__/update.command.test.js +16 -2
- package/dist/src/commands/__tests__/update.command.test.js.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +19 -1
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/align-deps.command.js +3 -0
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts +18 -38
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js +32 -106
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +2 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +1 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +259 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +1 -0
- package/dist/src/commands/build/accept.command.d.ts +16 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -0
- package/dist/src/commands/build/accept.command.js +37 -0
- package/dist/src/commands/build/accept.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts +8 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -0
- package/dist/src/commands/build/dispatches.command.js +26 -0
- package/dist/src/commands/build/dispatches.command.js.map +1 -0
- package/dist/src/commands/build/next.command.d.ts +8 -0
- package/dist/src/commands/build/next.command.d.ts.map +1 -0
- package/dist/src/commands/build/next.command.js +31 -0
- package/dist/src/commands/build/next.command.js.map +1 -0
- package/dist/src/commands/build/rearm.command.d.ts +16 -0
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -0
- package/dist/src/commands/build/rearm.command.js +48 -0
- package/dist/src/commands/build/rearm.command.js.map +1 -0
- package/dist/src/commands/build/run.command.d.ts +15 -0
- package/dist/src/commands/build/run.command.d.ts.map +1 -0
- package/dist/src/commands/build/run.command.js +41 -0
- package/dist/src/commands/build/run.command.js.map +1 -0
- package/dist/src/commands/build/tasks.command.d.ts +8 -0
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -0
- package/dist/src/commands/build/tasks.command.js +24 -0
- package/dist/src/commands/build/tasks.command.js.map +1 -0
- package/dist/src/commands/config/__tests__/sync.command.test.js +233 -4
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js +122 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts +17 -0
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -0
- package/dist/src/commands/config/data-retention.command.js +58 -0
- package/dist/src/commands/config/data-retention.command.js.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts +17 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.js +59 -0
- package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -0
- package/dist/src/commands/config/sync.command.d.ts +18 -5
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +132 -18
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +39 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +186 -8
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +118 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/elements.command.test.js +6 -5
- package/dist/src/commands/context/__tests__/elements.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/info.command.test.js +10 -9
- package/dist/src/commands/context/__tests__/info.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js +71 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +27 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js +136 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/workspace.command.test.js +19 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.js.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.js +3 -2
- package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/coherence.command.js +7 -5
- package/dist/src/commands/context/coherence.command.js.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js +9 -10
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js +7 -2
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +123 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +149 -33
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.js +2 -1
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/context/list.command.js +6 -3
- package/dist/src/commands/context/list.command.js.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts +25 -0
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -0
- package/dist/src/commands/context/pipelines.command.js +149 -0
- package/dist/src/commands/context/pipelines.command.js.map +1 -0
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js +6 -4
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js +294 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js +62 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js.map +1 -0
- package/dist/src/commands/creation/accept.command.d.ts +12 -0
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -0
- package/dist/src/commands/creation/accept.command.js +34 -0
- package/dist/src/commands/creation/accept.command.js.map +1 -0
- package/dist/src/commands/creation/answer.command.d.ts +30 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -0
- package/dist/src/commands/creation/answer.command.js +154 -0
- package/dist/src/commands/creation/answer.command.js.map +1 -0
- package/dist/src/commands/creation/brief.command.d.ts +16 -0
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -0
- package/dist/src/commands/creation/brief.command.js +50 -0
- package/dist/src/commands/creation/brief.command.js.map +1 -0
- package/dist/src/commands/creation/deliberate.command.d.ts +17 -0
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -0
- package/dist/src/commands/creation/deliberate.command.js +55 -0
- package/dist/src/commands/creation/deliberate.command.js.map +1 -0
- package/dist/src/commands/creation/diff.command.d.ts +12 -0
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -0
- package/dist/src/commands/creation/diff.command.js +33 -0
- package/dist/src/commands/creation/diff.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +21 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -0
- package/dist/src/commands/creation/feed.command.js +135 -0
- package/dist/src/commands/creation/feed.command.js.map +1 -0
- package/dist/src/commands/creation/loop.command.d.ts +19 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -0
- package/dist/src/commands/creation/loop.command.js +52 -0
- package/dist/src/commands/creation/loop.command.js.map +1 -0
- package/dist/src/commands/creation/persona.command.d.ts +16 -0
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -0
- package/dist/src/commands/creation/persona.command.js +54 -0
- package/dist/src/commands/creation/persona.command.js.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts +14 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.js +24 -0
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -0
- package/dist/src/commands/creation/pulse.command.d.ts +14 -0
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -0
- package/dist/src/commands/creation/pulse.command.js +25 -0
- package/dist/src/commands/creation/pulse.command.js.map +1 -0
- package/dist/src/commands/creation/questions.command.d.ts +16 -0
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -0
- package/dist/src/commands/creation/questions.command.js +57 -0
- package/dist/src/commands/creation/questions.command.js.map +1 -0
- package/dist/src/commands/creation/revert.command.d.ts +15 -0
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -0
- package/dist/src/commands/creation/revert.command.js +41 -0
- package/dist/src/commands/creation/revert.command.js.map +1 -0
- package/dist/src/commands/creation/run.command.d.ts +15 -0
- package/dist/src/commands/creation/run.command.d.ts.map +1 -0
- package/dist/src/commands/creation/run.command.js +64 -0
- package/dist/src/commands/creation/run.command.js.map +1 -0
- package/dist/src/commands/creation/statusline.command.d.ts +14 -0
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -0
- package/dist/src/commands/creation/statusline.command.js +24 -0
- package/dist/src/commands/creation/statusline.command.js.map +1 -0
- package/dist/src/commands/creation/watch.command.d.ts +20 -0
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -0
- package/dist/src/commands/creation/watch.command.js +54 -0
- package/dist/src/commands/creation/watch.command.js.map +1 -0
- package/dist/src/commands/creation/why.command.d.ts +15 -0
- package/dist/src/commands/creation/why.command.d.ts.map +1 -0
- package/dist/src/commands/creation/why.command.js +45 -0
- package/dist/src/commands/creation/why.command.js.map +1 -0
- package/dist/src/commands/creation/writes.command.d.ts +8 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -0
- package/dist/src/commands/creation/writes.command.js +29 -0
- package/dist/src/commands/creation/writes.command.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +43 -17
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +6 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +3 -1
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.js +8 -4
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js +24 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js +3 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js +5 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js +6 -2
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +7 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +62 -7
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +8 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js +1 -0
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts +3 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js +19 -8
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +35 -4
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +63 -9
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +2 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +11 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +70 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.js +19 -1
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +6 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +8 -2
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +5 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +47 -3
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js +19 -7
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +15 -1
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +1 -1
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +21 -3
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/restore.command.d.ts.map +1 -1
- package/dist/src/commands/local/restore.command.js +11 -7
- package/dist/src/commands/local/restore.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +21 -24
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js +11 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +2 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js +18 -2
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js +13 -24
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/providers/show.command.d.ts +21 -14
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +44 -24
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +10 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +232 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +11 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +450 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts +2 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.js +196 -0
- package/dist/src/commands/registry/__tests__/publish.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/repair-contract.test.js +34 -7
- package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/requirements.test.js +395 -14
- package/dist/src/commands/registry/__tests__/requirements.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.js +9 -4
- package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/yank.test.d.ts +9 -0
- package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/yank.test.js +92 -0
- package/dist/src/commands/registry/__tests__/yank.test.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts +4 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +196 -116
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js +17 -4
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts +32 -0
- package/dist/src/commands/registry/key.command.d.ts.map +1 -0
- package/dist/src/commands/registry/key.command.js +129 -0
- package/dist/src/commands/registry/key.command.js.map +1 -0
- package/dist/src/commands/registry/login.command.d.ts +5 -0
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js +7 -2
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts +21 -0
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -0
- package/dist/src/commands/registry/outdated.command.js +81 -0
- package/dist/src/commands/registry/outdated.command.js.map +1 -0
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +95 -20
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js +155 -42
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +9 -3
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +135 -74
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.js +51 -9
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/status.command.d.ts +15 -0
- package/dist/src/commands/registry/status.command.d.ts.map +1 -0
- package/dist/src/commands/registry/status.command.js +61 -0
- package/dist/src/commands/registry/status.command.js.map +1 -0
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +307 -179
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts +19 -0
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -0
- package/dist/src/commands/registry/yank.command.js +80 -0
- package/dist/src/commands/registry/yank.command.js.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +2 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +61 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +1 -0
- package/dist/src/commands/secrets/github.command.d.ts +7 -0
- package/dist/src/commands/secrets/github.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/github.command.js +89 -0
- package/dist/src/commands/secrets/github.command.js.map +1 -0
- package/dist/src/commands/secrets/list.command.d.ts +14 -0
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/list.command.js +154 -0
- package/dist/src/commands/secrets/list.command.js.map +1 -0
- package/dist/src/commands/secrets/set.command.d.ts +44 -0
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/set.command.js +131 -0
- package/dist/src/commands/secrets/set.command.js.map +1 -0
- package/dist/src/commands/secrets/unset.command.d.ts +7 -0
- package/dist/src/commands/secrets/unset.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/unset.command.js +42 -0
- package/dist/src/commands/secrets/unset.command.js.map +1 -0
- package/dist/src/commands/update.command.js +10 -12
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/website/__tests__/audit.command.test.js +58 -0
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts +8 -0
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +39 -2
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts +8 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js +29 -3
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/rearm-task.command.d.ts +0 -16
- package/dist/src/commands/workbench/rearm-task.command.d.ts.map +0 -1
- package/dist/src/commands/workbench/rearm-task.command.js.map +0 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +4 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js +7 -1
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/types.d.ts +7 -0
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +19 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js +130 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -0
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +0 -39
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +26 -3
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +12 -16
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +5 -4
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +22 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +18 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +175 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +31 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +20 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +76 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +126 -66
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +40 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +78 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +51 -5
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +79 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +58 -29
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +72 -40
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +5 -2
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +2 -2
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +34 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +80 -13
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +83 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js +161 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -0
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js +25 -19
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +66 -26
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-package-links.service.js +140 -41
- package/dist/src/services/application/provider-package-links.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +34 -3
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +85 -28
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +20 -11
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts +22 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.js +96 -0
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -0
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +0 -23
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +0 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.d.ts +0 -39
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.js.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.d.ts +0 -137
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.js.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.d.ts +0 -101
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.js.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.d.ts +0 -52
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.js.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.d.ts +0 -30
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +0 -61
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +0 -22
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.d.ts +0 -34
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.d.ts +0 -40
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.js.map +0 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +10 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +13 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +8 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +41 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +13 -5
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +14 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +17 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js +15 -8
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts +44 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js +94 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +23 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +25 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js +138 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js +86 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +2 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +84 -0
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/build-console.service.js +64 -0
- package/dist/src/services/companion/build-console.service.js.map +1 -0
- package/dist/src/services/companion/companion-client.service.d.ts +28 -0
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +54 -6
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +23 -0
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-health-hint.utils.js +31 -0
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts +10 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js +19 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- package/dist/src/services/companion/console-fast-path.d.ts +104 -0
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -0
- package/dist/src/services/companion/console-fast-path.js +281 -0
- package/dist/src/services/companion/console-fast-path.js.map +1 -0
- package/dist/src/services/companion/console-verb.utils.d.ts +29 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -0
- package/dist/src/services/companion/console-verb.utils.js +41 -0
- package/dist/src/services/companion/console-verb.utils.js.map +1 -0
- package/dist/src/services/companion/creation-console.service.d.ts +173 -0
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-console.service.js +377 -0
- package/dist/src/services/companion/creation-console.service.js.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +71 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +109 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts +51 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js +120 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +7 -2
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +6 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +48 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js +158 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +1 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts +8 -0
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.d.ts +15 -0
- package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -0
- package/dist/src/services/context/machine-preferences.writer.js +30 -0
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +138 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +201 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +42 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +28 -2
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +56 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +5 -4
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +113 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +271 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +2 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts +55 -0
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secret-owners.service.js +238 -0
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts +93 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.js +314 -0
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +35 -4
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -8
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +16 -3
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +6 -3
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +2 -6
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +33 -0
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +16 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +50 -1
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts +59 -0
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/local-secrets-store.service.js +87 -0
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +12 -38
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +15 -136
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.d.ts +3 -0
- package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -0
- package/dist/src/services/credentials/provider-secret-format.js +24 -0
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts +38 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js +115 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts +196 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.js +402 -0
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts +5 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js +6 -1
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +3 -0
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +15 -15
- package/dist/src/services/data-services/data-services.schemas.js +15 -15
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +4 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +45 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +47 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +32 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +41 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +88 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +1 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +7 -2
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js +7 -4
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +74 -4
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +19 -15
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +22 -0
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +15 -0
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js +78 -2
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts +10 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js +25 -0
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +28 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +69 -34
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts +17 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js +50 -0
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +2 -0
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.js +9 -8
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +81 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +15 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +28 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +8 -4
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +18 -7
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +24 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +20 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +6 -5
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +15 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +48 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +22 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +58 -6
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +156 -5
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +6 -14
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +14 -2
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +19 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js +32 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +5 -7
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +10 -4
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +201 -24
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +8 -4
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +8 -6
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +23 -10
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js +174 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +152 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +81 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +66 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +57 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +8 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +18 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js +24 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +20 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +1 -0
- package/dist/src/services/framework/application-claude-settings.d.ts +141 -0
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -0
- package/dist/src/services/framework/application-claude-settings.js +284 -0
- package/dist/src/services/framework/application-claude-settings.js.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts +16 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.js +179 -0
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +7 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +16 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +13 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +36 -6
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +16 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +43 -6
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +12 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +13 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +23 -5
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +35 -5
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +41 -6
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.js +2 -0
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +6 -0
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -0
- package/dist/src/services/framework/package-install.service.js +18 -0
- package/dist/src/services/framework/package-install.service.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +95 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +255 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +114 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +8 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +12 -5
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +48 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +221 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +144 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +287 -33
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +197 -4
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +158 -3
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js +63 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +172 -21
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +796 -143
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts +15 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.js +32 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +9 -3
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js +45 -4
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +44 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +7 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +85 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +159 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +8 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +148 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +50 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js +302 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +68 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +91 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +67 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts +43 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.js +46 -0
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -0
- package/dist/src/services/registry/boundary-fanout.utils.d.ts +52 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js +128 -31
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts +66 -0
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js +175 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts +137 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.js +209 -0
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts +83 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js +227 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts +52 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.js +77 -0
- package/dist/src/services/registry/migration-obligation.utils.js.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts +46 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.js +78 -0
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts +39 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.js +57 -0
- package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +171 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-registration.service.js +788 -0
- package/dist/src/services/registry/module-registration.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +23 -0
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -0
- package/dist/src/services/registry/provider-install-step.js +21 -0
- package/dist/src/services/registry/provider-install-step.js.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts +40 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.js +194 -0
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts +20 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.js +146 -0
- package/dist/src/services/registry/provider-module-identity.service.js.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts +49 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.js +164 -0
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -0
- package/dist/src/services/registry/registry-command.utils.d.ts +49 -2
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js +75 -2
- package/dist/src/services/registry/registry-command.utils.js.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +12 -0
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.js +60 -0
- package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.js +5 -2
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +42 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +5 -9
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +24 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +31 -0
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -0
- package/dist/src/services/website/website-label-pack-audit.service.js +36 -0
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +10 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +19 -54
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +15 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -0
- package/dist/src/services/website/website-workspace.service.js +26 -0
- package/dist/src/services/website/website-workspace.service.js.map +1 -0
- package/framework-root-package.json +7 -1
- package/package.json +24 -18
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +47 -7
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +9 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +11 -2
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +48 -14
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +5 -2
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -7
- package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +2 -3
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +8 -10
- package/templates/infra/k8s/ingress/traefik/local/values.yaml +17 -12
- package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +35 -15
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +15 -15
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +7 -4
- package/templates/saas/engine-peer-closure.json +15 -3
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.fr.ts +30 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/email-otp/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/email-verification/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.en.ts +47 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.fr.ts +49 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/template.tsx +80 -0
- package/templates/saas/i18n/email/system/magic-link/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/organization-member-removed/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/password-reset/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +68 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/welcome-email/labels.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +3 -10
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +2 -16
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +2 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +0 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +3 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +49 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +51 -18
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +0 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +6 -12
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +3 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -3
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +0 -2
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +3 -5
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +115 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +115 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +86 -77
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +20 -11
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +19 -37
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +11 -29
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +64 -75
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +116 -16
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +108 -8
- package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +53 -97
- package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +2 -46
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +346 -32
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +23 -45
- package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -22
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +56 -57
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +22 -23
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +36 -55
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +43 -67
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +8 -32
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +98 -271
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +10 -31
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +227 -249
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +41 -53
- package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +3 -15
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +42 -61
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applications.en.ts +2645 -1242
- package/templates/saas/i18n/engine/resources/applications.fr.ts +1450 -47
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +419 -224
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +204 -9
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +123 -130
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +91 -93
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +17 -19
- package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +224 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +224 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +359 -201
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +173 -15
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +278 -14
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +276 -12
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +163 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +163 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +126 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +126 -0
- package/templates/saas/i18n/engine/resources/files.en.ts +60 -72
- package/templates/saas/i18n/engine/resources/files.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +27 -81
- package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +548 -0
- package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +548 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +282 -208
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +87 -13
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +46 -64
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +6 -60
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +86 -97
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +453 -561
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +304 -412
- package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +41 -71
- package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +30 -51
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +2 -22
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +15 -25
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +71 -158
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +2 -89
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +133 -179
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +58 -102
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +11 -29
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +18 -26
- package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +67 -44
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +48 -25
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +23 -32
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +33 -50
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +9 -55
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +11 -57
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +50 -62
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +67 -72
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +11 -15
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +54 -70
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +99 -265
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +10 -23
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +229 -252
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +285 -240
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +166 -121
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +13 -32
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +11 -30
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +34 -53
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +89 -152
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +2 -65
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +59 -71
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizations.en.ts +860 -879
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +54 -73
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +15 -74
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +8 -67
- package/templates/saas/i18n/engine/resources/prices.en.ts +148 -233
- package/templates/saas/i18n/engine/resources/prices.fr.ts +36 -121
- package/templates/saas/i18n/engine/resources/products.en.ts +135 -157
- package/templates/saas/i18n/engine/resources/products.fr.ts +45 -67
- package/templates/saas/i18n/engine/resources/promotions.en.ts +136 -161
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +48 -73
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/referrals.en.ts +117 -83
- package/templates/saas/i18n/engine/resources/referrals.fr.ts +67 -33
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +235 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +235 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +431 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +431 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +118 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +118 -0
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +19 -73
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +513 -620
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +301 -408
- package/templates/saas/i18n/engine/resources/userCredentials.en.ts +62 -116
- package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +49 -79
- package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/userFeatures.en.ts +19 -68
- package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +1 -50
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +84 -118
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +50 -136
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +1 -87
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +11 -68
- package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +1 -58
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +67 -129
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +5 -67
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -280
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +1 -266
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +28 -62
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +9 -58
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +11 -60
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +72 -125
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +5 -58
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +57 -314
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +1 -258
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +262 -216
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +165 -119
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +72 -134
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/user_self.en.ts +140 -320
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +26 -205
- package/templates/saas/i18n/engine/resources/users.en.ts +174 -413
- package/templates/saas/i18n/engine/resources/users.fr.ts +41 -280
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +32 -8
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +214 -0
- package/templates/saas/scenarios/add-3d-layout/scenario.json +52 -0
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +6 -1
- package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -1
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +45 -5
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +3 -3
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +12 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +12 -0
- package/templates/saas/scenarios/add-module/scenario.json +8 -1
- package/templates/saas/scenarios/add-provider/scenario.json +10 -16
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/i18n/en/code.json +678 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiReferenceIndexPage.tsx +32 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiResourcePage.tsx +33 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/documentation-site-words.ts +43 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +212 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +104 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +8 -4
- package/templates/saas/scenarios/add-technical-doc/scenario.json +1 -1
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -0
- package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +4 -1
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +19 -0
- package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +18 -68
- package/templates/saas/scenarios/add-website/scenario.json +3 -4
- package/templates/saas/skeleton/CLAUDE.md.hbs +44 -49
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -2
- package/templates/saas/skeleton/backend-api/src/brand-assets.generated.ts +12 -0
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +9 -0
- package/templates/saas/skeleton/frontend/package.json.hbs +0 -1
- package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +37 -7
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +9 -6
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +5 -10
- package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +8 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +27 -1
- package/templates/saas/skeleton/gitignore +4 -0
- package/templates/saas/skeleton/prettierignore +7 -0
- package/templates/saas/skeleton/shared-lib/src/engine/product.ts +4 -2
- package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +2 -2
- package/wildo-framework.info.json +1 -1
- package/dist/src/commands/workbench/rearm-task.command.js +0 -61
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +0 -96
- package/dist/src/modules/domain/credentials/providers-config.module.js +0 -154
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +0 -190
- package/dist/src/services/brand/brand-asset-projection.js +0 -68
- package/dist/src/services/brand/brand-destination-utils.js +0 -227
- package/dist/src/services/brand/brand-propagation.types.js +0 -22
- package/dist/src/services/brand/brand-ssot-reader.js +0 -146
- package/dist/src/services/brand/destinations/app-public.destination.js +0 -79
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js +0 -149
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js +0 -84
- package/dist/src/services/brand/destinations/website-og.destination.js +0 -80
- package/dist/src/services/brand/destinations/website-public.destination.js +0 -122
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.js.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.js.map +0 -0
- package/dist/tsconfig.build.tsbuildinfo +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +0 -72
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +0 -127
- package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +0 -25
- /package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/template.tsx +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/template.tsx +0 -0
- /package/{dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts → templates/saas/scenarios/add-website/files/website/public/.gitkeep} +0 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { mkdirSync, mkdtempSync, readFileSync, writeFileSync } from 'node:fs';
|
|
2
|
+
import { tmpdir } from 'node:os';
|
|
3
|
+
import { dirname, join } from 'node:path';
|
|
4
|
+
import { describe, expect, it } from 'vitest';
|
|
5
|
+
import { ProviderComplianceDetermination } from '@wildo-ai/saas-models';
|
|
6
|
+
import { emitProvidersPackage } from '../provider-package.emitter.js';
|
|
7
|
+
import { resolveCatalogueComplianceProfile } from '../provider-catalogue-record.js';
|
|
8
|
+
import { TransposedAuthKind, TransposedOperationResolution } from '../transposed-provider.model.js';
|
|
9
|
+
/**
|
|
10
|
+
* #1708 — every catalogue vendor ships a compliance profile: the researched one the record states, else UNDETERMINED.
|
|
11
|
+
* Never a guess, and never a fact without the page it was read from.
|
|
12
|
+
*/
|
|
13
|
+
const provenance = { source: 'SIM', sourceRef: 'fixture', sourceVersion: 'test' };
|
|
14
|
+
function vendorOf(ref) {
|
|
15
|
+
return {
|
|
16
|
+
ref,
|
|
17
|
+
vendor: ref,
|
|
18
|
+
auth: { kind: TransposedAuthKind.SECRET_TEXT },
|
|
19
|
+
baseUrl: `https://api.${ref}.example`,
|
|
20
|
+
provenances: [provenance],
|
|
21
|
+
operations: [{
|
|
22
|
+
operationId: 'read_thing',
|
|
23
|
+
domain: 'default',
|
|
24
|
+
resolution: TransposedOperationResolution.RESOLVED,
|
|
25
|
+
method: 'GET',
|
|
26
|
+
pathTemplate: '/things',
|
|
27
|
+
classification: 'READ',
|
|
28
|
+
parameters: [],
|
|
29
|
+
inputFields: [],
|
|
30
|
+
hasRequestBody: false,
|
|
31
|
+
provenance,
|
|
32
|
+
}],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function rootWith(files) {
|
|
36
|
+
const root = mkdtempSync(join(tmpdir(), 'wildo-1708-'));
|
|
37
|
+
for (const [path, content] of Object.entries(files)) {
|
|
38
|
+
mkdirSync(dirname(join(root, path)), { recursive: true });
|
|
39
|
+
writeFileSync(join(root, path), JSON.stringify(content), 'utf8');
|
|
40
|
+
}
|
|
41
|
+
return root;
|
|
42
|
+
}
|
|
43
|
+
const read = (root, path) => readFileSync(join(root, path), 'utf8');
|
|
44
|
+
const researched = {
|
|
45
|
+
deploymentModels: ['VENDOR_HOSTED'],
|
|
46
|
+
processingRegions: ['United States'],
|
|
47
|
+
vendorLegalEntityName: 'Acme, Inc.',
|
|
48
|
+
subprocessorListUrl: 'https://acme.example/subprocessors',
|
|
49
|
+
evidence: [
|
|
50
|
+
{ facts: ['DEPLOYMENT_MODELS', 'PROCESSING_REGIONS', 'VENDOR_LEGAL_ENTITY'], source: 'https://acme.example/dpa', verifiedAt: '2026-09-28' },
|
|
51
|
+
{ facts: ['SUBPROCESSOR_LIST'], source: 'https://acme.example/subprocessors', verifiedAt: '2026-09-28' },
|
|
52
|
+
],
|
|
53
|
+
};
|
|
54
|
+
describe('a catalogue vendor ships the profile its record states, or UNDETERMINED', () => {
|
|
55
|
+
it('emits UNDETERMINED into the module AND the companion contribution when nothing is recorded', () => {
|
|
56
|
+
const root = rootWith({});
|
|
57
|
+
emitProvidersPackage({ packageRoot: root, fullBatch: false, providers: [vendorOf('widget')], unreadableByVendor: new Map() });
|
|
58
|
+
const module = read(root, 'src/widget/backend.exports.ts');
|
|
59
|
+
expect(module).toContain('complianceProfile: {\n determination: ProviderComplianceDetermination.UNDETERMINED,');
|
|
60
|
+
expect(module).toMatch(/import \{[^}]*ProviderComplianceDetermination[^}]*\} from '@wildo-ai\/saas-models';/);
|
|
61
|
+
const companion = read(root, 'src/companion-exports.ts');
|
|
62
|
+
expect(companion).toMatch(/ref: "widget",[\s\S]*complianceProfile: \{\n determination: ProviderComplianceDetermination\.UNDETERMINED,/);
|
|
63
|
+
expect(companion).toMatch(/import \{[^}]*ProviderComplianceDetermination[^}]*\} from '@wildo-ai\/saas-models';/);
|
|
64
|
+
});
|
|
65
|
+
it('emits a researched profile with its evidence, as enum members, when the decision states one', () => {
|
|
66
|
+
const root = rootWith({ 'catalogue-record/decisions/acme.json': { ref: 'acme', reason: 'researched', complianceProfile: researched } });
|
|
67
|
+
emitProvidersPackage({ packageRoot: root, fullBatch: false, providers: [vendorOf('acme')], unreadableByVendor: new Map() });
|
|
68
|
+
const module = read(root, 'src/acme/backend.exports.ts');
|
|
69
|
+
expect(module).toContain('determination: ProviderComplianceDetermination.ESTABLISHED,');
|
|
70
|
+
expect(module).toContain('deploymentModels: [ProviderDeploymentModel.VENDOR_HOSTED],');
|
|
71
|
+
expect(module).toContain('vendorLegalEntityName: "Acme, Inc.",');
|
|
72
|
+
expect(module).toContain('{ facts: [ProviderComplianceFact.SUBPROCESSOR_LIST], source: "https://acme.example/subprocessors", verifiedAt: "2026-09-28" },');
|
|
73
|
+
expect(module).toMatch(/import \{[^}]*ProviderComplianceFact, ProviderDeploymentModel[^}]*\} from '@wildo-ai\/saas-models';/);
|
|
74
|
+
expect(read(root, 'src/companion-exports.ts')).toContain('vendorLegalEntityName: "Acme, Inc.",');
|
|
75
|
+
});
|
|
76
|
+
it('inherits the vendor record\'s profile, and lets the ref\'s own decision override it', () => {
|
|
77
|
+
const vendorProfile = { ...researched, vendorLegalEntityName: 'Contoso Corporation' };
|
|
78
|
+
const record = { vendor: 'contoso', reason: 'shared', complianceProfile: vendorProfile };
|
|
79
|
+
expect(resolveCatalogueComplianceProfile('contoso-mail', { ref: 'contoso-mail', reason: 'r', vendor: 'contoso' }, record))
|
|
80
|
+
.toMatchObject({ determination: ProviderComplianceDetermination.ESTABLISHED, vendorLegalEntityName: 'Contoso Corporation' });
|
|
81
|
+
expect(resolveCatalogueComplianceProfile('contoso-eu', { ref: 'contoso-eu', reason: 'r', vendor: 'contoso', complianceProfile: researched }, record))
|
|
82
|
+
.toMatchObject({ vendorLegalEntityName: 'Acme, Inc.' });
|
|
83
|
+
});
|
|
84
|
+
it('REFUSES a stated fact with no evidence — a vendor fact must name the page it was read from', () => {
|
|
85
|
+
const uncited = { ...researched, evidence: [researched.evidence[0]] };
|
|
86
|
+
expect(() => resolveCatalogueComplianceProfile('acme', { ref: 'acme', reason: 'r', complianceProfile: uncited }, undefined)).toThrow(/SUBPROCESSOR_LIST with no evidence/);
|
|
87
|
+
});
|
|
88
|
+
it('REFUSES a record that is not a valid established profile, or that writes its own determination', () => {
|
|
89
|
+
const noRegion = { ...researched, processingRegions: [] };
|
|
90
|
+
expect(() => resolveCatalogueComplianceProfile('acme', { ref: 'acme', reason: 'r', complianceProfile: noRegion }, undefined)).toThrow(/processingRegions/);
|
|
91
|
+
const withDetermination = { ...researched, determination: 'ESTABLISHED' };
|
|
92
|
+
expect(() => resolveCatalogueComplianceProfile('acme', { ref: 'acme', reason: 'r', complianceProfile: withDetermination }, undefined)).toThrow(/writes a determination/);
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
//# sourceMappingURL=compliance-profile-emission.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compliance-profile-emission.test.js","sourceRoot":"","sources":["../../../../../../../../src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,6BAA6B,EAA2B,MAAM,8BAA8B,CAAC;AAE1H;;;GAGG;AAEH,MAAM,UAAU,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAW,CAAC;AAE3F,SAAS,QAAQ,CAAC,GAAW;IAC3B,OAAO;QACL,GAAG;QACH,MAAM,EAAE,GAAG;QACX,IAAI,EAAE,EAAE,IAAI,EAAE,kBAAkB,CAAC,WAAW,EAAE;QAC9C,OAAO,EAAE,eAAe,GAAG,UAAU;QACrC,WAAW,EAAE,CAAC,UAAU,CAAC;QACzB,UAAU,EAAE,CAAC;gBACX,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{ tmpdir } from 'node:os';\nimport { dirname, join } from 'node:path';\n\nimport { describe, expect, it } from 'vitest';\n\nimport { ProviderComplianceDetermination } from '@wildo-ai/saas-models';\n\nimport { emitProvidersPackage } from '../provider-package.emitter';\nimport { resolveCatalogueComplianceProfile } from '../provider-catalogue-record';\nimport { TransposedAuthKind, TransposedOperationResolution, type TransposedProvider } from '../transposed-provider.model';\n\n/**\n * #1708 — every catalogue vendor ships a compliance profile: the researched one the record states, else UNDETERMINED.\n * Never a guess, and never a fact without the page it was read from.\n */\n\nconst provenance = { source: 'SIM', sourceRef: 'fixture', sourceVersion: 'test' } as const;\n\nfunction vendorOf(ref: string): TransposedProvider {\n return {\n ref,\n vendor: ref,\n auth: { kind: TransposedAuthKind.SECRET_TEXT },\n baseUrl: `https://api.${ref}.example`,\n provenances: [provenance],\n operations: [{\n operationId: 'read_thing',\n domain: 'default',\n resolution: TransposedOperationResolution.RESOLVED,\n method: 'GET' as const,\n pathTemplate: '/things',\n classification: 'READ' as const,\n parameters: [],\n inputFields: [],\n hasRequestBody: false,\n provenance,\n }],\n };\n}\n\nfunction rootWith(files: Record<string, unknown>): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-1708-'));\n for (const [path, content] of Object.entries(files)) {\n mkdirSync(dirname(join(root, path)), { recursive: true });\n writeFileSync(join(root, path), JSON.stringify(content), 'utf8');\n }\n return root;\n}\n\nconst read = (root: string, path: string): string => readFileSync(join(root, path), 'utf8');\n\nconst researched = {\n deploymentModels: ['VENDOR_HOSTED'],\n processingRegions: ['United States'],\n vendorLegalEntityName: 'Acme, Inc.',\n subprocessorListUrl: 'https://acme.example/subprocessors',\n evidence: [\n { facts: ['DEPLOYMENT_MODELS', 'PROCESSING_REGIONS', 'VENDOR_LEGAL_ENTITY'], source: 'https://acme.example/dpa', verifiedAt: '2026-09-28' },\n { facts: ['SUBPROCESSOR_LIST'], source: 'https://acme.example/subprocessors', verifiedAt: '2026-09-28' },\n ],\n};\n\ndescribe('a catalogue vendor ships the profile its record states, or UNDETERMINED', () => {\n it('emits UNDETERMINED into the module AND the companion contribution when nothing is recorded', () => {\n const root = rootWith({});\n emitProvidersPackage({ packageRoot: root, fullBatch: false, providers: [vendorOf('widget')], unreadableByVendor: new Map() });\n const module = read(root, 'src/widget/backend.exports.ts');\n expect(module).toContain('complianceProfile: {\\n determination: ProviderComplianceDetermination.UNDETERMINED,');\n expect(module).toMatch(/import \\{[^}]*ProviderComplianceDetermination[^}]*\\} from '@wildo-ai\\/saas-models';/);\n const companion = read(root, 'src/companion-exports.ts');\n expect(companion).toMatch(/ref: \"widget\",[\\s\\S]*complianceProfile: \\{\\n determination: ProviderComplianceDetermination\\.UNDETERMINED,/);\n expect(companion).toMatch(/import \\{[^}]*ProviderComplianceDetermination[^}]*\\} from '@wildo-ai\\/saas-models';/);\n });\n\n it('emits a researched profile with its evidence, as enum members, when the decision states one', () => {\n const root = rootWith({ 'catalogue-record/decisions/acme.json': { ref: 'acme', reason: 'researched', complianceProfile: researched } });\n emitProvidersPackage({ packageRoot: root, fullBatch: false, providers: [vendorOf('acme')], unreadableByVendor: new Map() });\n const module = read(root, 'src/acme/backend.exports.ts');\n expect(module).toContain('determination: ProviderComplianceDetermination.ESTABLISHED,');\n expect(module).toContain('deploymentModels: [ProviderDeploymentModel.VENDOR_HOSTED],');\n expect(module).toContain('vendorLegalEntityName: \"Acme, Inc.\",');\n expect(module).toContain('{ facts: [ProviderComplianceFact.SUBPROCESSOR_LIST], source: \"https://acme.example/subprocessors\", verifiedAt: \"2026-09-28\" },');\n expect(module).toMatch(/import \\{[^}]*ProviderComplianceFact, ProviderDeploymentModel[^}]*\\} from '@wildo-ai\\/saas-models';/);\n expect(read(root, 'src/companion-exports.ts')).toContain('vendorLegalEntityName: \"Acme, Inc.\",');\n });\n\n it('inherits the vendor record\\'s profile, and lets the ref\\'s own decision override it', () => {\n const vendorProfile = { ...researched, vendorLegalEntityName: 'Contoso Corporation' };\n const record = { vendor: 'contoso', reason: 'shared', complianceProfile: vendorProfile };\n expect(resolveCatalogueComplianceProfile('contoso-mail', { ref: 'contoso-mail', reason: 'r', vendor: 'contoso' }, record as never))\n .toMatchObject({ determination: ProviderComplianceDetermination.ESTABLISHED, vendorLegalEntityName: 'Contoso Corporation' });\n expect(resolveCatalogueComplianceProfile('contoso-eu', { ref: 'contoso-eu', reason: 'r', vendor: 'contoso', complianceProfile: researched } as never, record as never))\n .toMatchObject({ vendorLegalEntityName: 'Acme, Inc.' });\n });\n\n it('REFUSES a stated fact with no evidence — a vendor fact must name the page it was read from', () => {\n const uncited = { ...researched, evidence: [researched.evidence[0]] };\n expect(() => resolveCatalogueComplianceProfile('acme', { ref: 'acme', reason: 'r', complianceProfile: uncited } as never, undefined)).toThrow(/SUBPROCESSOR_LIST with no evidence/);\n });\n\n it('REFUSES a record that is not a valid established profile, or that writes its own determination', () => {\n const noRegion = { ...researched, processingRegions: [] };\n expect(() => resolveCatalogueComplianceProfile('acme', { ref: 'acme', reason: 'r', complianceProfile: noRegion } as never, undefined)).toThrow(/processingRegions/);\n const withDetermination = { ...researched, determination: 'ESTABLISHED' };\n expect(() => resolveCatalogueComplianceProfile('acme', { ref: 'acme', reason: 'r', complianceProfile: withDetermination } as never, undefined)).toThrow(/writes a determination/);\n });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-derived-operation-host.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { mkdirSync, mkdtempSync, readFileSync, writeFileSync } from 'node:fs';
|
|
2
|
+
import { tmpdir } from 'node:os';
|
|
3
|
+
import { dirname, join } from 'node:path';
|
|
4
|
+
import { describe, expect, it } from 'vitest';
|
|
5
|
+
import { readActivepiecesPiece } from '../activepieces-source.reader.js';
|
|
6
|
+
import { mergeTransposedProviders } from '../provider-merge.js';
|
|
7
|
+
import { connectionDerivedOperationHost, emitProvidersPackage } from '../provider-package.emitter.js';
|
|
8
|
+
import { TransposedAuthKind, TransposedOperationResolution } from '../transposed-provider.model.js';
|
|
9
|
+
/**
|
|
10
|
+
* #1937 — a base URL the source COMPUTES from a connect-time answer is evaluated once per admitted answer.
|
|
11
|
+
*
|
|
12
|
+
* Activepieces' Microsoft pieces reach Graph through `getGraphBaseUrl(cloud)`. Unread, their operations were
|
|
13
|
+
* "relative to a base the source does not state", and the merge withdrew them beside Sim's literal
|
|
14
|
+
* `https://graph.microsoft.com`. Read, they settle on that origin, and the provider learns which Graph host each login
|
|
15
|
+
* cloud selects — so a US Government connection is not sent to global Graph.
|
|
16
|
+
*/
|
|
17
|
+
function writePiece(files) {
|
|
18
|
+
const root = mkdtempSync(join(tmpdir(), 'wildo-piece-graph-'));
|
|
19
|
+
for (const [path, text] of Object.entries(files)) {
|
|
20
|
+
mkdirSync(dirname(join(root, path)), { recursive: true });
|
|
21
|
+
writeFileSync(join(root, path), text, 'utf8');
|
|
22
|
+
}
|
|
23
|
+
return join(root, 'microsoft-excel');
|
|
24
|
+
}
|
|
25
|
+
const IMPORTS = `import { createAction, Property, PieceAuth, OAuth2PropertyValue } from '@activepieces/pieces-framework';
|
|
26
|
+
import { httpClient, HttpMethod } from '@activepieces/pieces-common';`;
|
|
27
|
+
/** Activepieces' own `microsoft-cloud.ts`, verbatim in shape: constants, a dropdown, a `const` and two `??`. */
|
|
28
|
+
const MICROSOFT_CLOUD = `import { OAuth2PropertyValue, Property } from '@activepieces/pieces-framework';
|
|
29
|
+
const COMMERCIAL_LOGIN_HOST = 'login.microsoftonline.com';
|
|
30
|
+
const GOV_LOGIN_HOST = 'login.microsoftonline.us';
|
|
31
|
+
const GRAPH_BASE_URLS: Record<string, string> = {
|
|
32
|
+
[COMMERCIAL_LOGIN_HOST]: 'https://graph.microsoft.com',
|
|
33
|
+
[GOV_LOGIN_HOST]: 'https://graph.microsoft.us',
|
|
34
|
+
};
|
|
35
|
+
export const microsoftCloudProperty = Property.StaticDropdown({
|
|
36
|
+
displayName: 'Cloud Environment', required: true, defaultValue: COMMERCIAL_LOGIN_HOST,
|
|
37
|
+
options: { disabled: false, options: [
|
|
38
|
+
{ label: 'Commercial (Global)', value: COMMERCIAL_LOGIN_HOST },
|
|
39
|
+
{ label: 'US Government (GCC High)', value: GOV_LOGIN_HOST },
|
|
40
|
+
] },
|
|
41
|
+
});
|
|
42
|
+
function resolveCloudHost(cloudLoginHost: string | undefined | null): string {
|
|
43
|
+
return cloudLoginHost ?? COMMERCIAL_LOGIN_HOST;
|
|
44
|
+
}
|
|
45
|
+
export function getMicrosoftCloudFromAuth(auth: OAuth2PropertyValue): string {
|
|
46
|
+
return resolveCloudHost(auth.props?.['cloud'] as string | undefined);
|
|
47
|
+
}
|
|
48
|
+
export function getGraphBaseUrl(cloudLoginHost: string | undefined | null): string {
|
|
49
|
+
const host = resolveCloudHost(cloudLoginHost);
|
|
50
|
+
return GRAPH_BASE_URLS[host] ?? GRAPH_BASE_URLS[COMMERCIAL_LOGIN_HOST];
|
|
51
|
+
}`;
|
|
52
|
+
const PIECE = {
|
|
53
|
+
'microsoft-excel/src/lib/common/microsoft-cloud.ts': MICROSOFT_CLOUD,
|
|
54
|
+
'microsoft-excel/src/lib/common/common.ts': `import { getGraphBaseUrl } from './microsoft-cloud.js';
|
|
55
|
+
export const oneDriveCommon = { getBaseUrl: (cloud?: string | null) => getGraphBaseUrl(cloud) + '/v1.0/me/drive' };`,
|
|
56
|
+
'microsoft-excel/src/lib/auth.ts': `import { PieceAuth } from '@activepieces/pieces-framework';
|
|
57
|
+
import { microsoftCloudProperty } from './common/microsoft-cloud.js';
|
|
58
|
+
export const oneDriveAuth = PieceAuth.OAuth2({ props: { cloud: microsoftCloudProperty }, authUrl: 'https://{cloud}/common/oauth2/v2.0/authorize', tokenUrl: 'https://{cloud}/common/oauth2/v2.0/token', required: true, scope: ['Files.ReadWrite'] });`,
|
|
59
|
+
'microsoft-excel/src/lib/actions/actions.ts': `${IMPORTS}
|
|
60
|
+
import { oneDriveCommon } from '../common/common.js';
|
|
61
|
+
export const listFolders = createAction({ name: 'list_folders', props: {}, async run(context) {
|
|
62
|
+
const cloud = context.auth.props?.['cloud'] as string | undefined;
|
|
63
|
+
return httpClient.sendRequest({ method: HttpMethod.GET, url: \`\${oneDriveCommon.getBaseUrl(cloud)}/items/\${context.propsValue.parentId}/children\` });
|
|
64
|
+
} });
|
|
65
|
+
export const downloadFile = createAction({ name: 'download_file', props: {}, async run(context) {
|
|
66
|
+
const cloud = context.auth.props?.['cloud'] as string | undefined;
|
|
67
|
+
const baseUrl = oneDriveCommon.getBaseUrl(cloud);
|
|
68
|
+
return httpClient.sendRequest({ method: HttpMethod.GET, url: \`\${baseUrl}/items/\${context.propsValue.fileId}/content\` });
|
|
69
|
+
} });`,
|
|
70
|
+
};
|
|
71
|
+
const TABLE = {
|
|
72
|
+
answer: 'cloud',
|
|
73
|
+
hosts: { 'login.microsoftonline.com': 'graph.microsoft.com', 'login.microsoftonline.us': 'graph.microsoft.us' },
|
|
74
|
+
whenUnanswered: 'graph.microsoft.com',
|
|
75
|
+
};
|
|
76
|
+
describe('the reader evaluates a base computed from a connection answer', () => {
|
|
77
|
+
it('settles both the local and the inline shape on the Graph origin, with the per-cloud host table', () => {
|
|
78
|
+
// Mutation: return `undefined` from `connectionComputedBaseBehind` → no base URL, no table, paths lose `/v1.0/me/drive`.
|
|
79
|
+
const { provider } = readActivepiecesPiece({ pieceDirectory: writePiece(PIECE), sourceVersion: 'test' });
|
|
80
|
+
expect(provider.baseUrl).toBe('https://graph.microsoft.com');
|
|
81
|
+
expect(provider.baseUrlHostFromConnectionAnswer).toEqual(TABLE);
|
|
82
|
+
expect(provider.operations.map((operation) => [operation.operationId, operation.pathTemplate])).toEqual([
|
|
83
|
+
['list_folders', '/v1.0/me/drive/items/{parentId}/children'],
|
|
84
|
+
['download_file', '/v1.0/me/drive/items/{fileId}/content'],
|
|
85
|
+
]);
|
|
86
|
+
});
|
|
87
|
+
it('never withdraws what the piece shipped without it: a computed base in the minority is read as before', () => {
|
|
88
|
+
// The Power BI shape — 1 request readable as a computed base, 2 relative to a base the source does not state.
|
|
89
|
+
// Mutation: drop the fallback read → list_folders is withdrawn as BASE_URL_INCONSISTENT.
|
|
90
|
+
const relative = (name, path) => `export const ${name} = createAction({ name: '${name}', props: {}, async run(context) {
|
|
91
|
+
const base = context.propsValue.base;
|
|
92
|
+
return httpClient.sendRequest({ method: HttpMethod.GET, url: \`\${base}${path}\` });
|
|
93
|
+
} });`;
|
|
94
|
+
const { provider, unreadable } = readActivepiecesPiece({
|
|
95
|
+
pieceDirectory: writePiece({
|
|
96
|
+
...PIECE,
|
|
97
|
+
'microsoft-excel/src/lib/actions/actions.ts': `${IMPORTS}
|
|
98
|
+
import { oneDriveCommon } from '../common/common.js';
|
|
99
|
+
export const listFolders = createAction({ name: 'list_folders', props: {}, async run(context) {
|
|
100
|
+
const cloud = context.auth.props?.['cloud'] as string | undefined;
|
|
101
|
+
return httpClient.sendRequest({ method: HttpMethod.GET, url: \`\${oneDriveCommon.getBaseUrl(cloud)}/items/root/children\` });
|
|
102
|
+
} });
|
|
103
|
+
${relative('first_relative', '/one')}
|
|
104
|
+
${relative('second_relative', '/two')}`,
|
|
105
|
+
}),
|
|
106
|
+
sourceVersion: 'test',
|
|
107
|
+
});
|
|
108
|
+
expect(unreadable.filter((operation) => operation.unreadableClass === 'BASE_URL_INCONSISTENT')).toEqual([]);
|
|
109
|
+
expect(provider.operations.map((operation) => operation.operationId).sort()).toEqual(['first_relative', 'list_folders', 'second_relative']);
|
|
110
|
+
expect(provider.baseUrl).toBeUndefined();
|
|
111
|
+
expect(provider.baseUrlHostFromConnectionAnswer).toBeUndefined();
|
|
112
|
+
});
|
|
113
|
+
it('never withdraws the relative MINORITY either: a computed base in the majority is read as before too (#1937 review N4)', () => {
|
|
114
|
+
// Mutation: fall back only when a DERIVED operation is withdrawn → the relative one is withdrawn here.
|
|
115
|
+
const { unreadable } = readActivepiecesPiece({
|
|
116
|
+
pieceDirectory: writePiece({
|
|
117
|
+
...PIECE,
|
|
118
|
+
'microsoft-excel/src/lib/actions/extra.ts': `${IMPORTS}
|
|
119
|
+
export const unstated = createAction({ name: 'unstated', props: {}, async run(context) {
|
|
120
|
+
const base = context.propsValue.base;
|
|
121
|
+
return httpClient.sendRequest({ method: HttpMethod.GET, url: \`\${base}/three\` });
|
|
122
|
+
} });`,
|
|
123
|
+
}),
|
|
124
|
+
sourceVersion: 'test',
|
|
125
|
+
});
|
|
126
|
+
expect(unreadable.filter((operation) => operation.unreadableClass === 'BASE_URL_INCONSISTENT')).toEqual([]);
|
|
127
|
+
});
|
|
128
|
+
it('reads a cloud taken from `context.auth` through a function of the connection — the Copilot action shape (#1937 review N1)', () => {
|
|
129
|
+
// Mutation: drop the `context.auth` branch of `connectionCallBehind` → no base URL and no table.
|
|
130
|
+
const { provider } = readActivepiecesPiece({
|
|
131
|
+
pieceDirectory: writePiece({
|
|
132
|
+
'microsoft-excel/src/lib/common/microsoft-cloud.ts': MICROSOFT_CLOUD,
|
|
133
|
+
'microsoft-excel/src/lib/auth.ts': PIECE['microsoft-excel/src/lib/auth.ts'],
|
|
134
|
+
'microsoft-excel/src/lib/actions/chat.ts': `${IMPORTS}
|
|
135
|
+
import { getGraphBaseUrl, getMicrosoftCloudFromAuth } from '../common/microsoft-cloud.js';
|
|
136
|
+
export const chat = createAction({ name: 'chat_with_copilot', props: {}, async run(context) {
|
|
137
|
+
const cloud = getMicrosoftCloudFromAuth(context.auth);
|
|
138
|
+
return httpClient.sendRequest({ method: HttpMethod.POST, url: \`\${getGraphBaseUrl(cloud)}/beta/copilot/conversations\` });
|
|
139
|
+
} });`,
|
|
140
|
+
}),
|
|
141
|
+
sourceVersion: 'test',
|
|
142
|
+
});
|
|
143
|
+
expect(provider.baseUrl).toBe('https://graph.microsoft.com');
|
|
144
|
+
expect(provider.baseUrlHostFromConnectionAnswer).toEqual(TABLE);
|
|
145
|
+
expect(provider.operations.map((operation) => operation.pathTemplate)).toEqual(['/beta/copilot/conversations']);
|
|
146
|
+
});
|
|
147
|
+
it('derives nothing when the computation reads a local that is not a connection answer', () => {
|
|
148
|
+
const { provider } = readActivepiecesPiece({
|
|
149
|
+
pieceDirectory: writePiece({
|
|
150
|
+
...PIECE,
|
|
151
|
+
'microsoft-excel/src/lib/actions/actions.ts': `${IMPORTS}
|
|
152
|
+
import { oneDriveCommon } from '../common/common.js';
|
|
153
|
+
export const listFolders = createAction({ name: 'list_folders', props: {}, async run(context) {
|
|
154
|
+
const cloud = context.propsValue.cloud;
|
|
155
|
+
return httpClient.sendRequest({ method: HttpMethod.GET, url: \`\${oneDriveCommon.getBaseUrl(cloud)}/items/root/children\` });
|
|
156
|
+
} });`,
|
|
157
|
+
}),
|
|
158
|
+
sourceVersion: 'test',
|
|
159
|
+
});
|
|
160
|
+
expect(provider.baseUrl).toBeUndefined();
|
|
161
|
+
expect(provider.baseUrlHostFromConnectionAnswer).toBeUndefined();
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
describe('the merge and the emitter', () => {
|
|
165
|
+
const provenance = { source: 'SIM', sourceRef: 'onedrive', sourceVersion: 'test' };
|
|
166
|
+
const sim = {
|
|
167
|
+
ref: 'microsoft-excel', vendor: 'microsoft-excel', baseUrl: 'https://graph.microsoft.com', auth: { kind: TransposedAuthKind.OAUTH2 },
|
|
168
|
+
provenances: [provenance],
|
|
169
|
+
operations: [{ operationId: 'onedrive_upload', domain: 'default', resolution: TransposedOperationResolution.RESOLVED, method: 'PUT', pathTemplate: '/v1.0/me/drive/root:/{path}:/content', classification: 'WRITE', parameters: [], inputFields: [], hasRequestBody: true, provenance }],
|
|
170
|
+
};
|
|
171
|
+
it('keeps the computed operations beside a catalogue that names the origin literally, and carries the table', () => {
|
|
172
|
+
// Before #1937 the Activepieces view had no base, and its operations were withdrawn as BASE_URL_INCONSISTENT.
|
|
173
|
+
const activepieces = readActivepiecesPiece({ pieceDirectory: writePiece(PIECE), sourceVersion: 'test' }).provider;
|
|
174
|
+
const { providers, withdrawnByVendor } = mergeTransposedProviders([activepieces, sim]);
|
|
175
|
+
expect(withdrawnByVendor.get('microsoft-excel')).toBeUndefined();
|
|
176
|
+
expect(providers[0].operations.map((operation) => operation.operationId).sort()).toEqual(['download_file', 'list_folders', 'onedrive_upload']);
|
|
177
|
+
expect(providers[0].baseUrlHostFromConnectionAnswer).toEqual(TABLE);
|
|
178
|
+
});
|
|
179
|
+
it('applies the API base the piece DECLARES when no action is readable — the Outlook shape', () => {
|
|
180
|
+
// Mutation: drop the declared-base fallback in the merge → the Sim-only operations keep one fixed Graph host.
|
|
181
|
+
const sdkOnly = readActivepiecesPiece({
|
|
182
|
+
pieceDirectory: writePiece({
|
|
183
|
+
'microsoft-excel/src/lib/common/microsoft-cloud.ts': MICROSOFT_CLOUD,
|
|
184
|
+
'microsoft-excel/src/lib/auth.ts': PIECE['microsoft-excel/src/lib/auth.ts'],
|
|
185
|
+
'microsoft-excel/src/index.ts': `import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
|
186
|
+
import { OAuth2PropertyValue } from '@activepieces/pieces-framework';
|
|
187
|
+
import { getGraphBaseUrl } from './lib/common/microsoft-cloud.js';
|
|
188
|
+
import { oneDriveAuth } from './lib/auth.js';
|
|
189
|
+
export const actions = [createCustomApiCallAction({
|
|
190
|
+
auth: oneDriveAuth,
|
|
191
|
+
baseUrl: (auth) => {
|
|
192
|
+
const cloud = (auth as OAuth2PropertyValue).props?.['cloud'] as string | undefined;
|
|
193
|
+
return getGraphBaseUrl(cloud) + '/v1.0/';
|
|
194
|
+
},
|
|
195
|
+
})];`,
|
|
196
|
+
}),
|
|
197
|
+
sourceVersion: 'test',
|
|
198
|
+
}).provider;
|
|
199
|
+
expect(sdkOnly.declaredApiBaseHostFromConnectionAnswer).toEqual(TABLE);
|
|
200
|
+
expect(sdkOnly.operations).toEqual([]);
|
|
201
|
+
const merged = mergeTransposedProviders([sdkOnly, sim]).providers[0];
|
|
202
|
+
expect(merged.baseUrl).toBe('https://graph.microsoft.com');
|
|
203
|
+
expect(merged.baseUrlHostFromConnectionAnswer).toEqual(TABLE);
|
|
204
|
+
});
|
|
205
|
+
it('reads a base computed through a function OF the connection — the Planner shape (#1937 review F1)', () => {
|
|
206
|
+
// Mutation: drop `connectionCallBehind` → the local `cloud` is unreadable, and Planner keeps one fixed Graph host.
|
|
207
|
+
const planner = readActivepiecesPiece({
|
|
208
|
+
pieceDirectory: writePiece({
|
|
209
|
+
'microsoft-excel/src/lib/common/microsoft-cloud.ts': MICROSOFT_CLOUD,
|
|
210
|
+
'microsoft-excel/src/lib/auth.ts': PIECE['microsoft-excel/src/lib/auth.ts'],
|
|
211
|
+
'microsoft-excel/src/index.ts': `import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
|
212
|
+
import { OAuth2PropertyValue } from '@activepieces/pieces-framework';
|
|
213
|
+
import { getGraphBaseUrl, getMicrosoftCloudFromAuth } from './lib/common/microsoft-cloud.js';
|
|
214
|
+
import { oneDriveAuth } from './lib/auth.js';
|
|
215
|
+
export const actions = [createCustomApiCallAction({
|
|
216
|
+
auth: oneDriveAuth,
|
|
217
|
+
baseUrl: (auth) => {
|
|
218
|
+
const cloud = getMicrosoftCloudFromAuth(auth as OAuth2PropertyValue);
|
|
219
|
+
return getGraphBaseUrl(cloud) + '/v1.0/';
|
|
220
|
+
},
|
|
221
|
+
})];`,
|
|
222
|
+
}),
|
|
223
|
+
sourceVersion: 'test',
|
|
224
|
+
}).provider;
|
|
225
|
+
expect(planner.declaredApiBaseHostFromConnectionAnswer).toEqual(TABLE);
|
|
226
|
+
});
|
|
227
|
+
it('keeps an operation another catalogue already ships when a computed-base view reads the same endpoint', () => {
|
|
228
|
+
// The Activepieces download reads its search only as a lookup STEP; its view computes its base from the cloud.
|
|
229
|
+
const step = { ...sim, baseUrlHostFromConnectionAnswer: TABLE, provenances: [{ source: 'ACTIVEPIECES', sourceRef: 'microsoft-excel', sourceVersion: 'test' }], operations: [{
|
|
230
|
+
operationId: 'download_file', domain: 'default', resolution: TransposedOperationResolution.RESOLVED, method: 'GET', pathTemplate: "/v1.0/me/drive/root/search(q='{escapedName}')",
|
|
231
|
+
classification: 'READ', parameters: [{ name: 'escapedName', in: 'PATH', required: true }], inputFields: [{ name: 'fileIdentifier', kind: 'STRING', required: true }], hasRequestBody: false,
|
|
232
|
+
provenance: { source: 'ACTIVEPIECES', sourceRef: 'microsoft-excel', sourceVersion: 'test' },
|
|
233
|
+
}] };
|
|
234
|
+
const search = { ...sim, operations: [{
|
|
235
|
+
operationId: 'onedrive_search', domain: 'default', resolution: TransposedOperationResolution.RESOLVED, method: 'GET', pathTemplate: "/v1.0/me/drive/root/search(q='{query}')",
|
|
236
|
+
classification: 'READ', parameters: [{ name: 'query', in: 'PATH', required: true }], inputFields: [{ name: 'query', kind: 'STRING', required: true }], hasRequestBody: false, provenance,
|
|
237
|
+
}] };
|
|
238
|
+
// Mutation: drop `preferStatedBase` → the tie goes to the first view read, and the download step replaces the search.
|
|
239
|
+
const [merged] = mergeTransposedProviders([step, search]).providers;
|
|
240
|
+
expect(merged.operations.map((operation) => operation.operationId)).toEqual(['onedrive_search']);
|
|
241
|
+
expect(merged.operations[0].alsoDescribedBy).toEqual([{ source: 'ACTIVEPIECES', sourceRef: 'microsoft-excel', sourceVersion: 'test' }]);
|
|
242
|
+
});
|
|
243
|
+
it('emits the host as a derived placeholder, and refuses a table that leaves an admitted cloud with no host', () => {
|
|
244
|
+
const activepieces = readActivepiecesPiece({ pieceDirectory: writePiece(PIECE), sourceVersion: 'test' }).provider;
|
|
245
|
+
const merged = mergeTransposedProviders([activepieces, sim]).providers[0];
|
|
246
|
+
const root = mkdtempSync(join(tmpdir(), 'wildo-graph-emit-'));
|
|
247
|
+
emitProvidersPackage({ packageRoot: root, fullBatch: false, providers: [merged], unreadableByVendor: new Map() });
|
|
248
|
+
const module = readFileSync(join(root, 'src', 'microsoft-excel', 'backend.exports.ts'), 'utf8');
|
|
249
|
+
expect(module).toContain('baseUrl: "https://{operationHost}",');
|
|
250
|
+
expect(module).toContain('"operationHost": { kind: ProviderOAuth2EndpointHostAllowanceKind.DERIVED_FROM_CONNECTION_ANSWER, answer: "cloud", hosts: { "login.microsoftonline.com": "graph.microsoft.com", "login.microsoftonline.us": "graph.microsoft.us" }, whenUnanswered: "graph.microsoft.com" },');
|
|
251
|
+
const partial = { ...merged, baseUrlHostFromConnectionAnswer: { ...TABLE, hosts: { 'login.microsoftonline.com': 'graph.microsoft.com' } } };
|
|
252
|
+
expect(() => connectionDerivedOperationHost(partial, undefined)).toThrow(/'login.microsoftonline.us' with no operation host/);
|
|
253
|
+
});
|
|
254
|
+
});
|
|
255
|
+
//# sourceMappingURL=connection-derived-operation-host.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-derived-operation-host.test.js","sourceRoot":"","sources":["../../../../../../../../src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnG,OAAO,EAAE,kBAAkB,EAAE,6BAA6B,EAA2B,MAAM,8BAA8B,CAAC;AAE1H;;;;;;;GAOG;AACH,SAAS,UAAU,CAAC,KAA6B;IAC/C,MAAM,IAAI,GAAG,WAAW,CAAC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GAAG,qBAAqB,CAAC,EAAE,cAAc,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC;QAClH,MAAM,MAAM,GAAG,wBAAwB,CAAC,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAE,CAAC;QAC3E,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,mBAAmB,CAAC,CAAC,CAAC;QAC9D,oBAAoB,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,EAAE,kBAAkB,EAAE,IAAI,GAAG,EAAE,EAAE,CAAC,CAAC;QAClH,MAAM,MAAM,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,MAAM,CAAC,CAAC;QAChG,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,qCAAqC,CAAC,CAAC;QAChE,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,6QAA6Q,CAAC,CAAC;QACxS,MAAM,OAAO,GAAG,EAAE,GAAG,MAAM,EAAE,+BAA+B,EAAE,EAAE,GAAG,KAAK,EAAE,KAAK,EAAE,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,EAAE,EAAE,CAAC;QAC5I,MAAM,CAAC,GAAG,EAAE,CAAC,8BAA8B,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,mDAAmD,CAAC,CAAC;IAChI,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { mkdirSync, mkdtempSync, readFileSync, writeFileSync } from 'node:fs';\nimport { tmpdir } from 'node:os';\nimport { dirname, join } from 'node:path';\nimport { describe, expect, it } from 'vitest';\n\nimport { readActivepiecesPiece } from '../activepieces-source.reader';\nimport { mergeTransposedProviders } from '../provider-merge';\nimport { connectionDerivedOperationHost, emitProvidersPackage } from '../provider-package.emitter';\nimport { TransposedAuthKind, TransposedOperationResolution, type TransposedProvider } from '../transposed-provider.model';\n\n/**\n * #1937 — a base URL the source COMPUTES from a connect-time answer is evaluated once per admitted answer.\n *\n * Activepieces' Microsoft pieces reach Graph through `getGraphBaseUrl(cloud)`. Unread, their operations were\n * \"relative to a base the source does not state\", and the merge withdrew them beside Sim's literal\n * `https://graph.microsoft.com`. Read, they settle on that origin, and the provider learns which Graph host each login\n * cloud selects — so a US Government connection is not sent to global Graph.\n */\nfunction writePiece(files: Record<string, string>): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-piece-graph-'));\n for (const [path, text] of Object.entries(files)) {\n mkdirSync(dirname(join(root, path)), { recursive: true });\n writeFileSync(join(root, path), text, 'utf8');\n }\n return join(root, 'microsoft-excel');\n}\nconst IMPORTS = `import { createAction, Property, PieceAuth, OAuth2PropertyValue } from '@activepieces/pieces-framework';\nimport { httpClient, HttpMethod } from '@activepieces/pieces-common';`;\n/** Activepieces' own `microsoft-cloud.ts`, verbatim in shape: constants, a dropdown, a `const` and two `??`. */\nconst MICROSOFT_CLOUD = `import { OAuth2PropertyValue, Property } from '@activepieces/pieces-framework';\nconst COMMERCIAL_LOGIN_HOST = 'login.microsoftonline.com';\nconst GOV_LOGIN_HOST = 'login.microsoftonline.us';\nconst GRAPH_BASE_URLS: Record<string, string> = {\n [COMMERCIAL_LOGIN_HOST]: 'https://graph.microsoft.com',\n [GOV_LOGIN_HOST]: 'https://graph.microsoft.us',\n};\nexport const microsoftCloudProperty = Property.StaticDropdown({\n displayName: 'Cloud Environment', required: true, defaultValue: COMMERCIAL_LOGIN_HOST,\n options: { disabled: false, options: [\n { label: 'Commercial (Global)', value: COMMERCIAL_LOGIN_HOST },\n { label: 'US Government (GCC High)', value: GOV_LOGIN_HOST },\n ] },\n});\nfunction resolveCloudHost(cloudLoginHost: string | undefined | null): string {\n return cloudLoginHost ?? COMMERCIAL_LOGIN_HOST;\n}\nexport function getMicrosoftCloudFromAuth(auth: OAuth2PropertyValue): string {\n return resolveCloudHost(auth.props?.['cloud'] as string | undefined);\n}\nexport function getGraphBaseUrl(cloudLoginHost: string | undefined | null): string {\n const host = resolveCloudHost(cloudLoginHost);\n return GRAPH_BASE_URLS[host] ?? GRAPH_BASE_URLS[COMMERCIAL_LOGIN_HOST];\n}`;\nconst PIECE = {\n 'microsoft-excel/src/lib/common/microsoft-cloud.ts': MICROSOFT_CLOUD,\n 'microsoft-excel/src/lib/common/common.ts': `import { getGraphBaseUrl } from './microsoft-cloud';\nexport const oneDriveCommon = { getBaseUrl: (cloud?: string | null) => getGraphBaseUrl(cloud) + '/v1.0/me/drive' };`,\n 'microsoft-excel/src/lib/auth.ts': `import { PieceAuth } from '@activepieces/pieces-framework';\nimport { microsoftCloudProperty } from './common/microsoft-cloud';\nexport const oneDriveAuth = PieceAuth.OAuth2({ props: { cloud: microsoftCloudProperty }, authUrl: 'https://{cloud}/common/oauth2/v2.0/authorize', tokenUrl: 'https://{cloud}/common/oauth2/v2.0/token', required: true, scope: ['Files.ReadWrite'] });`,\n 'microsoft-excel/src/lib/actions/actions.ts': `${IMPORTS}\nimport { oneDriveCommon } from '../common/common';\nexport const listFolders = createAction({ name: 'list_folders', props: {}, async run(context) {\n const cloud = context.auth.props?.['cloud'] as string | undefined;\n return httpClient.sendRequest({ method: HttpMethod.GET, url: \\`\\${oneDriveCommon.getBaseUrl(cloud)}/items/\\${context.propsValue.parentId}/children\\` });\n} });\nexport const downloadFile = createAction({ name: 'download_file', props: {}, async run(context) {\n const cloud = context.auth.props?.['cloud'] as string | undefined;\n const baseUrl = oneDriveCommon.getBaseUrl(cloud);\n return httpClient.sendRequest({ method: HttpMethod.GET, url: \\`\\${baseUrl}/items/\\${context.propsValue.fileId}/content\\` });\n} });`,\n};\nconst TABLE = {\n answer: 'cloud',\n hosts: { 'login.microsoftonline.com': 'graph.microsoft.com', 'login.microsoftonline.us': 'graph.microsoft.us' },\n whenUnanswered: 'graph.microsoft.com',\n};\n\ndescribe('the reader evaluates a base computed from a connection answer', () => {\n it('settles both the local and the inline shape on the Graph origin, with the per-cloud host table', () => {\n // Mutation: return `undefined` from `connectionComputedBaseBehind` → no base URL, no table, paths lose `/v1.0/me/drive`.\n const { provider } = readActivepiecesPiece({ pieceDirectory: writePiece(PIECE), sourceVersion: 'test' });\n expect(provider.baseUrl).toBe('https://graph.microsoft.com');\n expect(provider.baseUrlHostFromConnectionAnswer).toEqual(TABLE);\n expect(provider.operations.map((operation) => [operation.operationId, operation.pathTemplate])).toEqual([\n ['list_folders', '/v1.0/me/drive/items/{parentId}/children'],\n ['download_file', '/v1.0/me/drive/items/{fileId}/content'],\n ]);\n });\n\n it('never withdraws what the piece shipped without it: a computed base in the minority is read as before', () => {\n // The Power BI shape — 1 request readable as a computed base, 2 relative to a base the source does not state.\n // Mutation: drop the fallback read → list_folders is withdrawn as BASE_URL_INCONSISTENT.\n const relative = (name: string, path: string) => `export const ${name} = createAction({ name: '${name}', props: {}, async run(context) {\n const base = context.propsValue.base;\n return httpClient.sendRequest({ method: HttpMethod.GET, url: \\`\\${base}${path}\\` });\n} });`;\n const { provider, unreadable } = readActivepiecesPiece({\n pieceDirectory: writePiece({\n ...PIECE,\n 'microsoft-excel/src/lib/actions/actions.ts': `${IMPORTS}\nimport { oneDriveCommon } from '../common/common';\nexport const listFolders = createAction({ name: 'list_folders', props: {}, async run(context) {\n const cloud = context.auth.props?.['cloud'] as string | undefined;\n return httpClient.sendRequest({ method: HttpMethod.GET, url: \\`\\${oneDriveCommon.getBaseUrl(cloud)}/items/root/children\\` });\n} });\n${relative('first_relative', '/one')}\n${relative('second_relative', '/two')}`,\n }),\n sourceVersion: 'test',\n });\n expect(unreadable.filter((operation) => operation.unreadableClass === 'BASE_URL_INCONSISTENT')).toEqual([]);\n expect(provider.operations.map((operation) => operation.operationId).sort()).toEqual(['first_relative', 'list_folders', 'second_relative']);\n expect(provider.baseUrl).toBeUndefined();\n expect(provider.baseUrlHostFromConnectionAnswer).toBeUndefined();\n });\n\n it('never withdraws the relative MINORITY either: a computed base in the majority is read as before too (#1937 review N4)', () => {\n // Mutation: fall back only when a DERIVED operation is withdrawn → the relative one is withdrawn here.\n const { unreadable } = readActivepiecesPiece({\n pieceDirectory: writePiece({\n ...PIECE,\n 'microsoft-excel/src/lib/actions/extra.ts': `${IMPORTS}\nexport const unstated = createAction({ name: 'unstated', props: {}, async run(context) {\n const base = context.propsValue.base;\n return httpClient.sendRequest({ method: HttpMethod.GET, url: \\`\\${base}/three\\` });\n} });`,\n }),\n sourceVersion: 'test',\n });\n expect(unreadable.filter((operation) => operation.unreadableClass === 'BASE_URL_INCONSISTENT')).toEqual([]);\n });\n\n it('reads a cloud taken from `context.auth` through a function of the connection — the Copilot action shape (#1937 review N1)', () => {\n // Mutation: drop the `context.auth` branch of `connectionCallBehind` → no base URL and no table.\n const { provider } = readActivepiecesPiece({\n pieceDirectory: writePiece({\n 'microsoft-excel/src/lib/common/microsoft-cloud.ts': MICROSOFT_CLOUD,\n 'microsoft-excel/src/lib/auth.ts': PIECE['microsoft-excel/src/lib/auth.ts'],\n 'microsoft-excel/src/lib/actions/chat.ts': `${IMPORTS}\nimport { getGraphBaseUrl, getMicrosoftCloudFromAuth } from '../common/microsoft-cloud';\nexport const chat = createAction({ name: 'chat_with_copilot', props: {}, async run(context) {\n const cloud = getMicrosoftCloudFromAuth(context.auth);\n return httpClient.sendRequest({ method: HttpMethod.POST, url: \\`\\${getGraphBaseUrl(cloud)}/beta/copilot/conversations\\` });\n} });`,\n }),\n sourceVersion: 'test',\n });\n expect(provider.baseUrl).toBe('https://graph.microsoft.com');\n expect(provider.baseUrlHostFromConnectionAnswer).toEqual(TABLE);\n expect(provider.operations.map((operation) => operation.pathTemplate)).toEqual(['/beta/copilot/conversations']);\n });\n\n it('derives nothing when the computation reads a local that is not a connection answer', () => {\n const { provider } = readActivepiecesPiece({\n pieceDirectory: writePiece({\n ...PIECE,\n 'microsoft-excel/src/lib/actions/actions.ts': `${IMPORTS}\nimport { oneDriveCommon } from '../common/common';\nexport const listFolders = createAction({ name: 'list_folders', props: {}, async run(context) {\n const cloud = context.propsValue.cloud;\n return httpClient.sendRequest({ method: HttpMethod.GET, url: \\`\\${oneDriveCommon.getBaseUrl(cloud)}/items/root/children\\` });\n} });`,\n }),\n sourceVersion: 'test',\n });\n expect(provider.baseUrl).toBeUndefined();\n expect(provider.baseUrlHostFromConnectionAnswer).toBeUndefined();\n });\n});\n\ndescribe('the merge and the emitter', () => {\n const provenance = { source: 'SIM', sourceRef: 'onedrive', sourceVersion: 'test' } as const;\n const sim: TransposedProvider = {\n ref: 'microsoft-excel', vendor: 'microsoft-excel', baseUrl: 'https://graph.microsoft.com', auth: { kind: TransposedAuthKind.OAUTH2 },\n provenances: [provenance],\n operations: [{ operationId: 'onedrive_upload', domain: 'default', resolution: TransposedOperationResolution.RESOLVED, method: 'PUT', pathTemplate: '/v1.0/me/drive/root:/{path}:/content', classification: 'WRITE', parameters: [], inputFields: [], hasRequestBody: true, provenance }],\n };\n\n it('keeps the computed operations beside a catalogue that names the origin literally, and carries the table', () => {\n // Before #1937 the Activepieces view had no base, and its operations were withdrawn as BASE_URL_INCONSISTENT.\n const activepieces = readActivepiecesPiece({ pieceDirectory: writePiece(PIECE), sourceVersion: 'test' }).provider;\n const { providers, withdrawnByVendor } = mergeTransposedProviders([activepieces, sim]);\n expect(withdrawnByVendor.get('microsoft-excel')).toBeUndefined();\n expect(providers[0]!.operations.map((operation) => operation.operationId).sort()).toEqual(['download_file', 'list_folders', 'onedrive_upload']);\n expect(providers[0]!.baseUrlHostFromConnectionAnswer).toEqual(TABLE);\n });\n\n it('applies the API base the piece DECLARES when no action is readable — the Outlook shape', () => {\n // Mutation: drop the declared-base fallback in the merge → the Sim-only operations keep one fixed Graph host.\n const sdkOnly = readActivepiecesPiece({\n pieceDirectory: writePiece({\n 'microsoft-excel/src/lib/common/microsoft-cloud.ts': MICROSOFT_CLOUD,\n 'microsoft-excel/src/lib/auth.ts': PIECE['microsoft-excel/src/lib/auth.ts'],\n 'microsoft-excel/src/index.ts': `import { createCustomApiCallAction } from '@activepieces/pieces-common';\nimport { OAuth2PropertyValue } from '@activepieces/pieces-framework';\nimport { getGraphBaseUrl } from './lib/common/microsoft-cloud';\nimport { oneDriveAuth } from './lib/auth';\nexport const actions = [createCustomApiCallAction({\n auth: oneDriveAuth,\n baseUrl: (auth) => {\n const cloud = (auth as OAuth2PropertyValue).props?.['cloud'] as string | undefined;\n return getGraphBaseUrl(cloud) + '/v1.0/';\n },\n})];`,\n }),\n sourceVersion: 'test',\n }).provider;\n expect(sdkOnly.declaredApiBaseHostFromConnectionAnswer).toEqual(TABLE);\n expect(sdkOnly.operations).toEqual([]);\n const merged = mergeTransposedProviders([sdkOnly, sim]).providers[0]!;\n expect(merged.baseUrl).toBe('https://graph.microsoft.com');\n expect(merged.baseUrlHostFromConnectionAnswer).toEqual(TABLE);\n });\n\n it('reads a base computed through a function OF the connection — the Planner shape (#1937 review F1)', () => {\n // Mutation: drop `connectionCallBehind` → the local `cloud` is unreadable, and Planner keeps one fixed Graph host.\n const planner = readActivepiecesPiece({\n pieceDirectory: writePiece({\n 'microsoft-excel/src/lib/common/microsoft-cloud.ts': MICROSOFT_CLOUD,\n 'microsoft-excel/src/lib/auth.ts': PIECE['microsoft-excel/src/lib/auth.ts'],\n 'microsoft-excel/src/index.ts': `import { createCustomApiCallAction } from '@activepieces/pieces-common';\nimport { OAuth2PropertyValue } from '@activepieces/pieces-framework';\nimport { getGraphBaseUrl, getMicrosoftCloudFromAuth } from './lib/common/microsoft-cloud';\nimport { oneDriveAuth } from './lib/auth';\nexport const actions = [createCustomApiCallAction({\n auth: oneDriveAuth,\n baseUrl: (auth) => {\n const cloud = getMicrosoftCloudFromAuth(auth as OAuth2PropertyValue);\n return getGraphBaseUrl(cloud) + '/v1.0/';\n },\n})];`,\n }),\n sourceVersion: 'test',\n }).provider;\n expect(planner.declaredApiBaseHostFromConnectionAnswer).toEqual(TABLE);\n });\n\n it('keeps an operation another catalogue already ships when a computed-base view reads the same endpoint', () => {\n // The Activepieces download reads its search only as a lookup STEP; its view computes its base from the cloud.\n const step: TransposedProvider = { ...sim, baseUrlHostFromConnectionAnswer: TABLE, provenances: [{ source: 'ACTIVEPIECES', sourceRef: 'microsoft-excel', sourceVersion: 'test' }], operations: [{\n operationId: 'download_file', domain: 'default', resolution: TransposedOperationResolution.RESOLVED, method: 'GET', pathTemplate: \"/v1.0/me/drive/root/search(q='{escapedName}')\",\n classification: 'READ', parameters: [{ name: 'escapedName', in: 'PATH' as never, required: true }], inputFields: [{ name: 'fileIdentifier', kind: 'STRING' as never, required: true }], hasRequestBody: false,\n provenance: { source: 'ACTIVEPIECES', sourceRef: 'microsoft-excel', sourceVersion: 'test' },\n }] };\n const search: TransposedProvider = { ...sim, operations: [{\n operationId: 'onedrive_search', domain: 'default', resolution: TransposedOperationResolution.RESOLVED, method: 'GET', pathTemplate: \"/v1.0/me/drive/root/search(q='{query}')\",\n classification: 'READ', parameters: [{ name: 'query', in: 'PATH' as never, required: true }], inputFields: [{ name: 'query', kind: 'STRING' as never, required: true }], hasRequestBody: false, provenance,\n }] };\n // Mutation: drop `preferStatedBase` → the tie goes to the first view read, and the download step replaces the search.\n const [merged] = mergeTransposedProviders([step, search]).providers;\n expect(merged!.operations.map((operation) => operation.operationId)).toEqual(['onedrive_search']);\n expect(merged!.operations[0]!.alsoDescribedBy).toEqual([{ source: 'ACTIVEPIECES', sourceRef: 'microsoft-excel', sourceVersion: 'test' }]);\n });\n\n it('emits the host as a derived placeholder, and refuses a table that leaves an admitted cloud with no host', () => {\n const activepieces = readActivepiecesPiece({ pieceDirectory: writePiece(PIECE), sourceVersion: 'test' }).provider;\n const merged = mergeTransposedProviders([activepieces, sim]).providers[0]!;\n const root = mkdtempSync(join(tmpdir(), 'wildo-graph-emit-'));\n emitProvidersPackage({ packageRoot: root, fullBatch: false, providers: [merged], unreadableByVendor: new Map() });\n const module = readFileSync(join(root, 'src', 'microsoft-excel', 'backend.exports.ts'), 'utf8');\n expect(module).toContain('baseUrl: \"https://{operationHost}\",');\n expect(module).toContain('\"operationHost\": { kind: ProviderOAuth2EndpointHostAllowanceKind.DERIVED_FROM_CONNECTION_ANSWER, answer: \"cloud\", hosts: { \"login.microsoftonline.com\": \"graph.microsoft.com\", \"login.microsoftonline.us\": \"graph.microsoft.us\" }, whenUnanswered: \"graph.microsoft.com\" },');\n const partial = { ...merged, baseUrlHostFromConnectionAnswer: { ...TABLE, hosts: { 'login.microsoftonline.com': 'graph.microsoft.com' } } };\n expect(() => connectionDerivedOperationHost(partial, undefined)).toThrow(/'login.microsoftonline.us' with no operation host/);\n });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend-facet-emission.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.ts"],"names":[],"mappings":""}
|
package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { mkdirSync, mkdtempSync, readFileSync, writeFileSync } from 'node:fs';
|
|
2
|
+
import { tmpdir } from 'node:os';
|
|
3
|
+
import { dirname, join } from 'node:path';
|
|
4
|
+
import { describe, expect, it } from 'vitest';
|
|
5
|
+
import { ProviderPackageFrontendFacet, emitProvidersPackage, planProvidersPackage, readAuthoredFrontendFacets } from '../provider-package.emitter.js';
|
|
6
|
+
import { TransposedAuthKind, TransposedOperationResolution } from '../transposed-provider.model.js';
|
|
7
|
+
/**
|
|
8
|
+
* #1700 — a vendor's BROWSER part is authored under `src/_frontend/<ref>/`, and the emitter only detects it: a
|
|
9
|
+
* subpath per facet, the facet's contribution in the companion barrel, the React optional peer, and the catalogue
|
|
10
|
+
* record's count and reason. A catalogue with no facet keeps the manifest and barrel it had.
|
|
11
|
+
*/
|
|
12
|
+
const provenance = { source: 'SIM', sourceRef: 'fixture', sourceVersion: 'test' };
|
|
13
|
+
function vendorOf(ref) {
|
|
14
|
+
return {
|
|
15
|
+
ref,
|
|
16
|
+
vendor: ref,
|
|
17
|
+
auth: { kind: TransposedAuthKind.SECRET_TEXT },
|
|
18
|
+
baseUrl: `https://api.${ref}.example`,
|
|
19
|
+
provenances: [provenance],
|
|
20
|
+
operations: [{
|
|
21
|
+
operationId: 'read_thing',
|
|
22
|
+
domain: 'default',
|
|
23
|
+
resolution: TransposedOperationResolution.RESOLVED,
|
|
24
|
+
method: 'GET',
|
|
25
|
+
pathTemplate: '/things',
|
|
26
|
+
classification: 'READ',
|
|
27
|
+
parameters: [],
|
|
28
|
+
inputFields: [],
|
|
29
|
+
hasRequestBody: false,
|
|
30
|
+
provenance,
|
|
31
|
+
}],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function rootWith(files) {
|
|
35
|
+
const root = mkdtempSync(join(tmpdir(), 'wildo-1700-'));
|
|
36
|
+
for (const [path, content] of Object.entries(files)) {
|
|
37
|
+
mkdirSync(dirname(join(root, path)), { recursive: true });
|
|
38
|
+
writeFileSync(join(root, path), content, 'utf8');
|
|
39
|
+
}
|
|
40
|
+
return root;
|
|
41
|
+
}
|
|
42
|
+
const read = (root, path) => readFileSync(join(root, path), 'utf8');
|
|
43
|
+
const emit = (root) => {
|
|
44
|
+
emitProvidersPackage({ packageRoot: root, fullBatch: false, providers: [vendorOf('acme'), vendorOf('widget')], unreadableByVendor: new Map() });
|
|
45
|
+
};
|
|
46
|
+
describe('authored frontend facets (#1700)', () => {
|
|
47
|
+
it('detects facets by file name under src/_frontend/<ref>/, ignoring tests and anything that is not a facet', () => {
|
|
48
|
+
const root = rootWith({
|
|
49
|
+
'src/_frontend/acme/frontend-app.ts': 'export const frontendFacet = {};',
|
|
50
|
+
'src/_frontend/acme/picker.ts': 'export const Picker = () => null;',
|
|
51
|
+
'src/_frontend/acme/frontend-website.ts': 'export const frontendFacet = {};',
|
|
52
|
+
'src/_frontend/__tests__/x.test.ts': '',
|
|
53
|
+
});
|
|
54
|
+
expect(readAuthoredFrontendFacets(root)).toEqual([
|
|
55
|
+
{ ref: 'acme', facet: ProviderPackageFrontendFacet.APP },
|
|
56
|
+
{ ref: 'acme', facet: ProviderPackageFrontendFacet.WEBSITE },
|
|
57
|
+
]);
|
|
58
|
+
});
|
|
59
|
+
it('exports a browser door per facet, contributes it through the engine projection, and survives the tree replace', () => {
|
|
60
|
+
const root = rootWith({ 'src/_frontend/acme/frontend-app.ts': 'export const frontendFacet = {};' });
|
|
61
|
+
emit(root);
|
|
62
|
+
// The facet survived the WRITE step that deletes every non-underscore child of src/.
|
|
63
|
+
expect(read(root, 'src/_frontend/acme/frontend-app.ts')).toContain('frontendFacet');
|
|
64
|
+
const manifest = JSON.parse(read(root, 'package.json'));
|
|
65
|
+
expect(manifest.exports['./acme/frontend-app']).toEqual({
|
|
66
|
+
source: './src/_frontend/acme/frontend-app.ts',
|
|
67
|
+
types: './dist/esm/_frontend/acme/frontend-app.d.ts',
|
|
68
|
+
default: './dist/esm/_frontend/acme/frontend-app.js',
|
|
69
|
+
});
|
|
70
|
+
expect(manifest.exports['./acme']).toBeDefined();
|
|
71
|
+
expect(manifest.dependencies['@wildo-ai/external-connectors-public']).toBe('workspace:*');
|
|
72
|
+
expect(manifest.peerDependencies).toEqual({ react: '*' });
|
|
73
|
+
expect(manifest.peerDependenciesMeta).toEqual({ react: { optional: true } });
|
|
74
|
+
expect(manifest.devDependencies).toMatchObject({ react: '*', '@types/react': '*' });
|
|
75
|
+
const companion = read(root, 'src/companion-exports.ts');
|
|
76
|
+
expect(companion).toContain("import { frontendFacet as frontendFacet0 } from './_frontend/acme/frontend-app.js';");
|
|
77
|
+
expect(companion).toContain("import { projectFrontendProviderContribution } from '@wildo-ai/external-connectors-public/companion';");
|
|
78
|
+
expect(companion).toContain('projectFrontendProviderContribution(frontendFacet0, AppFrontendType.SAAS_APP, "@wildo-ai/providers/acme/frontend-app"),');
|
|
79
|
+
});
|
|
80
|
+
it('records the count and the reason, and a ref with no catalogue backend part is said to have none', () => {
|
|
81
|
+
const root = rootWith({
|
|
82
|
+
'src/_frontend/acme/frontend-app.ts': 'export const frontendFacet = {};',
|
|
83
|
+
'src/_frontend/browser-only/frontend-website.ts': 'export const frontendFacet = {};',
|
|
84
|
+
});
|
|
85
|
+
emit(root);
|
|
86
|
+
const record = JSON.parse(read(root, 'catalogue-record/frontend-facets.json'));
|
|
87
|
+
expect(record.reason).toMatch(/No transposition source carries browser facts/);
|
|
88
|
+
expect(record.reason).toMatch(/authored by hand/);
|
|
89
|
+
expect(record).toMatchObject({ exportedVendors: 2, vendorsWithFrontendFacet: 2 });
|
|
90
|
+
expect(record.facets).toEqual([
|
|
91
|
+
{ ref: 'acme', facet: 'frontend-app', subpath: './acme/frontend-app', source: 'src/_frontend/acme/frontend-app.ts', hasCatalogueBackendPart: true },
|
|
92
|
+
{ ref: 'browser-only', facet: 'frontend-website', subpath: './browser-only/frontend-website', source: 'src/_frontend/browser-only/frontend-website.ts', hasCatalogueBackendPart: false },
|
|
93
|
+
]);
|
|
94
|
+
expect(read(root, 'src/companion-exports.ts')).toContain('AppFrontendType.STATIC_WEBSITE, "@wildo-ai/providers/browser-only/frontend-website"');
|
|
95
|
+
});
|
|
96
|
+
it('reports the facets from a dry run exactly as the emit does', () => {
|
|
97
|
+
const root = rootWith({ 'src/_frontend/acme/frontend-app.ts': 'export const frontendFacet = {};' });
|
|
98
|
+
const options = { packageRoot: root, fullBatch: false, providers: [vendorOf('acme')], unreadableByVendor: new Map() };
|
|
99
|
+
const planned = planProvidersPackage(options).frontendFacets;
|
|
100
|
+
expect(planned).toEqual([{ ref: 'acme', facet: ProviderPackageFrontendFacet.APP }]);
|
|
101
|
+
expect(emitProvidersPackage(options).frontendFacets).toEqual(planned);
|
|
102
|
+
});
|
|
103
|
+
it('leaves a catalogue with no facet exactly as it was: no browser door, no peer, no facet import, a zero count', () => {
|
|
104
|
+
const root = rootWith({});
|
|
105
|
+
emit(root);
|
|
106
|
+
const manifest = JSON.parse(read(root, 'package.json'));
|
|
107
|
+
expect(Object.keys(manifest.exports).filter((subpath) => subpath.includes('/frontend-'))).toEqual([]);
|
|
108
|
+
expect(manifest.peerDependencies).toBeUndefined();
|
|
109
|
+
expect(manifest.dependencies['@wildo-ai/external-connectors-public']).toBeUndefined();
|
|
110
|
+
expect(read(root, 'src/companion-exports.ts')).not.toContain('projectFrontendProviderContribution');
|
|
111
|
+
expect(JSON.parse(read(root, 'catalogue-record/frontend-facets.json'))).toMatchObject({ vendorsWithFrontendFacet: 0, facets: [] });
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
//# sourceMappingURL=frontend-facet-emission.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend-facet-emission.test.js","sourceRoot":"","sources":["../../../../../../../../src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACnJ,OAAO,EAAE,kBAAkB,EAAE,6BAA6B,EAA2B,MAAM,8BAA8B,CAAC;AAE1H;;;;GAIG;AAEH,MAAM,UAAU,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAW,CAAC;AAE3F,SAAS,QAAQ,CAAC,GAAW;IAC3B,OAAO;QAC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C,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6GAA6G,EAAE,GAAG,EAAE;QACrH,MAAM,IAAI,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;QAC1B,IAAI,CAAC,IAAI,CAAC,CAAC;QACX,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC;QACxD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QACtG,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,aAAa,EAAE,CAAC;QAClD,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,sCAAsC,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC;QACtF,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,0BAA0B,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,qCAAqC,CAAC,CAAC;QACpG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,uCAAuC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC;IACrI,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { mkdirSync, mkdtempSync, readFileSync, writeFileSync } from 'node:fs';\nimport { tmpdir } from 'node:os';\nimport { dirname, join } from 'node:path';\n\nimport { describe, expect, it } from 'vitest';\n\nimport { ProviderPackageFrontendFacet, emitProvidersPackage, planProvidersPackage, readAuthoredFrontendFacets } from '../provider-package.emitter';\nimport { TransposedAuthKind, TransposedOperationResolution, type TransposedProvider } from '../transposed-provider.model';\n\n/**\n * #1700 — a vendor's BROWSER part is authored under `src/_frontend/<ref>/`, and the emitter only detects it: a\n * subpath per facet, the facet's contribution in the companion barrel, the React optional peer, and the catalogue\n * record's count and reason. A catalogue with no facet keeps the manifest and barrel it had.\n */\n\nconst provenance = { source: 'SIM', sourceRef: 'fixture', sourceVersion: 'test' } as const;\n\nfunction vendorOf(ref: string): TransposedProvider {\n return {\n ref,\n vendor: ref,\n auth: { kind: TransposedAuthKind.SECRET_TEXT },\n baseUrl: `https://api.${ref}.example`,\n provenances: [provenance],\n operations: [{\n operationId: 'read_thing',\n domain: 'default',\n resolution: TransposedOperationResolution.RESOLVED,\n method: 'GET' as const,\n pathTemplate: '/things',\n classification: 'READ' as const,\n parameters: [],\n inputFields: [],\n hasRequestBody: false,\n provenance,\n }],\n };\n}\n\nfunction rootWith(files: Record<string, string>): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-1700-'));\n for (const [path, content] of Object.entries(files)) {\n mkdirSync(dirname(join(root, path)), { recursive: true });\n writeFileSync(join(root, path), content, 'utf8');\n }\n return root;\n}\n\nconst read = (root: string, path: string): string => readFileSync(join(root, path), 'utf8');\nconst emit = (root: string): void => {\n emitProvidersPackage({ packageRoot: root, fullBatch: false, providers: [vendorOf('acme'), vendorOf('widget')], unreadableByVendor: new Map() });\n};\n\ndescribe('authored frontend facets (#1700)', () => {\n it('detects facets by file name under src/_frontend/<ref>/, ignoring tests and anything that is not a facet', () => {\n const root = rootWith({\n 'src/_frontend/acme/frontend-app.ts': 'export const frontendFacet = {};',\n 'src/_frontend/acme/picker.ts': 'export const Picker = () => null;',\n 'src/_frontend/acme/frontend-website.ts': 'export const frontendFacet = {};',\n 'src/_frontend/__tests__/x.test.ts': '',\n });\n expect(readAuthoredFrontendFacets(root)).toEqual([\n { ref: 'acme', facet: ProviderPackageFrontendFacet.APP },\n { ref: 'acme', facet: ProviderPackageFrontendFacet.WEBSITE },\n ]);\n });\n\n it('exports a browser door per facet, contributes it through the engine projection, and survives the tree replace', () => {\n const root = rootWith({ 'src/_frontend/acme/frontend-app.ts': 'export const frontendFacet = {};' });\n emit(root);\n\n // The facet survived the WRITE step that deletes every non-underscore child of src/.\n expect(read(root, 'src/_frontend/acme/frontend-app.ts')).toContain('frontendFacet');\n\n const manifest = JSON.parse(read(root, 'package.json'));\n expect(manifest.exports['./acme/frontend-app']).toEqual({\n source: './src/_frontend/acme/frontend-app.ts',\n types: './dist/esm/_frontend/acme/frontend-app.d.ts',\n default: './dist/esm/_frontend/acme/frontend-app.js',\n });\n expect(manifest.exports['./acme']).toBeDefined();\n expect(manifest.dependencies['@wildo-ai/external-connectors-public']).toBe('workspace:*');\n expect(manifest.peerDependencies).toEqual({ react: '*' });\n expect(manifest.peerDependenciesMeta).toEqual({ react: { optional: true } });\n expect(manifest.devDependencies).toMatchObject({ react: '*', '@types/react': '*' });\n\n const companion = read(root, 'src/companion-exports.ts');\n expect(companion).toContain(\"import { frontendFacet as frontendFacet0 } from './_frontend/acme/frontend-app.js';\");\n expect(companion).toContain(\"import { projectFrontendProviderContribution } from '@wildo-ai/external-connectors-public/companion';\");\n expect(companion).toContain('projectFrontendProviderContribution(frontendFacet0, AppFrontendType.SAAS_APP, \"@wildo-ai/providers/acme/frontend-app\"),');\n });\n\n it('records the count and the reason, and a ref with no catalogue backend part is said to have none', () => {\n const root = rootWith({\n 'src/_frontend/acme/frontend-app.ts': 'export const frontendFacet = {};',\n 'src/_frontend/browser-only/frontend-website.ts': 'export const frontendFacet = {};',\n });\n emit(root);\n const record = JSON.parse(read(root, 'catalogue-record/frontend-facets.json'));\n expect(record.reason).toMatch(/No transposition source carries browser facts/);\n expect(record.reason).toMatch(/authored by hand/);\n expect(record).toMatchObject({ exportedVendors: 2, vendorsWithFrontendFacet: 2 });\n expect(record.facets).toEqual([\n { ref: 'acme', facet: 'frontend-app', subpath: './acme/frontend-app', source: 'src/_frontend/acme/frontend-app.ts', hasCatalogueBackendPart: true },\n { ref: 'browser-only', facet: 'frontend-website', subpath: './browser-only/frontend-website', source: 'src/_frontend/browser-only/frontend-website.ts', hasCatalogueBackendPart: false },\n ]);\n expect(read(root, 'src/companion-exports.ts')).toContain('AppFrontendType.STATIC_WEBSITE, \"@wildo-ai/providers/browser-only/frontend-website\"');\n });\n\n it('reports the facets from a dry run exactly as the emit does', () => {\n const root = rootWith({ 'src/_frontend/acme/frontend-app.ts': 'export const frontendFacet = {};' });\n const options = { packageRoot: root, fullBatch: false, providers: [vendorOf('acme')], unreadableByVendor: new Map() };\n const planned = planProvidersPackage(options).frontendFacets;\n expect(planned).toEqual([{ ref: 'acme', facet: ProviderPackageFrontendFacet.APP }]);\n expect(emitProvidersPackage(options).frontendFacets).toEqual(planned);\n });\n\n it('leaves a catalogue with no facet exactly as it was: no browser door, no peer, no facet import, a zero count', () => {\n const root = rootWith({});\n emit(root);\n const manifest = JSON.parse(read(root, 'package.json'));\n expect(Object.keys(manifest.exports).filter((subpath) => subpath.includes('/frontend-'))).toEqual([]);\n expect(manifest.peerDependencies).toBeUndefined();\n expect(manifest.dependencies['@wildo-ai/external-connectors-public']).toBeUndefined();\n expect(read(root, 'src/companion-exports.ts')).not.toContain('projectFrontendProviderContribution');\n expect(JSON.parse(read(root, 'catalogue-record/frontend-facets.json'))).toMatchObject({ vendorsWithFrontendFacet: 0, facets: [] });\n });\n});\n"]}
|