@antelopejs/dms 0.19.6 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +196 -1
- package/README.md +11 -9
- package/bin/control/backend-mode.test.mjs +72 -0
- package/bin/control/backend.mjs +41 -24
- package/bin/control/backend.test.mjs +18 -0
- package/bin/control/build-cache.mjs +18 -6
- package/bin/control/build-key.mjs +10 -7
- package/bin/control/build-key.test.mjs +25 -1
- package/bin/control/build-layout.test.mjs +53 -11
- package/bin/control/commands-stack.mjs +1 -0
- package/bin/control/forwarder.test.mjs +119 -1
- package/bin/control/helpers/ephemeral-range.mjs +18 -0
- package/bin/control/helpers/fake-run.mjs +75 -5
- package/bin/control/helpers/key-fixture.mjs +9 -6
- package/bin/control/helpers/narrow-range.mjs +35 -0
- package/bin/control/journey-load.mjs +49 -0
- package/bin/control/journey.mjs +6 -41
- package/bin/control/journey.test.mjs +68 -9
- package/bin/control/mail.mjs +8 -2
- package/bin/control/module-root.mjs +7 -3
- package/bin/control/module-root.test.mjs +7 -5
- package/bin/control/options.mjs +1 -0
- package/bin/control/processes.mjs +59 -0
- package/bin/control/run-ports.test.mjs +126 -0
- package/bin/control/run-state.mjs +9 -3
- package/bin/control/stack.mjs +77 -11
- package/bin/control/verify/map.mjs +1 -1
- package/bin/control/verify/verdict.mjs +1 -1
- package/bin/dms-control.mjs +7 -3
- package/data/mockup-example/spec.json +209 -0
- package/data/mockup-spec.schema.json +10955 -0
- package/dist/attachments/read.js +2 -1
- package/dist/attachments/read.js.map +1 -1
- package/dist/attachments/save.js +2 -1
- package/dist/attachments/save.js.map +1 -1
- package/dist/attachments/stored-claims.d.ts +2 -0
- package/dist/attachments/stored-claims.js +21 -0
- package/dist/attachments/stored-claims.js.map +1 -0
- package/dist/branding/index.d.ts +2 -0
- package/dist/branding/index.js +19 -0
- package/dist/branding/index.js.map +1 -0
- package/dist/branding/page.d.ts +10 -0
- package/dist/branding/page.js +22 -0
- package/dist/branding/page.js.map +1 -0
- package/dist/branding/register.d.ts +1 -0
- package/dist/branding/register.js +10 -0
- package/dist/branding/register.js.map +1 -0
- package/dist/branding/routes.d.ts +18 -0
- package/dist/branding/routes.js +78 -0
- package/dist/branding/routes.js.map +1 -0
- package/dist/branding/theme-schemas.d.ts +484 -0
- package/dist/branding/theme-schemas.js +52 -0
- package/dist/branding/theme-schemas.js.map +1 -0
- package/dist/builder.d.ts +2 -0
- package/dist/builder.js +63 -0
- package/dist/builder.js.map +1 -0
- package/dist/config/internal/state.d.ts +20 -0
- package/dist/config/internal/state.js +12 -0
- package/dist/config/internal/state.js.map +1 -1
- package/dist/db/guard-row.d.ts +2 -2
- package/dist/db/guard-row.js +1 -1
- package/dist/db/guard-row.js.map +1 -1
- package/dist/db/index.d.ts +1 -0
- package/dist/db/index.js +1 -0
- package/dist/db/index.js.map +1 -1
- package/dist/db/models/attachments.model.d.ts +3 -3
- package/dist/db/models/setupToken.model.d.ts +3 -3
- package/dist/db/models/signInAttempts.model.d.ts +3 -3
- package/dist/db/models/systemState.model.d.ts +3 -3
- package/dist/db/models/userEmailChanges.model.d.ts +3 -3
- package/dist/db/models/userKnownDevices.model.d.ts +3 -3
- package/dist/db/models/userNotificationPreferences.model.d.ts +3 -3
- package/dist/db/models/userNotificationPreferences.model.js +2 -1
- package/dist/db/models/userNotificationPreferences.model.js.map +1 -1
- package/dist/db/models/userNotifications.model.d.ts +3 -3
- package/dist/db/row-id.d.ts +4 -0
- package/dist/db/row-id.js +10 -0
- package/dist/db/row-id.js.map +1 -0
- package/dist/implementations/dms/connection-access.d.ts +8 -0
- package/dist/implementations/dms/connection-access.js +23 -0
- package/dist/implementations/dms/connection-access.js.map +1 -0
- package/dist/implementations/dms/page/access.d.ts +8 -0
- package/dist/implementations/dms/page/access.js +15 -3
- package/dist/implementations/dms/page/access.js.map +1 -1
- package/dist/implementations/dms/page/controller.d.ts +5 -5
- package/dist/implementations/dms/page/controller.js +9 -6
- package/dist/implementations/dms/page/controller.js.map +1 -1
- package/dist/implementations/dms/page/preview-menu.js +1 -1
- package/dist/implementations/dms/page/preview-menu.js.map +1 -1
- package/dist/implementations/dms/page/preview-models.d.ts +10 -10
- package/dist/implementations/dms/page/registry.js +2 -2
- package/dist/implementations/dms/page/registry.js.map +1 -1
- package/dist/implementations/dms/page/types.d.ts +1 -1
- package/dist/implementations/dms/page.d.ts +2 -1
- package/dist/implementations/dms/page.js +2 -1
- package/dist/implementations/dms/page.js.map +1 -1
- package/dist/implementations/dms-auth/index.js +21 -60
- package/dist/implementations/dms-auth/index.js.map +1 -1
- package/dist/implementations/dms-auth/session-handoff.d.ts +1 -1
- package/dist/implementations/dms-auth/session-handoff.js +7 -22
- package/dist/implementations/dms-auth/session-handoff.js.map +1 -1
- package/dist/implementations/dms-auth/token-secret.d.ts +7 -1
- package/dist/implementations/dms-auth/token-secret.js +59 -4
- package/dist/implementations/dms-auth/token-secret.js.map +1 -1
- package/dist/implementations/dms-auth/token-session.js +1 -5
- package/dist/implementations/dms-auth/token-session.js.map +1 -1
- package/dist/implementations/dms-base/bulk-selection.js +5 -2
- package/dist/implementations/dms-base/bulk-selection.js.map +1 -1
- package/dist/implementations/dms-base/export-jobs.d.ts +1 -4
- package/dist/implementations/dms-base/export-jobs.js +8 -12
- package/dist/implementations/dms-base/export-jobs.js.map +1 -1
- package/dist/implementations/dms-base/footer-summary.d.ts +2 -1
- package/dist/implementations/dms-base/footer-summary.js +1 -1
- package/dist/implementations/dms-base/footer-summary.js.map +1 -1
- package/dist/implementations/dms-base/search-route.d.ts +3 -3
- package/dist/implementations/dms-base/search-route.js +6 -3
- package/dist/implementations/dms-base/search-route.js.map +1 -1
- package/dist/implementations/dms-base/table-view.d.ts +2 -2
- package/dist/implementations/dms-base/table-view.js +21 -12
- package/dist/implementations/dms-base/table-view.js.map +1 -1
- package/dist/implementations/dms-builder/database.d.ts +13 -0
- package/dist/implementations/dms-builder/database.js +126 -0
- package/dist/implementations/dms-builder/database.js.map +1 -0
- package/dist/implementations/dms-builder/engine/access-grant.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/access-grant.js +275 -0
- package/dist/implementations/dms-builder/engine/access-grant.js.map +1 -0
- package/dist/implementations/dms-builder/engine/access-mongodb.d.ts +20 -0
- package/dist/implementations/dms-builder/engine/access-mongodb.js +30 -0
- package/dist/implementations/dms-builder/engine/access-mongodb.js.map +1 -0
- package/dist/implementations/dms-builder/engine/access-mysql.d.ts +8 -0
- package/dist/implementations/dms-builder/engine/access-mysql.js +11 -0
- package/dist/implementations/dms-builder/engine/access-mysql.js.map +1 -0
- package/dist/implementations/dms-builder/engine/access-postgres.d.ts +8 -0
- package/dist/implementations/dms-builder/engine/access-postgres.js +11 -0
- package/dist/implementations/dms-builder/engine/access-postgres.js.map +1 -0
- package/dist/implementations/dms-builder/engine/analysis-fields.d.ts +25 -0
- package/dist/implementations/dms-builder/engine/analysis-fields.js +272 -0
- package/dist/implementations/dms-builder/engine/analysis-fields.js.map +1 -0
- package/dist/implementations/dms-builder/engine/analysis-input.d.ts +28 -0
- package/dist/implementations/dms-builder/engine/analysis-input.js +38 -0
- package/dist/implementations/dms-builder/engine/analysis-input.js.map +1 -0
- package/dist/implementations/dms-builder/engine/analysis-job.d.ts +4 -0
- package/dist/implementations/dms-builder/engine/analysis-job.js +195 -0
- package/dist/implementations/dms-builder/engine/analysis-job.js.map +1 -0
- package/dist/implementations/dms-builder/engine/analysis-names.d.ts +14 -0
- package/dist/implementations/dms-builder/engine/analysis-names.js +94 -0
- package/dist/implementations/dms-builder/engine/analysis-names.js.map +1 -0
- package/dist/implementations/dms-builder/engine/analysis-relations.d.ts +19 -0
- package/dist/implementations/dms-builder/engine/analysis-relations.js +145 -0
- package/dist/implementations/dms-builder/engine/analysis-relations.js.map +1 -0
- package/dist/implementations/dms-builder/engine/analysis.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/analysis.js +185 -0
- package/dist/implementations/dms-builder/engine/analysis.js.map +1 -0
- package/dist/implementations/dms-builder/engine/block-target.d.ts +23 -0
- package/dist/implementations/dms-builder/engine/block-target.js +80 -0
- package/dist/implementations/dms-builder/engine/block-target.js.map +1 -0
- package/dist/implementations/dms-builder/engine/block-tree.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/block-tree.js +130 -0
- package/dist/implementations/dms-builder/engine/block-tree.js.map +1 -0
- package/dist/implementations/dms-builder/engine/catalog-connection.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/catalog-connection.js +73 -0
- package/dist/implementations/dms-builder/engine/catalog-connection.js.map +1 -0
- package/dist/implementations/dms-builder/engine/catalog-inference.d.ts +4 -0
- package/dist/implementations/dms-builder/engine/catalog-inference.js +387 -0
- package/dist/implementations/dms-builder/engine/catalog-inference.js.map +1 -0
- package/dist/implementations/dms-builder/engine/catalog.d.ts +6 -0
- package/dist/implementations/dms-builder/engine/catalog.js +128 -0
- package/dist/implementations/dms-builder/engine/catalog.js.map +1 -0
- package/dist/implementations/dms-builder/engine/chain.d.ts +21 -0
- package/dist/implementations/dms-builder/engine/chain.js +98 -0
- package/dist/implementations/dms-builder/engine/chain.js.map +1 -0
- package/dist/implementations/dms-builder/engine/column-display.d.ts +41 -0
- package/dist/implementations/dms-builder/engine/column-display.js +267 -0
- package/dist/implementations/dms-builder/engine/column-display.js.map +1 -0
- package/dist/implementations/dms-builder/engine/column-label.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/column-label.js +21 -0
- package/dist/implementations/dms-builder/engine/column-label.js.map +1 -0
- package/dist/implementations/dms-builder/engine/compose-page.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/compose-page.js +346 -0
- package/dist/implementations/dms-builder/engine/compose-page.js.map +1 -0
- package/dist/implementations/dms-builder/engine/config-literal.d.ts +30 -0
- package/dist/implementations/dms-builder/engine/config-literal.js +401 -0
- package/dist/implementations/dms-builder/engine/config-literal.js.map +1 -0
- package/dist/implementations/dms-builder/engine/connection-access-config.d.ts +11 -0
- package/dist/implementations/dms-builder/engine/connection-access-config.js +266 -0
- package/dist/implementations/dms-builder/engine/connection-access-config.js.map +1 -0
- package/dist/implementations/dms-builder/engine/connection-access.d.ts +9 -0
- package/dist/implementations/dms-builder/engine/connection-access.js +207 -0
- package/dist/implementations/dms-builder/engine/connection-access.js.map +1 -0
- package/dist/implementations/dms-builder/engine/database-access.d.ts +21 -0
- package/dist/implementations/dms-builder/engine/database-access.js +98 -0
- package/dist/implementations/dms-builder/engine/database-access.js.map +1 -0
- package/dist/implementations/dms-builder/engine/database-check-input.d.ts +22 -0
- package/dist/implementations/dms-builder/engine/database-check-input.js +42 -0
- package/dist/implementations/dms-builder/engine/database-check-input.js.map +1 -0
- package/dist/implementations/dms-builder/engine/database-check.d.ts +4 -0
- package/dist/implementations/dms-builder/engine/database-check.js +37 -0
- package/dist/implementations/dms-builder/engine/database-check.js.map +1 -0
- package/dist/implementations/dms-builder/engine/database-connection-remove.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/database-connection-remove.js +167 -0
- package/dist/implementations/dms-builder/engine/database-connection-remove.js.map +1 -0
- package/dist/implementations/dms-builder/engine/database-connection.d.ts +7 -0
- package/dist/implementations/dms-builder/engine/database-connection.js +310 -0
- package/dist/implementations/dms-builder/engine/database-connection.js.map +1 -0
- package/dist/implementations/dms-builder/engine/database-host.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/database-host.js +37 -0
- package/dist/implementations/dms-builder/engine/database-host.js.map +1 -0
- package/dist/implementations/dms-builder/engine/database-pin.d.ts +12 -0
- package/dist/implementations/dms-builder/engine/database-pin.js +157 -0
- package/dist/implementations/dms-builder/engine/database-pin.js.map +1 -0
- package/dist/implementations/dms-builder/engine/database-repair.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/database-repair.js +91 -0
- package/dist/implementations/dms-builder/engine/database-repair.js.map +1 -0
- package/dist/implementations/dms-builder/engine/describe-value.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/describe-value.js +16 -0
- package/dist/implementations/dms-builder/engine/describe-value.js.map +1 -0
- package/dist/implementations/dms-builder/engine/display-defaults.d.ts +15 -0
- package/dist/implementations/dms-builder/engine/display-defaults.js +96 -0
- package/dist/implementations/dms-builder/engine/display-defaults.js.map +1 -0
- package/dist/implementations/dms-builder/engine/dms-database.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/dms-database.js +70 -0
- package/dist/implementations/dms-builder/engine/dms-database.js.map +1 -0
- package/dist/implementations/dms-builder/engine/driver-packages.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/driver-packages.js +84 -0
- package/dist/implementations/dms-builder/engine/driver-packages.js.map +1 -0
- package/dist/implementations/dms-builder/engine/emit.d.ts +12 -0
- package/dist/implementations/dms-builder/engine/emit.js +157 -0
- package/dist/implementations/dms-builder/engine/emit.js.map +1 -0
- package/dist/implementations/dms-builder/engine/entry-connections.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/entry-connections.js +123 -0
- package/dist/implementations/dms-builder/engine/entry-connections.js.map +1 -0
- package/dist/implementations/dms-builder/engine/env-lines.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/env-lines.js +66 -0
- package/dist/implementations/dms-builder/engine/env-lines.js.map +1 -0
- package/dist/implementations/dms-builder/engine/expression.d.ts +6 -0
- package/dist/implementations/dms-builder/engine/expression.js +90 -0
- package/dist/implementations/dms-builder/engine/expression.js.map +1 -0
- package/dist/implementations/dms-builder/engine/file-batch.d.ts +17 -0
- package/dist/implementations/dms-builder/engine/file-batch.js +154 -0
- package/dist/implementations/dms-builder/engine/file-batch.js.map +1 -0
- package/dist/implementations/dms-builder/engine/guards.d.ts +8 -0
- package/dist/implementations/dms-builder/engine/guards.js +27 -0
- package/dist/implementations/dms-builder/engine/guards.js.map +1 -0
- package/dist/implementations/dms-builder/engine/held-value.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/held-value.js +37 -0
- package/dist/implementations/dms-builder/engine/held-value.js.map +1 -0
- package/dist/implementations/dms-builder/engine/index.d.ts +63 -0
- package/dist/implementations/dms-builder/engine/index.js +82 -0
- package/dist/implementations/dms-builder/engine/index.js.map +1 -0
- package/dist/implementations/dms-builder/engine/indexed-project.d.ts +7 -0
- package/dist/implementations/dms-builder/engine/indexed-project.js +18 -0
- package/dist/implementations/dms-builder/engine/indexed-project.js.map +1 -0
- package/dist/implementations/dms-builder/engine/interface-capabilities.d.ts +1 -0
- package/dist/implementations/dms-builder/engine/interface-capabilities.js +28 -0
- package/dist/implementations/dms-builder/engine/interface-capabilities.js.map +1 -0
- package/dist/implementations/dms-builder/engine/interface-ids.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/interface-ids.js +6 -0
- package/dist/implementations/dms-builder/engine/interface-ids.js.map +1 -0
- package/dist/implementations/dms-builder/engine/literal-overrides.d.ts +7 -0
- package/dist/implementations/dms-builder/engine/literal-overrides.js +54 -0
- package/dist/implementations/dms-builder/engine/literal-overrides.js.map +1 -0
- package/dist/implementations/dms-builder/engine/literals.d.ts +9 -0
- package/dist/implementations/dms-builder/engine/literals.js +68 -0
- package/dist/implementations/dms-builder/engine/literals.js.map +1 -0
- package/dist/implementations/dms-builder/engine/local-bindings.d.ts +4 -0
- package/dist/implementations/dms-builder/engine/local-bindings.js +165 -0
- package/dist/implementations/dms-builder/engine/local-bindings.js.map +1 -0
- package/dist/implementations/dms-builder/engine/map-resources-batch.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/map-resources-batch.js +142 -0
- package/dist/implementations/dms-builder/engine/map-resources-batch.js.map +1 -0
- package/dist/implementations/dms-builder/engine/map-resources-pages.d.ts +12 -0
- package/dist/implementations/dms-builder/engine/map-resources-pages.js +242 -0
- package/dist/implementations/dms-builder/engine/map-resources-pages.js.map +1 -0
- package/dist/implementations/dms-builder/engine/map-resources-plan.d.ts +54 -0
- package/dist/implementations/dms-builder/engine/map-resources-plan.js +269 -0
- package/dist/implementations/dms-builder/engine/map-resources-plan.js.map +1 -0
- package/dist/implementations/dms-builder/engine/map-resources-references.d.ts +4 -0
- package/dist/implementations/dms-builder/engine/map-resources-references.js +74 -0
- package/dist/implementations/dms-builder/engine/map-resources-references.js.map +1 -0
- package/dist/implementations/dms-builder/engine/map-resources-repairs.d.ts +18 -0
- package/dist/implementations/dms-builder/engine/map-resources-repairs.js +105 -0
- package/dist/implementations/dms-builder/engine/map-resources-repairs.js.map +1 -0
- package/dist/implementations/dms-builder/engine/map-resources.d.ts +6 -0
- package/dist/implementations/dms-builder/engine/map-resources.js +347 -0
- package/dist/implementations/dms-builder/engine/map-resources.js.map +1 -0
- package/dist/implementations/dms-builder/engine/mapped-choices.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/mapped-choices.js +153 -0
- package/dist/implementations/dms-builder/engine/mapped-choices.js.map +1 -0
- package/dist/implementations/dms-builder/engine/mapped-displays.d.ts +11 -0
- package/dist/implementations/dms-builder/engine/mapped-displays.js +56 -0
- package/dist/implementations/dms-builder/engine/mapped-displays.js.map +1 -0
- package/dist/implementations/dms-builder/engine/mapped-modules.d.ts +10 -0
- package/dist/implementations/dms-builder/engine/mapped-modules.js +120 -0
- package/dist/implementations/dms-builder/engine/mapped-modules.js.map +1 -0
- package/dist/implementations/dms-builder/engine/mapped-routes.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/mapped-routes.js +11 -0
- package/dist/implementations/dms-builder/engine/mapped-routes.js.map +1 -0
- package/dist/implementations/dms-builder/engine/mapping-refusal.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/mapping-refusal.js +11 -0
- package/dist/implementations/dms-builder/engine/mapping-refusal.js.map +1 -0
- package/dist/implementations/dms-builder/engine/mixed-types.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/mixed-types.js +32 -0
- package/dist/implementations/dms-builder/engine/mixed-types.js.map +1 -0
- package/dist/implementations/dms-builder/engine/model-methods-keep.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/model-methods-keep.js +25 -0
- package/dist/implementations/dms-builder/engine/model-methods-keep.js.map +1 -0
- package/dist/implementations/dms-builder/engine/module-loader.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/module-loader.js +30 -0
- package/dist/implementations/dms-builder/engine/module-loader.js.map +1 -0
- package/dist/implementations/dms-builder/engine/module-reload.d.ts +21 -0
- package/dist/implementations/dms-builder/engine/module-reload.js +90 -0
- package/dist/implementations/dms-builder/engine/module-reload.js.map +1 -0
- package/dist/implementations/dms-builder/engine/modules.d.ts +17 -0
- package/dist/implementations/dms-builder/engine/modules.js +195 -0
- package/dist/implementations/dms-builder/engine/modules.js.map +1 -0
- package/dist/implementations/dms-builder/engine/name-words.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/name-words.js +26 -0
- package/dist/implementations/dms-builder/engine/name-words.js.map +1 -0
- package/dist/implementations/dms-builder/engine/native-kind.d.ts +1 -0
- package/dist/implementations/dms-builder/engine/native-kind.js +41 -0
- package/dist/implementations/dms-builder/engine/native-kind.js.map +1 -0
- package/dist/implementations/dms-builder/engine/ops-blocks.d.ts +25 -0
- package/dist/implementations/dms-builder/engine/ops-blocks.js +334 -0
- package/dist/implementations/dms-builder/engine/ops-blocks.js.map +1 -0
- package/dist/implementations/dms-builder/engine/ops-categories.d.ts +6 -0
- package/dist/implementations/dms-builder/engine/ops-categories.js +178 -0
- package/dist/implementations/dms-builder/engine/ops-categories.js.map +1 -0
- package/dist/implementations/dms-builder/engine/ops.d.ts +40 -0
- package/dist/implementations/dms-builder/engine/ops.js +383 -0
- package/dist/implementations/dms-builder/engine/ops.js.map +1 -0
- package/dist/implementations/dms-builder/engine/options-patch.d.ts +9 -0
- package/dist/implementations/dms-builder/engine/options-patch.js +58 -0
- package/dist/implementations/dms-builder/engine/options-patch.js.map +1 -0
- package/dist/implementations/dms-builder/engine/own-connections.d.ts +4 -0
- package/dist/implementations/dms-builder/engine/own-connections.js +21 -0
- package/dist/implementations/dms-builder/engine/own-connections.js.map +1 -0
- package/dist/implementations/dms-builder/engine/page-access.d.ts +31 -0
- package/dist/implementations/dms-builder/engine/page-access.js +159 -0
- package/dist/implementations/dms-builder/engine/page-access.js.map +1 -0
- package/dist/implementations/dms-builder/engine/page-category-move.d.ts +16 -0
- package/dist/implementations/dms-builder/engine/page-category-move.js +121 -0
- package/dist/implementations/dms-builder/engine/page-category-move.js.map +1 -0
- package/dist/implementations/dms-builder/engine/page-delete.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/page-delete.js +53 -0
- package/dist/implementations/dms-builder/engine/page-delete.js.map +1 -0
- package/dist/implementations/dms-builder/engine/page-draft-validation.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/page-draft-validation.js +200 -0
- package/dist/implementations/dms-builder/engine/page-draft-validation.js.map +1 -0
- package/dist/implementations/dms-builder/engine/page-draft.d.ts +4 -0
- package/dist/implementations/dms-builder/engine/page-draft.js +336 -0
- package/dist/implementations/dms-builder/engine/page-draft.js.map +1 -0
- package/dist/implementations/dms-builder/engine/page-structure.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/page-structure.js +48 -0
- package/dist/implementations/dms-builder/engine/page-structure.js.map +1 -0
- package/dist/implementations/dms-builder/engine/paths.d.ts +7 -0
- package/dist/implementations/dms-builder/engine/paths.js +31 -0
- package/dist/implementations/dms-builder/engine/paths.js.map +1 -0
- package/dist/implementations/dms-builder/engine/permissions.d.ts +9 -0
- package/dist/implementations/dms-builder/engine/permissions.js +43 -0
- package/dist/implementations/dms-builder/engine/permissions.js.map +1 -0
- package/dist/implementations/dms-builder/engine/placement.d.ts +6 -0
- package/dist/implementations/dms-builder/engine/placement.js +54 -0
- package/dist/implementations/dms-builder/engine/placement.js.map +1 -0
- package/dist/implementations/dms-builder/engine/planned-page.d.ts +9 -0
- package/dist/implementations/dms-builder/engine/planned-page.js +14 -0
- package/dist/implementations/dms-builder/engine/planned-page.js.map +1 -0
- package/dist/implementations/dms-builder/engine/preview.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/preview.js +346 -0
- package/dist/implementations/dms-builder/engine/preview.js.map +1 -0
- package/dist/implementations/dms-builder/engine/price-currency.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/price-currency.js +53 -0
- package/dist/implementations/dms-builder/engine/price-currency.js.map +1 -0
- package/dist/implementations/dms-builder/engine/probe-client.d.ts +15 -0
- package/dist/implementations/dms-builder/engine/probe-client.js +41 -0
- package/dist/implementations/dms-builder/engine/probe-client.js.map +1 -0
- package/dist/implementations/dms-builder/engine/probe-connections.d.ts +10 -0
- package/dist/implementations/dms-builder/engine/probe-connections.js +43 -0
- package/dist/implementations/dms-builder/engine/probe-connections.js.map +1 -0
- package/dist/implementations/dms-builder/engine/probe-mongodb.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/probe-mongodb.js +92 -0
- package/dist/implementations/dms-builder/engine/probe-mongodb.js.map +1 -0
- package/dist/implementations/dms-builder/engine/probe-mysql.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/probe-mysql.js +136 -0
- package/dist/implementations/dms-builder/engine/probe-mysql.js.map +1 -0
- package/dist/implementations/dms-builder/engine/probe-postgres.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/probe-postgres.js +80 -0
- package/dist/implementations/dms-builder/engine/probe-postgres.js.map +1 -0
- package/dist/implementations/dms-builder/engine/probe-rethinkdb.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/probe-rethinkdb.js +92 -0
- package/dist/implementations/dms-builder/engine/probe-rethinkdb.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project-config-entry.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/project-config-entry.js +164 -0
- package/dist/implementations/dms-builder/engine/project-config-entry.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project-config-ops.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/project-config-ops.js +183 -0
- package/dist/implementations/dms-builder/engine/project-config-ops.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project-config-readers.d.ts +15 -0
- package/dist/implementations/dms-builder/engine/project-config-readers.js +125 -0
- package/dist/implementations/dms-builder/engine/project-config-readers.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project-config-remove.d.ts +4 -0
- package/dist/implementations/dms-builder/engine/project-config-remove.js +104 -0
- package/dist/implementations/dms-builder/engine/project-config-remove.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project-config-steps.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/project-config-steps.js +30 -0
- package/dist/implementations/dms-builder/engine/project-config-steps.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project-config-text.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/project-config-text.js +36 -0
- package/dist/implementations/dms-builder/engine/project-config-text.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project-config.d.ts +34 -0
- package/dist/implementations/dms-builder/engine/project-config.js +236 -0
- package/dist/implementations/dms-builder/engine/project-config.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project-env-loading.d.ts +4 -0
- package/dist/implementations/dms-builder/engine/project-env-loading.js +175 -0
- package/dist/implementations/dms-builder/engine/project-env-loading.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project-env.d.ts +16 -0
- package/dist/implementations/dms-builder/engine/project-env.js +194 -0
- package/dist/implementations/dms-builder/engine/project-env.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project-scaffold.d.ts +31 -0
- package/dist/implementations/dms-builder/engine/project-scaffold.js +199 -0
- package/dist/implementations/dms-builder/engine/project-scaffold.js.map +1 -0
- package/dist/implementations/dms-builder/engine/project.d.ts +24 -0
- package/dist/implementations/dms-builder/engine/project.js +281 -0
- package/dist/implementations/dms-builder/engine/project.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-chain-series.d.ts +11 -0
- package/dist/implementations/dms-builder/engine/query-chain-series.js +288 -0
- package/dist/implementations/dms-builder/engine/query-chain-series.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-chain.d.ts +40 -0
- package/dist/implementations/dms-builder/engine/query-chain.js +181 -0
- package/dist/implementations/dms-builder/engine/query-chain.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-emit.d.ts +42 -0
- package/dist/implementations/dms-builder/engine/query-emit.js +200 -0
- package/dist/implementations/dms-builder/engine/query-emit.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-ops-emit.d.ts +11 -0
- package/dist/implementations/dms-builder/engine/query-ops-emit.js +284 -0
- package/dist/implementations/dms-builder/engine/query-ops-emit.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-ops.d.ts +32 -0
- package/dist/implementations/dms-builder/engine/query-ops.js +216 -0
- package/dist/implementations/dms-builder/engine/query-ops.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-plan-execute.d.ts +51 -0
- package/dist/implementations/dms-builder/engine/query-plan-execute.js +129 -0
- package/dist/implementations/dms-builder/engine/query-plan-execute.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-plan.d.ts +39 -0
- package/dist/implementations/dms-builder/engine/query-plan.js +235 -0
- package/dist/implementations/dms-builder/engine/query-plan.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-preview.d.ts +11 -0
- package/dist/implementations/dms-builder/engine/query-preview.js +184 -0
- package/dist/implementations/dms-builder/engine/query-preview.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-route-response.d.ts +9 -0
- package/dist/implementations/dms-builder/engine/query-route-response.js +90 -0
- package/dist/implementations/dms-builder/engine/query-route-response.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-structure.d.ts +35 -0
- package/dist/implementations/dms-builder/engine/query-structure.js +330 -0
- package/dist/implementations/dms-builder/engine/query-structure.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-sync.d.ts +12 -0
- package/dist/implementations/dms-builder/engine/query-sync.js +153 -0
- package/dist/implementations/dms-builder/engine/query-sync.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-template-emit.d.ts +1 -0
- package/dist/implementations/dms-builder/engine/query-template-emit.js +103 -0
- package/dist/implementations/dms-builder/engine/query-template-emit.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-template-series.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/query-template-series.js +206 -0
- package/dist/implementations/dms-builder/engine/query-template-series.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-template.d.ts +53 -0
- package/dist/implementations/dms-builder/engine/query-template.js +211 -0
- package/dist/implementations/dms-builder/engine/query-template.js.map +1 -0
- package/dist/implementations/dms-builder/engine/query-where.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/query-where.js +73 -0
- package/dist/implementations/dms-builder/engine/query-where.js.map +1 -0
- package/dist/implementations/dms-builder/engine/relabel-columns.d.ts +6 -0
- package/dist/implementations/dms-builder/engine/relabel-columns.js +79 -0
- package/dist/implementations/dms-builder/engine/relabel-columns.js.map +1 -0
- package/dist/implementations/dms-builder/engine/reserved-names.d.ts +1 -0
- package/dist/implementations/dms-builder/engine/reserved-names.js +20 -0
- package/dist/implementations/dms-builder/engine/reserved-names.js.map +1 -0
- package/dist/implementations/dms-builder/engine/resource-data.d.ts +1 -0
- package/dist/implementations/dms-builder/engine/resource-data.js +18 -0
- package/dist/implementations/dms-builder/engine/resource-data.js.map +1 -0
- package/dist/implementations/dms-builder/engine/resource-emit-types.d.ts +42 -0
- package/dist/implementations/dms-builder/engine/resource-emit-types.js +383 -0
- package/dist/implementations/dms-builder/engine/resource-emit-types.js.map +1 -0
- package/dist/implementations/dms-builder/engine/resource-emit.d.ts +64 -0
- package/dist/implementations/dms-builder/engine/resource-emit.js +242 -0
- package/dist/implementations/dms-builder/engine/resource-emit.js.map +1 -0
- package/dist/implementations/dms-builder/engine/resource-index.d.ts +30 -0
- package/dist/implementations/dms-builder/engine/resource-index.js +259 -0
- package/dist/implementations/dms-builder/engine/resource-index.js.map +1 -0
- package/dist/implementations/dms-builder/engine/resource-ops-delete.d.ts +10 -0
- package/dist/implementations/dms-builder/engine/resource-ops-delete.js +379 -0
- package/dist/implementations/dms-builder/engine/resource-ops-delete.js.map +1 -0
- package/dist/implementations/dms-builder/engine/resource-ops.d.ts +23 -0
- package/dist/implementations/dms-builder/engine/resource-ops.js +210 -0
- package/dist/implementations/dms-builder/engine/resource-ops.js.map +1 -0
- package/dist/implementations/dms-builder/engine/resource-schema.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/resource-schema.js +20 -0
- package/dist/implementations/dms-builder/engine/resource-schema.js.map +1 -0
- package/dist/implementations/dms-builder/engine/resource-structure.d.ts +18 -0
- package/dist/implementations/dms-builder/engine/resource-structure.js +299 -0
- package/dist/implementations/dms-builder/engine/resource-structure.js.map +1 -0
- package/dist/implementations/dms-builder/engine/resource-summary-route.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/resource-summary-route.js +49 -0
- package/dist/implementations/dms-builder/engine/resource-summary-route.js.map +1 -0
- package/dist/implementations/dms-builder/engine/rethinkdb-client.d.ts +34 -0
- package/dist/implementations/dms-builder/engine/rethinkdb-client.js +3 -0
- package/dist/implementations/dms-builder/engine/rethinkdb-client.js.map +1 -0
- package/dist/implementations/dms-builder/engine/scalar-guards.d.ts +6 -0
- package/dist/implementations/dms-builder/engine/scalar-guards.js +23 -0
- package/dist/implementations/dms-builder/engine/scalar-guards.js.map +1 -0
- package/dist/implementations/dms-builder/engine/scan.d.ts +37 -0
- package/dist/implementations/dms-builder/engine/scan.js +249 -0
- package/dist/implementations/dms-builder/engine/scan.js.map +1 -0
- package/dist/implementations/dms-builder/engine/source-index.d.ts +9 -0
- package/dist/implementations/dms-builder/engine/source-index.js +66 -0
- package/dist/implementations/dms-builder/engine/source-index.js.map +1 -0
- package/dist/implementations/dms-builder/engine/source-options.d.ts +7 -0
- package/dist/implementations/dms-builder/engine/source-options.js +65 -0
- package/dist/implementations/dms-builder/engine/source-options.js.map +1 -0
- package/dist/implementations/dms-builder/engine/table-readers.d.ts +17 -0
- package/dist/implementations/dms-builder/engine/table-readers.js +141 -0
- package/dist/implementations/dms-builder/engine/table-readers.js.map +1 -0
- package/dist/implementations/dms-builder/engine/table-view-checks.d.ts +30 -0
- package/dist/implementations/dms-builder/engine/table-view-checks.js +146 -0
- package/dist/implementations/dms-builder/engine/table-view-checks.js.map +1 -0
- package/dist/implementations/dms-builder/engine/table-view-settings.d.ts +4 -0
- package/dist/implementations/dms-builder/engine/table-view-settings.js +298 -0
- package/dist/implementations/dms-builder/engine/table-view-settings.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-app-config.d.ts +17 -0
- package/dist/implementations/dms-builder/engine/theme-app-config.js +243 -0
- package/dist/implementations/dms-builder/engine/theme-app-config.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-assets.d.ts +18 -0
- package/dist/implementations/dms-builder/engine/theme-assets.js +160 -0
- package/dist/implementations/dms-builder/engine/theme-assets.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-config-imports.d.ts +7 -0
- package/dist/implementations/dms-builder/engine/theme-config-imports.js +80 -0
- package/dist/implementations/dms-builder/engine/theme-config-imports.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-draft.d.ts +2 -0
- package/dist/implementations/dms-builder/engine/theme-draft.js +35 -0
- package/dist/implementations/dms-builder/engine/theme-draft.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-entry.d.ts +6 -0
- package/dist/implementations/dms-builder/engine/theme-entry.js +41 -0
- package/dist/implementations/dms-builder/engine/theme-entry.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-font-catalog.d.ts +15 -0
- package/dist/implementations/dms-builder/engine/theme-font-catalog.js +82 -0
- package/dist/implementations/dms-builder/engine/theme-font-catalog.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-fonts.d.ts +12 -0
- package/dist/implementations/dms-builder/engine/theme-fonts.js +154 -0
- package/dist/implementations/dms-builder/engine/theme-fonts.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-layer.d.ts +11 -0
- package/dist/implementations/dms-builder/engine/theme-layer.js +99 -0
- package/dist/implementations/dms-builder/engine/theme-layer.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-literals.d.ts +9 -0
- package/dist/implementations/dms-builder/engine/theme-literals.js +108 -0
- package/dist/implementations/dms-builder/engine/theme-literals.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-scaffold.d.ts +3 -0
- package/dist/implementations/dms-builder/engine/theme-scaffold.js +248 -0
- package/dist/implementations/dms-builder/engine/theme-scaffold.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-stylesheet.d.ts +14 -0
- package/dist/implementations/dms-builder/engine/theme-stylesheet.js +167 -0
- package/dist/implementations/dms-builder/engine/theme-stylesheet.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme-svg.d.ts +6 -0
- package/dist/implementations/dms-builder/engine/theme-svg.js +182 -0
- package/dist/implementations/dms-builder/engine/theme-svg.js.map +1 -0
- package/dist/implementations/dms-builder/engine/theme.d.ts +5 -0
- package/dist/implementations/dms-builder/engine/theme.js +275 -0
- package/dist/implementations/dms-builder/engine/theme.js.map +1 -0
- package/dist/implementations/dms-builder/engine/value.d.ts +35 -0
- package/dist/implementations/dms-builder/engine/value.js +152 -0
- package/dist/implementations/dms-builder/engine/value.js.map +1 -0
- package/dist/implementations/dms-builder/engine/writable.d.ts +28 -0
- package/dist/implementations/dms-builder/engine/writable.js +310 -0
- package/dist/implementations/dms-builder/engine/writable.js.map +1 -0
- package/dist/implementations/dms-builder/index.d.ts +129 -0
- package/dist/implementations/dms-builder/index.js +293 -0
- package/dist/implementations/dms-builder/index.js.map +1 -0
- package/dist/implementations/dms-notifications/index.d.ts +0 -1
- package/dist/implementations/dms-notifications/index.js +0 -4
- package/dist/implementations/dms-notifications/index.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/dist/mcp/access.d.ts +4 -0
- package/dist/mcp/access.js +11 -0
- package/dist/mcp/access.js.map +1 -0
- package/dist/mcp/backend-url.d.ts +8 -0
- package/dist/mcp/backend-url.js +39 -0
- package/dist/mcp/backend-url.js.map +1 -0
- package/dist/mcp/bridge.d.ts +8 -0
- package/dist/mcp/bridge.js +169 -0
- package/dist/mcp/bridge.js.map +1 -0
- package/dist/mcp/confirmation-gate.d.ts +13 -0
- package/dist/mcp/confirmation-gate.js +79 -0
- package/dist/mcp/confirmation-gate.js.map +1 -0
- package/dist/mcp/index.d.ts +1 -0
- package/dist/mcp/index.js +73 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/json.d.ts +5 -0
- package/dist/mcp/json.js +14 -0
- package/dist/mcp/json.js.map +1 -0
- package/dist/mcp/log-buffer.d.ts +14 -0
- package/dist/mcp/log-buffer.js +65 -0
- package/dist/mcp/log-buffer.js.map +1 -0
- package/dist/mcp/page-verify/accounts.d.ts +35 -0
- package/dist/mcp/page-verify/accounts.js +106 -0
- package/dist/mcp/page-verify/accounts.js.map +1 -0
- package/dist/mcp/page-verify/browser.d.ts +2 -0
- package/dist/mcp/page-verify/browser.js +58 -0
- package/dist/mcp/page-verify/browser.js.map +1 -0
- package/dist/mcp/page-verify/controls.d.ts +13 -0
- package/dist/mcp/page-verify/controls.js +48 -0
- package/dist/mcp/page-verify/controls.js.map +1 -0
- package/dist/mcp/page-verify/failures.d.ts +2 -0
- package/dist/mcp/page-verify/failures.js +52 -0
- package/dist/mcp/page-verify/failures.js.map +1 -0
- package/dist/mcp/page-verify/forms.d.ts +12 -0
- package/dist/mcp/page-verify/forms.js +257 -0
- package/dist/mcp/page-verify/forms.js.map +1 -0
- package/dist/mcp/page-verify/index.d.ts +20 -0
- package/dist/mcp/page-verify/index.js +283 -0
- package/dist/mcp/page-verify/index.js.map +1 -0
- package/dist/mcp/page-verify/interactions.d.ts +8 -0
- package/dist/mcp/page-verify/interactions.js +191 -0
- package/dist/mcp/page-verify/interactions.js.map +1 -0
- package/dist/mcp/page-verify/mockup.d.ts +13 -0
- package/dist/mcp/page-verify/mockup.js +132 -0
- package/dist/mcp/page-verify/mockup.js.map +1 -0
- package/dist/mcp/page-verify/page-probe.d.ts +191 -0
- package/dist/mcp/page-verify/page-probe.js +107 -0
- package/dist/mcp/page-verify/page-probe.js.map +1 -0
- package/dist/mcp/page-verify/playwright.d.ts +147 -0
- package/dist/mcp/page-verify/playwright.js +15 -0
- package/dist/mcp/page-verify/playwright.js.map +1 -0
- package/dist/mcp/page-verify/render.d.ts +41 -0
- package/dist/mcp/page-verify/render.js +293 -0
- package/dist/mcp/page-verify/render.js.map +1 -0
- package/dist/mcp/page-verify/report.d.ts +116 -0
- package/dist/mcp/page-verify/report.js +8 -0
- package/dist/mcp/page-verify/report.js.map +1 -0
- package/dist/mcp/page-verify/targets.d.ts +8 -0
- package/dist/mcp/page-verify/targets.js +39 -0
- package/dist/mcp/page-verify/targets.js.map +1 -0
- package/dist/mcp/project-files.d.ts +20 -0
- package/dist/mcp/project-files.js +181 -0
- package/dist/mcp/project-files.js.map +1 -0
- package/dist/mcp/protocol.d.ts +9 -0
- package/dist/mcp/protocol.js +129 -0
- package/dist/mcp/protocol.js.map +1 -0
- package/dist/mcp/route.d.ts +9 -0
- package/dist/mcp/route.js +109 -0
- package/dist/mcp/route.js.map +1 -0
- package/dist/mcp/server.d.ts +8 -0
- package/dist/mcp/server.js +27 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tool.d.ts +39 -0
- package/dist/mcp/tool.js +50 -0
- package/dist/mcp/tool.js.map +1 -0
- package/dist/mcp/tools/builder-catalog.d.ts +1 -0
- package/dist/mcp/tools/builder-catalog.js +73 -0
- package/dist/mcp/tools/builder-catalog.js.map +1 -0
- package/dist/mcp/tools/builder-compose.d.ts +1 -0
- package/dist/mcp/tools/builder-compose.js +95 -0
- package/dist/mcp/tools/builder-compose.js.map +1 -0
- package/dist/mcp/tools/builder-pages.d.ts +1 -0
- package/dist/mcp/tools/builder-pages.js +185 -0
- package/dist/mcp/tools/builder-pages.js.map +1 -0
- package/dist/mcp/tools/builder-project.d.ts +1 -0
- package/dist/mcp/tools/builder-project.js +304 -0
- package/dist/mcp/tools/builder-project.js.map +1 -0
- package/dist/mcp/tools/builder-queries.d.ts +12 -0
- package/dist/mcp/tools/builder-queries.js +110 -0
- package/dist/mcp/tools/builder-queries.js.map +1 -0
- package/dist/mcp/tools/builder-resources.d.ts +1 -0
- package/dist/mcp/tools/builder-resources.js +154 -0
- package/dist/mcp/tools/builder-resources.js.map +1 -0
- package/dist/mcp/tools/builder-shared.d.ts +14 -0
- package/dist/mcp/tools/builder-shared.js +44 -0
- package/dist/mcp/tools/builder-shared.js.map +1 -0
- package/dist/mcp/tools/builder-table-view.d.ts +246 -0
- package/dist/mcp/tools/builder-table-view.js +145 -0
- package/dist/mcp/tools/builder-table-view.js.map +1 -0
- package/dist/mcp/tools/builder-theme.d.ts +1 -0
- package/dist/mcp/tools/builder-theme.js +39 -0
- package/dist/mcp/tools/builder-theme.js.map +1 -0
- package/dist/mcp/tools/database.d.ts +1 -0
- package/dist/mcp/tools/database.js +114 -0
- package/dist/mcp/tools/database.js.map +1 -0
- package/dist/mcp/tools/index.d.ts +2 -0
- package/dist/mcp/tools/index.js +36 -0
- package/dist/mcp/tools/index.js.map +1 -0
- package/dist/mcp/tools/json-patch.d.ts +82 -0
- package/dist/mcp/tools/json-patch.js +144 -0
- package/dist/mcp/tools/json-patch.js.map +1 -0
- package/dist/mcp/tools/mockup-annotations.d.ts +1 -0
- package/dist/mcp/tools/mockup-annotations.js +32 -0
- package/dist/mcp/tools/mockup-annotations.js.map +1 -0
- package/dist/mcp/tools/mockup-apply-to-page.d.ts +1 -0
- package/dist/mcp/tools/mockup-apply-to-page.js +32 -0
- package/dist/mcp/tools/mockup-apply-to-page.js.map +1 -0
- package/dist/mcp/tools/mockup-from-page.d.ts +1 -0
- package/dist/mcp/tools/mockup-from-page.js +29 -0
- package/dist/mcp/tools/mockup-from-page.js.map +1 -0
- package/dist/mcp/tools/mockup-patch-spec.d.ts +1 -0
- package/dist/mcp/tools/mockup-patch-spec.js +67 -0
- package/dist/mcp/tools/mockup-patch-spec.js.map +1 -0
- package/dist/mcp/tools/mockup-resolve-annotation.d.ts +1 -0
- package/dist/mcp/tools/mockup-resolve-annotation.js +28 -0
- package/dist/mcp/tools/mockup-resolve-annotation.js.map +1 -0
- package/dist/mcp/tools/mockup-support.d.ts +9 -0
- package/dist/mcp/tools/mockup-support.js +45 -0
- package/dist/mcp/tools/mockup-support.js.map +1 -0
- package/dist/mcp/tools/mockup-write-spec.d.ts +1 -0
- package/dist/mcp/tools/mockup-write-spec.js +16 -0
- package/dist/mcp/tools/mockup-write-spec.js.map +1 -0
- package/dist/mcp/tools/mockup.d.ts +2 -0
- package/dist/mcp/tools/mockup.js +18 -0
- package/dist/mcp/tools/mockup.js.map +1 -0
- package/dist/mcp/tools/page-verify.d.ts +1 -0
- package/dist/mcp/tools/page-verify.js +116 -0
- package/dist/mcp/tools/page-verify.js.map +1 -0
- package/dist/mcp/tools/pages.d.ts +3 -0
- package/dist/mcp/tools/pages.js +77 -0
- package/dist/mcp/tools/pages.js.map +1 -0
- package/dist/mcp/tools/preview-blocks.d.ts +1 -0
- package/dist/mcp/tools/preview-blocks.js +268 -0
- package/dist/mcp/tools/preview-blocks.js.map +1 -0
- package/dist/mcp/tools/query-logs.d.ts +1 -0
- package/dist/mcp/tools/query-logs.js +25 -0
- package/dist/mcp/tools/query-logs.js.map +1 -0
- package/dist/mcp/tools/typecheck.d.ts +1 -0
- package/dist/mcp/tools/typecheck.js +113 -0
- package/dist/mcp/tools/typecheck.js.map +1 -0
- package/dist/mockup/anchor.d.ts +43 -0
- package/dist/mockup/anchor.js +193 -0
- package/dist/mockup/anchor.js.map +1 -0
- package/dist/mockup/annotations.d.ts +88 -0
- package/dist/mockup/annotations.js +169 -0
- package/dist/mockup/annotations.js.map +1 -0
- package/dist/mockup/apply-fate.d.ts +52 -0
- package/dist/mockup/apply-fate.js +148 -0
- package/dist/mockup/apply-fate.js.map +1 -0
- package/dist/mockup/apply-match.d.ts +39 -0
- package/dist/mockup/apply-match.js +129 -0
- package/dist/mockup/apply-match.js.map +1 -0
- package/dist/mockup/apply-names.d.ts +4 -0
- package/dist/mockup/apply-names.js +52 -0
- package/dist/mockup/apply-names.js.map +1 -0
- package/dist/mockup/apply-notes.d.ts +9 -0
- package/dist/mockup/apply-notes.js +16 -0
- package/dist/mockup/apply-notes.js.map +1 -0
- package/dist/mockup/apply-options.d.ts +18 -0
- package/dist/mockup/apply-options.js +117 -0
- package/dist/mockup/apply-options.js.map +1 -0
- package/dist/mockup/apply-plan.d.ts +23 -0
- package/dist/mockup/apply-plan.js +237 -0
- package/dist/mockup/apply-plan.js.map +1 -0
- package/dist/mockup/apply-to-page.d.ts +35 -0
- package/dist/mockup/apply-to-page.js +145 -0
- package/dist/mockup/apply-to-page.js.map +1 -0
- package/dist/mockup/built-sync.d.ts +16 -0
- package/dist/mockup/built-sync.js +53 -0
- package/dist/mockup/built-sync.js.map +1 -0
- package/dist/mockup/compile.d.ts +24 -0
- package/dist/mockup/compile.js +264 -0
- package/dist/mockup/compile.js.map +1 -0
- package/dist/mockup/controller-blocks.d.ts +35 -0
- package/dist/mockup/controller-blocks.js +204 -0
- package/dist/mockup/controller-blocks.js.map +1 -0
- package/dist/mockup/files.d.ts +18 -0
- package/dist/mockup/files.js +36 -0
- package/dist/mockup/files.js.map +1 -0
- package/dist/mockup/fixtures.d.ts +45 -0
- package/dist/mockup/fixtures.js +139 -0
- package/dist/mockup/fixtures.js.map +1 -0
- package/dist/mockup/form-fields.d.ts +3 -0
- package/dist/mockup/form-fields.js +75 -0
- package/dist/mockup/form-fields.js.map +1 -0
- package/dist/mockup/from-page-routes.d.ts +13 -0
- package/dist/mockup/from-page-routes.js +75 -0
- package/dist/mockup/from-page-routes.js.map +1 -0
- package/dist/mockup/from-page-sketch.d.ts +8 -0
- package/dist/mockup/from-page-sketch.js +53 -0
- package/dist/mockup/from-page-sketch.js.map +1 -0
- package/dist/mockup/from-page.d.ts +19 -0
- package/dist/mockup/from-page.js +296 -0
- package/dist/mockup/from-page.js.map +1 -0
- package/dist/mockup/index.d.ts +19 -0
- package/dist/mockup/index.js +59 -0
- package/dist/mockup/index.js.map +1 -0
- package/dist/mockup/json-schema.d.ts +3 -0
- package/dist/mockup/json-schema.js +253 -0
- package/dist/mockup/json-schema.js.map +1 -0
- package/dist/mockup/live-page.d.ts +45 -0
- package/dist/mockup/live-page.js +188 -0
- package/dist/mockup/live-page.js.map +1 -0
- package/dist/mockup/model.d.ts +372 -0
- package/dist/mockup/model.js +125 -0
- package/dist/mockup/model.js.map +1 -0
- package/dist/mockup/owner-controller.d.ts +12 -0
- package/dist/mockup/owner-controller.js +41 -0
- package/dist/mockup/owner-controller.js.map +1 -0
- package/dist/mockup/page.d.ts +19 -0
- package/dist/mockup/page.js +83 -0
- package/dist/mockup/page.js.map +1 -0
- package/dist/mockup/queue.d.ts +1 -0
- package/dist/mockup/queue.js +17 -0
- package/dist/mockup/queue.js.map +1 -0
- package/dist/mockup/routes.d.ts +30 -0
- package/dist/mockup/routes.js +274 -0
- package/dist/mockup/routes.js.map +1 -0
- package/dist/mockup/sample-rows.d.ts +7 -0
- package/dist/mockup/sample-rows.js +30 -0
- package/dist/mockup/sample-rows.js.map +1 -0
- package/dist/mockup/sketch.d.ts +8 -0
- package/dist/mockup/sketch.js +150 -0
- package/dist/mockup/sketch.js.map +1 -0
- package/dist/mockup/source-routes.d.ts +24 -0
- package/dist/mockup/source-routes.js +105 -0
- package/dist/mockup/source-routes.js.map +1 -0
- package/dist/mockup/source.d.ts +29 -0
- package/dist/mockup/source.js +131 -0
- package/dist/mockup/source.js.map +1 -0
- package/dist/mockup/store.d.ts +63 -0
- package/dist/mockup/store.js +296 -0
- package/dist/mockup/store.js.map +1 -0
- package/dist/mockup/validate.d.ts +9 -0
- package/dist/mockup/validate.js +172 -0
- package/dist/mockup/validate.js.map +1 -0
- package/dist/pages/public/preview/index.d.ts +4 -0
- package/dist/pages/public/preview/index.js +3 -3
- package/dist/pages/public/preview/index.js.map +1 -1
- package/dist/pages/settings/users/invite-extension-routes.js.map +1 -1
- package/dist/pages/settings/users/notifications.d.ts +3 -4
- package/dist/pages/settings/users/notifications.js +8 -24
- package/dist/pages/settings/users/notifications.js.map +1 -1
- package/dist/pages/settings/users/permission-tree-nodes.d.ts +3 -3
- package/dist/pages/settings/users/permission-tree-nodes.js.map +1 -1
- package/dist/pages/settings/users/permission-warnings.js.map +1 -1
- package/dist/pages/settings/users/role-editor-store.d.ts +1 -0
- package/dist/pages/settings/users/role-editor-store.js +27 -7
- package/dist/pages/settings/users/role-editor-store.js.map +1 -1
- package/dist/pages/settings/users/role-preview.js +1 -1
- package/dist/pages/settings/users/role-preview.js.map +1 -1
- package/dist/pages/settings/users/roles.js +14 -0
- package/dist/pages/settings/users/roles.js.map +1 -1
- package/dist/pages/settings/users/two-factor-operations.d.ts +0 -1
- package/dist/pages/settings/users/two-factor-operations.js +0 -1
- package/dist/pages/settings/users/two-factor-operations.js.map +1 -1
- package/dist/realtime/sessions.d.ts +9 -0
- package/dist/realtime/sessions.js +6 -0
- package/dist/realtime/sessions.js.map +1 -1
- package/dist/routes/auth/two-factor-throttle.js +5 -1
- package/dist/routes/auth/two-factor-throttle.js.map +1 -1
- package/dist/routes/files.d.ts +2 -2
- package/dist/routes/files.js +2 -2
- package/dist/routes/files.js.map +1 -1
- package/dist/routes/onboarding.js +4 -6
- package/dist/routes/onboarding.js.map +1 -1
- package/dist/routes/realtime.d.ts +3 -3
- package/dist/routes/realtime.js +22 -18
- package/dist/routes/realtime.js.map +1 -1
- package/dist/routes/system-state.d.ts +6 -6
- package/dist/routes/system-state.js +1 -1
- package/dist/routes/system-state.js.map +1 -1
- package/dist/store/catalog.d.ts +2 -2
- package/dist/store/declarations.d.ts +0 -3
- package/dist/store/declarations.js +5 -74
- package/dist/store/declarations.js.map +1 -1
- package/dist/store/internal/frontend/frontend-ready.d.ts +2 -2
- package/dist/store/runtime.d.ts +2 -2
- package/dist/utils/export-jobs-run.d.ts +6 -6
- package/dist/utils/export-jobs-run.js +3 -7
- package/dist/utils/export-jobs-run.js.map +1 -1
- package/dist/utils/export-jobs.js +20 -1
- package/dist/utils/export-jobs.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/page-access.d.ts +4 -0
- package/dist/utils/page-access.js +10 -3
- package/dist/utils/page-access.js.map +1 -1
- package/dist/utils/query-text.d.ts +2 -0
- package/dist/utils/query-text.js +7 -0
- package/dist/utils/query-text.js.map +1 -0
- package/dist/utils/row-action-rule-evaluator.d.ts +2 -2
- package/dist/utils/tenant-instances.js +3 -3
- package/dist/utils/tenant-instances.js.map +1 -1
- package/dist/validation/auth.schema.d.ts +6 -6
- package/dist/validation/regional-preferences.schema.d.ts +4 -4
- package/dist/validation/user-notification-preferences.schema.d.ts +0 -1
- package/dist/validation/user-notification-preferences.schema.js +6 -3
- package/dist/validation/user-notification-preferences.schema.js.map +1 -1
- package/frontend-vue/deferred-plugins.ts +2 -0
- package/frontend-vue/dms.frontend.ts +34 -1
- package/frontend-vue/dms.server.ts +3 -1
- package/frontend-vue/eslint-globals.generated.mjs +7 -1
- package/frontend-vue/layers/dms-auth/app/components/OAuthButtons.vue +1 -1
- package/frontend-vue/layers/dms-auth/app/middleware/auth.ts +8 -3
- package/frontend-vue/layers/dms-auth/server/accounts.ts +2 -8
- package/frontend-vue/layers/dms-auth/server/actions.ts +83 -60
- package/frontend-vue/layers/dms-auth/server/backend-answers.ts +95 -0
- package/frontend-vue/layers/dms-auth/server/oauth.ts +26 -29
- package/frontend-vue/layers/dms-auth/server/session.ts +62 -27
- package/frontend-vue/layers/dms-core/app/build/composables/auth/usePermissionPreview.ts +20 -9
- package/frontend-vue/layers/dms-core/app/build/composables/user/tablePreferences.ts +9 -7
- package/frontend-vue/layers/dms-core/app/build/utils/permission-preview.ts +4 -4
- package/frontend-vue/layers/dms-core/app/build/utils/sharedRealtimeConnection.ts +10 -0
- package/frontend-vue/layers/dms-core/app/composables/realtime/useUserRealtime.ts +2 -0
- package/frontend-vue/layers/dms-core/app/composables/useApiErrorPresenter.ts +1 -1
- package/frontend-vue/layers/dms-core/app/composables/user/usePreferences.ts +0 -16
- package/frontend-vue/layers/dms-core/app/composables/watch/useWatch.ts +4 -0
- package/frontend-vue/layers/dms-core/app/types/menu.ts +5 -0
- package/frontend-vue/layers/dms-core/app/types/page.ts +4 -6
- package/frontend-vue/layers/dms-core/app/utils/regional.ts +1 -2
- package/frontend-vue/layers/dms-layout/app/assets/css/main.css +28 -32
- package/frontend-vue/layers/dms-layout/app/assets/css/status.css +137 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/BrandingColorPair.vue +77 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/BrandingDeveloperPanel.vue +266 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/BrandingEditor.vue +316 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/BrandingLogoTile.vue +67 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/BrandingPaletteSwatches.vue +63 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/BrandingPreview.vue +138 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/BrandingSimplePanel.vue +171 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/BrandingValueInput.vue +36 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/api.ts +55 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/catalog.ts +209 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/color-input.ts +35 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/device-draft.ts +290 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/errors.ts +23 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/fonts.ts +106 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/header-action.ts +19 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/logo-tiles.ts +73 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/logos.ts +180 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/model.ts +391 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/preview-style.ts +182 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/raster.ts +97 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/theme-types.ts +105 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/useBrandingEditor.ts +256 -0
- package/frontend-vue/layers/dms-layout/app/build/branding/values.ts +103 -0
- package/frontend-vue/layers/dms-layout/app/build/components/layout/DashboardFrame.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/layout/PageHeaderActionsOutlet.vue +50 -32
- package/frontend-vue/layers/dms-layout/app/build/components/layout/PreviewSidebar.vue +62 -0
- package/frontend-vue/layers/dms-layout/app/build/components/layout/StageCard.vue +5 -5
- package/frontend-vue/layers/dms-layout/app/build/components/notification/NotificationCard.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/modules/ModuleCatalogTile.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/modules/ModuleStoreBanners.vue +4 -4
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/notification/NotificationInboxDisplay.vue +3 -3
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/notification/NotificationPreferencesForm.vue +2 -2
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/profile/ProfilePersonalInfo.vue +2 -2
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/region/RegionFormatPreview.vue +3 -3
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/roles/RoleEditor.vue +5 -5
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/roles/RoleOwnerPanel.vue +3 -3
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/roles/RolePermissionArea.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/roles/RolePermissionLeaf.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/roles/RolesList.vue +5 -5
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/roles/RolesListItem.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/roles/role-permissions.ts +34 -0
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/roles/role-types.ts +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/roles/useRoleEditor.ts +13 -10
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityBackupCodesModal.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityDialogFrame.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityEmail.vue +6 -6
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityPassword.vue +2 -2
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecuritySessions.vue +2 -2
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityTwoFactor.vue +2 -2
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/AppearanceAccessibility.vue +2 -2
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/CssVariablesList.vue +15 -7
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/ScalePreview.vue +1 -0
- package/frontend-vue/layers/dms-layout/app/build/composables/general/useGithubStarPrompt.ts +7 -3
- package/frontend-vue/layers/dms-layout/app/build/composables/notification/useNotificationGroupsOpen.ts +7 -3
- package/frontend-vue/layers/dms-layout/app/build/composables/settings/security/useSecurityOverview.ts +0 -1
- package/frontend-vue/layers/dms-layout/app/build/mockup/header-action.ts +125 -0
- package/frontend-vue/layers/dms-layout/app/build/mockups/header-action.ts +19 -0
- package/frontend-vue/layers/dms-layout/app/build/utils/module-store-catalog.ts +5 -7
- package/frontend-vue/layers/dms-layout/app/build/utils/modules-catalog.ts +1 -6
- package/frontend-vue/layers/dms-layout/app/components/AppWidgetsDock.vue +36 -2
- package/frontend-vue/layers/dms-layout/app/components/layout/HStack.vue +2 -0
- package/frontend-vue/layers/dms-layout/app/components/layout/VStack.vue +2 -0
- package/frontend-vue/layers/dms-layout/app/components/navigation/CollapsedMenuItem.vue +20 -12
- package/frontend-vue/layers/dms-layout/app/components/navigation/NavigationMenu.vue +63 -2
- package/frontend-vue/layers/dms-layout/app/composables/layout/useServedHeaderActions.ts +10 -3
- package/frontend-vue/layers/dms-layout/app/composables/profile/useUserLanguage.ts +5 -0
- package/frontend-vue/layers/dms-layout/app/composables/useAppWidgets.ts +12 -0
- package/frontend-vue/layers/dms-layout/app/composables/useMenuLocks.ts +48 -0
- package/frontend-vue/layers/dms-layout/app/custom-layouts/EmptyLayout.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/custom-layouts/PreviewLayout.vue +47 -5
- package/frontend-vue/layers/dms-layout/app/custom-pages/modules-store.vue +11 -8
- package/frontend-vue/layers/dms-layout/app/custom-pages/modules.vue +10 -10
- package/frontend-vue/layers/dms-layout/app/custom-pages/settings/shortcuts.vue +4 -4
- package/frontend-vue/layers/dms-layout/app/entries/branding/BrandingEditor.ts +1 -0
- package/frontend-vue/layers/dms-layout/app/entries/branding/header-action.ts +2 -0
- package/frontend-vue/layers/dms-layout/app/entries/branding/model.ts +5 -0
- package/frontend-vue/layers/dms-layout/app/entries/components/layout/LayoutFooter.ts +2 -0
- package/frontend-vue/layers/dms-layout/app/entries/mockup/header-action.ts +2 -0
- package/frontend-vue/layers/dms-layout/app/entries/mockups/header-action.ts +2 -0
- package/frontend-vue/layers/dms-layout/app/pages/[...slug].vue +4 -0
- package/frontend-vue/layers/dms-layout/app/plugins/dms-mcp-navigate.client.ts +13 -0
- package/frontend-vue/layers/dms-layout/i18n/locales/layout-en-GB.json +181 -8
- package/frontend-vue/layers/dms-layout/i18n/locales/layout-fr-FR.json +181 -8
- package/frontend-vue/layers/dms-layout/server/html-render.ts +3 -6
- package/frontend-vue/layers/dms-onboarding/app/build/components/onboarding/StepMeta.vue +1 -1
- package/frontend-vue/layers/dms-onboarding/app/custom-pages/onboarding.vue +3 -3
- package/frontend-vue/layers/dms-onboarding/app/entries/components/onboarding/steps/StepReady.ts +2 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/BlockPreviewSketch.vue +77 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupAnnotations.vue +93 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupBlockCatalog.vue +76 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupCommentPanel.vue +85 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupEditOverlay.vue +240 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupEditPanel.vue +91 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupIndex.vue +66 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupInspector.vue +182 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupInspectorField.vue +172 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupIssues.vue +32 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupLayers.vue +44 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupPageInspector.vue +92 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupPagesList.vue +125 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupPromptModal.vue +51 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupTopBar.vue +138 -0
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupWorkbench.vue +493 -0
- package/frontend-vue/layers/dms-ui/app/build/components/containers/TargetComponentTree.vue +1 -0
- package/frontend-vue/layers/dms-ui/app/build/components/form/FormFieldControl.vue +16 -8
- package/frontend-vue/layers/dms-ui/app/build/components/form/FormSectionNav.vue +2 -2
- package/frontend-vue/layers/dms-ui/app/build/components/form/FormSections.vue +7 -4
- package/frontend-vue/layers/dms-ui/app/build/components/section/context.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/stat/StatCell.vue +3 -3
- package/frontend-vue/layers/dms-ui/app/build/components/table/FiltersRow.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuColumns.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuDensity.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuFilter.vue +5 -5
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuImport.vue +6 -6
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuPage.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuRoot.vue +6 -6
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuSort.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuViewMode.vue +5 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/RowSelection.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/Table.types.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/{Actions.vue → TableActions.vue} +22 -22
- package/frontend-vue/layers/dms-ui/app/build/components/table/TableBody.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/{Empty.vue → TableEmpty.vue} +2 -2
- package/frontend-vue/layers/dms-ui/app/build/components/table/{Menu.vue → TableMenu.vue} +1 -0
- package/frontend-vue/layers/dms-ui/app/build/components/table/{Pagination.vue → TablePagination.vue} +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/{Table.vue → TableRoot.vue} +3 -3
- package/frontend-vue/layers/dms-ui/app/build/components/table/{Views.vue → TableViews.vue} +37 -14
- package/frontend-vue/layers/dms-ui/app/build/components/table-view/CardRowActions.vue +2 -2
- package/frontend-vue/layers/dms-ui/app/build/components/table-view/CardsDisplay.vue +9 -5
- package/frontend-vue/layers/dms-ui/app/build/components/table-view/ExpandedRowDetail.vue +4 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/previewGeometry.ts +53 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/previewNavigation.ts +23 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useBlockInspector.ts +115 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useBlockPreviewEmbed.ts +78 -9
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupCatalog.ts +45 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupComments.ts +95 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupEditing.ts +323 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupHandoff.ts +62 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupSession.ts +115 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupSpec.ts +433 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/usePreviewFrame.ts +94 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/metricCells.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/form/fieldComponentProps.ts +113 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formLayout.ts +4 -4
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formState.ts +7 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/form/useFormModel.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/live/liveStorage.ts +11 -5
- package/frontend-vue/layers/dms-ui/app/build/composables/page/blockAnchors.ts +65 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/table/tableColumnActionDescriptors.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/tableColumnActionRendering.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/tableColumnActionSizing.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/tableColumnHeaders.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/tableColumnStructure.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/tableColumnTypes.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/useTable.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/useTableColumns.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/useTableConfigClipboard.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/useTableContext.ts +4 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/useTableStates.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/utils/clearTableFilters.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/utils/filterEditorValue.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/utils/formatFilterValue.ts +2 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableRowActionContainers.ts +3 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewBindings.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewCounts.ts +4 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewDisplays.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewFilters.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewNavigation.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewQuickFilters.ts +18 -13
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewViews.ts +2 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useGroupedRows.ts +4 -4
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableFooter.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableViews.ts +19 -22
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/groupedRows.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/quickFilters.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/tableCounts.ts +5 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/tableQuery.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/urlFilters.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/views.ts +48 -3
- package/frontend-vue/layers/dms-ui/app/build/mockups/MockupCards.vue +188 -0
- package/frontend-vue/layers/dms-ui/app/build/mockups/MockupThumbnail.vue +137 -0
- package/frontend-vue/layers/dms-ui/app/build/mockups/resync.ts +56 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/blockPreview.ts +77 -105
- package/frontend-vue/layers/dms-ui/app/build/utils/blockPreviewMessages.ts +362 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/eyebrow.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/utils/mockup.ts +436 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupCatalog.ts +437 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupDrop.ts +260 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupEdit.ts +487 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupHandoff.ts +20 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupHistory.ts +80 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupInspector.ts +120 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupOutline.ts +91 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupSpec.ts +219 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupStamp.ts +265 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupStream.ts +98 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/sanitizedNodes.ts +27 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/sketch.ts +158 -0
- package/frontend-vue/layers/dms-ui/app/components/RecursiveComponent.vue +1 -0
- package/frontend-vue/layers/dms-ui/app/components/activity-feed/ActivityFeed.vue +4 -4
- package/frontend-vue/layers/dms-ui/app/components/block-preview/BlockPreview.vue +32 -6
- package/frontend-vue/layers/dms-ui/app/components/block-preview/MockupViewer.vue +38 -0
- package/frontend-vue/layers/dms-ui/app/components/blocks/BannerBlock.vue +3 -3
- package/frontend-vue/layers/dms-ui/app/components/blocks/CardBlock.vue +3 -3
- package/frontend-vue/layers/dms-ui/app/components/blocks/KeyValueListBlock.vue +2 -2
- package/frontend-vue/layers/dms-ui/app/components/blocks/LiveToggleBlock.vue +2 -2
- package/frontend-vue/layers/dms-ui/app/components/card/{Card.vue → CardPanel.vue} +2 -2
- package/frontend-vue/layers/dms-ui/app/components/chart/ChartCard.vue +4 -4
- package/frontend-vue/layers/dms-ui/app/components/confirm/ConfirmModal.vue +1 -0
- package/frontend-vue/layers/dms-ui/app/components/flow-canvas/FlowCanvas.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/components/form/{Form.vue → FormBlock.vue} +1 -1
- package/frontend-vue/layers/dms-ui/app/components/form/LocalizedField.vue +34 -25
- package/frontend-vue/layers/dms-ui/app/components/form/components/DatePicker.vue +17 -16
- package/frontend-vue/layers/dms-ui/app/components/form/components/DisplayImage.vue +1 -0
- package/frontend-vue/layers/dms-ui/app/components/form/components/DisplayRichText.vue +12 -4
- package/frontend-vue/layers/dms-ui/app/components/form/components/{Calendar.vue → InputCalendar.vue} +11 -10
- package/frontend-vue/layers/dms-ui/app/components/form/components/{Cascader.vue → InputCascader.vue} +0 -6
- package/frontend-vue/layers/dms-ui/app/components/form/components/{Image.vue → InputImage.vue} +1 -0
- package/frontend-vue/layers/dms-ui/app/components/form/components/{Relation.vue → InputRelation.vue} +14 -11
- package/frontend-vue/layers/dms-ui/app/components/form/components/{Repeater.vue → InputRepeater.vue} +1 -0
- package/frontend-vue/layers/dms-ui/app/components/form/components/{Select.vue → InputSelect.vue} +9 -5
- package/frontend-vue/layers/dms-ui/app/components/form/components/KeyValue.vue +4 -3
- package/frontend-vue/layers/dms-ui/app/components/form/components/SegmentedSelect.vue +2 -2
- package/frontend-vue/layers/dms-ui/app/components/kpi/KpiCard.vue +7 -7
- package/frontend-vue/layers/dms-ui/app/components/meter/MeterBlock.vue +5 -5
- package/frontend-vue/layers/dms-ui/app/components/period/PeriodSelector.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/components/section-header/SectionHeader.vue +2 -2
- package/frontend-vue/layers/dms-ui/app/components/status/StatusSummary.vue +3 -3
- package/frontend-vue/layers/dms-ui/app/components/table-view/ImagePreview.vue +1 -0
- package/frontend-vue/layers/dms-ui/app/components/table-view/KanbanBoard.vue +20 -18
- package/frontend-vue/layers/dms-ui/app/components/table-view/KanbanDisplay.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/components/table-view/TableView.vue +6 -5
- package/frontend-vue/layers/dms-ui/app/components/top-list/TopListCard.vue +2 -2
- package/frontend-vue/layers/dms-ui/app/components/top-list/internal/TopListRow.vue +2 -2
- package/frontend-vue/layers/dms-ui/app/composables/chart/formatValue.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/composables/chart/types.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/composables/confirm/types.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/composables/form/types/props.ts +2 -2
- package/frontend-vue/layers/dms-ui/app/composables/form/useForm.ts +2 -2
- package/frontend-vue/layers/dms-ui/app/composables/tab/useTab.ts +6 -7
- package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/index.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/tableViewDelete.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/tableViewShiftA.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/tableViewShiftN.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/composables/table-view/types/display.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/composables/table-view/useTableViewEmptyState.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/entries/components/block-preview/BlockPreviewSketch.ts +2 -0
- package/frontend-vue/layers/dms-ui/app/entries/components/table/TableActions.ts +2 -0
- package/frontend-vue/layers/dms-ui/app/entries/components/table/TableEmpty.ts +2 -0
- package/frontend-vue/layers/dms-ui/app/entries/components/table/TablePagination.ts +2 -0
- package/frontend-vue/layers/dms-ui/app/entries/components/table/TableRoot.ts +2 -0
- package/frontend-vue/layers/dms-ui/app/entries/components/table/TableViews.ts +2 -0
- package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/previewNavigation.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useBlockInspector.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useMockupSpec.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/mockups/MockupCards.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/mockups/MockupThumbnail.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/utils/blockPreview.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/utils/mockup.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/utils/mockupCatalog.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/utils/mockupDrop.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/utils/mockupEdit.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/utils/mockupHistory.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/utils/mockupInspector.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/utils/mockupOutline.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/utils/mockupSpec.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/entries/utils/sketch.ts +1 -0
- package/frontend-vue/layers/dms-ui/app/types/table/base.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/utils/mockupAssistant.ts +59 -0
- package/frontend-vue/layers/dms-ui/i18n/locales/ui-en-GB.json +122 -1
- package/frontend-vue/layers/dms-ui/i18n/locales/ui-fr-FR.json +122 -1
- package/frontend-vue/package.json +4 -3
- package/frontend-vue/scripts/check-page-invariants.mjs +1 -1
- package/frontend-vue/scripts/probes/frontend-legacy.cjs +22 -22
- package/frontend-vue/server/request-body.ts +21 -0
- package/package.json +61 -20
- package/skills/dms/SKILL.md +7 -6
- package/skills/dms-auth/SKILL.md +4 -3
- package/skills/dms-module/REFERENCE.md +1 -1
- package/skills/dms-module/SKILL.md +1 -1
- package/skills/dms-project/REFERENCE.md +4 -2
- package/skills/dms-project/SKILL.md +1 -1
- package/frontend-vue/layers/dms-layout/app/entries/components/layout/Footer.ts +0 -2
- package/frontend-vue/layers/dms-onboarding/app/entries/components/onboarding/steps/ready.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/confirm/actionError.ts +0 -21
- package/frontend-vue/layers/dms-ui/app/entries/components/table/Actions.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/entries/components/table/Empty.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/entries/components/table/Pagination.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/entries/components/table/Table.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/entries/components/table/Views.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/entries/composables/confirm/actionError.ts +0 -1
- package/skills/dms-best-practices/REFERENCE.md +0 -95
- package/skills/dms-best-practices/SKILL.md +0 -81
- package/skills/dms-best-practices/cases.json +0 -82
- package/skills/dms-pages/REFERENCE.md +0 -277
- package/skills/dms-pages/SKILL.md +0 -115
- package/skills/dms-pages/cases.json +0 -96
- /package/frontend-vue/layers/dms-layout/app/build/components/layout/{Container.vue → LayoutContainer.vue} +0 -0
- /package/frontend-vue/layers/dms-layout/app/build/components/layout/{Footer.vue → LayoutFooter.vue} +0 -0
- /package/frontend-vue/layers/dms-layout/app/components/layout/{Spacer.vue → StackSpacer.vue} +0 -0
- /package/frontend-vue/layers/dms-onboarding/app/build/components/onboarding/steps/{platform.vue → StepPlatform.vue} +0 -0
- /package/frontend-vue/layers/dms-onboarding/app/build/components/onboarding/steps/{ready.vue → StepReady.vue} +0 -0
- /package/frontend-vue/layers/dms-onboarding/app/components/onboarding/steps/{register.vue → StepRegister.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/build/components/table/{Tabs.vue → TableTabs.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/{types → build/types}/shortcuts-aggregated.d.ts +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/{Placeholder.vue → PlaceholderBlock.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/banner/{Banner.vue → NoticeBanner.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/chart/{Chart.vue → ChartBlock.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/chart/internal/{Sparkline.vue → SparklineChart.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/form/components/{Display.vue → DisplayValue.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/form/components/{Checkbox.vue → InputCheckbox.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/form/components/{File.vue → InputFile.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/form/components/{Slider.vue → InputSlider.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/form/components/{Switch.vue → InputSwitch.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/form/components/{Textarea.vue → InputTextarea.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/grid/{Grid.vue → GridBlock.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/guard/{Guard.vue → GuardBlock.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/meter/{Meter.vue → MeterBar.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/section/{Section.vue → SectionPanel.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/section-header/{Eyebrow.vue → EyebrowLabel.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/segmented/{Segmented.vue → SegmentedControl.vue} +0 -0
- /package/frontend-vue/layers/dms-ui/app/components/tab/{Tab.vue → TabBlock.vue} +0 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.recordedConnection = recordedConnection;
|
|
7
|
+
exports.markMapped = markMapped;
|
|
8
|
+
exports.mappedConnectionOfFile = mappedConnectionOfFile;
|
|
9
|
+
exports.excludedRelationsOf = excludedRelationsOf;
|
|
10
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
|
11
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
12
|
+
const modules_1 = require("./modules");
|
|
13
|
+
const project_1 = require("./project");
|
|
14
|
+
const project_config_1 = require("./project-config");
|
|
15
|
+
const scalar_guards_1 = require("./scalar-guards");
|
|
16
|
+
const value_1 = require("./value");
|
|
17
|
+
const MANIFEST = "package.json";
|
|
18
|
+
function manifestPath(root) {
|
|
19
|
+
return node_path_1.default.join(root, MANIFEST);
|
|
20
|
+
}
|
|
21
|
+
const BYTE_ORDER_MARK = /^\uFEFF/;
|
|
22
|
+
function isOptionalString(value) {
|
|
23
|
+
return value === undefined || (0, scalar_guards_1.isString)(value);
|
|
24
|
+
}
|
|
25
|
+
function isOptionalTextRecord(value) {
|
|
26
|
+
return (value === undefined ||
|
|
27
|
+
((0, value_1.isPlainObject)(value) && Object.values(value).every(scalar_guards_1.isString)));
|
|
28
|
+
}
|
|
29
|
+
function isDatabaseRecord(value) {
|
|
30
|
+
return ((0, value_1.isPlainObject)(value) &&
|
|
31
|
+
isOptionalString(value.connection) &&
|
|
32
|
+
isOptionalTextRecord(value.excludedTables));
|
|
33
|
+
}
|
|
34
|
+
function isBuilderManifest(value) {
|
|
35
|
+
return ((0, value_1.isPlainObject)(value) &&
|
|
36
|
+
(value.database === undefined || isDatabaseRecord(value.database)) &&
|
|
37
|
+
isOptionalString(value.mapped) &&
|
|
38
|
+
isOptionalTextRecord(value.excluded));
|
|
39
|
+
}
|
|
40
|
+
function isMappedManifest(value) {
|
|
41
|
+
return ((0, value_1.isPlainObject)(value) &&
|
|
42
|
+
(value.dmsBuilder === undefined || isBuilderManifest(value.dmsBuilder)));
|
|
43
|
+
}
|
|
44
|
+
function readManifest(root) {
|
|
45
|
+
const file = manifestPath(root);
|
|
46
|
+
if (!node_fs_1.default.existsSync(file)) {
|
|
47
|
+
return {};
|
|
48
|
+
}
|
|
49
|
+
const shown = node_path_1.default.relative((0, project_1.resolveProjectRoot)(), file);
|
|
50
|
+
let manifest;
|
|
51
|
+
try {
|
|
52
|
+
manifest = JSON.parse(node_fs_1.default.readFileSync(file, "utf8").replace(BYTE_ORDER_MARK, ""));
|
|
53
|
+
}
|
|
54
|
+
catch (error) {
|
|
55
|
+
throw new project_config_1.StepRefusal(`${shown} is not valid JSON: ${error instanceof Error ? error.message : String(error)}`);
|
|
56
|
+
}
|
|
57
|
+
if (!isMappedManifest(manifest)) {
|
|
58
|
+
throw new project_config_1.StepRefusal(`${shown} has a malformed dmsBuilder record`);
|
|
59
|
+
}
|
|
60
|
+
return manifest;
|
|
61
|
+
}
|
|
62
|
+
function updatedExclusions(current, update) {
|
|
63
|
+
const excluded = { ...current };
|
|
64
|
+
for (const relation of update.mapped) {
|
|
65
|
+
delete excluded[relation];
|
|
66
|
+
}
|
|
67
|
+
for (const entry of update.excluded) {
|
|
68
|
+
excluded[entry.relation] = entry.reason;
|
|
69
|
+
}
|
|
70
|
+
return Object.keys(excluded).length > 0 ? excluded : undefined;
|
|
71
|
+
}
|
|
72
|
+
function databaseRecord(manifest) {
|
|
73
|
+
const builder = manifest.dmsBuilder;
|
|
74
|
+
return {
|
|
75
|
+
connection: builder?.database?.connection ?? builder?.mapped,
|
|
76
|
+
excludedTables: builder?.database?.excludedTables ?? builder?.excluded,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function recorded(manifest, record) {
|
|
80
|
+
const { mapped: _mapped, excluded: _excluded, ...builder } = manifest.dmsBuilder ?? {};
|
|
81
|
+
const database = { connection: record.connection };
|
|
82
|
+
if (record.excludedTables && Object.keys(record.excludedTables).length > 0) {
|
|
83
|
+
database.excludedTables = record.excludedTables;
|
|
84
|
+
}
|
|
85
|
+
return { ...manifest, dmsBuilder: { ...builder, database } };
|
|
86
|
+
}
|
|
87
|
+
function manifestText(manifest) {
|
|
88
|
+
return `${JSON.stringify(manifest, null, 2)}\n`;
|
|
89
|
+
}
|
|
90
|
+
function writeDatabaseRecord(root, record) {
|
|
91
|
+
const manifest = readManifest(root);
|
|
92
|
+
const next = recorded(manifest, record);
|
|
93
|
+
if (JSON.stringify(next) === JSON.stringify(manifest)) {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
node_fs_1.default.writeFileSync(manifestPath(root), manifestText(next));
|
|
97
|
+
}
|
|
98
|
+
function recordedConnection(root) {
|
|
99
|
+
return databaseRecord(readManifest(root)).connection;
|
|
100
|
+
}
|
|
101
|
+
function markMapped(module, update) {
|
|
102
|
+
const root = (0, modules_1.targetModule)(module)?.root;
|
|
103
|
+
if (!root) {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
const current = databaseRecord(readManifest(root));
|
|
107
|
+
writeDatabaseRecord(root, {
|
|
108
|
+
connection: update.connection,
|
|
109
|
+
excludedTables: updatedExclusions(current.excludedTables, update),
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
function mappedConnectionOfFile(filepath) {
|
|
113
|
+
const root = (0, modules_1.moduleOfFile)(filepath)?.root;
|
|
114
|
+
return root ? recordedConnection(root) : undefined;
|
|
115
|
+
}
|
|
116
|
+
function excludedRelationsOf(module) {
|
|
117
|
+
const root = (0, modules_1.targetModule)(module)?.root;
|
|
118
|
+
return root ? (databaseRecord(readManifest(root)).excludedTables ?? {}) : {};
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=mapped-modules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapped-modules.js","sourceRoot":"","sources":["../../../../src/implementations/dms-builder/engine/mapped-modules.ts"],"names":[],"mappings":";;;;;AA2JA,gDAEC;AAOD,gCAUC;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CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAC/E,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RoutesOf = RoutesOf;
|
|
4
|
+
const READ_ROUTES = ["list", "get", "select", "export"];
|
|
5
|
+
function RoutesOf(resource) {
|
|
6
|
+
if (!resource.tableView) {
|
|
7
|
+
return [];
|
|
8
|
+
}
|
|
9
|
+
return resource.writable ? undefined : READ_ROUTES;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=mapped-routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapped-routes.js","sourceRoot":"","sources":["../../../../src/implementations/dms-builder/engine/mapped-routes.ts"],"names":[],"mappings":";;AAYA,4BAOC;AAdD,MAAM,WAAW,GAAoB,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAOzE,SAAgB,QAAQ,CACtB,QAAwB;IAExB,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,CAAC;QACxB,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,OAAO,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC;AACrD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MappingRefusal = void 0;
|
|
4
|
+
exports.refuse = refuse;
|
|
5
|
+
class MappingRefusal extends Error {
|
|
6
|
+
}
|
|
7
|
+
exports.MappingRefusal = MappingRefusal;
|
|
8
|
+
function refuse(message) {
|
|
9
|
+
throw new MappingRefusal(message);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=mapping-refusal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapping-refusal.js","sourceRoot":"","sources":["../../../../src/implementations/dms-builder/engine/mapping-refusal.ts"],"names":[],"mappings":";;;AAGA,wBAEC;AAJD,MAAa,cAAe,SAAQ,KAAK;CAAG;AAA5C,wCAA4C;AAE5C,SAAgB,MAAM,CAAC,OAAe;IACpC,MAAM,IAAI,cAAc,CAAC,OAAO,CAAC,CAAC;AACpC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MixedTypeDeclarations = MixedTypeDeclarations;
|
|
4
|
+
const READINGS = new Map([
|
|
5
|
+
["objectId", "string"],
|
|
6
|
+
["uuid", "string"],
|
|
7
|
+
["string", "string"],
|
|
8
|
+
["STRING", "string"],
|
|
9
|
+
["int", "number"],
|
|
10
|
+
["long", "number"],
|
|
11
|
+
["double", "number"],
|
|
12
|
+
["decimal", "number"],
|
|
13
|
+
["NUMBER", "number"],
|
|
14
|
+
["date", "date"],
|
|
15
|
+
["PTYPE<TIME>", "date"],
|
|
16
|
+
["bool", "boolean"],
|
|
17
|
+
["BOOL", "boolean"],
|
|
18
|
+
]);
|
|
19
|
+
const SHARE_SEPARATOR = " | ";
|
|
20
|
+
const SHARE = /^(\S+) \d+%/;
|
|
21
|
+
function MixedTypeDeclarations(column) {
|
|
22
|
+
const shares = column.native.split(SHARE_SEPARATOR);
|
|
23
|
+
if (column.accepts.length > 0 || shares.length < 2) {
|
|
24
|
+
return [];
|
|
25
|
+
}
|
|
26
|
+
const declarations = shares.flatMap((share) => {
|
|
27
|
+
const declared = READINGS.get(SHARE.exec(share)?.[1] ?? "");
|
|
28
|
+
return declared ? [declared] : [];
|
|
29
|
+
});
|
|
30
|
+
return [...new Set(declarations)];
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=mixed-types.js.map
|
|
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AQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACpC,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;AACpC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.generatedModelMethods = generatedModelMethods;
|
|
4
|
+
exports.restoreModelMethods = restoreModelMethods;
|
|
5
|
+
const query_template_1 = require("./query-template");
|
|
6
|
+
function generatedModelMethods(file, modelName) {
|
|
7
|
+
const modelClass = file.getClass(modelName);
|
|
8
|
+
if (!modelClass) {
|
|
9
|
+
return [];
|
|
10
|
+
}
|
|
11
|
+
return modelClass
|
|
12
|
+
.getMethods()
|
|
13
|
+
.filter((method) => (0, query_template_1.parseModelMethod)(method) !== undefined)
|
|
14
|
+
.map((method) => method.getFullText().trim());
|
|
15
|
+
}
|
|
16
|
+
function restoreModelMethods(file, modelName, methods) {
|
|
17
|
+
const modelClass = file.getClass(modelName);
|
|
18
|
+
if (!modelClass) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
for (const text of methods) {
|
|
22
|
+
modelClass.addMember(text);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=model-methods-keep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-methods-keep.js","sourceRoot":"","sources":["../../../../src/implementations/dms-builder/engine/model-methods-keep.ts"],"names":[],"mappings":";;AAaA,sDAYC;AAGD,kDAYC;AA9BD,qDAAoD;AAGpD,SAAgB,qBAAqB,CACnC,IAAgB,EAChB,SAAiB;IAEjB,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC5C,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,OAAO,UAAU;SACd,UAAU,EAAE;SACZ,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,IAAA,iCAAgB,EAAC,MAAM,CAAC,KAAK,SAAS,CAAC;SAC1D,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC;AAClD,CAAC;AAGD,SAAgB,mBAAmB,CACjC,IAAgB,EAChB,SAAiB,EACjB,OAAiB;IAEjB,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC5C,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO;IACT,CAAC;IACD,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE,CAAC;QAC3B,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function loadModule(specifier: string): Record<string, unknown>;
|
|
2
|
+
export declare function requireFrom(file: string): NodeJS.Require;
|
|
3
|
+
export declare function loadModuleFrom(file: string, specifier: string): Record<string, unknown>;
|
|
4
|
+
export declare function resolveModule(specifier: string): string;
|
|
5
|
+
export declare function loadedModules(): (readonly [string, Record<string, unknown>])[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.loadModule = loadModule;
|
|
4
|
+
exports.requireFrom = requireFrom;
|
|
5
|
+
exports.loadModuleFrom = loadModuleFrom;
|
|
6
|
+
exports.resolveModule = resolveModule;
|
|
7
|
+
exports.loadedModules = loadedModules;
|
|
8
|
+
const node_module_1 = require("node:module");
|
|
9
|
+
const guards_1 = require("./guards");
|
|
10
|
+
function loadModule(specifier) {
|
|
11
|
+
const loaded = require(specifier);
|
|
12
|
+
return (0, guards_1.isIndexable)(loaded) ? loaded : {};
|
|
13
|
+
}
|
|
14
|
+
function requireFrom(file) {
|
|
15
|
+
return (0, node_module_1.createRequire)(file);
|
|
16
|
+
}
|
|
17
|
+
function loadModuleFrom(file, specifier) {
|
|
18
|
+
const loaded = requireFrom(file)(specifier);
|
|
19
|
+
return (0, guards_1.isIndexable)(loaded) ? loaded : {};
|
|
20
|
+
}
|
|
21
|
+
function resolveModule(specifier) {
|
|
22
|
+
return require.resolve(specifier);
|
|
23
|
+
}
|
|
24
|
+
function loadedModules() {
|
|
25
|
+
return Object.entries(require.cache).map(([file, entry]) => {
|
|
26
|
+
const exported = entry?.exports;
|
|
27
|
+
return [file, (0, guards_1.isIndexable)(exported) ? exported : {}];
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=module-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-loader.js","sourceRoot":"","sources":["../../../../src/implementations/dms-builder/engine/module-loader.ts"],"names":[],"mappings":";;AAUA,gCAGC;AAGD,kCAEC;AAGD,wCAGC;AAGD,sCAEC;AAGD,sCAKC;AArCD,6CAA4C;AAC5C,qCAAuC;AASvC,SAAgB,UAAU,CAAC,SAAiB;IAC1C,MAAM,MAAM,GAAY,OAAO,CAAC,SAAS,CAAC,CAAC;IAC3C,OAAO,IAAA,oBAAW,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;AAC3C,CAAC;AAGD,SAAgB,WAAW,CAAC,IAAY;IACtC,OAAO,IAAA,2BAAa,EAAC,IAAI,CAAC,CAAC;AAC7B,CAAC;AAGD,SAAgB,cAAc,CAAC,IAAY,EAAE,SAAiB;IAC5D,MAAM,MAAM,GAAY,WAAW,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC;IACrD,OAAO,IAAA,oBAAW,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;AAC3C,CAAC;AAGD,SAAgB,aAAa,CAAC,SAAiB;IAC7C,OAAO,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AACpC,CAAC;AAGD,SAAgB,aAAa;IAC3B,OAAO,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE;QACzD,MAAM,QAAQ,GAAY,KAAK,EAAE,OAAO,CAAC;QACzC,OAAO,CAAC,IAAI,EAAE,IAAA,oBAAW,EAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAU,CAAC;IAChE,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { FileChange, OpWarning } from "@antelopejs/interface-dms-builder";
|
|
2
|
+
export interface ModuleReload {
|
|
3
|
+
loaded(): Promise<OpWarning | undefined>;
|
|
4
|
+
cancel(): void;
|
|
5
|
+
}
|
|
6
|
+
type ReloadWatcher = (module: string) => ModuleReload;
|
|
7
|
+
type LifecycleHandler = (module: string) => void;
|
|
8
|
+
interface LifecycleEvent {
|
|
9
|
+
register(handler: LifecycleHandler): void;
|
|
10
|
+
unregister(handler: LifecycleHandler): void;
|
|
11
|
+
}
|
|
12
|
+
export interface ReloadRuntime {
|
|
13
|
+
destroyed: LifecycleEvent;
|
|
14
|
+
started: LifecycleEvent;
|
|
15
|
+
status(module: string): Promise<string>;
|
|
16
|
+
}
|
|
17
|
+
export declare function watchModuleReload(module: string, runtime?: ReloadRuntime, timeoutMs?: number): ModuleReload;
|
|
18
|
+
export declare function watchReloadOf(module: string): ModuleReload;
|
|
19
|
+
export declare function setModuleReloadForTests(next?: ReloadWatcher): void;
|
|
20
|
+
export declare function changesModule(changes: FileChange[], root: string): boolean;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.watchModuleReload = watchModuleReload;
|
|
7
|
+
exports.watchReloadOf = watchReloadOf;
|
|
8
|
+
exports.setModuleReloadForTests = setModuleReloadForTests;
|
|
9
|
+
exports.changesModule = changesModule;
|
|
10
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
11
|
+
const interface_core_1 = require("@antelopejs/interface-core");
|
|
12
|
+
const RELOAD_TIMEOUT_MS = 60_000;
|
|
13
|
+
const MS_PER_SECOND = 1000;
|
|
14
|
+
const ACTIVE = "active";
|
|
15
|
+
const UNKNOWN = "unknown";
|
|
16
|
+
function notLoaded(module, reason) {
|
|
17
|
+
return {
|
|
18
|
+
code: "module_not_loaded",
|
|
19
|
+
message: `The mapping was written, but module "${module}" did not load again: ${reason}. The backend log has its error.`,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
async function statusOf(module) {
|
|
23
|
+
try {
|
|
24
|
+
return (await (0, interface_core_1.GetModuleInfo)(module)).status;
|
|
25
|
+
}
|
|
26
|
+
catch {
|
|
27
|
+
return UNKNOWN;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
const CORE_RUNTIME = {
|
|
31
|
+
destroyed: interface_core_1.Events.ModuleDestroyed,
|
|
32
|
+
started: interface_core_1.Events.ModuleStarted,
|
|
33
|
+
status: statusOf,
|
|
34
|
+
};
|
|
35
|
+
function watchModuleReload(module, runtime = CORE_RUNTIME, timeoutMs = RELOAD_TIMEOUT_MS) {
|
|
36
|
+
let destroyed = false;
|
|
37
|
+
let finish = () => undefined;
|
|
38
|
+
const settled = new Promise((resolve) => {
|
|
39
|
+
finish = resolve;
|
|
40
|
+
});
|
|
41
|
+
const onDestroyed = (id) => {
|
|
42
|
+
if (id === module)
|
|
43
|
+
destroyed = true;
|
|
44
|
+
};
|
|
45
|
+
const onStarted = (id) => {
|
|
46
|
+
if (id === module && destroyed)
|
|
47
|
+
finish(true);
|
|
48
|
+
};
|
|
49
|
+
let timer;
|
|
50
|
+
const stop = () => {
|
|
51
|
+
clearTimeout(timer);
|
|
52
|
+
runtime.destroyed.unregister(onDestroyed);
|
|
53
|
+
runtime.started.unregister(onStarted);
|
|
54
|
+
finish(false);
|
|
55
|
+
};
|
|
56
|
+
runtime.destroyed.register(onDestroyed);
|
|
57
|
+
runtime.started.register(onStarted);
|
|
58
|
+
return {
|
|
59
|
+
cancel: stop,
|
|
60
|
+
async loaded() {
|
|
61
|
+
timer = setTimeout(() => finish(false), timeoutMs);
|
|
62
|
+
const started = await settled;
|
|
63
|
+
stop();
|
|
64
|
+
if (destroyed && !started) {
|
|
65
|
+
return notLoaded(module, `it was unloaded and did not start again within ${timeoutMs / MS_PER_SECOND} s`);
|
|
66
|
+
}
|
|
67
|
+
const status = await runtime.status(module);
|
|
68
|
+
return status === ACTIVE
|
|
69
|
+
? undefined
|
|
70
|
+
: notLoaded(module, `the runtime reports it ${status}`);
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
const watchThroughCore = (module) => watchModuleReload(module);
|
|
75
|
+
let watcher = watchThroughCore;
|
|
76
|
+
function watchReloadOf(module) {
|
|
77
|
+
return watcher(module);
|
|
78
|
+
}
|
|
79
|
+
function setModuleReloadForTests(next) {
|
|
80
|
+
watcher = next ?? watchThroughCore;
|
|
81
|
+
}
|
|
82
|
+
function changesModule(changes, root) {
|
|
83
|
+
return changes.some((change) => {
|
|
84
|
+
const relative = node_path_1.default.relative(root, change.path);
|
|
85
|
+
return (relative !== "" &&
|
|
86
|
+
!relative.startsWith("..") &&
|
|
87
|
+
!node_path_1.default.isAbsolute(relative));
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=module-reload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-reload.js","sourceRoot":"","sources":["../../../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B,CAAC;AAG9C,SAAgB,aAAa,CAAC,MAAc;IAC1C,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC;AACzB,CAAC;AAGD,SAAgB,uBAAuB,CAAC,IAAoB;IAC1D,OAAO,GAAG,IAAI,IAAI,gBAAgB,CAAC;AACrC,CAAC;AAGD,SAAgB,aAAa,CAAC,OAAqB,EAAE,IAAY;IAC/D,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;QAC7B,MAAM,QAAQ,GAAG,mBAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;QAClD,OAAO,CACL,QAAQ,KAAK,EAAE;YACf,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC;YAC1B,CAAC,mBAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAC3B,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Node, type ObjectLiteralExpression, Project, type SourceFile } from "ts-morph";
|
|
2
|
+
export interface ModuleRoot {
|
|
3
|
+
id: string;
|
|
4
|
+
root: string;
|
|
5
|
+
isProject: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function findConfigFile(): string | undefined;
|
|
8
|
+
export declare function configObject(file: SourceFile): ObjectLiteralExpression | undefined;
|
|
9
|
+
export declare function propertyNamed(object: ObjectLiteralExpression, name: string): Node | undefined;
|
|
10
|
+
export declare function propertyKey(node: Node): string;
|
|
11
|
+
export declare function projectModules(): ModuleRoot[];
|
|
12
|
+
export declare function configuredModuleIds(): string[];
|
|
13
|
+
export declare function targetModule(id?: string): ModuleRoot | undefined;
|
|
14
|
+
export declare function moduleOfFile(filepath: string): ModuleRoot | undefined;
|
|
15
|
+
export declare function createModulesProject(): Project;
|
|
16
|
+
export declare function addModuleSources(project: Project): void;
|
|
17
|
+
export declare function moduleMismatch(module: string | undefined, declaredIn: string | undefined, what: string): string | undefined;
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.findConfigFile = findConfigFile;
|
|
7
|
+
exports.configObject = configObject;
|
|
8
|
+
exports.propertyNamed = propertyNamed;
|
|
9
|
+
exports.propertyKey = propertyKey;
|
|
10
|
+
exports.projectModules = projectModules;
|
|
11
|
+
exports.configuredModuleIds = configuredModuleIds;
|
|
12
|
+
exports.targetModule = targetModule;
|
|
13
|
+
exports.moduleOfFile = moduleOfFile;
|
|
14
|
+
exports.createModulesProject = createModulesProject;
|
|
15
|
+
exports.addModuleSources = addModuleSources;
|
|
16
|
+
exports.moduleMismatch = moduleMismatch;
|
|
17
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
|
18
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
19
|
+
const ts_morph_1 = require("ts-morph");
|
|
20
|
+
const project_1 = require("./project");
|
|
21
|
+
const CONFIG_FILES = ["antelope.config.ts", "antelope.config.mts"];
|
|
22
|
+
const MODULE_ENTRY = node_path_1.default.join("src", "index.ts");
|
|
23
|
+
const LOCAL_SOURCE = "local";
|
|
24
|
+
function findConfigFile() {
|
|
25
|
+
const root = (0, project_1.resolveProjectRoot)();
|
|
26
|
+
return CONFIG_FILES.map((name) => node_path_1.default.join(root, name)).find((candidate) => node_fs_1.default.existsSync(candidate));
|
|
27
|
+
}
|
|
28
|
+
function configObject(file) {
|
|
29
|
+
const exported = file.getExportAssignment((assignment) => !assignment.isExportEquals());
|
|
30
|
+
const expression = exported?.getExpression();
|
|
31
|
+
if (ts_morph_1.Node.isObjectLiteralExpression(expression)) {
|
|
32
|
+
return expression;
|
|
33
|
+
}
|
|
34
|
+
if (ts_morph_1.Node.isCallExpression(expression)) {
|
|
35
|
+
const [argument] = expression.getArguments();
|
|
36
|
+
return ts_morph_1.Node.isObjectLiteralExpression(argument) ? argument : undefined;
|
|
37
|
+
}
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
function propertyNamed(object, name) {
|
|
41
|
+
return object
|
|
42
|
+
.getProperties()
|
|
43
|
+
.filter(ts_morph_1.Node.isPropertyAssignment)
|
|
44
|
+
.findLast((property) => propertyKey(property.getNameNode()) === name)
|
|
45
|
+
?.getInitializer();
|
|
46
|
+
}
|
|
47
|
+
function propertyKey(node) {
|
|
48
|
+
if (ts_morph_1.Node.isStringLiteral(node) ||
|
|
49
|
+
ts_morph_1.Node.isNoSubstitutionTemplateLiteral(node)) {
|
|
50
|
+
return node.getLiteralValue();
|
|
51
|
+
}
|
|
52
|
+
return node.getText();
|
|
53
|
+
}
|
|
54
|
+
function stringProperty(object, name) {
|
|
55
|
+
const value = propertyNamed(object, name);
|
|
56
|
+
return ts_morph_1.Node.isStringLiteral(value) ||
|
|
57
|
+
ts_morph_1.Node.isNoSubstitutionTemplateLiteral(value)
|
|
58
|
+
? value.getLiteralValue()
|
|
59
|
+
: undefined;
|
|
60
|
+
}
|
|
61
|
+
function localRoot(entry, projectRoot) {
|
|
62
|
+
if (!ts_morph_1.Node.isObjectLiteralExpression(entry)) {
|
|
63
|
+
return undefined;
|
|
64
|
+
}
|
|
65
|
+
const source = propertyNamed(entry, "source");
|
|
66
|
+
if (!ts_morph_1.Node.isObjectLiteralExpression(source)) {
|
|
67
|
+
return undefined;
|
|
68
|
+
}
|
|
69
|
+
if (stringProperty(source, "type") !== LOCAL_SOURCE) {
|
|
70
|
+
return undefined;
|
|
71
|
+
}
|
|
72
|
+
const relative = stringProperty(source, "path");
|
|
73
|
+
return relative === undefined
|
|
74
|
+
? undefined
|
|
75
|
+
: node_path_1.default.resolve(projectRoot, relative);
|
|
76
|
+
}
|
|
77
|
+
function isInside(root, candidate) {
|
|
78
|
+
return candidate === root || candidate.startsWith(root + node_path_1.default.sep);
|
|
79
|
+
}
|
|
80
|
+
function projectModules() {
|
|
81
|
+
const projectRoot = (0, project_1.resolveProjectRoot)();
|
|
82
|
+
const configPath = findConfigFile();
|
|
83
|
+
const stamp = configPath ? node_fs_1.default.statSync(configPath).mtimeMs : 0;
|
|
84
|
+
const key = `${projectRoot}\0${configPath ?? ""}\0${stamp}`;
|
|
85
|
+
if (cached?.key !== key) {
|
|
86
|
+
cached = { key, modules: readModules(projectRoot, configPath) };
|
|
87
|
+
}
|
|
88
|
+
return cached.modules;
|
|
89
|
+
}
|
|
90
|
+
let cached;
|
|
91
|
+
function readModules(projectRoot, configPath) {
|
|
92
|
+
const fallback = [
|
|
93
|
+
{ id: "", root: projectRoot, isProject: true },
|
|
94
|
+
];
|
|
95
|
+
if (!configPath) {
|
|
96
|
+
return fallback;
|
|
97
|
+
}
|
|
98
|
+
const file = new ts_morph_1.Project({
|
|
99
|
+
useInMemoryFileSystem: false,
|
|
100
|
+
}).addSourceFileAtPath(configPath);
|
|
101
|
+
const config = configObject(file);
|
|
102
|
+
const object = config && propertyNamed(config, "modules");
|
|
103
|
+
if (!ts_morph_1.Node.isObjectLiteralExpression(object)) {
|
|
104
|
+
return fallback;
|
|
105
|
+
}
|
|
106
|
+
const roots = [];
|
|
107
|
+
for (const property of object.getProperties()) {
|
|
108
|
+
if (!ts_morph_1.Node.isPropertyAssignment(property)) {
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
const root = localRoot(property.getInitializer(), projectRoot);
|
|
112
|
+
if (!root ||
|
|
113
|
+
!isInside(projectRoot, root) ||
|
|
114
|
+
!node_fs_1.default.existsSync(node_path_1.default.join(root, MODULE_ENTRY))) {
|
|
115
|
+
continue;
|
|
116
|
+
}
|
|
117
|
+
roots.push({
|
|
118
|
+
id: propertyKey(property.getNameNode()),
|
|
119
|
+
root,
|
|
120
|
+
isProject: root === projectRoot,
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
return roots.some((root) => root.isProject) ? roots : [...fallback, ...roots];
|
|
124
|
+
}
|
|
125
|
+
function configuredModuleIds() {
|
|
126
|
+
const configPath = findConfigFile();
|
|
127
|
+
if (!configPath) {
|
|
128
|
+
return [];
|
|
129
|
+
}
|
|
130
|
+
const file = new ts_morph_1.Project().addSourceFileAtPath(configPath);
|
|
131
|
+
const config = configObject(file);
|
|
132
|
+
const object = config && propertyNamed(config, "modules");
|
|
133
|
+
if (!ts_morph_1.Node.isObjectLiteralExpression(object)) {
|
|
134
|
+
return [];
|
|
135
|
+
}
|
|
136
|
+
return object
|
|
137
|
+
.getProperties()
|
|
138
|
+
.filter(ts_morph_1.Node.isPropertyAssignment)
|
|
139
|
+
.map((property) => propertyKey(property.getNameNode()));
|
|
140
|
+
}
|
|
141
|
+
function targetModule(id) {
|
|
142
|
+
const modules = projectModules();
|
|
143
|
+
return id === undefined
|
|
144
|
+
? modules.find((module) => module.isProject)
|
|
145
|
+
: modules.find((module) => module.id === id);
|
|
146
|
+
}
|
|
147
|
+
function moduleOfFile(filepath) {
|
|
148
|
+
return projectModules()
|
|
149
|
+
.filter((module) => isInside(module.root, filepath))
|
|
150
|
+
.sort((left, right) => right.root.length - left.root.length)[0];
|
|
151
|
+
}
|
|
152
|
+
function createModulesProject() {
|
|
153
|
+
const project = (0, project_1.createProject)((0, project_1.resolveProjectRoot)());
|
|
154
|
+
const others = projectModules().filter((module) => !module.isProject);
|
|
155
|
+
if (others.length === 0) {
|
|
156
|
+
return project;
|
|
157
|
+
}
|
|
158
|
+
project.compilerOptions.set({ rootDir: undefined });
|
|
159
|
+
for (const module of others) {
|
|
160
|
+
project.addSourceFilesAtPaths(node_path_1.default.join(module.root, "src", "**", "*.ts"));
|
|
161
|
+
}
|
|
162
|
+
return project;
|
|
163
|
+
}
|
|
164
|
+
function addModuleSources(project) {
|
|
165
|
+
const held = new Set(project.getSourceFiles().map((file) => file.getFilePath()));
|
|
166
|
+
const listed = [
|
|
167
|
+
...(0, project_1.projectSourcePaths)((0, project_1.resolveProjectRoot)()),
|
|
168
|
+
...projectModules()
|
|
169
|
+
.filter((module) => !module.isProject)
|
|
170
|
+
.flatMap((module) => ts_morph_1.ts.sys.readDirectory(node_path_1.default.join(module.root, "src"), [".ts"], undefined, ["**/*"])),
|
|
171
|
+
];
|
|
172
|
+
for (const filePath of listed) {
|
|
173
|
+
if (!held.has(filePath)) {
|
|
174
|
+
project.addSourceFileAtPathIfExists(filePath);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
function moduleMismatch(module, declaredIn, what) {
|
|
179
|
+
if (module === undefined) {
|
|
180
|
+
return undefined;
|
|
181
|
+
}
|
|
182
|
+
const target = targetModule(module);
|
|
183
|
+
if (!target) {
|
|
184
|
+
const known = projectModules().map((candidate) => candidate.id || "(project)");
|
|
185
|
+
return `unknown module "${module}"; the project's modules are ${known.join(", ")}`;
|
|
186
|
+
}
|
|
187
|
+
if (!declaredIn?.endsWith(".ts")) {
|
|
188
|
+
return undefined;
|
|
189
|
+
}
|
|
190
|
+
const owner = moduleOfFile(declaredIn);
|
|
191
|
+
return owner && owner.root !== target.root
|
|
192
|
+
? `${what} lives in module "${owner.id}", not "${module}"; a module can only use its own declarations`
|
|
193
|
+
: undefined;
|
|
194
|
+
}
|
|
195
|
+
//# sourceMappingURL=modules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modules.js","sourceRoot":"","sources":["../../../../src/implementations/dms-builder/engine/modules.ts"],"names":[],"mappings":";;;;;AA8BA,wCAKC;AAGD,oCAeC;AAMD,sCASC;AAED,kCAQC;AA2CD,wCASC;AAkDD,kDAeC;AAGD,oCAKC;AAGD,oCAIC;AAQD,oDAWC;AASD,4CAsBC;AAOD,wCAsBC;AAjSD,sDAAyB;AACzB,0DAA6B;AAC7B,uCAMkB;AAClB,uCAImB;AAEnB,MAAM,YAAY,GAAG,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,CAAC;AACnE,MAAM,YAAY,GAAG,mBAAI,CAAC,IAAI,C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