@ccslabs/xtend 0.1.0-rc.1
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 +65 -0
- package/LICENSE +201 -0
- package/README.md +184 -0
- package/a11y/motion-contrast-policy.d.ts +32 -0
- package/a11y/motion-contrast-policy.js +261 -0
- package/a11y/runtime-a11y-contract.d.ts +44 -0
- package/a11y/runtime-a11y-contract.js +385 -0
- package/a11y/screenreader-signals.d.ts +32 -0
- package/a11y/screenreader-signals.js +372 -0
- package/api.d.ts +168 -0
- package/api.js +864 -0
- package/catalog/catalog-public-types.d.ts +66 -0
- package/catalog/component-catalog-coverage.d.ts +20 -0
- package/catalog/component-catalog-coverage.js +377 -0
- package/catalog/component-long-tail-migration.d.ts +18 -0
- package/catalog/component-long-tail-migration.js +305 -0
- package/catalog/component-regression-priority.d.ts +20 -0
- package/catalog/component-regression-priority.js +305 -0
- package/catalog/enterprise-component-flex-release-handoff.d.ts +32 -0
- package/catalog/enterprise-component-flex-release-handoff.js +437 -0
- package/catalog/enterprise-component-style-audit.d.ts +22 -0
- package/catalog/enterprise-component-style-audit.js +353 -0
- package/catalog/enterprise-form-control-theme-a11y.d.ts +19 -0
- package/catalog/enterprise-form-control-theme-a11y.js +220 -0
- package/catalog/enterprise-icon-control-audit.d.ts +21 -0
- package/catalog/enterprise-icon-control-audit.js +258 -0
- package/catalog/enterprise-layout-display-media-tokenization.d.ts +20 -0
- package/catalog/enterprise-layout-display-media-tokenization.js +237 -0
- package/catalog/enterprise-navigation-routing-state-hardening.d.ts +20 -0
- package/catalog/enterprise-navigation-routing-state-hardening.js +255 -0
- package/catalog/enterprise-overlay-mode-token-parity.d.ts +15 -0
- package/catalog/enterprise-overlay-mode-token-parity.js +178 -0
- package/catalog/enterprise-third-party-authoring-guide.d.ts +23 -0
- package/catalog/enterprise-third-party-authoring-guide.js +310 -0
- package/catalog/enterprise-visual-dom-snapshot-matrix.d.ts +31 -0
- package/catalog/enterprise-visual-dom-snapshot-matrix.js +357 -0
- package/catalog/epic10-existing-component-metadata.d.ts +25 -0
- package/catalog/epic10-existing-component-metadata.js +534 -0
- package/catalog/epic10-p0-component-wave.d.ts +28 -0
- package/catalog/epic10-p0-component-wave.js +688 -0
- package/catalog/epic10-platform-gates.d.ts +31 -0
- package/catalog/epic10-platform-gates.js +425 -0
- package/catalog/epic10-release-handoff.d.ts +30 -0
- package/catalog/epic10-release-handoff.js +195 -0
- package/catalog/epic11-enterprise-ux-handoff.d.ts +29 -0
- package/catalog/epic11-enterprise-ux-handoff.js +403 -0
- package/catalog/epic12-docs-adoption.d.ts +29 -0
- package/catalog/epic12-docs-adoption.js +183 -0
- package/catalog/epic12-rc0-gate-matrix.d.ts +36 -0
- package/catalog/epic12-rc0-gate-matrix.js +439 -0
- package/catalog/epic12-rc0-handoff.d.ts +30 -0
- package/catalog/epic12-rc0-handoff.js +385 -0
- package/catalog/epic13-conditional-network-evidence-ci.d.ts +35 -0
- package/catalog/epic13-conditional-network-evidence-ci.js +278 -0
- package/catalog/epic13-conditional-network-evidence.d.ts +34 -0
- package/catalog/epic13-conditional-network-evidence.js +280 -0
- package/catalog/epic13-docs-rmt-production-hardening.d.ts +39 -0
- package/catalog/epic13-docs-rmt-production-hardening.js +286 -0
- package/catalog/epic13-hydration-performance-closure.d.ts +33 -0
- package/catalog/epic13-hydration-performance-closure.js +234 -0
- package/catalog/epic13-known-residual-triage.d.ts +32 -0
- package/catalog/epic13-known-residual-triage.js +339 -0
- package/catalog/epic13-package-export-lock.d.ts +41 -0
- package/catalog/epic13-package-export-lock.js +604 -0
- package/catalog/epic13-prod-browser-csp-smoke.d.ts +35 -0
- package/catalog/epic13-prod-browser-csp-smoke.js +218 -0
- package/catalog/epic13-rc1-gate-matrix-ci-handoff.d.ts +36 -0
- package/catalog/epic13-rc1-gate-matrix-ci-handoff.js +418 -0
- package/catalog/epic13-rc1-migration-notes.d.ts +36 -0
- package/catalog/epic13-rc1-migration-notes.js +271 -0
- package/catalog/epic13-rc1-readiness.d.ts +33 -0
- package/catalog/epic13-rc1-readiness.js +487 -0
- package/catalog/epic13-release-owner-acceptance.d.ts +33 -0
- package/catalog/epic13-release-owner-acceptance.js +354 -0
- package/catalog/epic13-release-report-pack-dry-run-evidence.d.ts +36 -0
- package/catalog/epic13-release-report-pack-dry-run-evidence.js +253 -0
- package/catalog/epic13-rmt-production-readiness.d.ts +35 -0
- package/catalog/epic13-rmt-production-readiness.js +314 -0
- package/catalog/epic13-trusted-dom-boundary.d.ts +36 -0
- package/catalog/epic13-trusted-dom-boundary.js +230 -0
- package/catalog/epic13-visual-owner-artifact.d.ts +35 -0
- package/catalog/epic13-visual-owner-artifact.js +233 -0
- package/catalog/epic14-lsp-handoff.d.ts +28 -0
- package/catalog/epic14-lsp-handoff.js +312 -0
- package/catalog/epic14-rmt-tooling.d.ts +33 -0
- package/catalog/epic14-rmt-tooling.js +282 -0
- package/catalog/surface-manager-adapter-runtime.d.ts +37 -0
- package/catalog/surface-manager-adapter-runtime.js +203 -0
- package/catalog/surface-manager-browser-lab.d.ts +39 -0
- package/catalog/surface-manager-browser-lab.js +225 -0
- package/catalog/surface-manager-controller.d.ts +43 -0
- package/catalog/surface-manager-controller.js +290 -0
- package/catalog/surface-manager-layout-engines.d.ts +32 -0
- package/catalog/surface-manager-layout-engines.js +161 -0
- package/catalog/surface-manager-lazy-loading.d.ts +35 -0
- package/catalog/surface-manager-lazy-loading.js +173 -0
- package/catalog/surface-manager-materialization.d.ts +37 -0
- package/catalog/surface-manager-materialization.js +202 -0
- package/catalog/surface-manager-native-rmt-surfaces.d.ts +48 -0
- package/catalog/surface-manager-native-rmt-surfaces.js +325 -0
- package/catalog/surface-manager-overlay-bridge.d.ts +42 -0
- package/catalog/surface-manager-overlay-bridge.js +247 -0
- package/catalog/surface-manager-persistence.d.ts +37 -0
- package/catalog/surface-manager-persistence.js +178 -0
- package/catalog/surface-manager-quality-gates.d.ts +48 -0
- package/catalog/surface-manager-quality-gates.js +324 -0
- package/catalog/surface-manager-release-handoff.d.ts +47 -0
- package/catalog/surface-manager-release-handoff.js +274 -0
- package/catalog/surface-manager-remote-policy.d.ts +34 -0
- package/catalog/surface-manager-remote-policy.js +199 -0
- package/catalog/surface-manager-rmt-authoring.d.ts +44 -0
- package/catalog/surface-manager-rmt-authoring.js +368 -0
- package/catalog/surface-manager-route-lifecycle.d.ts +32 -0
- package/catalog/surface-manager-route-lifecycle.js +162 -0
- package/catalog/surface-manager-runtime-release-handoff.d.ts +36 -0
- package/catalog/surface-manager-runtime-release-handoff.js +245 -0
- package/catalog/surface-manager-side-panel-runtime.d.ts +46 -0
- package/catalog/surface-manager-side-panel-runtime.js +307 -0
- package/catalog/surface-manager-stack-policy.d.ts +32 -0
- package/catalog/surface-manager-stack-policy.js +169 -0
- package/catalog/surface-manager-window-runtime.d.ts +45 -0
- package/catalog/surface-manager-window-runtime.js +285 -0
- package/catalog/surface-manager-workbench-fixture.d.ts +50 -0
- package/catalog/surface-manager-workbench-fixture.js +315 -0
- package/catalog/type-exports-api.js +236 -0
- package/catalog/type-exports-builder.js +405 -0
- package/catalog/type-exports-catalog.js +394 -0
- package/catalog/type-exports-loader.js +266 -0
- package/catalog/type-exports-policy.js +461 -0
- package/catalog/type-exports-rmt.js +407 -0
- package/catalog/type-exports-vendor.js +365 -0
- package/catalog/type-exports.js +574 -0
- package/components/icon-packs/core.js +154 -0
- package/components/icon-packs/lucide.js +136 -0
- package/components/manifest.json +44 -0
- package/components/prism.d.ts +73 -0
- package/components/prism.js +300 -0
- package/components/turndown.d.ts +34 -0
- package/components/turndown.js +107 -0
- package/components/x-rmt-lifecycle-demo-build.d.ts +78 -0
- package/components/x-rmt-lifecycle-demo-build.js +1175 -0
- package/components/x-rmt-lifecycle-demo.d.ts +83 -0
- package/components/x-rmt-lifecycle-demo.js +1175 -0
- package/components/xalert.d.ts +42 -0
- package/components/xalert.js +538 -0
- package/components/xbutton.d.ts +127 -0
- package/components/xbutton.js +612 -0
- package/components/xcalendar.d.ts +39 -0
- package/components/xcalendar.js +338 -0
- package/components/xcards.d.ts +34 -0
- package/components/xcards.js +253 -0
- package/components/xcheckbox.d.ts +48 -0
- package/components/xcheckbox.js +448 -0
- package/components/xcode.d.ts +35 -0
- package/components/xcode.js +370 -0
- package/components/xdialog.d.ts +48 -0
- package/components/xdialog.js +763 -0
- package/components/xdrawer.d.ts +61 -0
- package/components/xdrawer.js +654 -0
- package/components/xfooter.d.ts +41 -0
- package/components/xfooter.js +351 -0
- package/components/xform.d.ts +43 -0
- package/components/xform.js +456 -0
- package/components/xheader.d.ts +68 -0
- package/components/xheader.js +1253 -0
- package/components/xhero.d.ts +42 -0
- package/components/xhero.js +475 -0
- package/components/xicon.d.ts +146 -0
- package/components/xicon.js +688 -0
- package/components/xinput.d.ts +37 -0
- package/components/xinput.js +444 -0
- package/components/xlightbox.d.ts +48 -0
- package/components/xlightbox.js +571 -0
- package/components/xlink.d.ts +63 -0
- package/components/xlink.js +565 -0
- package/components/xmasonry.d.ts +35 -0
- package/components/xmasonry.js +666 -0
- package/components/xmenu.d.ts +118 -0
- package/components/xmenu.js +1005 -0
- package/components/xmodal.d.ts +64 -0
- package/components/xmodal.js +831 -0
- package/components/xplayer.d.ts +57 -0
- package/components/xplayer.js +1748 -0
- package/components/xpopover.d.ts +54 -0
- package/components/xpopover.js +466 -0
- package/components/xprogress.d.ts +40 -0
- package/components/xprogress.js +345 -0
- package/components/xradio.d.ts +50 -0
- package/components/xradio.js +474 -0
- package/components/xrouter.d.ts +244 -0
- package/components/xrouter.js +1841 -0
- package/components/xsection.d.ts +34 -0
- package/components/xsection.js +253 -0
- package/components/xselect.d.ts +46 -0
- package/components/xselect.js +463 -0
- package/components/xsidepanel.d.ts +56 -0
- package/components/xsidepanel.js +728 -0
- package/components/xspinner.d.ts +38 -0
- package/components/xspinner.js +388 -0
- package/components/xstate.d.ts +137 -0
- package/components/xstate.js +493 -0
- package/components/xstatus.d.ts +41 -0
- package/components/xstatus.js +381 -0
- package/components/xsummary.d.ts +43 -0
- package/components/xsummary.js +293 -0
- package/components/xsurfacemanager-controller.d.ts +130 -0
- package/components/xsurfacemanager-controller.js +699 -0
- package/components/xsurfacemanager.d.ts +452 -0
- package/components/xsurfacemanager.js +3775 -0
- package/components/xsurfaceoverlay-bridge.d.ts +43 -0
- package/components/xsurfaceoverlay-bridge.js +238 -0
- package/components/xsurfacewindow.d.ts +50 -0
- package/components/xsurfacewindow.js +576 -0
- package/components/xtabs.d.ts +73 -0
- package/components/xtabs.js +611 -0
- package/components/xtend-public-types.d.ts +208 -0
- package/components/xtextarea.d.ts +46 -0
- package/components/xtextarea.js +451 -0
- package/components/xtheme.d.ts +253 -0
- package/components/xtheme.js +1438 -0
- package/components/xtoast.d.ts +39 -0
- package/components/xtoast.js +389 -0
- package/components/xtooltip.d.ts +53 -0
- package/components/xtooltip.js +432 -0
- package/components/xtype.d.ts +42 -0
- package/components/xtype.js +244 -0
- package/components/xutils.d.ts +164 -0
- package/components/xutils.js +496 -0
- package/components/xwriter.d.ts +67 -0
- package/components/xwriter.js +854 -0
- package/design-tokens/themes/enterprise-light.json +40 -0
- package/design-tokens/themes/xtend-signature.json +126 -0
- package/design-tokens/xtend-design-tokens.d.ts +95 -0
- package/design-tokens/xtend-design-tokens.js +395 -0
- package/design-tokens/xtheme-token-alias-layer.d.ts +84 -0
- package/design-tokens/xtheme-token-alias-layer.js +423 -0
- package/docs/.htaccess +51 -0
- package/docs/README.md +340 -0
- package/docs/XTend-ADR.md +221 -0
- package/docs/a11y-keyboard-smokes.md +62 -0
- package/docs/about.md +18 -0
- package/docs/api.md +157 -0
- package/docs/best-practices.md +76 -0
- package/docs/component-catalog-coverage.md +58 -0
- package/docs/component-lab.md +103 -0
- package/docs/component-long-tail-migration.md +41 -0
- package/docs/component-platform.md +159 -0
- package/docs/component-ux-app-authoring.md +130 -0
- package/docs/component-ux-authoring.md +96 -0
- package/docs/component-ux-gates.md +45 -0
- package/docs/components/x-rmt-lifecycle-demo-build.md +60 -0
- package/docs/components/xalert.md +81 -0
- package/docs/components/xbutton.md +103 -0
- package/docs/components/xcalendar.md +82 -0
- package/docs/components/xcards.md +128 -0
- package/docs/components/xcheckbox.md +102 -0
- package/docs/components/xcode.md +126 -0
- package/docs/components/xdialog.md +92 -0
- package/docs/components/xdrawer.md +84 -0
- package/docs/components/xfooter.md +126 -0
- package/docs/components/xform.md +128 -0
- package/docs/components/xheader.md +308 -0
- package/docs/components/xhero.md +142 -0
- package/docs/components/xicon.md +125 -0
- package/docs/components/xinput.md +129 -0
- package/docs/components/xlightbox.md +98 -0
- package/docs/components/xlink.md +109 -0
- package/docs/components/xmasonry.md +124 -0
- package/docs/components/xmenu.md +158 -0
- package/docs/components/xmodal.md +82 -0
- package/docs/components/xplayer.md +104 -0
- package/docs/components/xpopover.md +67 -0
- package/docs/components/xprogress.md +56 -0
- package/docs/components/xradio.md +103 -0
- package/docs/components/xrouter.md +260 -0
- package/docs/components/xsection.md +125 -0
- package/docs/components/xselect.md +105 -0
- package/docs/components/xsidepanel.md +30 -0
- package/docs/components/xspinner.md +102 -0
- package/docs/components/xstate.md +148 -0
- package/docs/components/xstatus.md +55 -0
- package/docs/components/xsummary.md +78 -0
- package/docs/components/xsurfacemanager.md +27 -0
- package/docs/components/xsurfacewindow.md +21 -0
- package/docs/components/xtabs.md +160 -0
- package/docs/components/xtextarea.md +98 -0
- package/docs/components/xtheme.md +167 -0
- package/docs/components/xtoast.md +62 -0
- package/docs/components/xtooltip.md +66 -0
- package/docs/components/xtype.md +82 -0
- package/docs/components/xutils.md +144 -0
- package/docs/components/xwriter.md +94 -0
- package/docs/components.md +117 -0
- package/docs/conditional-network-evidence-ci.md +38 -0
- package/docs/conditional-network-evidence.md +50 -0
- package/docs/core-migration-guide.md +110 -0
- package/docs/design-tokens.md +116 -0
- package/docs/docs-rmt-production-hardening.md +31 -0
- package/docs/enterprise-adoption.md +411 -0
- package/docs/enterprise-component-flex-release-handoff.md +129 -0
- package/docs/epic10-platform-gates.md +62 -0
- package/docs/epic10-release-handoff.md +81 -0
- package/docs/epic11-enterprise-ux-handoff.md +70 -0
- package/docs/epic12-rc0-handoff.md +61 -0
- package/docs/existing-component-metadata.md +67 -0
- package/docs/hydration-performance-closure.md +34 -0
- package/docs/hydration-policies.md +71 -0
- package/docs/index.php +1625 -0
- package/docs/known-residual-triage.md +22 -0
- package/docs/manifest-import-policy.md +79 -0
- package/docs/manifest.md +106 -0
- package/docs/menu.json +1190 -0
- package/docs/motion-contrast.md +67 -0
- package/docs/package-export-lock.md +44 -0
- package/docs/performance-measurements.md +106 -0
- package/docs/performance-regression.md +89 -0
- package/docs/performance.md +94 -0
- package/docs/previews/README.md +17 -0
- package/docs/prod-browser-csp-smokes.md +40 -0
- package/docs/public-component-types.md +79 -0
- package/docs/quick-start-guide.md +152 -0
- package/docs/rc0-adoption-guide.md +102 -0
- package/docs/rc0-gate-matrix.md +58 -0
- package/docs/rc1-gate-matrix-ci-handoff.md +56 -0
- package/docs/rc1-migration-notes.md +69 -0
- package/docs/rc1-readiness.md +46 -0
- package/docs/release-owner-acceptance.md +56 -0
- package/docs/release-report-pack-dry-run-evidence.md +39 -0
- package/docs/rmt-dsl-authoring-polish.md +122 -0
- package/docs/rmt-first-demo-app.md +77 -0
- package/docs/rmt-first-xtend-apps.md +105 -0
- package/docs/rmt-kernel-panic-recovery-incident-handoff.md +61 -0
- package/docs/rmt-kernel-security-hardening-migration.md +50 -0
- package/docs/rmt-kernel-trusted-output-authoring.md +69 -0
- package/docs/rmt-language-server.md +177 -0
- package/docs/rmt-lifecycle-demo.md +25 -0
- package/docs/rmt-linter.md +140 -0
- package/docs/rmt-production-readiness.md +63 -0
- package/docs/rmt-tooling-release-gates.md +77 -0
- package/docs/rmt-vnext-authoring.md +60 -0
- package/docs/rmt-vnext-cross-surface-events.md +68 -0
- package/docs/rmt-vnext-enterprise-mfe-handoff.md +70 -0
- package/docs/rmt-vnext-migration-notes.md +62 -0
- package/docs/rmt-vnext-release-handoff.md +69 -0
- package/docs/rmt-vnext-remote-surfaces.md +90 -0
- package/docs/rmt-vnext-surface-registry-enterprise.md +76 -0
- package/docs/screenreader-signals.md +56 -0
- package/docs/supply-chain-gates.md +100 -0
- package/docs/surface-manager-authoring-guide.md +94 -0
- package/docs/surface-manager-browser-lab.md +45 -0
- package/docs/surface-manager-component-lab.md +43 -0
- package/docs/surface-manager-controller.md +66 -0
- package/docs/surface-manager-layout-engines.md +32 -0
- package/docs/surface-manager-lazy-hydration.md +63 -0
- package/docs/surface-manager-migration-guide.md +94 -0
- package/docs/surface-manager-native-rmt-surfaces.md +38 -0
- package/docs/surface-manager-overlay-bridge.md +53 -0
- package/docs/surface-manager-persistence.md +30 -0
- package/docs/surface-manager-quality-gates.md +51 -0
- package/docs/surface-manager-release-handoff.md +68 -0
- package/docs/surface-manager-remote-policy.md +54 -0
- package/docs/surface-manager-rmt-authoring.md +86 -0
- package/docs/surface-manager-route-lifecycle.md +59 -0
- package/docs/surface-manager-runtime-release-handoff.md +69 -0
- package/docs/surface-manager-side-panel-runtime.md +36 -0
- package/docs/surface-manager-stack-policy.md +39 -0
- package/docs/surface-manager-window-runtime.md +47 -0
- package/docs/surface-manager-workbench-fixture.md +43 -0
- package/docs/third-party-design-authoring.md +406 -0
- package/docs/trusted-dom-boundary-browser-proof.md +32 -0
- package/docs/trusted-dom-sanitizing.md +110 -0
- package/docs/type-exports.md +61 -0
- package/docs/typescript-components.md +63 -0
- package/docs/utils/fabric-runtime.js +650 -0
- package/docs/utils/pageloader.js +2823 -0
- package/docs/utils/parsedown.php +298 -0
- package/docs/visual-browser-regression.md +83 -0
- package/docs/visual-owner-artifacts.md +46 -0
- package/docs/visual-snapshot-automation.md +87 -0
- package/docs/xtend-api-types.md +55 -0
- package/docs/xtend-builder-types.md +55 -0
- package/docs/xtend-catalog-types.md +44 -0
- package/docs/xtend-fabric-rmt-lane-mapping.md +143 -0
- package/docs/xtend-fabric.md +474 -0
- package/docs/xtend-loader-types.md +58 -0
- package/docs/xtend-loader.md +265 -0
- package/docs/xtend-policy-types.md +38 -0
- package/docs/xtend-rmt-types.md +39 -0
- package/docs/xtend-vendor-types.md +36 -0
- package/docs/xtendrmt-app-dsl.md +269 -0
- package/docs/xtendrmt-migration-guide.md +235 -0
- package/docs/xtendrmt-native-authoring.md +337 -0
- package/docs/xtendrmt-overview.md +89 -0
- package/docs/xtendrmt-parsedown-docs.rmt +956 -0
- package/docs/xtendrmt-parsedown-scheduling.md +301 -0
- package/docs/xtendrmt-runtime-bridge.md +155 -0
- package/fabric/hydration-policy.d.ts +27 -0
- package/fabric/hydration-policy.js +306 -0
- package/fabric/package.json +58 -0
- package/fabric/rmt-lane-mapping.d.ts +47 -0
- package/fabric/rmt-lane-mapping.js +504 -0
- package/fabric/xtend-fabric.d.ts +81 -0
- package/fabric/xtend-fabric.js +2669 -0
- package/fabric/xtend-policy-public-types.d.ts +135 -0
- package/package.json +8225 -0
- package/security/README.md +54 -0
- package/security/manifest-import-policy.d.ts +43 -0
- package/security/manifest-import-policy.js +260 -0
- package/security/supply-chain-gate-policy.d.ts +45 -0
- package/security/supply-chain-gate-policy.js +249 -0
- package/security/trusted-dom-policy.d.ts +36 -0
- package/security/trusted-dom-policy.js +316 -0
- package/tools/package.json +77 -0
- package/tools/rmt-editor/vscode/README.md +33 -0
- package/tools/rmt-editor/vscode/extension.d.ts +9 -0
- package/tools/rmt-editor/vscode/extension.js +55 -0
- package/tools/rmt-editor/vscode/language-configuration.json +28 -0
- package/tools/rmt-editor/vscode/package.json +83 -0
- package/tools/rmt-editor/vscode/snippets/rmt.code-snippets +243 -0
- package/tools/rmt-editor/vscode/syntaxes/rmt.tmLanguage.json +13 -0
- package/tools/rmt-editor/vscode/xtend-rmt-language-0.0.0-enterprise-readiness.vsix +0 -0
- package/tools/rmt-language/code-actions.d.ts +15 -0
- package/tools/rmt-language/code-actions.js +566 -0
- package/tools/rmt-language/completions.d.ts +22 -0
- package/tools/rmt-language/completions.js +475 -0
- package/tools/rmt-language/definitions.d.ts +13 -0
- package/tools/rmt-language/definitions.js +212 -0
- package/tools/rmt-language/diagnostics.d.ts +23 -0
- package/tools/rmt-language/diagnostics.js +486 -0
- package/tools/rmt-language/format-adapter.d.ts +16 -0
- package/tools/rmt-language/format-adapter.js +270 -0
- package/tools/rmt-language/hover.d.ts +12 -0
- package/tools/rmt-language/hover.js +326 -0
- package/tools/rmt-language/kernel-escalation.d.ts +122 -0
- package/tools/rmt-language/kernel-escalation.js +427 -0
- package/tools/rmt-language/kernel-panic-monitor.d.ts +176 -0
- package/tools/rmt-language/kernel-panic-monitor.js +674 -0
- package/tools/rmt-language/kernel-policy-parity.d.ts +142 -0
- package/tools/rmt-language/kernel-policy-parity.js +629 -0
- package/tools/rmt-language/kernel-recovery.d.ts +173 -0
- package/tools/rmt-language/kernel-recovery.js +666 -0
- package/tools/rmt-language/kernel-scheduler-failure.d.ts +136 -0
- package/tools/rmt-language/kernel-scheduler-failure.js +486 -0
- package/tools/rmt-language/kernel-security-regression.d.ts +154 -0
- package/tools/rmt-language/kernel-security-regression.js +465 -0
- package/tools/rmt-language/kernel-trust-authority.d.ts +120 -0
- package/tools/rmt-language/kernel-trust-authority.js +549 -0
- package/tools/rmt-language/parser.d.ts +14 -0
- package/tools/rmt-language/parser.js +111 -0
- package/tools/rmt-language/rmt-tooling-public-types.d.ts +179 -0
- package/tools/rmt-language/rules/boundary-policy.js +81 -0
- package/tools/rmt-language/rules/document-policy.js +65 -0
- package/tools/rmt-language/rules/index.js +29 -0
- package/tools/rmt-language/rules/route-policy.js +81 -0
- package/tools/rmt-language/rules/scheduler-policy.js +66 -0
- package/tools/rmt-language/rules/template-policy.js +130 -0
- package/tools/rmt-language/semantic-graph.d.ts +18 -0
- package/tools/rmt-language/semantic-graph.js +827 -0
- package/tools/rmt-language/snippets/README.md +17 -0
- package/tools/rmt-language/snippets/index.d.ts +17 -0
- package/tools/rmt-language/snippets/index.js +417 -0
- package/tools/rmt-language/snippets/rmt.code-snippets +243 -0
- package/tools/rmt-language/source-model.d.ts +14 -0
- package/tools/rmt-language/source-model.js +731 -0
- package/tools/rmt-language/symbols.d.ts +13 -0
- package/tools/rmt-language/symbols.js +183 -0
- package/tools/rmt-language/vnext-compatibility.d.ts +28 -0
- package/tools/rmt-language/vnext-compatibility.js +675 -0
- package/tools/rmt-language/vnext-compiler.d.ts +17 -0
- package/tools/rmt-language/vnext-compiler.js +716 -0
- package/tools/rmt-language/vnext-composition.d.ts +30 -0
- package/tools/rmt-language/vnext-composition.js +595 -0
- package/tools/rmt-language/vnext-conditions.d.ts +25 -0
- package/tools/rmt-language/vnext-conditions.js +474 -0
- package/tools/rmt-language/vnext-cross-surface-events.d.ts +30 -0
- package/tools/rmt-language/vnext-cross-surface-events.js +607 -0
- package/tools/rmt-language/vnext-degradation.d.ts +23 -0
- package/tools/rmt-language/vnext-degradation.js +428 -0
- package/tools/rmt-language/vnext-enterprise-fixtures.d.ts +28 -0
- package/tools/rmt-language/vnext-enterprise-fixtures.js +487 -0
- package/tools/rmt-language/vnext-enterprise-registry.d.ts +21 -0
- package/tools/rmt-language/vnext-enterprise-registry.js +495 -0
- package/tools/rmt-language/vnext-enterprise-release.d.ts +44 -0
- package/tools/rmt-language/vnext-enterprise-release.js +472 -0
- package/tools/rmt-language/vnext-event-governance.d.ts +29 -0
- package/tools/rmt-language/vnext-event-governance.js +488 -0
- package/tools/rmt-language/vnext-events.d.ts +44 -0
- package/tools/rmt-language/vnext-events.js +680 -0
- package/tools/rmt-language/vnext-import-resolver.d.ts +28 -0
- package/tools/rmt-language/vnext-import-resolver.js +642 -0
- package/tools/rmt-language/vnext-lifecycle.d.ts +22 -0
- package/tools/rmt-language/vnext-lifecycle.js +404 -0
- package/tools/rmt-language/vnext-parser.d.ts +21 -0
- package/tools/rmt-language/vnext-parser.js +1391 -0
- package/tools/rmt-language/vnext-regression.d.ts +25 -0
- package/tools/rmt-language/vnext-regression.js +394 -0
- package/tools/rmt-language/vnext-release.d.ts +29 -0
- package/tools/rmt-language/vnext-release.js +293 -0
- package/tools/rmt-language/vnext-remote-compatibility.d.ts +33 -0
- package/tools/rmt-language/vnext-remote-compatibility.js +892 -0
- package/tools/rmt-language/vnext-remote-compiler.d.ts +14 -0
- package/tools/rmt-language/vnext-remote-compiler.js +520 -0
- package/tools/rmt-language/vnext-remote-manifest.d.ts +33 -0
- package/tools/rmt-language/vnext-remote-manifest.js +538 -0
- package/tools/rmt-language/vnext-remote-security.d.ts +27 -0
- package/tools/rmt-language/vnext-remote-security.js +380 -0
- package/tools/rmt-language/vnext-remote-tooling.d.ts +25 -0
- package/tools/rmt-language/vnext-remote-tooling.js +805 -0
- package/tools/rmt-language/vnext-scheduler.d.ts +24 -0
- package/tools/rmt-language/vnext-scheduler.js +469 -0
- package/tools/rmt-language/vnext-security.d.ts +28 -0
- package/tools/rmt-language/vnext-security.js +597 -0
- package/tools/rmt-language/vnext-streaming.d.ts +28 -0
- package/tools/rmt-language/vnext-streaming.js +593 -0
- package/tools/rmt-language/vnext-surfaces.d.ts +24 -0
- package/tools/rmt-language/vnext-surfaces.js +406 -0
- package/tools/rmt-language/vnext-tooling.d.ts +25 -0
- package/tools/rmt-language/vnext-tooling.js +728 -0
- package/tools/rmt-language-server/protocol.d.ts +22 -0
- package/tools/rmt-language-server/protocol.js +352 -0
- package/tools/rmt-language-server/server.d.ts +15 -0
- package/tools/rmt-language-server/server.js +622 -0
- package/tools/rmt-linter/cli.d.ts +14 -0
- package/tools/rmt-linter/cli.js +450 -0
- package/tools/rmt-linter/reporter.d.ts +16 -0
- package/tools/rmt-linter/reporter.js +472 -0
- package/xtend-builder/README.md +83 -0
- package/xtend-builder/a11y/README.md +42 -0
- package/xtend-builder/a11y/component-a11y-profile.d.ts +14 -0
- package/xtend-builder/a11y/component-a11y-profile.js +314 -0
- package/xtend-builder/blueprints/README.md +105 -0
- package/xtend-builder/blueprints/component-blueprint.contract.d.ts +16 -0
- package/xtend-builder/blueprints/component-blueprint.contract.js +343 -0
- package/xtend-builder/builder-public-types.d.ts +234 -0
- package/xtend-builder/extensions/README.md +26 -0
- package/xtend-builder/extensions/component-extension-points.d.ts +11 -0
- package/xtend-builder/extensions/component-extension-points.js +277 -0
- package/xtend-builder/generators/README.md +149 -0
- package/xtend-builder/generators/component-files.d.ts +5 -0
- package/xtend-builder/generators/component-files.js +769 -0
- package/xtend-builder/generators/component-plan.d.ts +4 -0
- package/xtend-builder/generators/component-plan.js +104 -0
- package/xtend-builder/generators/registry.d.ts +6 -0
- package/xtend-builder/generators/registry.js +118 -0
- package/xtend-builder/generators/rmt-build.js +738 -0
- package/xtend-builder/generators/rmt-lifecycle-demo.js +922 -0
- package/xtend-builder/lib/cli.d.ts +9 -0
- package/xtend-builder/lib/cli.js +543 -0
- package/xtend-builder/lib/layout.d.ts +6 -0
- package/xtend-builder/lib/layout.js +153 -0
- package/xtend-builder/lib/package-resolver.js +25 -0
- package/xtend-builder/package.json +90 -0
- package/xtend-builder/performance/README.md +31 -0
- package/xtend-builder/performance/component-performance-profile.d.ts +11 -0
- package/xtend-builder/performance/component-performance-profile.js +347 -0
- package/xtend-builder/performance/component-ux-performance-contract.d.ts +27 -0
- package/xtend-builder/performance/component-ux-performance-contract.js +424 -0
- package/xtend-builder/preview/README.md +61 -0
- package/xtend-builder/preview/component-lab-ux-inspector.d.ts +20 -0
- package/xtend-builder/preview/component-lab-ux-inspector.js +448 -0
- package/xtend-builder/preview/component-lab.d.ts +14 -0
- package/xtend-builder/preview/component-lab.js +278 -0
- package/xtend-builder/preview/component-preview.d.ts +5 -0
- package/xtend-builder/preview/component-preview.js +160 -0
- package/xtend-builder/scaffold.config.d.ts +4 -0
- package/xtend-builder/scaffold.config.js +2056 -0
- package/xtend-builder/scaffold.d.ts +3 -0
- package/xtend-builder/scaffold.js +11 -0
- package/xtend-builder/templates/README.md +33 -0
- package/xtend-builder/templates/component/a11y.template.ts +11 -0
- package/xtend-builder/templates/component/component-suite.template.d.ts +2 -0
- package/xtend-builder/templates/component/component-suite.template.js +108 -0
- package/xtend-builder/templates/component/contract.template.ts +10 -0
- package/xtend-builder/templates/component/demo-plan.template.md +73 -0
- package/xtend-builder/templates/component/docs.template.md +301 -0
- package/xtend-builder/templates/component/fixture-data.template.ts +28 -0
- package/xtend-builder/templates/component/fixture.template.html +37 -0
- package/xtend-builder/templates/component/manifest-plan.template.json +22 -0
- package/xtend-builder/templates/component/performance.template.ts +13 -0
- package/xtend-builder/templates/component/rmt.template.ts +12 -0
- package/xtend-builder/templates/component/source.template.d.ts +2 -0
- package/xtend-builder/templates/component/source.template.js +137 -0
- package/xtend-builder/templates/component/source.template.ts +110 -0
- package/xtend-builder/templates/component/types.template.d.ts +423 -0
- package/xtend-builder/templates/loader.d.ts +4 -0
- package/xtend-builder/templates/loader.js +51 -0
- package/xtend-builder/templates/registry.d.ts +6 -0
- package/xtend-builder/templates/registry.js +119 -0
- package/xtend-builder/typing/README.md +130 -0
- package/xtend-builder/typing/component-contract-v2.d.ts +15 -0
- package/xtend-builder/typing/component-contract-v2.js +248 -0
- package/xtend-builder/typing/component-network-contract.d.ts +22 -0
- package/xtend-builder/typing/component-network-contract.js +478 -0
- package/xtend-builder/typing/component-shell-contract.d.ts +21 -0
- package/xtend-builder/typing/component-shell-contract.js +312 -0
- package/xtend-builder/typing/component-styling-contract.d.ts +22 -0
- package/xtend-builder/typing/component-styling-contract.js +301 -0
- package/xtend-builder/typing/component-types.d.ts +10 -0
- package/xtend-builder/typing/component-types.js +551 -0
- package/xtend-builder/typing/enterprise-component-flex-hardening-contract.d.ts +20 -0
- package/xtend-builder/typing/enterprise-component-flex-hardening-contract.js +332 -0
- package/xtend-builder/typing/feedback-status-ux-contract.d.ts +25 -0
- package/xtend-builder/typing/feedback-status-ux-contract.js +347 -0
- package/xtend-builder/typing/form-controls-ux-contract.d.ts +25 -0
- package/xtend-builder/typing/form-controls-ux-contract.js +357 -0
- package/xtend-builder/typing/layout-display-media-ux-contract.d.ts +25 -0
- package/xtend-builder/typing/layout-display-media-ux-contract.js +420 -0
- package/xtend-builder/typing/navigation-routing-ux-contract.d.ts +17 -0
- package/xtend-builder/typing/navigation-routing-ux-contract.js +297 -0
- package/xtend-builder/typing/overlay-interaction-ux-contract.d.ts +25 -0
- package/xtend-builder/typing/overlay-interaction-ux-contract.js +383 -0
- package/xtend-builder/typing/rmt-dsl-authoring-polish.d.ts +27 -0
- package/xtend-builder/typing/rmt-dsl-authoring-polish.js +419 -0
- package/xtend-builder/typing/rmt-shell-authoring-contract.d.ts +26 -0
- package/xtend-builder/typing/rmt-shell-authoring-contract.js +315 -0
- package/xtend-builder/utils/README.md +8 -0
- package/xtend-builder/utils/naming.d.ts +7 -0
- package/xtend-builder/utils/naming.js +36 -0
- package/xtend-builder/utils/validation.d.ts +5 -0
- package/xtend-builder/utils/validation.js +95 -0
- package/xtend-builder/wiring/README.md +46 -0
- package/xtend-builder/wiring/features.d.ts +5 -0
- package/xtend-builder/wiring/features.js +165 -0
- package/xtend-builder/wiring/hydration.d.ts +4 -0
- package/xtend-builder/wiring/hydration.js +44 -0
- package/xtend-builder/wiring/manifest.d.ts +5 -0
- package/xtend-builder/wiring/manifest.js +48 -0
- package/xtend-builder/workflows/README.md +47 -0
- package/xtend-builder/workflows/developer-workflow.d.ts +6 -0
- package/xtend-builder/workflows/developer-workflow.js +125 -0
- package/xtend-builder/writing/manifest-patcher.d.ts +49 -0
- package/xtend-builder/writing/manifest-patcher.js +391 -0
- package/xtend-builder/writing/write-plan.d.ts +148 -0
- package/xtend-builder/writing/write-plan.js +646 -0
- package/xtend-dev.d.ts +23 -0
- package/xtend-dev.js +4 -0
- package/xtend-loader.d.ts +201 -0
- package/xtend-loader.js +1704 -0
- package/xtend.css +402 -0
- package/xtendrmt/package.json +64 -0
- package/xtendrmt/rmt-core.d.ts +4452 -0
- package/xtendrmt/rmt-core.esm.js +25793 -0
- package/xtendrmt/rmt-first-demo-app.js +265 -0
- package/xtendrmt/rmt-first-demo-app.rmt +737 -0
- package/xtendrmt/rmt-lifecycle-demo.app.js +493 -0
- package/xtendrmt/rmt-lifecycle-demo.core.json +810 -0
- package/xtendrmt/rmt-lifecycle-demo.rmt +35 -0
- package/xtendrmt/rmt-lifecycle-demo.rmt-build.app.js +153 -0
- package/xtendrmt/rmt-lifecycle-demo.rmt-build.core.json +810 -0
- package/xtendrmt/rmt-lifecycle-demo.rmt-build.scaffold.json +202 -0
- package/xtendrmt/rmt-lifecycle-demo.scaffold.json +187 -0
- package/xtendrmt/rmt-manifest.json +548 -0
- package/xtendrmt/rmt-runtime.browser.js +26183 -0
- package/xtendrmt/rmt-runtime.esm.js +26214 -0
- package/xtendrmt/rmt-vnext-enterprise-mfe-demo.core.json +849 -0
- package/xtendrmt/rmt-vnext-enterprise-mfe-demo.rmt +50 -0
- package/xtendrmt/rmt-vnext-reference-demo.core.json +1069 -0
- package/xtendrmt/rmt-vnext-reference-demo.rmt +50 -0
- package/xtendrmt/rmt.schema.json +3145 -0
- package/xtendrmt/surface-workbench.js +316 -0
- package/xtendrmt/surface-workbench.rmt +762 -0
- package/xtendrmt/xtendrmt-bestcase-demo.core.json +1187 -0
- package/xtendrmt/xtendrmt-bestcase-demo.js +1728 -0
- package/xtendrmt/xtendrmt-bestcase-demo.rmt +57 -0
|
@@ -0,0 +1,488 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const {
|
|
4
|
+
RMT_VNEXT_CORE_SCHEMA
|
|
5
|
+
} = require('./vnext-compiler');
|
|
6
|
+
const {
|
|
7
|
+
RMT_VNEXT_ENTERPRISE_REGISTRY_SCHEMA,
|
|
8
|
+
RMT_VNEXT_ENTERPRISE_SURFACE_SCHEMA
|
|
9
|
+
} = require('./vnext-enterprise-registry');
|
|
10
|
+
const {
|
|
11
|
+
RMT_VNEXT_CROSS_SURFACE_EVENT_PROTOCOL_SCHEMA,
|
|
12
|
+
RMT_VNEXT_CROSS_SURFACE_EVENT_RECORD_SCHEMA,
|
|
13
|
+
RMT_VNEXT_CROSS_SURFACE_EVENT_BINDING_SCHEMA,
|
|
14
|
+
RMT_VNEXT_CROSS_SURFACE_EVENT_REPORT_SCHEMA
|
|
15
|
+
} = require('./vnext-cross-surface-events');
|
|
16
|
+
|
|
17
|
+
const RMT_VNEXT_EVENT_GOVERNANCE_POLICY_SCHEMA = 'xtend.rmt.vnext-event-governance-policy.v1';
|
|
18
|
+
const RMT_VNEXT_EVENT_GOVERNANCE_EVENT_SCHEMA = 'xtend.rmt.vnext-event-governance-event.v1';
|
|
19
|
+
const RMT_VNEXT_EVENT_GOVERNANCE_REPORT_SCHEMA = 'xtend.rmt.vnext-event-governance-report.v1';
|
|
20
|
+
const RMT_VNEXT_EVENT_GOVERNANCE_WORKPACKAGE = 'WP-E16-07';
|
|
21
|
+
const RMT_VNEXT_EVENT_GOVERNANCE_MODULE_PATH = 'tools/rmt-language/vnext-event-governance.js';
|
|
22
|
+
const RMT_VNEXT_EVENT_GOVERNANCE_SUITE_PATH = 'tests/rmt-language/rmt_vnext_event_governance_suite.js';
|
|
23
|
+
const RMT_VNEXT_EVENT_GOVERNANCE_CONTRACT_PATH = 'development/XTendRMT-vNext-Event-Governance-Contract.md';
|
|
24
|
+
const RMT_VNEXT_EVENT_GOVERNANCE_WP_PATH = 'development/WP-E16-07-Event-Ownership-Delivery-Policy-und-Governance-Diagnostics-bauen.md';
|
|
25
|
+
const RMT_VNEXT_EVENT_GOVERNANCE_PACKAGE_SCRIPT = 'npm run test:rmt-vnext-event-governance';
|
|
26
|
+
|
|
27
|
+
const EVENT_GOVERNANCE_DELIVERY_POLICY_MISSING_CODE = 'rmt.vnext.event_governance.delivery_policy_missing';
|
|
28
|
+
const EVENT_GOVERNANCE_DELIVERY_MODE_INVALID_CODE = 'rmt.vnext.event_governance.delivery_mode_invalid';
|
|
29
|
+
const EVENT_GOVERNANCE_TTL_MISSING_CODE = 'rmt.vnext.event_governance.ttl_missing';
|
|
30
|
+
const EVENT_GOVERNANCE_CORRELATION_ID_MISSING_CODE = 'rmt.vnext.event_governance.correlation_id_missing';
|
|
31
|
+
const EVENT_GOVERNANCE_IDEMPOTENCY_KEY_MISSING_CODE = 'rmt.vnext.event_governance.idempotency_key_missing';
|
|
32
|
+
const EVENT_GOVERNANCE_SENSITIVITY_MISSING_CODE = 'rmt.vnext.event_governance.sensitivity_missing';
|
|
33
|
+
const EVENT_GOVERNANCE_OWNER_UNKNOWN_CODE = 'rmt.vnext.event_governance.owner_unknown';
|
|
34
|
+
const EVENT_GOVERNANCE_VERSION_OWNER_MISMATCH_CODE = 'rmt.vnext.event_governance.version_owner_mismatch';
|
|
35
|
+
const EVENT_GOVERNANCE_PAYLOAD_OWNER_MISMATCH_CODE = 'rmt.vnext.event_governance.payload_owner_mismatch';
|
|
36
|
+
const EVENT_GOVERNANCE_IMPLICIT_COUPLING_CODE = 'rmt.vnext.event_governance.implicit_coupling';
|
|
37
|
+
const EVENT_GOVERNANCE_CROSS_TEAM_REVIEW_MISSING_CODE = 'rmt.vnext.event_governance.cross_team_review_missing';
|
|
38
|
+
const EVENT_GOVERNANCE_PROTOCOL_BLOCKED_CODE = 'rmt.vnext.event_governance.protocol_blocked';
|
|
39
|
+
|
|
40
|
+
const EVENT_GOVERNANCE_DELIVERY_MODES = Object.freeze(['sync', 'queued', 'replayable', 'drop-if-stale']);
|
|
41
|
+
const EVENT_GOVERNANCE_SENSITIVITY_LEVELS = Object.freeze(['public', 'internal', 'confidential', 'restricted']);
|
|
42
|
+
|
|
43
|
+
function toArray(value) {
|
|
44
|
+
if (Array.isArray(value)) return value;
|
|
45
|
+
if (value === null || value === undefined) return [];
|
|
46
|
+
return [value];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function normalizeString(value) {
|
|
50
|
+
return typeof value === 'string' ? value.trim() : '';
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function cloneJson(value) {
|
|
54
|
+
if (value === undefined) return undefined;
|
|
55
|
+
return JSON.parse(JSON.stringify(value));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function stableSort(value) {
|
|
59
|
+
if (Array.isArray(value)) return value.map(stableSort);
|
|
60
|
+
if (value && typeof value === 'object') {
|
|
61
|
+
return Object.keys(value).sort().reduce((result, key) => {
|
|
62
|
+
result[key] = stableSort(value[key]);
|
|
63
|
+
return result;
|
|
64
|
+
}, {});
|
|
65
|
+
}
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function normalizeOwner(owner) {
|
|
70
|
+
if (typeof owner === 'string') {
|
|
71
|
+
return {
|
|
72
|
+
kind: 'team',
|
|
73
|
+
id: normalizeString(owner),
|
|
74
|
+
known: Boolean(normalizeString(owner))
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const source = owner && typeof owner === 'object' ? owner : {};
|
|
79
|
+
const id = normalizeString(source.id || source.team || source.name);
|
|
80
|
+
return {
|
|
81
|
+
kind: normalizeString(source.kind || source.type || 'team') || 'team',
|
|
82
|
+
id,
|
|
83
|
+
known: Boolean(id)
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function createSurfaceOwnerIndex(enterpriseRegistry) {
|
|
88
|
+
const bySurfaceId = new Map();
|
|
89
|
+
toArray(enterpriseRegistry && enterpriseRegistry.surfaces).forEach((surface) => {
|
|
90
|
+
const owner = normalizeOwner(surface && surface.owner);
|
|
91
|
+
[
|
|
92
|
+
surface && surface.enterpriseSurfaceId,
|
|
93
|
+
surface && surface.surfaceId,
|
|
94
|
+
surface && surface.name
|
|
95
|
+
].filter(Boolean).forEach((key) => bySurfaceId.set(key, owner));
|
|
96
|
+
});
|
|
97
|
+
return bySurfaceId;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
function createOwnerCatalog(input = {}) {
|
|
101
|
+
const source = input && typeof input === 'object' ? input : {};
|
|
102
|
+
const result = new Map();
|
|
103
|
+
Object.keys(source).forEach((key) => {
|
|
104
|
+
const value = source[key] && typeof source[key] === 'object' ? source[key] : {};
|
|
105
|
+
const owner = normalizeOwner({
|
|
106
|
+
id: value.id || key,
|
|
107
|
+
kind: value.kind || 'team'
|
|
108
|
+
});
|
|
109
|
+
result.set(owner.id, {
|
|
110
|
+
owner,
|
|
111
|
+
eventPrefixes: toArray(value.eventPrefixes).map(normalizeString).filter(Boolean),
|
|
112
|
+
events: toArray(value.events || value.ownedEvents).map(normalizeString).filter(Boolean),
|
|
113
|
+
payloadSchemas: toArray(value.payloadSchemas || value.ownedPayloadSchemas).map(normalizeString).filter(Boolean)
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
return result;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function lookupPolicy(policies, event) {
|
|
120
|
+
const source = policies && typeof policies === 'object' ? policies : {};
|
|
121
|
+
const keys = [
|
|
122
|
+
event.event,
|
|
123
|
+
event.eventId
|
|
124
|
+
].filter(Boolean);
|
|
125
|
+
|
|
126
|
+
for (const key of keys) {
|
|
127
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) return source[key];
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
return null;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
function requiresFact(value) {
|
|
134
|
+
return value === true || value === 'required' || value === 'mandatory';
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function normalizeDeliveryPolicy(policy = {}) {
|
|
138
|
+
const source = policy && typeof policy === 'object' ? policy : {};
|
|
139
|
+
const delivery = source.delivery && typeof source.delivery === 'object' ? source.delivery : source;
|
|
140
|
+
return {
|
|
141
|
+
mode: normalizeString(delivery.mode),
|
|
142
|
+
ttlMs: Number.isFinite(delivery.ttlMs) ? delivery.ttlMs : null,
|
|
143
|
+
correlationId: delivery.correlationId === undefined ? null : delivery.correlationId,
|
|
144
|
+
idempotencyKey: delivery.idempotencyKey === undefined ? null : delivery.idempotencyKey,
|
|
145
|
+
sensitivity: normalizeString(delivery.sensitivity),
|
|
146
|
+
crossTeamReview: normalizeString(delivery.crossTeamReview || source.crossTeamReview),
|
|
147
|
+
ordered: delivery.ordered === true,
|
|
148
|
+
replayable: delivery.replayable === true || normalizeString(delivery.mode) === 'replayable'
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
function normalizeGovernancePolicy(policy = {}, event = {}) {
|
|
153
|
+
const source = policy && typeof policy === 'object' ? policy : {};
|
|
154
|
+
const eventOwner = event.owner && event.owner.id || '';
|
|
155
|
+
return {
|
|
156
|
+
schema: RMT_VNEXT_EVENT_GOVERNANCE_POLICY_SCHEMA,
|
|
157
|
+
owner: normalizeOwner(source.owner || event.owner),
|
|
158
|
+
versionOwner: normalizeString(source.versionOwner || eventOwner),
|
|
159
|
+
payloadOwner: normalizeString(source.payloadOwner || eventOwner),
|
|
160
|
+
delivery: normalizeDeliveryPolicy(source),
|
|
161
|
+
source: cloneJson(source)
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function createGovernanceDiagnostic(subject, code, message, severity = 'error', metadata = {}) {
|
|
166
|
+
return {
|
|
167
|
+
schema: 'xtend.rmt.linter.diagnostic.v1',
|
|
168
|
+
source: RMT_VNEXT_EVENT_GOVERNANCE_POLICY_SCHEMA,
|
|
169
|
+
workpackage: RMT_VNEXT_EVENT_GOVERNANCE_WORKPACKAGE,
|
|
170
|
+
severity,
|
|
171
|
+
code,
|
|
172
|
+
message,
|
|
173
|
+
event: subject && subject.event || null,
|
|
174
|
+
eventId: subject && subject.eventId || null,
|
|
175
|
+
owner: subject && subject.owner && subject.owner.id || null,
|
|
176
|
+
field: metadata.field || null,
|
|
177
|
+
metadata
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
function eventOwnedBy(catalogEntry, eventName) {
|
|
182
|
+
if (!catalogEntry) return false;
|
|
183
|
+
if (catalogEntry.events.includes(eventName)) return true;
|
|
184
|
+
return catalogEntry.eventPrefixes.some((prefix) => eventName.startsWith(prefix));
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
function payloadOwnedBy(catalogEntry, payloadSchema) {
|
|
188
|
+
if (!catalogEntry) return false;
|
|
189
|
+
return catalogEntry.payloadSchemas.includes(payloadSchema);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
function createCoupling(event, surfaceOwnerIndex) {
|
|
193
|
+
const producers = event.bindings.filter((binding) => binding.direction === 'outbound');
|
|
194
|
+
const consumers = event.bindings.filter((binding) => binding.direction === 'inbound');
|
|
195
|
+
const surfaceOwnerIds = Array.from(new Set(event.bindings.map((binding) => {
|
|
196
|
+
const owner = surfaceOwnerIndex.get(binding.enterpriseSurfaceId) || surfaceOwnerIndex.get(binding.surfaceName);
|
|
197
|
+
return owner && owner.id || 'unowned';
|
|
198
|
+
}).filter(Boolean)));
|
|
199
|
+
const eventOwnerId = event.owner && event.owner.id || 'unowned';
|
|
200
|
+
return {
|
|
201
|
+
producerSurfaceIds: producers.map((binding) => binding.enterpriseSurfaceId || binding.surfaceName).filter(Boolean),
|
|
202
|
+
consumerSurfaceIds: consumers.map((binding) => binding.enterpriseSurfaceId || binding.surfaceName).filter(Boolean),
|
|
203
|
+
surfaceOwnerIds,
|
|
204
|
+
crossTeam: surfaceOwnerIds.some((ownerId) => ownerId !== eventOwnerId),
|
|
205
|
+
producerCount: producers.length,
|
|
206
|
+
consumerCount: consumers.length,
|
|
207
|
+
bindingCount: event.bindings.length
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function validateDelivery(eventRecord, policy, diagnostics) {
|
|
212
|
+
const delivery = policy.delivery;
|
|
213
|
+
if (!delivery.mode) {
|
|
214
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
215
|
+
eventRecord,
|
|
216
|
+
EVENT_GOVERNANCE_DELIVERY_POLICY_MISSING_CODE,
|
|
217
|
+
`Event "${eventRecord.event}" must declare a delivery policy.`,
|
|
218
|
+
'error',
|
|
219
|
+
{ field: 'delivery.mode' }
|
|
220
|
+
));
|
|
221
|
+
} else if (!EVENT_GOVERNANCE_DELIVERY_MODES.includes(delivery.mode)) {
|
|
222
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
223
|
+
eventRecord,
|
|
224
|
+
EVENT_GOVERNANCE_DELIVERY_MODE_INVALID_CODE,
|
|
225
|
+
`Event "${eventRecord.event}" uses unsupported delivery mode "${delivery.mode}".`,
|
|
226
|
+
'error',
|
|
227
|
+
{ field: 'delivery.mode', allowedModes: EVENT_GOVERNANCE_DELIVERY_MODES.slice() }
|
|
228
|
+
));
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
if (!Number.isFinite(delivery.ttlMs) || delivery.ttlMs <= 0) {
|
|
232
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
233
|
+
eventRecord,
|
|
234
|
+
EVENT_GOVERNANCE_TTL_MISSING_CODE,
|
|
235
|
+
`Event "${eventRecord.event}" must declare a positive TTL.`,
|
|
236
|
+
'error',
|
|
237
|
+
{ field: 'delivery.ttlMs' }
|
|
238
|
+
));
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
if (!requiresFact(delivery.correlationId)) {
|
|
242
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
243
|
+
eventRecord,
|
|
244
|
+
EVENT_GOVERNANCE_CORRELATION_ID_MISSING_CODE,
|
|
245
|
+
`Event "${eventRecord.event}" must require a correlationId.`,
|
|
246
|
+
'error',
|
|
247
|
+
{ field: 'delivery.correlationId' }
|
|
248
|
+
));
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
if (!requiresFact(delivery.idempotencyKey)) {
|
|
252
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
253
|
+
eventRecord,
|
|
254
|
+
EVENT_GOVERNANCE_IDEMPOTENCY_KEY_MISSING_CODE,
|
|
255
|
+
`Event "${eventRecord.event}" must require an idempotencyKey.`,
|
|
256
|
+
'error',
|
|
257
|
+
{ field: 'delivery.idempotencyKey' }
|
|
258
|
+
));
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
if (!EVENT_GOVERNANCE_SENSITIVITY_LEVELS.includes(delivery.sensitivity)) {
|
|
262
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
263
|
+
eventRecord,
|
|
264
|
+
EVENT_GOVERNANCE_SENSITIVITY_MISSING_CODE,
|
|
265
|
+
`Event "${eventRecord.event}" must declare a valid sensitivity level.`,
|
|
266
|
+
'error',
|
|
267
|
+
{ field: 'delivery.sensitivity', allowedSensitivity: EVENT_GOVERNANCE_SENSITIVITY_LEVELS.slice() }
|
|
268
|
+
));
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
function createGovernanceEventRecord(event, context) {
|
|
273
|
+
const policySource = lookupPolicy(context.policies, event);
|
|
274
|
+
const policy = normalizeGovernancePolicy(policySource, event);
|
|
275
|
+
const ownerId = event.owner && event.owner.id || '';
|
|
276
|
+
const ownerCatalogEntry = context.ownerCatalog.get(ownerId);
|
|
277
|
+
const versionOwnerEntry = context.ownerCatalog.get(policy.versionOwner);
|
|
278
|
+
const payloadOwnerEntry = context.ownerCatalog.get(policy.payloadOwner);
|
|
279
|
+
const coupling = createCoupling(event, context.surfaceOwnerIndex);
|
|
280
|
+
const diagnostics = [];
|
|
281
|
+
const eventRecord = {
|
|
282
|
+
schema: RMT_VNEXT_EVENT_GOVERNANCE_EVENT_SCHEMA,
|
|
283
|
+
eventId: event.eventId,
|
|
284
|
+
event: event.event,
|
|
285
|
+
owner: cloneJson(event.owner),
|
|
286
|
+
version: event.version,
|
|
287
|
+
payload: cloneJson(event.payload),
|
|
288
|
+
policy,
|
|
289
|
+
delivery: policy.delivery,
|
|
290
|
+
coupling,
|
|
291
|
+
diagnostics: []
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
if (!policySource) {
|
|
295
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
296
|
+
eventRecord,
|
|
297
|
+
EVENT_GOVERNANCE_DELIVERY_POLICY_MISSING_CODE,
|
|
298
|
+
`Event "${event.event}" must have an explicit governance policy.`,
|
|
299
|
+
'error',
|
|
300
|
+
{ field: 'policies' }
|
|
301
|
+
));
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
validateDelivery(eventRecord, policy, diagnostics);
|
|
305
|
+
|
|
306
|
+
if (!ownerCatalogEntry || !eventOwnedBy(ownerCatalogEntry, event.event)) {
|
|
307
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
308
|
+
eventRecord,
|
|
309
|
+
EVENT_GOVERNANCE_OWNER_UNKNOWN_CODE,
|
|
310
|
+
`Event "${event.event}" is not owned by a known governance owner.`,
|
|
311
|
+
'error',
|
|
312
|
+
{ field: 'owner', owner: ownerId }
|
|
313
|
+
));
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if (policy.versionOwner !== ownerId || !eventOwnedBy(versionOwnerEntry, event.event)) {
|
|
317
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
318
|
+
eventRecord,
|
|
319
|
+
EVENT_GOVERNANCE_VERSION_OWNER_MISMATCH_CODE,
|
|
320
|
+
`Event "${event.event}" version owner must match the event owner and own the event namespace.`,
|
|
321
|
+
'error',
|
|
322
|
+
{ field: 'versionOwner', eventOwner: ownerId, versionOwner: policy.versionOwner }
|
|
323
|
+
));
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
if (policy.payloadOwner !== ownerId || !payloadOwnedBy(payloadOwnerEntry, event.payload && event.payload.schema)) {
|
|
327
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
328
|
+
eventRecord,
|
|
329
|
+
EVENT_GOVERNANCE_PAYLOAD_OWNER_MISMATCH_CODE,
|
|
330
|
+
`Event "${event.event}" payload owner must match the event owner and own the payload schema.`,
|
|
331
|
+
'error',
|
|
332
|
+
{ field: 'payloadOwner', eventOwner: ownerId, payloadOwner: policy.payloadOwner }
|
|
333
|
+
));
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
if (coupling.crossTeam && !policy.delivery.crossTeamReview) {
|
|
337
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
338
|
+
eventRecord,
|
|
339
|
+
EVENT_GOVERNANCE_IMPLICIT_COUPLING_CODE,
|
|
340
|
+
`Event "${event.event}" crosses team boundaries without an explicit cross-team review decision.`,
|
|
341
|
+
'error',
|
|
342
|
+
{ field: 'delivery.crossTeamReview', surfaceOwnerIds: coupling.surfaceOwnerIds }
|
|
343
|
+
));
|
|
344
|
+
} else if (coupling.crossTeam && policy.delivery.crossTeamReview !== 'approved') {
|
|
345
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
346
|
+
eventRecord,
|
|
347
|
+
EVENT_GOVERNANCE_CROSS_TEAM_REVIEW_MISSING_CODE,
|
|
348
|
+
`Event "${event.event}" crosses team boundaries but cross-team review is not approved.`,
|
|
349
|
+
'error',
|
|
350
|
+
{ field: 'delivery.crossTeamReview', value: policy.delivery.crossTeamReview }
|
|
351
|
+
));
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
eventRecord.status = diagnostics.some((diagnostic) => diagnostic.severity === 'error') ? 'blocked' : 'ready';
|
|
355
|
+
eventRecord.diagnostics = diagnostics;
|
|
356
|
+
return eventRecord;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
function indexGovernance(events) {
|
|
360
|
+
const byOwner = {};
|
|
361
|
+
const byDeliveryMode = {};
|
|
362
|
+
const bySensitivity = {};
|
|
363
|
+
const crossTeamEvents = [];
|
|
364
|
+
events.forEach((event) => {
|
|
365
|
+
const ownerId = event.owner && event.owner.id || 'unowned';
|
|
366
|
+
(byOwner[ownerId] || (byOwner[ownerId] = [])).push(event.eventId);
|
|
367
|
+
(byDeliveryMode[event.delivery.mode || 'missing'] || (byDeliveryMode[event.delivery.mode || 'missing'] = [])).push(event.eventId);
|
|
368
|
+
(bySensitivity[event.delivery.sensitivity || 'missing'] || (bySensitivity[event.delivery.sensitivity || 'missing'] = [])).push(event.eventId);
|
|
369
|
+
if (event.coupling.crossTeam) crossTeamEvents.push(event.eventId);
|
|
370
|
+
});
|
|
371
|
+
return {
|
|
372
|
+
byOwner,
|
|
373
|
+
byDeliveryMode,
|
|
374
|
+
bySensitivity,
|
|
375
|
+
crossTeamEvents
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
function createRmtVNextEventGovernanceReport(input = {}, options = {}) {
|
|
380
|
+
const crossSurfaceEventReport = input.crossSurfaceEventReport || input.crossSurfaceEvents || {};
|
|
381
|
+
const enterpriseRegistry = input.enterpriseRegistry || {};
|
|
382
|
+
const ownerCatalog = createOwnerCatalog(input.ownerCatalog || input.owners || {});
|
|
383
|
+
const context = {
|
|
384
|
+
policies: input.policies || {},
|
|
385
|
+
ownerCatalog,
|
|
386
|
+
surfaceOwnerIndex: createSurfaceOwnerIndex(enterpriseRegistry),
|
|
387
|
+
strict: options.strict !== false
|
|
388
|
+
};
|
|
389
|
+
const events = toArray(crossSurfaceEventReport.events).map((event) => createGovernanceEventRecord(event, context));
|
|
390
|
+
const diagnostics = events.flatMap((event) => event.diagnostics);
|
|
391
|
+
|
|
392
|
+
if (crossSurfaceEventReport.status === 'blocked' || crossSurfaceEventReport.ok === false) {
|
|
393
|
+
diagnostics.push(createGovernanceDiagnostic(
|
|
394
|
+
{
|
|
395
|
+
event: null,
|
|
396
|
+
eventId: crossSurfaceEventReport.protocolId || null,
|
|
397
|
+
owner: null
|
|
398
|
+
},
|
|
399
|
+
EVENT_GOVERNANCE_PROTOCOL_BLOCKED_CODE,
|
|
400
|
+
'Event governance cannot accept a blocked cross surface event protocol.',
|
|
401
|
+
'error',
|
|
402
|
+
{ field: 'crossSurfaceEventReport.status', status: crossSurfaceEventReport.status }
|
|
403
|
+
));
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
const status = diagnostics.some((diagnostic) => diagnostic.severity === 'error') ? 'blocked' : 'ready';
|
|
407
|
+
return {
|
|
408
|
+
schema: RMT_VNEXT_EVENT_GOVERNANCE_REPORT_SCHEMA,
|
|
409
|
+
policySchema: RMT_VNEXT_EVENT_GOVERNANCE_POLICY_SCHEMA,
|
|
410
|
+
governanceEventSchema: RMT_VNEXT_EVENT_GOVERNANCE_EVENT_SCHEMA,
|
|
411
|
+
coreSchema: RMT_VNEXT_CORE_SCHEMA,
|
|
412
|
+
crossSurfaceEventProtocolSchema: RMT_VNEXT_CROSS_SURFACE_EVENT_PROTOCOL_SCHEMA,
|
|
413
|
+
crossSurfaceEventReportSchema: RMT_VNEXT_CROSS_SURFACE_EVENT_REPORT_SCHEMA,
|
|
414
|
+
crossSurfaceEventSchema: RMT_VNEXT_CROSS_SURFACE_EVENT_RECORD_SCHEMA,
|
|
415
|
+
crossSurfaceEventBindingSchema: RMT_VNEXT_CROSS_SURFACE_EVENT_BINDING_SCHEMA,
|
|
416
|
+
enterpriseRegistrySchema: RMT_VNEXT_ENTERPRISE_REGISTRY_SCHEMA,
|
|
417
|
+
enterpriseSurfaceSchema: RMT_VNEXT_ENTERPRISE_SURFACE_SCHEMA,
|
|
418
|
+
workpackage: RMT_VNEXT_EVENT_GOVERNANCE_WORKPACKAGE,
|
|
419
|
+
governanceId: input.governanceId || `eventGovernance:${crossSurfaceEventReport.protocolId || enterpriseRegistry.registryId || 'rmt.vnext.document'}`,
|
|
420
|
+
status,
|
|
421
|
+
ok: status !== 'blocked',
|
|
422
|
+
eventCount: events.length,
|
|
423
|
+
governedEventCount: events.filter((event) => event.status === 'ready').length,
|
|
424
|
+
crossTeamEventCount: events.filter((event) => event.coupling.crossTeam).length,
|
|
425
|
+
deliveryModes: EVENT_GOVERNANCE_DELIVERY_MODES.slice(),
|
|
426
|
+
sensitivityLevels: EVENT_GOVERNANCE_SENSITIVITY_LEVELS.slice(),
|
|
427
|
+
governanceMode: {
|
|
428
|
+
missingDeliveryPolicyBlocks: context.strict,
|
|
429
|
+
crossTeamReviewRequired: true,
|
|
430
|
+
implicitCouplingAllowed: false
|
|
431
|
+
},
|
|
432
|
+
indexes: indexGovernance(events),
|
|
433
|
+
events,
|
|
434
|
+
diagnostics
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
function serializeEventGovernanceReport(report) {
|
|
439
|
+
return `${JSON.stringify(stableSort(report), null, 2)}\n`;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
function createRmtVNextEventGovernanceAdapter(defaultOptions = {}) {
|
|
443
|
+
return Object.freeze({
|
|
444
|
+
schema: RMT_VNEXT_EVENT_GOVERNANCE_POLICY_SCHEMA,
|
|
445
|
+
reportSchema: RMT_VNEXT_EVENT_GOVERNANCE_REPORT_SCHEMA,
|
|
446
|
+
governanceEventSchema: RMT_VNEXT_EVENT_GOVERNANCE_EVENT_SCHEMA,
|
|
447
|
+
coreSchema: RMT_VNEXT_CORE_SCHEMA,
|
|
448
|
+
crossSurfaceEventReportSchema: RMT_VNEXT_CROSS_SURFACE_EVENT_REPORT_SCHEMA,
|
|
449
|
+
enterpriseRegistrySchema: RMT_VNEXT_ENTERPRISE_REGISTRY_SCHEMA,
|
|
450
|
+
workpackage: RMT_VNEXT_EVENT_GOVERNANCE_WORKPACKAGE,
|
|
451
|
+
deliveryModes: EVENT_GOVERNANCE_DELIVERY_MODES,
|
|
452
|
+
sensitivityLevels: EVENT_GOVERNANCE_SENSITIVITY_LEVELS,
|
|
453
|
+
createReport: (input, options = {}) => createRmtVNextEventGovernanceReport({
|
|
454
|
+
...defaultOptions,
|
|
455
|
+
...input
|
|
456
|
+
}, options),
|
|
457
|
+
serializeReport: serializeEventGovernanceReport
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
module.exports = {
|
|
462
|
+
EVENT_GOVERNANCE_CORRELATION_ID_MISSING_CODE,
|
|
463
|
+
EVENT_GOVERNANCE_CROSS_TEAM_REVIEW_MISSING_CODE,
|
|
464
|
+
EVENT_GOVERNANCE_DELIVERY_MODE_INVALID_CODE,
|
|
465
|
+
EVENT_GOVERNANCE_DELIVERY_MODES,
|
|
466
|
+
EVENT_GOVERNANCE_DELIVERY_POLICY_MISSING_CODE,
|
|
467
|
+
EVENT_GOVERNANCE_IDEMPOTENCY_KEY_MISSING_CODE,
|
|
468
|
+
EVENT_GOVERNANCE_IMPLICIT_COUPLING_CODE,
|
|
469
|
+
EVENT_GOVERNANCE_OWNER_UNKNOWN_CODE,
|
|
470
|
+
EVENT_GOVERNANCE_PAYLOAD_OWNER_MISMATCH_CODE,
|
|
471
|
+
EVENT_GOVERNANCE_PROTOCOL_BLOCKED_CODE,
|
|
472
|
+
EVENT_GOVERNANCE_SENSITIVITY_LEVELS,
|
|
473
|
+
EVENT_GOVERNANCE_SENSITIVITY_MISSING_CODE,
|
|
474
|
+
EVENT_GOVERNANCE_TTL_MISSING_CODE,
|
|
475
|
+
EVENT_GOVERNANCE_VERSION_OWNER_MISMATCH_CODE,
|
|
476
|
+
RMT_VNEXT_EVENT_GOVERNANCE_CONTRACT_PATH,
|
|
477
|
+
RMT_VNEXT_EVENT_GOVERNANCE_EVENT_SCHEMA,
|
|
478
|
+
RMT_VNEXT_EVENT_GOVERNANCE_MODULE_PATH,
|
|
479
|
+
RMT_VNEXT_EVENT_GOVERNANCE_PACKAGE_SCRIPT,
|
|
480
|
+
RMT_VNEXT_EVENT_GOVERNANCE_POLICY_SCHEMA,
|
|
481
|
+
RMT_VNEXT_EVENT_GOVERNANCE_REPORT_SCHEMA,
|
|
482
|
+
RMT_VNEXT_EVENT_GOVERNANCE_SUITE_PATH,
|
|
483
|
+
RMT_VNEXT_EVENT_GOVERNANCE_WORKPACKAGE,
|
|
484
|
+
RMT_VNEXT_EVENT_GOVERNANCE_WP_PATH,
|
|
485
|
+
createRmtVNextEventGovernanceAdapter,
|
|
486
|
+
createRmtVNextEventGovernanceReport,
|
|
487
|
+
serializeEventGovernanceReport
|
|
488
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export * from './rmt-tooling-public-types';
|
|
2
|
+
import type { RmtToolingConstant, RmtToolingFactory, RmtToolingFunction } from './rmt-tooling-public-types';
|
|
3
|
+
|
|
4
|
+
export declare const ACTION_INVOKE_CAPABILITY: RmtToolingConstant;
|
|
5
|
+
export declare const createEventActionAdapterStub: RmtToolingFactory;
|
|
6
|
+
export declare const createEventActionContract: RmtToolingFactory;
|
|
7
|
+
export declare const createRmtVNextEventActionContract: RmtToolingFactory;
|
|
8
|
+
export declare const DATA_SOURCE_ADAPTER_MISSING_CODE: RmtToolingConstant;
|
|
9
|
+
export declare const DATA_SOURCE_KIND_CAPABILITIES: RmtToolingConstant;
|
|
10
|
+
export declare const DATA_SOURCE_KIND_MISMATCH_CODE: RmtToolingConstant;
|
|
11
|
+
export declare const DATA_SOURCE_KIND_UNSUPPORTED_CODE: RmtToolingConstant;
|
|
12
|
+
export declare const DATA_SOURCE_KINDS: RmtToolingConstant;
|
|
13
|
+
export declare const DATA_SOURCE_OPERATION_REF_MISMATCH_CODE: RmtToolingConstant;
|
|
14
|
+
export declare const DATA_SOURCE_OWNER_MISSING_CODE: RmtToolingConstant;
|
|
15
|
+
export declare const DATA_SOURCE_PAYLOAD_SHAPE_MISSING_CODE: RmtToolingConstant;
|
|
16
|
+
export declare const DATA_SOURCE_TARGET_MISSING_CODE: RmtToolingConstant;
|
|
17
|
+
export declare const DATA_SOURCE_UNKNOWN_CODE: RmtToolingConstant;
|
|
18
|
+
export declare const DEFAULT_ACTION_ADAPTER_ID: RmtToolingConstant;
|
|
19
|
+
export declare const DEFAULT_DATA_ADAPTER_IDS: RmtToolingConstant;
|
|
20
|
+
export declare const DEFAULT_EVENT_ADAPTER_ID: RmtToolingConstant;
|
|
21
|
+
export declare const EVENT_ACTION_ADAPTER_MISSING_CODE: RmtToolingConstant;
|
|
22
|
+
export declare const EVENT_ACTION_REF_MISSING_CODE: RmtToolingConstant;
|
|
23
|
+
export declare const EVENT_ACTION_UNKNOWN_CODE: RmtToolingConstant;
|
|
24
|
+
export declare const EVENT_BINDING_ADAPTER_MISSING_CODE: RmtToolingConstant;
|
|
25
|
+
export declare const EVENT_BINDING_CAPABILITY: RmtToolingConstant;
|
|
26
|
+
export declare const EVENT_DUPLICATE_CODE: RmtToolingConstant;
|
|
27
|
+
export declare const EVENT_NAME_MISSING_CODE: RmtToolingConstant;
|
|
28
|
+
export declare const EVENT_OWNER_MISSING_CODE: RmtToolingConstant;
|
|
29
|
+
export declare const EVENT_PAYLOAD_SHAPE_MISSING_CODE: RmtToolingConstant;
|
|
30
|
+
export declare const normalizeActionCatalog: RmtToolingFunction;
|
|
31
|
+
export declare const normalizeDataSourceCatalog: RmtToolingFunction;
|
|
32
|
+
export declare const RMT_VNEXT_ACTION_CATALOG_SCHEMA: RmtToolingConstant;
|
|
33
|
+
export declare const RMT_VNEXT_ACTION_REF_SCHEMA: RmtToolingConstant;
|
|
34
|
+
export declare const RMT_VNEXT_DATA_SOURCE_CATALOG_SCHEMA: RmtToolingConstant;
|
|
35
|
+
export declare const RMT_VNEXT_DATA_SOURCE_SCHEMA: RmtToolingConstant;
|
|
36
|
+
export declare const RMT_VNEXT_EVENT_ACTION_ADAPTER_SCHEMA: RmtToolingConstant;
|
|
37
|
+
export declare const RMT_VNEXT_EVENT_ACTION_MODULE_PATH: RmtToolingConstant;
|
|
38
|
+
export declare const RMT_VNEXT_EVENT_ACTION_PACKAGE_SCRIPT: RmtToolingConstant;
|
|
39
|
+
export declare const RMT_VNEXT_EVENT_ACTION_REPORT_SCHEMA: RmtToolingConstant;
|
|
40
|
+
export declare const RMT_VNEXT_EVENT_ACTION_SCHEMA: RmtToolingConstant;
|
|
41
|
+
export declare const RMT_VNEXT_EVENT_ACTION_SUITE_PATH: RmtToolingConstant;
|
|
42
|
+
export declare const RMT_VNEXT_EVENT_ACTION_WORKPACKAGE: RmtToolingConstant;
|
|
43
|
+
export declare const RMT_VNEXT_EVENT_BINDING_SCHEMA: RmtToolingConstant;
|
|
44
|
+
export declare const serializeEventActionContract: RmtToolingFunction;
|