@walkeros/explorer 0.5.0 → 1.0.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/AGENT.md +25 -0
- package/dist/__mocks__/@monaco-editor/react.d.ts +3 -0
- package/dist/__mocks__/@monaco-editor/react.d.ts.map +1 -0
- package/dist/__mocks__/@monaco-editor/react.js +4 -0
- package/dist/__mocks__/@monaco-editor/react.js.map +1 -0
- package/dist/{chunk-WKBCYMTQ.mjs → chunk-VWWAIDNX.mjs} +442 -153
- package/dist/chunk-VWWAIDNX.mjs.map +1 -0
- package/dist/components/atoms/base-mapping-pane.d.ts +85 -0
- package/dist/components/atoms/base-mapping-pane.d.ts.map +1 -0
- package/dist/components/atoms/base-mapping-pane.js +53 -0
- package/dist/components/atoms/base-mapping-pane.js.map +1 -0
- package/dist/components/atoms/box.d.ts +27 -0
- package/dist/components/atoms/box.d.ts.map +1 -0
- package/dist/components/atoms/box.js +86 -0
- package/dist/components/atoms/box.js.map +1 -0
- package/dist/components/atoms/box.stories.d.ts +34 -0
- package/dist/components/atoms/box.stories.d.ts.map +1 -0
- package/dist/components/atoms/box.stories.js +104 -0
- package/dist/components/atoms/box.stories.js.map +1 -0
- package/dist/components/atoms/button-group.d.ts +17 -0
- package/dist/components/atoms/button-group.d.ts.map +1 -0
- package/dist/components/atoms/button-group.js +12 -0
- package/dist/components/atoms/button-group.js.map +1 -0
- package/dist/components/atoms/button-group.stories.d.ts +18 -0
- package/dist/components/atoms/button-group.stories.d.ts.map +1 -0
- package/dist/components/atoms/button-group.stories.js +35 -0
- package/dist/components/atoms/button-group.stories.js.map +1 -0
- package/dist/components/atoms/button-link.d.ts +12 -0
- package/dist/components/atoms/button-link.d.ts.map +1 -0
- package/dist/components/atoms/button-link.js +10 -0
- package/dist/components/atoms/button-link.js.map +1 -0
- package/dist/components/atoms/button-link.stories.d.ts +13 -0
- package/dist/components/atoms/button-link.stories.d.ts.map +1 -0
- package/dist/components/atoms/button-link.stories.js +64 -0
- package/dist/components/atoms/button-link.stories.js.map +1 -0
- package/dist/components/atoms/button.d.ts +15 -0
- package/dist/components/atoms/button.d.ts.map +1 -0
- package/dist/components/atoms/button.js +11 -0
- package/dist/components/atoms/button.js.map +1 -0
- package/dist/components/atoms/code.d.ts +55 -0
- package/dist/components/atoms/code.d.ts.map +1 -0
- package/dist/components/atoms/code.js +251 -0
- package/dist/components/atoms/code.js.map +1 -0
- package/dist/components/atoms/code.stories.d.ts +53 -0
- package/dist/components/atoms/code.stories.d.ts.map +1 -0
- package/dist/components/atoms/code.stories.js +190 -0
- package/dist/components/atoms/code.stories.js.map +1 -0
- package/dist/components/atoms/config-tile.d.ts +38 -0
- package/dist/components/atoms/config-tile.d.ts.map +1 -0
- package/dist/components/atoms/config-tile.js +29 -0
- package/dist/components/atoms/config-tile.js.map +1 -0
- package/dist/components/atoms/consent-state-tile.d.ts +14 -0
- package/dist/components/atoms/consent-state-tile.d.ts.map +1 -0
- package/dist/components/atoms/consent-state-tile.js +5 -0
- package/dist/components/atoms/consent-state-tile.js.map +1 -0
- package/dist/components/atoms/field-header.d.ts +41 -0
- package/dist/components/atoms/field-header.d.ts.map +1 -0
- package/dist/components/atoms/field-header.js +42 -0
- package/dist/components/atoms/field-header.js.map +1 -0
- package/dist/components/atoms/footer.d.ts +21 -0
- package/dist/components/atoms/footer.d.ts.map +1 -0
- package/dist/components/atoms/footer.js +19 -0
- package/dist/components/atoms/footer.js.map +1 -0
- package/dist/components/atoms/grid.d.ts +65 -0
- package/dist/components/atoms/grid.d.ts.map +1 -0
- package/dist/components/atoms/grid.js +169 -0
- package/dist/components/atoms/grid.js.map +1 -0
- package/dist/components/atoms/header.d.ts +7 -0
- package/dist/components/atoms/header.d.ts.map +1 -0
- package/dist/components/atoms/header.js +5 -0
- package/dist/components/atoms/header.js.map +1 -0
- package/dist/components/atoms/icon-button.d.ts +26 -0
- package/dist/components/atoms/icon-button.d.ts.map +1 -0
- package/dist/components/atoms/icon-button.js +39 -0
- package/dist/components/atoms/icon-button.js.map +1 -0
- package/dist/components/atoms/icons/icons.d.ts +2 -0
- package/dist/components/atoms/icons/icons.d.ts.map +1 -0
- package/dist/components/atoms/icons/icons.js +7 -0
- package/dist/components/atoms/icons/icons.js.map +1 -0
- package/dist/components/atoms/icons/index.d.ts +3 -0
- package/dist/components/atoms/icons/index.d.ts.map +1 -0
- package/dist/components/atoms/icons/index.js +3 -0
- package/dist/components/atoms/icons/index.js.map +1 -0
- package/dist/components/atoms/mapping-boolean.d.ts +31 -0
- package/dist/components/atoms/mapping-boolean.d.ts.map +1 -0
- package/dist/components/atoms/mapping-boolean.js +38 -0
- package/dist/components/atoms/mapping-boolean.js.map +1 -0
- package/dist/components/atoms/mapping-breadcrumb.d.ts +14 -0
- package/dist/components/atoms/mapping-breadcrumb.d.ts.map +1 -0
- package/dist/components/atoms/mapping-breadcrumb.js +10 -0
- package/dist/components/atoms/mapping-breadcrumb.js.map +1 -0
- package/dist/components/atoms/mapping-collapsible.d.ts +54 -0
- package/dist/components/atoms/mapping-collapsible.d.ts.map +1 -0
- package/dist/components/atoms/mapping-collapsible.js +87 -0
- package/dist/components/atoms/mapping-collapsible.js.map +1 -0
- package/dist/components/atoms/mapping-condition-field.d.ts +18 -0
- package/dist/components/atoms/mapping-condition-field.d.ts.map +1 -0
- package/dist/components/atoms/mapping-condition-field.js +34 -0
- package/dist/components/atoms/mapping-condition-field.js.map +1 -0
- package/dist/components/atoms/mapping-condition.d.ts +34 -0
- package/dist/components/atoms/mapping-condition.d.ts.map +1 -0
- package/dist/components/atoms/mapping-condition.js +70 -0
- package/dist/components/atoms/mapping-condition.js.map +1 -0
- package/dist/components/atoms/mapping-confirm-button.d.ts +29 -0
- package/dist/components/atoms/mapping-confirm-button.d.ts.map +1 -0
- package/dist/components/atoms/mapping-confirm-button.js +42 -0
- package/dist/components/atoms/mapping-confirm-button.js.map +1 -0
- package/dist/components/atoms/mapping-consent-field.d.ts +20 -0
- package/dist/components/atoms/mapping-consent-field.d.ts.map +1 -0
- package/dist/components/atoms/mapping-consent-field.js +36 -0
- package/dist/components/atoms/mapping-consent-field.js.map +1 -0
- package/dist/components/atoms/mapping-consent.d.ts +34 -0
- package/dist/components/atoms/mapping-consent.d.ts.map +1 -0
- package/dist/components/atoms/mapping-consent.js +86 -0
- package/dist/components/atoms/mapping-consent.js.map +1 -0
- package/dist/components/atoms/mapping-data-field.d.ts +23 -0
- package/dist/components/atoms/mapping-data-field.d.ts.map +1 -0
- package/dist/components/atoms/mapping-data-field.js +38 -0
- package/dist/components/atoms/mapping-data-field.js.map +1 -0
- package/dist/components/atoms/mapping-data.d.ts +34 -0
- package/dist/components/atoms/mapping-data.d.ts.map +1 -0
- package/dist/components/atoms/mapping-data.js +76 -0
- package/dist/components/atoms/mapping-data.js.map +1 -0
- package/dist/components/atoms/mapping-enum-select.d.ts +28 -0
- package/dist/components/atoms/mapping-enum-select.d.ts.map +1 -0
- package/dist/components/atoms/mapping-enum-select.js +142 -0
- package/dist/components/atoms/mapping-enum-select.js.map +1 -0
- package/dist/components/atoms/mapping-fn-field.d.ts +23 -0
- package/dist/components/atoms/mapping-fn-field.d.ts.map +1 -0
- package/dist/components/atoms/mapping-fn-field.js +38 -0
- package/dist/components/atoms/mapping-fn-field.js.map +1 -0
- package/dist/components/atoms/mapping-fn.d.ts +34 -0
- package/dist/components/atoms/mapping-fn.d.ts.map +1 -0
- package/dist/components/atoms/mapping-fn.js +70 -0
- package/dist/components/atoms/mapping-fn.js.map +1 -0
- package/dist/components/atoms/mapping-grid.d.ts +45 -0
- package/dist/components/atoms/mapping-grid.d.ts.map +1 -0
- package/dist/components/atoms/mapping-grid.js +83 -0
- package/dist/components/atoms/mapping-grid.js.map +1 -0
- package/dist/components/atoms/mapping-input-with-button.d.ts +54 -0
- package/dist/components/atoms/mapping-input-with-button.d.ts.map +1 -0
- package/dist/components/atoms/mapping-input-with-button.js +54 -0
- package/dist/components/atoms/mapping-input-with-button.js.map +1 -0
- package/dist/components/atoms/mapping-input.d.ts +44 -0
- package/dist/components/atoms/mapping-input.d.ts.map +1 -0
- package/dist/components/atoms/mapping-input.js +35 -0
- package/dist/components/atoms/mapping-input.js.map +1 -0
- package/dist/components/atoms/mapping-key-field.d.ts +23 -0
- package/dist/components/atoms/mapping-key-field.d.ts.map +1 -0
- package/dist/components/atoms/mapping-key-field.js +39 -0
- package/dist/components/atoms/mapping-key-field.js.map +1 -0
- package/dist/components/atoms/mapping-key.d.ts +35 -0
- package/dist/components/atoms/mapping-key.d.ts.map +1 -0
- package/dist/components/atoms/mapping-key.js +48 -0
- package/dist/components/atoms/mapping-key.js.map +1 -0
- package/dist/components/atoms/mapping-map-entry.d.ts +31 -0
- package/dist/components/atoms/mapping-map-entry.d.ts.map +1 -0
- package/dist/components/atoms/mapping-map-entry.js +68 -0
- package/dist/components/atoms/mapping-map-entry.js.map +1 -0
- package/dist/components/atoms/mapping-number.d.ts +32 -0
- package/dist/components/atoms/mapping-number.d.ts.map +1 -0
- package/dist/components/atoms/mapping-number.js +52 -0
- package/dist/components/atoms/mapping-number.js.map +1 -0
- package/dist/components/atoms/mapping-object-explorer-field.d.ts +30 -0
- package/dist/components/atoms/mapping-object-explorer-field.d.ts.map +1 -0
- package/dist/components/atoms/mapping-object-explorer-field.js +48 -0
- package/dist/components/atoms/mapping-object-explorer-field.js.map +1 -0
- package/dist/components/atoms/mapping-object-explorer.d.ts +59 -0
- package/dist/components/atoms/mapping-object-explorer.d.ts.map +1 -0
- package/dist/components/atoms/mapping-object-explorer.js +215 -0
- package/dist/components/atoms/mapping-object-explorer.js.map +1 -0
- package/dist/components/atoms/mapping-set-entry.d.ts +31 -0
- package/dist/components/atoms/mapping-set-entry.d.ts.map +1 -0
- package/dist/components/atoms/mapping-set-entry.js +66 -0
- package/dist/components/atoms/mapping-set-entry.js.map +1 -0
- package/dist/components/atoms/mapping-settings-field.d.ts +33 -0
- package/dist/components/atoms/mapping-settings-field.d.ts.map +1 -0
- package/dist/components/atoms/mapping-settings-field.js +48 -0
- package/dist/components/atoms/mapping-settings-field.js.map +1 -0
- package/dist/components/atoms/mapping-settings.d.ts +44 -0
- package/dist/components/atoms/mapping-settings.d.ts.map +1 -0
- package/dist/components/atoms/mapping-settings.js +108 -0
- package/dist/components/atoms/mapping-settings.js.map +1 -0
- package/dist/components/atoms/mapping-string.d.ts +19 -0
- package/dist/components/atoms/mapping-string.d.ts.map +1 -0
- package/dist/components/atoms/mapping-string.js +26 -0
- package/dist/components/atoms/mapping-string.js.map +1 -0
- package/dist/components/atoms/mapping-tab.d.ts +15 -0
- package/dist/components/atoms/mapping-tab.d.ts.map +1 -0
- package/dist/components/atoms/mapping-tab.js +8 -0
- package/dist/components/atoms/mapping-tab.js.map +1 -0
- package/dist/components/atoms/mapping-type-button.d.ts +19 -0
- package/dist/components/atoms/mapping-type-button.d.ts.map +1 -0
- package/dist/components/atoms/mapping-type-button.js +5 -0
- package/dist/components/atoms/mapping-type-button.js.map +1 -0
- package/dist/components/atoms/mapping-validate-field.d.ts +23 -0
- package/dist/components/atoms/mapping-validate-field.d.ts.map +1 -0
- package/dist/components/atoms/mapping-validate-field.js +38 -0
- package/dist/components/atoms/mapping-validate-field.js.map +1 -0
- package/dist/components/atoms/mapping-validate.d.ts +34 -0
- package/dist/components/atoms/mapping-validate.d.ts.map +1 -0
- package/dist/components/atoms/mapping-validate.js +68 -0
- package/dist/components/atoms/mapping-validate.js.map +1 -0
- package/dist/components/atoms/mapping-value.d.ts +17 -0
- package/dist/components/atoms/mapping-value.d.ts.map +1 -0
- package/dist/components/atoms/mapping-value.js +127 -0
- package/dist/components/atoms/mapping-value.js.map +1 -0
- package/dist/components/atoms/mdx-code.d.ts +33 -0
- package/dist/components/atoms/mdx-code.d.ts.map +1 -0
- package/dist/components/atoms/mdx-code.js +69 -0
- package/dist/components/atoms/mdx-code.js.map +1 -0
- package/dist/components/atoms/pane-header.d.ts +24 -0
- package/dist/components/atoms/pane-header.d.ts.map +1 -0
- package/dist/components/atoms/pane-header.js +5 -0
- package/dist/components/atoms/pane-header.js.map +1 -0
- package/dist/components/atoms/panel-hints.d.ts +35 -0
- package/dist/components/atoms/panel-hints.d.ts.map +1 -0
- package/dist/components/atoms/panel-hints.js +5 -0
- package/dist/components/atoms/panel-hints.js.map +1 -0
- package/dist/components/atoms/preview-footer.d.ts +32 -0
- package/dist/components/atoms/preview-footer.d.ts.map +1 -0
- package/dist/components/atoms/preview-footer.js +31 -0
- package/dist/components/atoms/preview-footer.js.map +1 -0
- package/dist/components/atoms/toggle.d.ts +9 -0
- package/dist/components/atoms/toggle.d.ts.map +1 -0
- package/dist/components/atoms/toggle.js +6 -0
- package/dist/components/atoms/toggle.js.map +1 -0
- package/dist/components/demos/DestinationDemo.d.ts +48 -0
- package/dist/components/demos/DestinationDemo.d.ts.map +1 -0
- package/dist/components/demos/DestinationDemo.js +105 -0
- package/dist/components/demos/DestinationDemo.js.map +1 -0
- package/dist/components/demos/DestinationDemo.stories.d.ts +17 -0
- package/dist/components/demos/DestinationDemo.stories.d.ts.map +1 -0
- package/dist/components/demos/DestinationDemo.stories.js +53 -0
- package/dist/components/demos/DestinationDemo.stories.js.map +1 -0
- package/dist/components/demos/DestinationInitDemo.d.ts +34 -0
- package/dist/components/demos/DestinationInitDemo.d.ts.map +1 -0
- package/dist/components/demos/DestinationInitDemo.js +73 -0
- package/dist/components/demos/DestinationInitDemo.js.map +1 -0
- package/dist/components/demos/DestinationInitDemo.stories.d.ts +17 -0
- package/dist/components/demos/DestinationInitDemo.stories.d.ts.map +1 -0
- package/dist/components/demos/DestinationInitDemo.stories.js +39 -0
- package/dist/components/demos/DestinationInitDemo.stories.js.map +1 -0
- package/dist/components/demos/MappingCode.d.ts +34 -0
- package/dist/components/demos/MappingCode.d.ts.map +1 -0
- package/dist/components/demos/MappingCode.js +54 -0
- package/dist/components/demos/MappingCode.js.map +1 -0
- package/dist/components/demos/MappingCode.stories.d.ts +16 -0
- package/dist/components/demos/MappingCode.stories.d.ts.map +1 -0
- package/dist/components/demos/MappingCode.stories.js +42 -0
- package/dist/components/demos/MappingCode.stories.js.map +1 -0
- package/dist/components/demos/MappingDemo.d.ts +41 -0
- package/dist/components/demos/MappingDemo.d.ts.map +1 -0
- package/dist/components/demos/MappingDemo.js +62 -0
- package/dist/components/demos/MappingDemo.js.map +1 -0
- package/dist/components/demos/MappingDemo.stories.d.ts +16 -0
- package/dist/components/demos/MappingDemo.stories.d.ts.map +1 -0
- package/dist/components/demos/MappingDemo.stories.js +63 -0
- package/dist/components/demos/MappingDemo.stories.js.map +1 -0
- package/dist/components/demos/PromotionPlayground.d.ts +25 -0
- package/dist/components/demos/PromotionPlayground.d.ts.map +1 -0
- package/dist/components/demos/PromotionPlayground.js +280 -0
- package/dist/components/demos/PromotionPlayground.js.map +1 -0
- package/dist/components/demos/PromotionPlayground.stories.d.ts +27 -0
- package/dist/components/demos/PromotionPlayground.stories.d.ts.map +1 -0
- package/dist/components/demos/PromotionPlayground.stories.js +32 -0
- package/dist/components/demos/PromotionPlayground.stories.js.map +1 -0
- package/dist/components/forms/field-registry.d.ts +42 -0
- package/dist/components/forms/field-registry.d.ts.map +1 -0
- package/dist/components/forms/field-registry.js +64 -0
- package/dist/components/forms/field-registry.js.map +1 -0
- package/dist/components/forms/mapping-form-wrapper.d.ts +14 -0
- package/dist/components/forms/mapping-form-wrapper.d.ts.map +1 -0
- package/dist/components/forms/mapping-form-wrapper.js +105 -0
- package/dist/components/forms/mapping-form-wrapper.js.map +1 -0
- package/dist/components/forms/widget-registry.d.ts +42 -0
- package/dist/components/forms/widget-registry.d.ts.map +1 -0
- package/dist/components/forms/widget-registry.js +54 -0
- package/dist/components/forms/widget-registry.js.map +1 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts +24 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts.map +1 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.js +10 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.js.map +1 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts +7 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts.map +1 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js +71 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js.map +1 -0
- package/dist/components/molecules/architecture-flow/index.d.ts +3 -0
- package/dist/components/molecules/architecture-flow/index.d.ts.map +1 -0
- package/dist/components/molecules/architecture-flow/index.js +2 -0
- package/dist/components/molecules/architecture-flow/index.js.map +1 -0
- package/dist/components/molecules/auto-select.d.ts +29 -0
- package/dist/components/molecules/auto-select.d.ts.map +1 -0
- package/dist/components/molecules/auto-select.js +188 -0
- package/dist/components/molecules/auto-select.js.map +1 -0
- package/dist/components/molecules/code-box.d.ts +69 -0
- package/dist/components/molecules/code-box.d.ts.map +1 -0
- package/dist/components/molecules/code-box.js +109 -0
- package/dist/components/molecules/code-box.js.map +1 -0
- package/dist/components/molecules/code-box.stories.d.ts +30 -0
- package/dist/components/molecules/code-box.stories.d.ts.map +1 -0
- package/dist/components/molecules/code-box.stories.js +127 -0
- package/dist/components/molecules/code-box.stories.js.map +1 -0
- package/dist/components/molecules/code-snippet.d.ts +58 -0
- package/dist/components/molecules/code-snippet.d.ts.map +1 -0
- package/dist/components/molecules/code-snippet.js +72 -0
- package/dist/components/molecules/code-snippet.js.map +1 -0
- package/dist/components/molecules/code-snippet.stories.d.ts +20 -0
- package/dist/components/molecules/code-snippet.stories.d.ts.map +1 -0
- package/dist/components/molecules/code-snippet.stories.js +68 -0
- package/dist/components/molecules/code-snippet.stories.js.map +1 -0
- package/dist/components/molecules/config-overview-pane.d.ts +44 -0
- package/dist/components/molecules/config-overview-pane.d.ts.map +1 -0
- package/dist/components/molecules/config-overview-pane.js +75 -0
- package/dist/components/molecules/config-overview-pane.js.map +1 -0
- package/dist/components/molecules/config-tree-sidebar.d.ts +46 -0
- package/dist/components/molecules/config-tree-sidebar.d.ts.map +1 -0
- package/dist/components/molecules/config-tree-sidebar.js +183 -0
- package/dist/components/molecules/config-tree-sidebar.js.map +1 -0
- package/dist/components/molecules/destination-config-overview-pane.d.ts +33 -0
- package/dist/components/molecules/destination-config-overview-pane.d.ts.map +1 -0
- package/dist/components/molecules/destination-config-overview-pane.js +153 -0
- package/dist/components/molecules/destination-config-overview-pane.js.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.d.ts +74 -0
- package/dist/components/molecules/flow-map/FlowMap.d.ts.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.js +1028 -0
- package/dist/components/molecules/flow-map/FlowMap.js.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.stories.d.ts +73 -0
- package/dist/components/molecules/flow-map/FlowMap.stories.d.ts.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.stories.js +587 -0
- package/dist/components/molecules/flow-map/FlowMap.stories.js.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts +45 -0
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js +195 -0
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js.map +1 -0
- package/dist/components/molecules/flow-map/index.d.ts +3 -0
- package/dist/components/molecules/flow-map/index.d.ts.map +1 -0
- package/dist/components/molecules/flow-map/index.js +2 -0
- package/dist/components/molecules/flow-map/index.js.map +1 -0
- package/dist/components/molecules/mapping-batch-pane-view.d.ts +22 -0
- package/dist/components/molecules/mapping-batch-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-batch-pane-view.js +45 -0
- package/dist/components/molecules/mapping-batch-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-boolean-pane-view.d.ts +28 -0
- package/dist/components/molecules/mapping-boolean-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-boolean-pane-view.js +34 -0
- package/dist/components/molecules/mapping-boolean-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-condition-pane-view.d.ts +18 -0
- package/dist/components/molecules/mapping-condition-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-condition-pane-view.js +63 -0
- package/dist/components/molecules/mapping-condition-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-consent-pane-view.d.ts +16 -0
- package/dist/components/molecules/mapping-consent-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-consent-pane-view.js +65 -0
- package/dist/components/molecules/mapping-consent-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-consent-row.d.ts +29 -0
- package/dist/components/molecules/mapping-consent-row.d.ts.map +1 -0
- package/dist/components/molecules/mapping-consent-row.js +26 -0
- package/dist/components/molecules/mapping-consent-row.js.map +1 -0
- package/dist/components/molecules/mapping-entity-pane.d.ts +17 -0
- package/dist/components/molecules/mapping-entity-pane.d.ts.map +1 -0
- package/dist/components/molecules/mapping-entity-pane.js +68 -0
- package/dist/components/molecules/mapping-entity-pane.js.map +1 -0
- package/dist/components/molecules/mapping-enum-pane-view.d.ts +40 -0
- package/dist/components/molecules/mapping-enum-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-enum-pane-view.js +32 -0
- package/dist/components/molecules/mapping-enum-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-fn-pane-view.d.ts +18 -0
- package/dist/components/molecules/mapping-fn-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-fn-pane-view.js +77 -0
- package/dist/components/molecules/mapping-fn-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-function-pane-base.d.ts +53 -0
- package/dist/components/molecules/mapping-function-pane-base.d.ts.map +1 -0
- package/dist/components/molecules/mapping-function-pane-base.js +60 -0
- package/dist/components/molecules/mapping-function-pane-base.js.map +1 -0
- package/dist/components/molecules/mapping-key-pane-view.d.ts +23 -0
- package/dist/components/molecules/mapping-key-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-key-pane-view.js +12 -0
- package/dist/components/molecules/mapping-key-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-loop-field.d.ts +44 -0
- package/dist/components/molecules/mapping-loop-field.d.ts.map +1 -0
- package/dist/components/molecules/mapping-loop-field.js +133 -0
- package/dist/components/molecules/mapping-loop-field.js.map +1 -0
- package/dist/components/molecules/mapping-loop-pane-view.d.ts +28 -0
- package/dist/components/molecules/mapping-loop-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-loop-pane-view.js +44 -0
- package/dist/components/molecules/mapping-loop-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-map-field.d.ts +31 -0
- package/dist/components/molecules/mapping-map-field.d.ts.map +1 -0
- package/dist/components/molecules/mapping-map-field.js +120 -0
- package/dist/components/molecules/mapping-map-field.js.map +1 -0
- package/dist/components/molecules/mapping-map-overview.d.ts +13 -0
- package/dist/components/molecules/mapping-map-overview.d.ts.map +1 -0
- package/dist/components/molecules/mapping-map-overview.js +58 -0
- package/dist/components/molecules/mapping-map-overview.js.map +1 -0
- package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts +53 -0
- package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts.map +1 -0
- package/dist/components/molecules/mapping-map-pane-view-rjsf.js +127 -0
- package/dist/components/molecules/mapping-map-pane-view-rjsf.js.map +1 -0
- package/dist/components/molecules/mapping-name-pane-view.d.ts +22 -0
- package/dist/components/molecules/mapping-name-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-name-pane-view.js +38 -0
- package/dist/components/molecules/mapping-name-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-navigation-header.d.ts +27 -0
- package/dist/components/molecules/mapping-navigation-header.d.ts.map +1 -0
- package/dist/components/molecules/mapping-navigation-header.js +7 -0
- package/dist/components/molecules/mapping-navigation-header.js.map +1 -0
- package/dist/components/molecules/mapping-overview-pane.d.ts +14 -0
- package/dist/components/molecules/mapping-overview-pane.d.ts.map +1 -0
- package/dist/components/molecules/mapping-overview-pane.js +60 -0
- package/dist/components/molecules/mapping-overview-pane.js.map +1 -0
- package/dist/components/molecules/mapping-pane.d.ts +52 -0
- package/dist/components/molecules/mapping-pane.d.ts.map +1 -0
- package/dist/components/molecules/mapping-pane.js +155 -0
- package/dist/components/molecules/mapping-pane.js.map +1 -0
- package/dist/components/molecules/mapping-policy-overview-pane.d.ts +26 -0
- package/dist/components/molecules/mapping-policy-overview-pane.d.ts.map +1 -0
- package/dist/components/molecules/mapping-policy-overview-pane.js +69 -0
- package/dist/components/molecules/mapping-policy-overview-pane.js.map +1 -0
- package/dist/components/molecules/mapping-primitive-pane-view.d.ts +30 -0
- package/dist/components/molecules/mapping-primitive-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-primitive-pane-view.js +43 -0
- package/dist/components/molecules/mapping-primitive-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-rule-pane-view.d.ts +25 -0
- package/dist/components/molecules/mapping-rule-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-rule-pane-view.js +35 -0
- package/dist/components/molecules/mapping-rule-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-set-field.d.ts +34 -0
- package/dist/components/molecules/mapping-set-field.d.ts.map +1 -0
- package/dist/components/molecules/mapping-set-field.js +160 -0
- package/dist/components/molecules/mapping-set-field.js.map +1 -0
- package/dist/components/molecules/mapping-set-pane-view.d.ts +31 -0
- package/dist/components/molecules/mapping-set-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-set-pane-view.js +96 -0
- package/dist/components/molecules/mapping-set-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-tab-bar.d.ts +15 -0
- package/dist/components/molecules/mapping-tab-bar.d.ts.map +1 -0
- package/dist/components/molecules/mapping-tab-bar.js +9 -0
- package/dist/components/molecules/mapping-tab-bar.js.map +1 -0
- package/dist/components/molecules/mapping-tree-sidebar.d.ts +59 -0
- package/dist/components/molecules/mapping-tree-sidebar.d.ts.map +1 -0
- package/dist/components/molecules/mapping-tree-sidebar.js +491 -0
- package/dist/components/molecules/mapping-tree-sidebar.js.map +1 -0
- package/dist/components/molecules/mapping-type-grid.d.ts +12 -0
- package/dist/components/molecules/mapping-type-grid.d.ts.map +1 -0
- package/dist/components/molecules/mapping-type-grid.js +107 -0
- package/dist/components/molecules/mapping-type-grid.js.map +1 -0
- package/dist/components/molecules/mapping-type-selector.d.ts +21 -0
- package/dist/components/molecules/mapping-type-selector.d.ts.map +1 -0
- package/dist/components/molecules/mapping-type-selector.js +38 -0
- package/dist/components/molecules/mapping-type-selector.js.map +1 -0
- package/dist/components/molecules/mapping-validate-pane-view.d.ts +19 -0
- package/dist/components/molecules/mapping-validate-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-validate-pane-view.js +66 -0
- package/dist/components/molecules/mapping-validate-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-value-config-pane-view.d.ts +30 -0
- package/dist/components/molecules/mapping-value-config-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-value-config-pane-view.js +105 -0
- package/dist/components/molecules/mapping-value-config-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-value-pane-view.d.ts +28 -0
- package/dist/components/molecules/mapping-value-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-value-pane-view.js +40 -0
- package/dist/components/molecules/mapping-value-pane-view.js.map +1 -0
- package/dist/components/molecules/mapping-value-type-pane-view.d.ts +27 -0
- package/dist/components/molecules/mapping-value-type-pane-view.d.ts.map +1 -0
- package/dist/components/molecules/mapping-value-type-pane-view.js +253 -0
- package/dist/components/molecules/mapping-value-type-pane-view.js.map +1 -0
- package/dist/components/molecules/options-pane.d.ts +28 -0
- package/dist/components/molecules/options-pane.d.ts.map +1 -0
- package/dist/components/molecules/options-pane.js +80 -0
- package/dist/components/molecules/options-pane.js.map +1 -0
- package/dist/components/molecules/preview.d.ts +22 -0
- package/dist/components/molecules/preview.d.ts.map +1 -0
- package/dist/components/molecules/preview.js +221 -0
- package/dist/components/molecules/preview.js.map +1 -0
- package/dist/components/molecules/preview.stories.d.ts +23 -0
- package/dist/components/molecules/preview.stories.d.ts.map +1 -0
- package/dist/components/molecules/preview.stories.js +186 -0
- package/dist/components/molecules/preview.stories.js.map +1 -0
- package/dist/components/molecules/property-suggestions.d.ts +17 -0
- package/dist/components/molecules/property-suggestions.d.ts.map +1 -0
- package/dist/components/molecules/property-suggestions.js +56 -0
- package/dist/components/molecules/property-suggestions.js.map +1 -0
- package/dist/components/molecules/property-table.d.ts +7 -0
- package/dist/components/molecules/property-table.d.ts.map +1 -0
- package/dist/components/molecules/property-table.js +88 -0
- package/dist/components/molecules/property-table.js.map +1 -0
- package/dist/components/molecules/property-table.stories.d.ts +24 -0
- package/dist/components/molecules/property-table.stories.d.ts.map +1 -0
- package/dist/components/molecules/property-table.stories.js +86 -0
- package/dist/components/molecules/property-table.stories.js.map +1 -0
- package/dist/components/molecules/settings-overview-pane.d.ts +32 -0
- package/dist/components/molecules/settings-overview-pane.d.ts.map +1 -0
- package/dist/components/molecules/settings-overview-pane.js +85 -0
- package/dist/components/molecules/settings-overview-pane.js.map +1 -0
- package/dist/components/molecules/validation-overview-pane.d.ts +27 -0
- package/dist/components/molecules/validation-overview-pane.d.ts.map +1 -0
- package/dist/components/molecules/validation-overview-pane.js +50 -0
- package/dist/components/molecules/validation-overview-pane.js.map +1 -0
- package/dist/components/organisms/browser-box.d.ts +31 -0
- package/dist/components/organisms/browser-box.d.ts.map +1 -0
- package/dist/components/organisms/browser-box.js +80 -0
- package/dist/components/organisms/browser-box.js.map +1 -0
- package/dist/components/organisms/browser-box.stories.d.ts +26 -0
- package/dist/components/organisms/browser-box.stories.d.ts.map +1 -0
- package/dist/components/organisms/browser-box.stories.js +102 -0
- package/dist/components/organisms/browser-box.stories.js.map +1 -0
- package/dist/components/organisms/collector-box.d.ts +24 -0
- package/dist/components/organisms/collector-box.d.ts.map +1 -0
- package/dist/components/organisms/collector-box.js +56 -0
- package/dist/components/organisms/collector-box.js.map +1 -0
- package/dist/components/organisms/collector-box.stories.d.ts +22 -0
- package/dist/components/organisms/collector-box.stories.d.ts.map +1 -0
- package/dist/components/organisms/collector-box.stories.js +59 -0
- package/dist/components/organisms/collector-box.stories.js.map +1 -0
- package/dist/components/organisms/config-editor/config-editor-box.d.ts +35 -0
- package/dist/components/organisms/config-editor/config-editor-box.d.ts.map +1 -0
- package/dist/components/organisms/config-editor/config-editor-box.js +50 -0
- package/dist/components/organisms/config-editor/config-editor-box.js.map +1 -0
- package/dist/components/organisms/config-editor/config-editor-tabs.d.ts +52 -0
- package/dist/components/organisms/config-editor/config-editor-tabs.d.ts.map +1 -0
- package/dist/components/organisms/config-editor/config-editor-tabs.js +127 -0
- package/dist/components/organisms/config-editor/config-editor-tabs.js.map +1 -0
- package/dist/components/organisms/config-editor/config-editor.d.ts +47 -0
- package/dist/components/organisms/config-editor/config-editor.d.ts.map +1 -0
- package/dist/components/organisms/config-editor/config-editor.js +50 -0
- package/dist/components/organisms/config-editor/config-editor.js.map +1 -0
- package/dist/components/organisms/config-editor/config-editor.stories.d.ts +25 -0
- package/dist/components/organisms/config-editor/config-editor.stories.d.ts.map +1 -0
- package/dist/components/organisms/config-editor/config-editor.stories.js +77 -0
- package/dist/components/organisms/config-editor/config-editor.stories.js.map +1 -0
- package/dist/components/organisms/config-editor/index.d.ts +22 -0
- package/dist/components/organisms/config-editor/index.d.ts.map +1 -0
- package/dist/components/organisms/config-editor/index.js +20 -0
- package/dist/components/organisms/config-editor/index.js.map +1 -0
- package/dist/components/organisms/live-code.d.ts +22 -0
- package/dist/components/organisms/live-code.d.ts.map +1 -0
- package/dist/components/organisms/live-code.js +50 -0
- package/dist/components/organisms/live-code.js.map +1 -0
- package/dist/components/organisms/live-code.stories.d.ts +24 -0
- package/dist/components/organisms/live-code.stories.d.ts.map +1 -0
- package/dist/components/organisms/live-code.stories.js +55 -0
- package/dist/components/organisms/live-code.stories.js.map +1 -0
- package/dist/components/ui/button.d.ts +4 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +6 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/icon.d.ts +5 -0
- package/dist/components/ui/icon.d.ts.map +1 -0
- package/dist/components/ui/icon.js +5 -0
- package/dist/components/ui/icon.js.map +1 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +5 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/contexts/GridHeightContext.d.ts +11 -0
- package/dist/contexts/GridHeightContext.d.ts.map +1 -0
- package/dist/contexts/GridHeightContext.js +14 -0
- package/dist/contexts/GridHeightContext.js.map +1 -0
- package/dist/helpers/capture.d.ts +83 -0
- package/dist/helpers/capture.d.ts.map +1 -0
- package/dist/helpers/capture.js +125 -0
- package/dist/helpers/capture.js.map +1 -0
- package/dist/helpers/destinations.d.ts +21 -0
- package/dist/helpers/destinations.d.ts.map +1 -0
- package/dist/helpers/destinations.js +46 -0
- package/dist/helpers/destinations.js.map +1 -0
- package/dist/hooks/useMappingNavigation.d.ts +62 -0
- package/dist/hooks/useMappingNavigation.d.ts.map +1 -0
- package/dist/hooks/useMappingNavigation.js +339 -0
- package/dist/hooks/useMappingNavigation.js.map +1 -0
- package/dist/hooks/useMappingState.d.ts +56 -0
- package/dist/hooks/useMappingState.d.ts.map +1 -0
- package/dist/hooks/useMappingState.js +142 -0
- package/dist/hooks/useMappingState.js.map +1 -0
- package/dist/hooks/useMonacoHeight.d.ts +31 -0
- package/dist/hooks/useMonacoHeight.d.ts.map +1 -0
- package/dist/hooks/useMonacoHeight.js +83 -0
- package/dist/hooks/useMonacoHeight.js.map +1 -0
- package/dist/hooks/useTreeState.d.ts +32 -0
- package/dist/hooks/useTreeState.d.ts.map +1 -0
- package/dist/hooks/useTreeState.js +94 -0
- package/dist/hooks/useTreeState.js.map +1 -0
- package/dist/index.d.cts +140 -32
- package/dist/index.d.ts +65 -1276
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +49 -16696
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3598 -801
- package/dist/index.mjs.map +1 -1
- package/dist/lib/utils.d.ts +7 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +10 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/{monaco-types-GHUJ2SZE.mjs → monaco-types-4FIH5OVX.mjs} +2 -2
- package/dist/providers/MDXProvider.d.ts +40 -0
- package/dist/providers/MDXProvider.d.ts.map +1 -0
- package/dist/providers/MDXProvider.js +57 -0
- package/dist/providers/MDXProvider.js.map +1 -0
- package/dist/schemas/config-structures/destination-config.d.ts +27 -0
- package/dist/schemas/config-structures/destination-config.d.ts.map +1 -0
- package/dist/schemas/config-structures/destination-config.js +104 -0
- package/dist/schemas/config-structures/destination-config.js.map +1 -0
- package/dist/schemas/config-structures/index.d.ts +17 -0
- package/dist/schemas/config-structures/index.d.ts.map +1 -0
- package/dist/schemas/config-structures/index.js +17 -0
- package/dist/schemas/config-structures/index.js.map +1 -0
- package/dist/schemas/config-structures/mapping-rule.d.ts +17 -0
- package/dist/schemas/config-structures/mapping-rule.d.ts.map +1 -0
- package/dist/schemas/config-structures/mapping-rule.js +81 -0
- package/dist/schemas/config-structures/mapping-rule.js.map +1 -0
- package/dist/schemas/config-structures/types.d.ts +62 -0
- package/dist/schemas/config-structures/types.d.ts.map +1 -0
- package/dist/schemas/config-structures/types.js +2 -0
- package/dist/schemas/config-structures/types.js.map +1 -0
- package/dist/schemas/mapping-rule-schema.d.ts +25 -0
- package/dist/schemas/mapping-rule-schema.d.ts.map +1 -0
- package/dist/schemas/mapping-rule-schema.js +86 -0
- package/dist/schemas/mapping-rule-schema.js.map +1 -0
- package/dist/schemas/rule-properties-schema.d.ts +42 -0
- package/dist/schemas/rule-properties-schema.d.ts.map +1 -0
- package/dist/schemas/rule-properties-schema.js +79 -0
- package/dist/schemas/rule-properties-schema.js.map +1 -0
- package/dist/schemas/value-config-schema.d.ts +36 -0
- package/dist/schemas/value-config-schema.d.ts.map +1 -0
- package/dist/schemas/value-config-schema.js +227 -0
- package/dist/schemas/value-config-schema.js.map +1 -0
- package/dist/styles.css +247 -0
- package/dist/themes/index.d.ts +23 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/themes/index.js +29 -0
- package/dist/themes/index.js.map +1 -0
- package/dist/themes/lighthouse.d.ts +26 -0
- package/dist/themes/lighthouse.d.ts.map +1 -0
- package/dist/themes/lighthouse.js +229 -0
- package/dist/themes/lighthouse.js.map +1 -0
- package/dist/themes/palenight.d.ts +31 -0
- package/dist/themes/palenight.d.ts.map +1 -0
- package/dist/themes/palenight.js +235 -0
- package/dist/themes/palenight.js.map +1 -0
- package/dist/themes/types.d.ts +103 -0
- package/dist/themes/types.d.ts.map +1 -0
- package/dist/themes/types.js +8 -0
- package/dist/themes/types.js.map +1 -0
- package/dist/types/schemas.d.ts +29 -0
- package/dist/types/schemas.d.ts.map +1 -0
- package/dist/types/schemas.js +2 -0
- package/dist/types/schemas.js.map +1 -0
- package/dist/utils/clean-form-data.d.ts +26 -0
- package/dist/utils/clean-form-data.d.ts.map +1 -0
- package/dist/utils/clean-form-data.js +76 -0
- package/dist/utils/clean-form-data.js.map +1 -0
- package/dist/utils/code-normalizer.d.ts +11 -0
- package/dist/utils/code-normalizer.d.ts.map +1 -0
- package/dist/utils/code-normalizer.js +21 -0
- package/dist/utils/code-normalizer.js.map +1 -0
- package/dist/utils/config-validator.d.ts +12 -0
- package/dist/utils/config-validator.d.ts.map +1 -0
- package/dist/utils/config-validator.js +10 -0
- package/dist/utils/config-validator.js.map +1 -0
- package/dist/utils/consent-scanner.d.ts +19 -0
- package/dist/utils/consent-scanner.d.ts.map +1 -0
- package/dist/utils/consent-scanner.js +115 -0
- package/dist/utils/consent-scanner.js.map +1 -0
- package/dist/utils/format-code.d.ts +9 -0
- package/dist/utils/format-code.d.ts.map +1 -0
- package/dist/utils/format-code.js +68 -0
- package/dist/utils/format-code.js.map +1 -0
- package/dist/utils/generic-tree-builder.d.ts +37 -0
- package/dist/utils/generic-tree-builder.d.ts.map +1 -0
- package/dist/utils/generic-tree-builder.js +225 -0
- package/dist/utils/generic-tree-builder.js.map +1 -0
- package/dist/utils/mapping-path.d.ts +146 -0
- package/dist/utils/mapping-path.d.ts.map +1 -0
- package/dist/utils/mapping-path.js +271 -0
- package/dist/utils/mapping-path.js.map +1 -0
- package/dist/utils/monaco-context-types.d.ts +39 -0
- package/dist/utils/monaco-context-types.d.ts.map +1 -0
- package/dist/utils/monaco-context-types.js +426 -0
- package/dist/utils/monaco-context-types.js.map +1 -0
- package/dist/utils/monaco-decorators.d.ts +17 -0
- package/dist/utils/monaco-decorators.d.ts.map +1 -0
- package/dist/utils/monaco-decorators.js +79 -0
- package/dist/utils/monaco-decorators.js.map +1 -0
- package/dist/utils/monaco-formatters.d.ts +16 -0
- package/dist/utils/monaco-formatters.d.ts.map +1 -0
- package/dist/utils/monaco-formatters.js +139 -0
- package/dist/utils/monaco-formatters.js.map +1 -0
- package/dist/utils/monaco-types.d.ts +174 -0
- package/dist/utils/monaco-types.d.ts.map +1 -0
- package/dist/utils/monaco-types.js +378 -0
- package/dist/utils/monaco-types.js.map +1 -0
- package/dist/utils/path-analyzer.d.ts +88 -0
- package/dist/utils/path-analyzer.d.ts.map +1 -0
- package/dist/utils/path-analyzer.js +215 -0
- package/dist/utils/path-analyzer.js.map +1 -0
- package/dist/utils/schema-validation.d.ts +36 -0
- package/dist/utils/schema-validation.d.ts.map +1 -0
- package/dist/utils/schema-validation.js +136 -0
- package/dist/utils/schema-validation.js.map +1 -0
- package/dist/utils/type-detector.d.ts +35 -0
- package/dist/utils/type-detector.d.ts.map +1 -0
- package/dist/utils/type-detector.js +241 -0
- package/dist/utils/type-detector.js.map +1 -0
- package/dist/utils/value-display-formatter.d.ts +31 -0
- package/dist/utils/value-display-formatter.d.ts.map +1 -0
- package/dist/utils/value-display-formatter.js +110 -0
- package/dist/utils/value-display-formatter.js.map +1 -0
- package/package.json +13 -10
- package/dist/chunk-WKBCYMTQ.mjs.map +0 -1
- /package/dist/{monaco-types-GHUJ2SZE.mjs.map → monaco-types-4FIH5OVX.mjs.map} +0 -0
|
@@ -397,7 +397,7 @@ function getContextTypes(contextType) {
|
|
|
397
397
|
var virtual_walkeros_core_types_default = `/**
|
|
398
398
|
* Core collector configuration interface
|
|
399
399
|
*/
|
|
400
|
-
interface Config$
|
|
400
|
+
interface Config$7 {
|
|
401
401
|
/** Whether to run collector automatically */
|
|
402
402
|
run?: boolean;
|
|
403
403
|
/** Version for event tagging */
|
|
@@ -407,12 +407,12 @@ interface Config$6 {
|
|
|
407
407
|
/** Static session data even on a new run */
|
|
408
408
|
sessionStatic: Partial<SessionData>;
|
|
409
409
|
/** Logger configuration */
|
|
410
|
-
logger?: Config$
|
|
410
|
+
logger?: Config$4;
|
|
411
411
|
}
|
|
412
412
|
/**
|
|
413
413
|
* Initialization configuration that extends Config with initial state
|
|
414
414
|
*/
|
|
415
|
-
interface InitConfig extends Partial<Config$
|
|
415
|
+
interface InitConfig extends Partial<Config$7> {
|
|
416
416
|
/** Initial consent state */
|
|
417
417
|
consent?: Consent;
|
|
418
418
|
/** Initial user data */
|
|
@@ -423,6 +423,8 @@ interface InitConfig extends Partial<Config$6> {
|
|
|
423
423
|
sources?: InitSources;
|
|
424
424
|
/** Destination configurations */
|
|
425
425
|
destinations?: InitDestinations;
|
|
426
|
+
/** Transformer configurations */
|
|
427
|
+
transformers?: InitTransformers;
|
|
426
428
|
/** Initial custom properties */
|
|
427
429
|
custom?: Properties;
|
|
428
430
|
}
|
|
@@ -442,30 +444,46 @@ interface Sources {
|
|
|
442
444
|
[id: string]: Instance;
|
|
443
445
|
}
|
|
444
446
|
interface Destinations$1 {
|
|
445
|
-
[id: string]: Instance$
|
|
447
|
+
[id: string]: Instance$3;
|
|
448
|
+
}
|
|
449
|
+
interface Transformers$1 {
|
|
450
|
+
[id: string]: Instance$1;
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Resolved transformer chains for a flow.
|
|
454
|
+
*/
|
|
455
|
+
interface TransformerChain {
|
|
456
|
+
/** Ordered transformer IDs to run before collector (from source.next) */
|
|
457
|
+
pre: string[];
|
|
458
|
+
/** Per-destination transformer chains (from destination.before) */
|
|
459
|
+
post: Record<string, string[]>;
|
|
446
460
|
}
|
|
447
461
|
type CommandType = 'action' | 'config' | 'consent' | 'context' | 'destination' | 'elb' | 'globals' | 'hook' | 'init' | 'link' | 'run' | 'user' | 'walker' | string;
|
|
448
462
|
/**
|
|
449
|
-
*
|
|
463
|
+
* Options passed to collector.push() from sources.
|
|
464
|
+
* NOT a Context - just push metadata.
|
|
450
465
|
*/
|
|
451
|
-
interface
|
|
452
|
-
|
|
466
|
+
interface PushOptions {
|
|
467
|
+
id?: string;
|
|
468
|
+
ingest?: unknown;
|
|
469
|
+
mapping?: Config$3;
|
|
470
|
+
preChain?: string[];
|
|
453
471
|
}
|
|
454
472
|
/**
|
|
455
473
|
* Push function signature - handles events only
|
|
456
474
|
*/
|
|
457
475
|
interface PushFn$1 {
|
|
458
|
-
(event: DeepPartialEvent,
|
|
476
|
+
(event: DeepPartialEvent, options?: PushOptions): Promise<PushResult>;
|
|
459
477
|
}
|
|
460
478
|
/**
|
|
461
479
|
* Command function signature - handles walker commands only
|
|
462
480
|
*/
|
|
463
481
|
interface CommandFn {
|
|
464
|
-
(command: 'config', config: Partial<Config$
|
|
482
|
+
(command: 'config', config: Partial<Config$7>): Promise<PushResult>;
|
|
465
483
|
(command: 'consent', consent: Consent): Promise<PushResult>;
|
|
466
|
-
<T extends Types$
|
|
484
|
+
<T extends Types$3>(command: 'destination', destination: Init$2<T> | Instance$3<T>, config?: Config$6<T>): Promise<PushResult>;
|
|
467
485
|
<K extends keyof Functions>(command: 'hook', name: K, hookFn: Functions[K]): Promise<PushResult>;
|
|
468
|
-
(command: 'on', type: Types$
|
|
486
|
+
(command: 'on', type: Types$2, rules: SingleOrArray<Options>): Promise<PushResult>;
|
|
469
487
|
(command: 'user', user: User): Promise<PushResult>;
|
|
470
488
|
(command: 'run', runState?: {
|
|
471
489
|
consent?: Consent;
|
|
@@ -475,20 +493,22 @@ interface CommandFn {
|
|
|
475
493
|
}): Promise<PushResult>;
|
|
476
494
|
(command: string, data?: unknown, options?: unknown): Promise<PushResult>;
|
|
477
495
|
}
|
|
478
|
-
interface Instance$
|
|
496
|
+
interface Instance$4 {
|
|
479
497
|
push: PushFn$1;
|
|
480
498
|
command: CommandFn;
|
|
481
499
|
allowed: boolean;
|
|
482
|
-
config: Config$
|
|
500
|
+
config: Config$7;
|
|
483
501
|
consent: Consent;
|
|
484
502
|
count: number;
|
|
485
503
|
custom: Properties;
|
|
486
504
|
sources: Sources;
|
|
487
505
|
destinations: Destinations$1;
|
|
506
|
+
transformers: Transformers$1;
|
|
507
|
+
transformerChain: TransformerChain;
|
|
488
508
|
globals: Properties;
|
|
489
509
|
group: string;
|
|
490
510
|
hooks: Functions;
|
|
491
|
-
logger: Instance$
|
|
511
|
+
logger: Instance$2;
|
|
492
512
|
on: OnConfig;
|
|
493
513
|
queue: Events;
|
|
494
514
|
round: number;
|
|
@@ -501,10 +521,28 @@ interface Instance$3 {
|
|
|
501
521
|
type collector_CommandFn = CommandFn;
|
|
502
522
|
type collector_CommandType = CommandType;
|
|
503
523
|
type collector_InitConfig = InitConfig;
|
|
524
|
+
type collector_PushOptions = PushOptions;
|
|
504
525
|
type collector_SessionData = SessionData;
|
|
505
526
|
type collector_Sources = Sources;
|
|
527
|
+
type collector_TransformerChain = TransformerChain;
|
|
506
528
|
declare namespace collector {
|
|
507
|
-
export type { collector_CommandFn as CommandFn, collector_CommandType as CommandType, Config$
|
|
529
|
+
export type { collector_CommandFn as CommandFn, collector_CommandType as CommandType, Config$7 as Config, Destinations$1 as Destinations, collector_InitConfig as InitConfig, Instance$4 as Instance, PushFn$1 as PushFn, collector_PushOptions as PushOptions, collector_SessionData as SessionData, collector_Sources as Sources, collector_TransformerChain as TransformerChain, Transformers$1 as Transformers };
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Base context interface for walkerOS stages.
|
|
534
|
+
* Sources, Transformers, and Destinations extend this.
|
|
535
|
+
*/
|
|
536
|
+
interface Base<C = unknown, E = unknown> {
|
|
537
|
+
collector: Instance$4;
|
|
538
|
+
logger: Instance$2;
|
|
539
|
+
config: C;
|
|
540
|
+
env: E;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
type context_Base<C = unknown, E = unknown> = Base<C, E>;
|
|
544
|
+
declare namespace context {
|
|
545
|
+
export type { context_Base as Base };
|
|
508
546
|
}
|
|
509
547
|
|
|
510
548
|
interface Contract$1 {
|
|
@@ -517,7 +555,7 @@ interface Globals {
|
|
|
517
555
|
[name: string]: Global;
|
|
518
556
|
}
|
|
519
557
|
interface Contexts {
|
|
520
|
-
[name: string]: Context$
|
|
558
|
+
[name: string]: Context$5;
|
|
521
559
|
}
|
|
522
560
|
interface Entities$1 {
|
|
523
561
|
[name: string]: Entity$1;
|
|
@@ -527,7 +565,7 @@ interface Properties$2 {
|
|
|
527
565
|
}
|
|
528
566
|
interface Global extends Property$2 {
|
|
529
567
|
}
|
|
530
|
-
interface Context$
|
|
568
|
+
interface Context$5 extends Property$2 {
|
|
531
569
|
}
|
|
532
570
|
interface Entity$1 {
|
|
533
571
|
data: Properties$2;
|
|
@@ -556,7 +594,7 @@ type data_Globals = Globals;
|
|
|
556
594
|
type data_PropertyValues = PropertyValues;
|
|
557
595
|
type data_Trigger = Trigger;
|
|
558
596
|
declare namespace data {
|
|
559
|
-
export type { data_Action as Action, data_Actions as Actions, Context$
|
|
597
|
+
export type { data_Action as Action, data_Actions as Actions, Context$5 as Context, data_Contexts as Contexts, Contract$1 as Contract, Entities$1 as Entities, Entity$1 as Entity, data_Global as Global, data_Globals as Globals, Properties$2 as Properties, Property$2 as Property, PropertyType$1 as PropertyType, data_PropertyValues as PropertyValues, data_Trigger as Trigger };
|
|
560
598
|
}
|
|
561
599
|
|
|
562
600
|
/**
|
|
@@ -566,7 +604,7 @@ declare namespace data {
|
|
|
566
604
|
* their runtime environment requirements. Platform-specific extensions
|
|
567
605
|
* should extend this interface.
|
|
568
606
|
*/
|
|
569
|
-
interface BaseEnv$
|
|
607
|
+
interface BaseEnv$2 {
|
|
570
608
|
/**
|
|
571
609
|
* Generic global properties that destinations may require
|
|
572
610
|
* Platform-specific implementations can extend this interface
|
|
@@ -577,7 +615,7 @@ interface BaseEnv$1 {
|
|
|
577
615
|
* Type bundle for destination generics.
|
|
578
616
|
* Groups Settings, InitSettings, Mapping, and Env into a single type parameter.
|
|
579
617
|
*/
|
|
580
|
-
interface Types$
|
|
618
|
+
interface Types$3<S = unknown, M = unknown, E = BaseEnv$2, I = S> {
|
|
581
619
|
settings: S;
|
|
582
620
|
initSettings: I;
|
|
583
621
|
mapping: M;
|
|
@@ -586,7 +624,7 @@ interface Types$2<S = unknown, M = unknown, E = BaseEnv$1, I = S> {
|
|
|
586
624
|
/**
|
|
587
625
|
* Generic constraint for Types - ensures T has required properties for indexed access
|
|
588
626
|
*/
|
|
589
|
-
type TypesGeneric$
|
|
627
|
+
type TypesGeneric$2 = {
|
|
590
628
|
settings: any;
|
|
591
629
|
initSettings: any;
|
|
592
630
|
mapping: any;
|
|
@@ -595,77 +633,74 @@ type TypesGeneric$1 = {
|
|
|
595
633
|
/**
|
|
596
634
|
* Type extractors for consistent usage with Types bundle
|
|
597
635
|
*/
|
|
598
|
-
type Settings$
|
|
599
|
-
type InitSettings$
|
|
600
|
-
type Mapping$1<T extends TypesGeneric$
|
|
601
|
-
type Env$
|
|
636
|
+
type Settings$2<T extends TypesGeneric$2 = Types$3> = T['settings'];
|
|
637
|
+
type InitSettings$2<T extends TypesGeneric$2 = Types$3> = T['initSettings'];
|
|
638
|
+
type Mapping$1<T extends TypesGeneric$2 = Types$3> = T['mapping'];
|
|
639
|
+
type Env$2<T extends TypesGeneric$2 = Types$3> = T['env'];
|
|
602
640
|
/**
|
|
603
641
|
* Inference helper: Extract Types from Instance
|
|
604
642
|
*/
|
|
605
|
-
type TypesOf$
|
|
606
|
-
interface Instance$
|
|
607
|
-
config: Config$
|
|
643
|
+
type TypesOf$2<I> = I extends Instance$3<infer T> ? T : never;
|
|
644
|
+
interface Instance$3<T extends TypesGeneric$2 = Types$3> {
|
|
645
|
+
config: Config$6<T>;
|
|
608
646
|
queue?: Events;
|
|
609
647
|
dlq?: DLQ;
|
|
648
|
+
batches?: BatchRegistry<Mapping$1<T>>;
|
|
610
649
|
type?: string;
|
|
611
|
-
env?: Env$
|
|
612
|
-
init?: InitFn<T>;
|
|
650
|
+
env?: Env$2<T>;
|
|
651
|
+
init?: InitFn$1<T>;
|
|
613
652
|
push: PushFn<T>;
|
|
614
653
|
pushBatch?: PushBatchFn<T>;
|
|
615
654
|
on?: OnFn;
|
|
616
655
|
}
|
|
617
|
-
interface Config$
|
|
656
|
+
interface Config$6<T extends TypesGeneric$2 = Types$3> {
|
|
618
657
|
consent?: Consent;
|
|
619
|
-
settings?: InitSettings$
|
|
658
|
+
settings?: InitSettings$2<T>;
|
|
620
659
|
data?: Value | Values;
|
|
621
|
-
env?: Env$
|
|
660
|
+
env?: Env$2<T>;
|
|
622
661
|
id?: string;
|
|
623
662
|
init?: boolean;
|
|
624
663
|
loadScript?: boolean;
|
|
625
|
-
logger?: Config$
|
|
664
|
+
logger?: Config$4;
|
|
626
665
|
mapping?: Rules<Rule<Mapping$1<T>>>;
|
|
627
666
|
policy?: Policy$1;
|
|
628
667
|
queue?: boolean;
|
|
629
668
|
}
|
|
630
|
-
type PartialConfig$1<T extends TypesGeneric$
|
|
669
|
+
type PartialConfig$1<T extends TypesGeneric$2 = Types$3> = Config$6<Types$3<Partial<Settings$2<T>> | Settings$2<T>, Partial<Mapping$1<T>> | Mapping$1<T>, Env$2<T>>>;
|
|
631
670
|
interface Policy$1 {
|
|
632
671
|
[key: string]: Value;
|
|
633
672
|
}
|
|
634
|
-
type Code<T extends TypesGeneric$
|
|
635
|
-
type Init$
|
|
673
|
+
type Code<T extends TypesGeneric$2 = Types$3> = Instance$3<T> | true;
|
|
674
|
+
type Init$2<T extends TypesGeneric$2 = Types$3> = {
|
|
636
675
|
code: Code<T>;
|
|
637
|
-
config?: Partial<Config$
|
|
638
|
-
env?: Partial<Env$
|
|
676
|
+
config?: Partial<Config$6<T>>;
|
|
677
|
+
env?: Partial<Env$2<T>>;
|
|
639
678
|
};
|
|
640
679
|
interface InitDestinations {
|
|
641
|
-
[key: string]: Init$
|
|
680
|
+
[key: string]: Init$2<any>;
|
|
642
681
|
}
|
|
643
682
|
interface Destinations {
|
|
644
|
-
[key: string]: Instance$
|
|
645
|
-
}
|
|
646
|
-
interface Context$2<T extends TypesGeneric$1 = Types$2> {
|
|
647
|
-
collector: Instance$3;
|
|
648
|
-
config: Config$5<T>;
|
|
649
|
-
data?: Data$1;
|
|
650
|
-
env: Env$1<T>;
|
|
651
|
-
logger: Instance$1;
|
|
683
|
+
[key: string]: Instance$3;
|
|
652
684
|
}
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
685
|
+
/**
|
|
686
|
+
* Context provided to destination functions.
|
|
687
|
+
* Extends base context with destination-specific properties.
|
|
688
|
+
*/
|
|
689
|
+
interface Context$4<T extends TypesGeneric$2 = Types$3> extends Base<Config$6<T>, Env$2<T>> {
|
|
690
|
+
id: string;
|
|
656
691
|
data?: Data$1;
|
|
657
|
-
env: Env$1<T>;
|
|
658
|
-
logger: Instance$1;
|
|
659
692
|
}
|
|
660
|
-
interface PushContext<T extends TypesGeneric$
|
|
661
|
-
|
|
693
|
+
interface PushContext<T extends TypesGeneric$2 = Types$3> extends Context$4<T> {
|
|
694
|
+
ingest?: unknown;
|
|
695
|
+
rule?: Rule<Mapping$1<T>>;
|
|
662
696
|
}
|
|
663
|
-
interface PushBatchContext<T extends TypesGeneric$
|
|
664
|
-
|
|
697
|
+
interface PushBatchContext<T extends TypesGeneric$2 = Types$3> extends Context$4<T> {
|
|
698
|
+
ingest?: unknown;
|
|
699
|
+
rule?: Rule<Mapping$1<T>>;
|
|
665
700
|
}
|
|
666
|
-
type InitFn<T extends TypesGeneric$
|
|
667
|
-
type PushFn<T extends TypesGeneric$
|
|
668
|
-
type PushBatchFn<T extends TypesGeneric$
|
|
701
|
+
type InitFn$1<T extends TypesGeneric$2 = Types$3> = (context: Context$4<T>) => PromiseOrValue<void | false | Config$6<T>>;
|
|
702
|
+
type PushFn<T extends TypesGeneric$2 = Types$3> = (event: Event, context: PushContext<T>) => PromiseOrValue<void | unknown>;
|
|
703
|
+
type PushBatchFn<T extends TypesGeneric$2 = Types$3> = (batch: Batch<Mapping$1<T>>, context: PushBatchContext<T>) => void;
|
|
669
704
|
type PushEvent<Mapping = unknown> = {
|
|
670
705
|
event: Event;
|
|
671
706
|
mapping?: Rule<Mapping>;
|
|
@@ -677,38 +712,39 @@ interface Batch<Mapping> {
|
|
|
677
712
|
data: Array<Data$1>;
|
|
678
713
|
mapping?: Rule<Mapping>;
|
|
679
714
|
}
|
|
715
|
+
interface BatchRegistry<Mapping> {
|
|
716
|
+
[mappingKey: string]: {
|
|
717
|
+
batched: Batch<Mapping>;
|
|
718
|
+
batchFn: () => void;
|
|
719
|
+
};
|
|
720
|
+
}
|
|
680
721
|
type Data$1 = Property | undefined | Array<Property | undefined>;
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
722
|
+
interface Ref {
|
|
723
|
+
type: string;
|
|
724
|
+
data?: unknown;
|
|
725
|
+
error?: unknown;
|
|
726
|
+
}
|
|
685
727
|
type Push$1 = {
|
|
686
728
|
queue?: Events;
|
|
687
729
|
error?: unknown;
|
|
688
730
|
};
|
|
689
731
|
type DLQ = Array<[Event, unknown]>;
|
|
690
|
-
type Result$1 = {
|
|
691
|
-
successful: Array<Ref>;
|
|
692
|
-
queued: Array<Ref>;
|
|
693
|
-
failed: Array<Ref>;
|
|
694
|
-
};
|
|
695
732
|
|
|
696
733
|
type destination_Batch<Mapping> = Batch<Mapping>;
|
|
697
|
-
type
|
|
734
|
+
type destination_BatchRegistry<Mapping> = BatchRegistry<Mapping>;
|
|
735
|
+
type destination_Code<T extends TypesGeneric$2 = Types$3> = Code<T>;
|
|
698
736
|
type destination_DLQ = DLQ;
|
|
699
737
|
type destination_Destinations = Destinations;
|
|
700
|
-
type destination_InitContext<T extends TypesGeneric$1 = Types$2> = InitContext<T>;
|
|
701
738
|
type destination_InitDestinations = InitDestinations;
|
|
702
|
-
type
|
|
703
|
-
type
|
|
704
|
-
type
|
|
705
|
-
type destination_PushContext<T extends TypesGeneric$1 = Types$2> = PushContext<T>;
|
|
739
|
+
type destination_PushBatchContext<T extends TypesGeneric$2 = Types$3> = PushBatchContext<T>;
|
|
740
|
+
type destination_PushBatchFn<T extends TypesGeneric$2 = Types$3> = PushBatchFn<T>;
|
|
741
|
+
type destination_PushContext<T extends TypesGeneric$2 = Types$3> = PushContext<T>;
|
|
706
742
|
type destination_PushEvent<Mapping = unknown> = PushEvent<Mapping>;
|
|
707
743
|
type destination_PushEvents<Mapping = unknown> = PushEvents<Mapping>;
|
|
708
|
-
type destination_PushFn<T extends TypesGeneric$
|
|
744
|
+
type destination_PushFn<T extends TypesGeneric$2 = Types$3> = PushFn<T>;
|
|
709
745
|
type destination_Ref = Ref;
|
|
710
746
|
declare namespace destination {
|
|
711
|
-
export type { BaseEnv$
|
|
747
|
+
export type { BaseEnv$2 as BaseEnv, destination_Batch as Batch, destination_BatchRegistry as BatchRegistry, destination_Code as Code, Config$6 as Config, Context$4 as Context, destination_DLQ as DLQ, Data$1 as Data, destination_Destinations as Destinations, Env$2 as Env, Init$2 as Init, destination_InitDestinations as InitDestinations, InitFn$1 as InitFn, InitSettings$2 as InitSettings, Instance$3 as Instance, Mapping$1 as Mapping, PartialConfig$1 as PartialConfig, Policy$1 as Policy, Push$1 as Push, destination_PushBatchContext as PushBatchContext, destination_PushBatchFn as PushBatchFn, destination_PushContext as PushContext, destination_PushEvent as PushEvent, destination_PushEvents as PushEvents, destination_PushFn as PushFn, destination_Ref as Ref, Settings$2 as Settings, Types$3 as Types, TypesGeneric$2 as TypesGeneric, TypesOf$2 as TypesOf };
|
|
712
748
|
}
|
|
713
749
|
|
|
714
750
|
interface EventFn<R = Promise<PushResult>> {
|
|
@@ -716,14 +752,14 @@ interface EventFn<R = Promise<PushResult>> {
|
|
|
716
752
|
(event: string): R;
|
|
717
753
|
(event: string, data: Properties): R;
|
|
718
754
|
}
|
|
719
|
-
interface Fn$
|
|
755
|
+
interface Fn$2<R = Promise<PushResult>, Config = unknown> extends EventFn<R>, WalkerCommands<R, Config> {
|
|
720
756
|
}
|
|
721
757
|
interface WalkerCommands<R = Promise<PushResult>, Config = unknown> {
|
|
722
758
|
(event: 'walker config', config: Partial<Config>): R;
|
|
723
759
|
(event: 'walker consent', consent: Consent): R;
|
|
724
|
-
<T extends Types$
|
|
760
|
+
<T extends Types$3>(event: 'walker destination', destination: Init$2<T> | Instance$3<T>, config?: Config$6<T>): R;
|
|
725
761
|
<K extends keyof Functions>(event: 'walker hook', name: K, hookFn: Functions[K]): R;
|
|
726
|
-
(event: 'walker on', type: Types$
|
|
762
|
+
(event: 'walker on', type: Types$2, rules: SingleOrArray<Options>): R;
|
|
727
763
|
(event: 'walker user', user: User): R;
|
|
728
764
|
(event: 'walker run', runState: {
|
|
729
765
|
consent?: Consent;
|
|
@@ -734,9 +770,12 @@ interface WalkerCommands<R = Promise<PushResult>, Config = unknown> {
|
|
|
734
770
|
}
|
|
735
771
|
type Event$1<R = Promise<PushResult>> = (partialEvent: DeepPartialEvent) => R;
|
|
736
772
|
type PushData<Config = unknown> = DeepPartial<Config> | Consent | User | Properties;
|
|
737
|
-
interface PushResult
|
|
738
|
-
event?: Event;
|
|
773
|
+
interface PushResult {
|
|
739
774
|
ok: boolean;
|
|
775
|
+
event?: Event;
|
|
776
|
+
done?: Record<string, Ref>;
|
|
777
|
+
queued?: Record<string, Ref>;
|
|
778
|
+
failed?: Record<string, Ref>;
|
|
740
779
|
}
|
|
741
780
|
type Layer = Array<IArguments | DeepPartialEvent | unknown[]>;
|
|
742
781
|
|
|
@@ -746,7 +785,7 @@ type elb_PushData<Config = unknown> = PushData<Config>;
|
|
|
746
785
|
type elb_PushResult = PushResult;
|
|
747
786
|
type elb_WalkerCommands<R = Promise<PushResult>, Config = unknown> = WalkerCommands<R, Config>;
|
|
748
787
|
declare namespace elb {
|
|
749
|
-
export type { Event$1 as Event, elb_EventFn as EventFn, Fn$
|
|
788
|
+
export type { Event$1 as Event, elb_EventFn as EventFn, Fn$2 as Fn, elb_Layer as Layer, elb_PushData as PushData, elb_PushResult as PushResult, elb_WalkerCommands as WalkerCommands };
|
|
750
789
|
}
|
|
751
790
|
|
|
752
791
|
/**
|
|
@@ -877,7 +916,7 @@ interface Setup {
|
|
|
877
916
|
* Named flow configurations.
|
|
878
917
|
* If only one flow exists, it's auto-selected.
|
|
879
918
|
*/
|
|
880
|
-
flows: Record<string, Config$
|
|
919
|
+
flows: Record<string, Config$5>;
|
|
881
920
|
}
|
|
882
921
|
/**
|
|
883
922
|
* Single flow configuration.
|
|
@@ -889,7 +928,7 @@ interface Setup {
|
|
|
889
928
|
*
|
|
890
929
|
* Variables/definitions cascade: source/destination > config > setup
|
|
891
930
|
*/
|
|
892
|
-
interface Config$
|
|
931
|
+
interface Config$5 {
|
|
893
932
|
/**
|
|
894
933
|
* Web platform configuration.
|
|
895
934
|
* Presence indicates web platform (browser-based tracking).
|
|
@@ -963,6 +1002,34 @@ interface Config$4 {
|
|
|
963
1002
|
* \`\`\`
|
|
964
1003
|
*/
|
|
965
1004
|
destinations?: Record<string, DestinationReference>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Transformer configurations (event transformation).
|
|
1007
|
+
*
|
|
1008
|
+
* @remarks
|
|
1009
|
+
* Transformers transform events in the pipeline:
|
|
1010
|
+
* - Pre-collector: Between sources and collector
|
|
1011
|
+
* - Post-collector: Between collector and destinations
|
|
1012
|
+
*
|
|
1013
|
+
* Key = unique transformer identifier (referenced by source.next or destination.before)
|
|
1014
|
+
* Value = transformer reference with package and config
|
|
1015
|
+
*
|
|
1016
|
+
* @example
|
|
1017
|
+
* \`\`\`json
|
|
1018
|
+
* {
|
|
1019
|
+
* "transformers": {
|
|
1020
|
+
* "enrich": {
|
|
1021
|
+
* "package": "@walkeros/transformer-enricher",
|
|
1022
|
+
* "config": { "apiUrl": "https://api.example.com" },
|
|
1023
|
+
* "next": "validate"
|
|
1024
|
+
* },
|
|
1025
|
+
* "validate": {
|
|
1026
|
+
* "package": "@walkeros/transformer-validator"
|
|
1027
|
+
* }
|
|
1028
|
+
* }
|
|
1029
|
+
* }
|
|
1030
|
+
* \`\`\`
|
|
1031
|
+
*/
|
|
1032
|
+
transformers?: Record<string, TransformerReference>;
|
|
966
1033
|
/**
|
|
967
1034
|
* Collector configuration (event processing).
|
|
968
1035
|
*
|
|
@@ -1095,6 +1162,77 @@ interface SourceReference {
|
|
|
1095
1162
|
* Overrides flow and setup definitions.
|
|
1096
1163
|
*/
|
|
1097
1164
|
definitions?: Definitions;
|
|
1165
|
+
/**
|
|
1166
|
+
* First transformer in post-source chain.
|
|
1167
|
+
*
|
|
1168
|
+
* @remarks
|
|
1169
|
+
* Name of the transformer to execute after this source captures an event.
|
|
1170
|
+
* If omitted, events route directly to the collector.
|
|
1171
|
+
*/
|
|
1172
|
+
next?: string;
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* Transformer reference with inline package syntax.
|
|
1176
|
+
*
|
|
1177
|
+
* @remarks
|
|
1178
|
+
* References a transformer package and provides configuration.
|
|
1179
|
+
* Transformers transform events in the pipeline between sources and destinations.
|
|
1180
|
+
*/
|
|
1181
|
+
interface TransformerReference {
|
|
1182
|
+
/**
|
|
1183
|
+
* Package specifier with optional version.
|
|
1184
|
+
*
|
|
1185
|
+
* @remarks
|
|
1186
|
+
* Same format as SourceReference.package
|
|
1187
|
+
*
|
|
1188
|
+
* @example
|
|
1189
|
+
* "package": "@walkeros/transformer-enricher@1.0.0"
|
|
1190
|
+
*/
|
|
1191
|
+
package: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* Resolved import variable name.
|
|
1194
|
+
*
|
|
1195
|
+
* @remarks
|
|
1196
|
+
* Auto-resolved from packages[package].imports[0] during getFlowConfig().
|
|
1197
|
+
* Can also be provided explicitly for advanced use cases.
|
|
1198
|
+
*/
|
|
1199
|
+
code?: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Transformer-specific configuration.
|
|
1202
|
+
*
|
|
1203
|
+
* @remarks
|
|
1204
|
+
* Structure depends on the transformer package.
|
|
1205
|
+
* Passed to the transformer's initialization function.
|
|
1206
|
+
*/
|
|
1207
|
+
config?: unknown;
|
|
1208
|
+
/**
|
|
1209
|
+
* Transformer environment configuration.
|
|
1210
|
+
*
|
|
1211
|
+
* @remarks
|
|
1212
|
+
* Environment-specific settings for the transformer.
|
|
1213
|
+
* Merged with default transformer environment.
|
|
1214
|
+
*/
|
|
1215
|
+
env?: unknown;
|
|
1216
|
+
/**
|
|
1217
|
+
* Next transformer in chain.
|
|
1218
|
+
*
|
|
1219
|
+
* @remarks
|
|
1220
|
+
* Name of the next transformer to execute after this one.
|
|
1221
|
+
* If omitted:
|
|
1222
|
+
* - Pre-collector: routes to collector
|
|
1223
|
+
* - Post-collector: routes to destination
|
|
1224
|
+
*/
|
|
1225
|
+
next?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* Transformer-level variables (highest priority in cascade).
|
|
1228
|
+
* Overrides flow and setup variables.
|
|
1229
|
+
*/
|
|
1230
|
+
variables?: Variables;
|
|
1231
|
+
/**
|
|
1232
|
+
* Transformer-level definitions (highest priority in cascade).
|
|
1233
|
+
* Overrides flow and setup definitions.
|
|
1234
|
+
*/
|
|
1235
|
+
definitions?: Definitions;
|
|
1098
1236
|
}
|
|
1099
1237
|
/**
|
|
1100
1238
|
* Destination reference with inline package syntax.
|
|
@@ -1173,6 +1311,14 @@ interface DestinationReference {
|
|
|
1173
1311
|
* Overrides flow and setup definitions.
|
|
1174
1312
|
*/
|
|
1175
1313
|
definitions?: Definitions;
|
|
1314
|
+
/**
|
|
1315
|
+
* First transformer in pre-destination chain.
|
|
1316
|
+
*
|
|
1317
|
+
* @remarks
|
|
1318
|
+
* Name of the transformer to execute before sending events to this destination.
|
|
1319
|
+
* If omitted, events are sent directly from the collector.
|
|
1320
|
+
*/
|
|
1321
|
+
before?: string;
|
|
1176
1322
|
}
|
|
1177
1323
|
|
|
1178
1324
|
type flow_Definitions = Definitions;
|
|
@@ -1182,10 +1328,11 @@ type flow_Primitive = Primitive;
|
|
|
1182
1328
|
type flow_Server = Server;
|
|
1183
1329
|
type flow_Setup = Setup;
|
|
1184
1330
|
type flow_SourceReference = SourceReference;
|
|
1331
|
+
type flow_TransformerReference = TransformerReference;
|
|
1185
1332
|
type flow_Variables = Variables;
|
|
1186
1333
|
type flow_Web = Web;
|
|
1187
1334
|
declare namespace flow {
|
|
1188
|
-
export type { Config$
|
|
1335
|
+
export type { Config$5 as Config, flow_Definitions as Definitions, flow_DestinationReference as DestinationReference, flow_Packages as Packages, flow_Primitive as Primitive, flow_Server as Server, flow_Setup as Setup, flow_SourceReference as SourceReference, flow_TransformerReference as TransformerReference, flow_Variables as Variables, flow_Web as Web };
|
|
1189
1336
|
}
|
|
1190
1337
|
|
|
1191
1338
|
type AnyFunction$1<P extends unknown[] = never[], R = unknown> = (...args: P) => R;
|
|
@@ -1252,7 +1399,7 @@ type Handler = (level: Level, message: string, context: LogContext, scope: strin
|
|
|
1252
1399
|
* Logger instance with scoping support
|
|
1253
1400
|
* All logs automatically include trace path from scoping
|
|
1254
1401
|
*/
|
|
1255
|
-
interface Instance$
|
|
1402
|
+
interface Instance$2 {
|
|
1256
1403
|
/**
|
|
1257
1404
|
* Log an error message (always visible unless silenced)
|
|
1258
1405
|
*/
|
|
@@ -1275,12 +1422,12 @@ interface Instance$1 {
|
|
|
1275
1422
|
* @param name - Scope name (e.g., destination type, destination key)
|
|
1276
1423
|
* @returns A new logger instance with the scope applied
|
|
1277
1424
|
*/
|
|
1278
|
-
scope: (name: string) => Instance$
|
|
1425
|
+
scope: (name: string) => Instance$2;
|
|
1279
1426
|
}
|
|
1280
1427
|
/**
|
|
1281
1428
|
* Logger configuration options
|
|
1282
1429
|
*/
|
|
1283
|
-
interface Config$
|
|
1430
|
+
interface Config$4 {
|
|
1284
1431
|
/**
|
|
1285
1432
|
* Minimum log level to display
|
|
1286
1433
|
* @default Level.ERROR
|
|
@@ -1303,7 +1450,7 @@ interface InternalConfig {
|
|
|
1303
1450
|
/**
|
|
1304
1451
|
* Logger factory function type
|
|
1305
1452
|
*/
|
|
1306
|
-
type Factory = (config?: Config$
|
|
1453
|
+
type Factory = (config?: Config$4) => Instance$2;
|
|
1307
1454
|
|
|
1308
1455
|
type logger_DefaultHandler = DefaultHandler;
|
|
1309
1456
|
type logger_ErrorContext = ErrorContext;
|
|
@@ -1316,14 +1463,14 @@ type logger_LogContext = LogContext;
|
|
|
1316
1463
|
type logger_LogFn = LogFn;
|
|
1317
1464
|
type logger_ThrowFn = ThrowFn;
|
|
1318
1465
|
declare namespace logger {
|
|
1319
|
-
export { type Config$
|
|
1466
|
+
export { type Config$4 as Config, type logger_DefaultHandler as DefaultHandler, type logger_ErrorContext as ErrorContext, type logger_Factory as Factory, type logger_Handler as Handler, type Instance$2 as Instance, type logger_InternalConfig as InternalConfig, logger_Level as Level, type logger_LogContext as LogContext, type logger_LogFn as LogFn, type logger_ThrowFn as ThrowFn };
|
|
1320
1467
|
}
|
|
1321
1468
|
|
|
1322
1469
|
/**
|
|
1323
1470
|
* Shared mapping configuration interface.
|
|
1324
1471
|
* Used by both Source.Config and Destination.Config.
|
|
1325
1472
|
*/
|
|
1326
|
-
interface Config$
|
|
1473
|
+
interface Config$3<T = unknown> {
|
|
1327
1474
|
consent?: Consent;
|
|
1328
1475
|
data?: Value | Values;
|
|
1329
1476
|
mapping?: Rules<Rule<T>>;
|
|
@@ -1337,7 +1484,7 @@ interface Rules<T = Rule> {
|
|
|
1337
1484
|
}
|
|
1338
1485
|
interface Rule<Settings = unknown> {
|
|
1339
1486
|
batch?: number;
|
|
1340
|
-
batchFn?: (destination: Instance$
|
|
1487
|
+
batchFn?: (destination: Instance$3, collector: Instance$4) => void;
|
|
1341
1488
|
batched?: Batch<Settings>;
|
|
1342
1489
|
condition?: Condition;
|
|
1343
1490
|
consent?: Consent;
|
|
@@ -1358,7 +1505,7 @@ type ValueType = string | ValueConfig;
|
|
|
1358
1505
|
interface ValueConfig {
|
|
1359
1506
|
condition?: Condition;
|
|
1360
1507
|
consent?: Consent;
|
|
1361
|
-
fn?: Fn;
|
|
1508
|
+
fn?: Fn$1;
|
|
1362
1509
|
key?: string;
|
|
1363
1510
|
loop?: Loop;
|
|
1364
1511
|
map?: Map;
|
|
@@ -1366,22 +1513,21 @@ interface ValueConfig {
|
|
|
1366
1513
|
validate?: Validate;
|
|
1367
1514
|
value?: PropertyType;
|
|
1368
1515
|
}
|
|
1369
|
-
type Condition = (value: DeepPartialEvent | unknown, mapping?: Value, collector?: Instance$
|
|
1370
|
-
type Fn = (value: DeepPartialEvent | unknown, mapping: Value, options: Options$1) => PromiseOrValue<Property | unknown>;
|
|
1516
|
+
type Condition = (value: DeepPartialEvent | unknown, mapping?: Value, collector?: Instance$4) => PromiseOrValue<boolean>;
|
|
1517
|
+
type Fn$1 = (value: DeepPartialEvent | unknown, mapping: Value, options: Options$1) => PromiseOrValue<Property | unknown>;
|
|
1371
1518
|
type Loop = [Value, Value];
|
|
1372
1519
|
type Map = {
|
|
1373
1520
|
[key: string]: Value;
|
|
1374
1521
|
};
|
|
1375
1522
|
interface Options$1 {
|
|
1376
1523
|
consent?: Consent;
|
|
1377
|
-
collector?: Instance$
|
|
1524
|
+
collector?: Instance$4;
|
|
1378
1525
|
props?: unknown;
|
|
1379
1526
|
}
|
|
1380
1527
|
type Validate = (value?: unknown) => PromiseOrValue<boolean>;
|
|
1381
1528
|
|
|
1382
1529
|
type mapping_Condition = Condition;
|
|
1383
1530
|
type mapping_Data = Data;
|
|
1384
|
-
type mapping_Fn = Fn;
|
|
1385
1531
|
type mapping_Loop = Loop;
|
|
1386
1532
|
type mapping_Map = Map;
|
|
1387
1533
|
type mapping_Policy = Policy;
|
|
@@ -1394,25 +1540,25 @@ type mapping_ValueConfig = ValueConfig;
|
|
|
1394
1540
|
type mapping_ValueType = ValueType;
|
|
1395
1541
|
type mapping_Values = Values;
|
|
1396
1542
|
declare namespace mapping {
|
|
1397
|
-
export type { mapping_Condition as Condition, Config$
|
|
1543
|
+
export type { mapping_Condition as Condition, Config$3 as Config, mapping_Data as Data, Fn$1 as Fn, mapping_Loop as Loop, mapping_Map as Map, Options$1 as Options, mapping_Policy as Policy, mapping_Result as Result, mapping_Rule as Rule, mapping_Rules as Rules, mapping_Validate as Validate, mapping_Value as Value, mapping_ValueConfig as ValueConfig, mapping_ValueType as ValueType, mapping_Values as Values };
|
|
1398
1544
|
}
|
|
1399
1545
|
|
|
1400
|
-
type Config$
|
|
1546
|
+
type Config$2 = {
|
|
1401
1547
|
consent?: Array<ConsentConfig>;
|
|
1402
1548
|
ready?: Array<ReadyConfig>;
|
|
1403
1549
|
run?: Array<RunConfig>;
|
|
1404
1550
|
session?: Array<SessionConfig>;
|
|
1405
1551
|
};
|
|
1406
|
-
type Types$
|
|
1552
|
+
type Types$2 = keyof Config$2;
|
|
1407
1553
|
interface EventContextMap {
|
|
1408
1554
|
consent: Consent;
|
|
1409
1555
|
session: SessionData;
|
|
1410
1556
|
ready: undefined;
|
|
1411
1557
|
run: undefined;
|
|
1412
1558
|
}
|
|
1413
|
-
type EventContext<T extends Types$
|
|
1559
|
+
type EventContext<T extends Types$2> = EventContextMap[T];
|
|
1414
1560
|
type AnyEventContext = EventContextMap[keyof EventContextMap];
|
|
1415
|
-
interface Context$
|
|
1561
|
+
interface Context$3 {
|
|
1416
1562
|
consent?: Consent;
|
|
1417
1563
|
session?: unknown;
|
|
1418
1564
|
}
|
|
@@ -1420,13 +1566,13 @@ type Options = ConsentConfig | ReadyConfig | RunConfig | SessionConfig;
|
|
|
1420
1566
|
interface ConsentConfig {
|
|
1421
1567
|
[key: string]: ConsentFn;
|
|
1422
1568
|
}
|
|
1423
|
-
type ConsentFn = (collector: Instance$
|
|
1569
|
+
type ConsentFn = (collector: Instance$4, consent: Consent) => void;
|
|
1424
1570
|
type ReadyConfig = ReadyFn;
|
|
1425
|
-
type ReadyFn = (collector: Instance$
|
|
1571
|
+
type ReadyFn = (collector: Instance$4) => void;
|
|
1426
1572
|
type RunConfig = RunFn;
|
|
1427
|
-
type RunFn = (collector: Instance$
|
|
1573
|
+
type RunFn = (collector: Instance$4) => void;
|
|
1428
1574
|
type SessionConfig = SessionFn;
|
|
1429
|
-
type SessionFn = (collector: Instance$
|
|
1575
|
+
type SessionFn = (collector: Instance$4, session?: unknown) => void;
|
|
1430
1576
|
interface OnConfig {
|
|
1431
1577
|
consent?: ConsentConfig[];
|
|
1432
1578
|
ready?: ReadyConfig[];
|
|
@@ -1434,16 +1580,16 @@ interface OnConfig {
|
|
|
1434
1580
|
session?: SessionConfig[];
|
|
1435
1581
|
[key: string]: ConsentConfig[] | ReadyConfig[] | RunConfig[] | SessionConfig[] | undefined;
|
|
1436
1582
|
}
|
|
1437
|
-
type OnFn<T extends TypesGeneric$
|
|
1438
|
-
type OnFnRuntime = (type: Types$
|
|
1583
|
+
type OnFn<T extends TypesGeneric$2 = Types$3> = (type: Types$2, context: Context$4<T>) => PromiseOrValue<void>;
|
|
1584
|
+
type OnFnRuntime = (type: Types$2, context: Context$4) => PromiseOrValue<void>;
|
|
1439
1585
|
|
|
1440
1586
|
type on_AnyEventContext = AnyEventContext;
|
|
1441
1587
|
type on_ConsentConfig = ConsentConfig;
|
|
1442
1588
|
type on_ConsentFn = ConsentFn;
|
|
1443
|
-
type on_EventContext<T extends Types$
|
|
1589
|
+
type on_EventContext<T extends Types$2> = EventContext<T>;
|
|
1444
1590
|
type on_EventContextMap = EventContextMap;
|
|
1445
1591
|
type on_OnConfig = OnConfig;
|
|
1446
|
-
type on_OnFn<T extends TypesGeneric$
|
|
1592
|
+
type on_OnFn<T extends TypesGeneric$2 = Types$3> = OnFn<T>;
|
|
1447
1593
|
type on_OnFnRuntime = OnFnRuntime;
|
|
1448
1594
|
type on_Options = Options;
|
|
1449
1595
|
type on_ReadyConfig = ReadyConfig;
|
|
@@ -1453,10 +1599,138 @@ type on_RunFn = RunFn;
|
|
|
1453
1599
|
type on_SessionConfig = SessionConfig;
|
|
1454
1600
|
type on_SessionFn = SessionFn;
|
|
1455
1601
|
declare namespace on {
|
|
1456
|
-
export type { on_AnyEventContext as AnyEventContext, Config$
|
|
1602
|
+
export type { on_AnyEventContext as AnyEventContext, Config$2 as Config, on_ConsentConfig as ConsentConfig, on_ConsentFn as ConsentFn, Context$3 as Context, on_EventContext as EventContext, on_EventContextMap as EventContextMap, on_OnConfig as OnConfig, on_OnFn as OnFn, on_OnFnRuntime as OnFnRuntime, on_Options as Options, on_ReadyConfig as ReadyConfig, on_ReadyFn as ReadyFn, on_RunConfig as RunConfig, on_RunFn as RunFn, on_SessionConfig as SessionConfig, on_SessionFn as SessionFn, Types$2 as Types };
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* Base environment interface for walkerOS transformers.
|
|
1607
|
+
*
|
|
1608
|
+
* Minimal like Destination - just an extensible object.
|
|
1609
|
+
* Transformers receive dependencies through context, not env.
|
|
1610
|
+
*/
|
|
1611
|
+
interface BaseEnv$1 {
|
|
1612
|
+
[key: string]: unknown;
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
* Type bundle for transformer generics.
|
|
1616
|
+
* Groups Settings, InitSettings, and Env into a single type parameter.
|
|
1617
|
+
* Follows the Source/Destination pattern.
|
|
1618
|
+
*
|
|
1619
|
+
* @template S - Settings configuration type
|
|
1620
|
+
* @template E - Environment type
|
|
1621
|
+
* @template I - InitSettings configuration type (user input)
|
|
1622
|
+
*/
|
|
1623
|
+
interface Types$1<S = unknown, E = BaseEnv$1, I = S> {
|
|
1624
|
+
settings: S;
|
|
1625
|
+
initSettings: I;
|
|
1626
|
+
env: E;
|
|
1627
|
+
}
|
|
1628
|
+
/**
|
|
1629
|
+
* Generic constraint for Types - ensures T has required properties for indexed access.
|
|
1630
|
+
*/
|
|
1631
|
+
type TypesGeneric$1 = {
|
|
1632
|
+
settings: any;
|
|
1633
|
+
initSettings: any;
|
|
1634
|
+
env: any;
|
|
1635
|
+
};
|
|
1636
|
+
/**
|
|
1637
|
+
* Type extractors for consistent usage with Types bundle.
|
|
1638
|
+
*/
|
|
1639
|
+
type Settings$1<T extends TypesGeneric$1 = Types$1> = T['settings'];
|
|
1640
|
+
type InitSettings$1<T extends TypesGeneric$1 = Types$1> = T['initSettings'];
|
|
1641
|
+
type Env$1<T extends TypesGeneric$1 = Types$1> = T['env'];
|
|
1642
|
+
/**
|
|
1643
|
+
* Inference helper: Extract Types from Instance.
|
|
1644
|
+
*/
|
|
1645
|
+
type TypesOf$1<I> = I extends Instance$1<infer T> ? T : never;
|
|
1646
|
+
/**
|
|
1647
|
+
* Transformer configuration.
|
|
1648
|
+
*/
|
|
1649
|
+
interface Config$1<T extends TypesGeneric$1 = Types$1> {
|
|
1650
|
+
settings?: InitSettings$1<T>;
|
|
1651
|
+
env?: Env$1<T>;
|
|
1652
|
+
id?: string;
|
|
1653
|
+
logger?: Config$4;
|
|
1654
|
+
next?: string;
|
|
1655
|
+
init?: boolean;
|
|
1656
|
+
}
|
|
1657
|
+
/**
|
|
1658
|
+
* Context provided to transformer functions.
|
|
1659
|
+
* Extends base context with transformer-specific properties.
|
|
1660
|
+
*/
|
|
1661
|
+
interface Context$2<T extends TypesGeneric$1 = Types$1> extends Base<Config$1<T>, Env$1<T>> {
|
|
1662
|
+
id: string;
|
|
1663
|
+
ingest?: unknown;
|
|
1664
|
+
}
|
|
1665
|
+
/**
|
|
1666
|
+
* The main transformer function.
|
|
1667
|
+
* Uses DeepPartialEvent for consistency across pre/post collector.
|
|
1668
|
+
*
|
|
1669
|
+
* @param event - The event to process
|
|
1670
|
+
* @param context - Transformer context with collector, config, env, logger
|
|
1671
|
+
* @returns event - continue with modified event
|
|
1672
|
+
* @returns void - continue with current event unchanged (passthrough)
|
|
1673
|
+
* @returns false - stop chain, cancel further processing
|
|
1674
|
+
*/
|
|
1675
|
+
type Fn<T extends TypesGeneric$1 = Types$1> = (event: DeepPartialEvent, context: Context$2<T>) => PromiseOrValue<DeepPartialEvent | false | void>;
|
|
1676
|
+
/**
|
|
1677
|
+
* Optional initialization function.
|
|
1678
|
+
* Called once before first push.
|
|
1679
|
+
*
|
|
1680
|
+
* @param context - Transformer context
|
|
1681
|
+
* @returns void - initialization successful
|
|
1682
|
+
* @returns false - initialization failed, skip this transformer
|
|
1683
|
+
* @returns Config<T> - return updated config
|
|
1684
|
+
*/
|
|
1685
|
+
type InitFn<T extends TypesGeneric$1 = Types$1> = (context: Context$2<T>) => PromiseOrValue<void | false | Config$1<T>>;
|
|
1686
|
+
/**
|
|
1687
|
+
* Transformer instance returned by Init function.
|
|
1688
|
+
*/
|
|
1689
|
+
interface Instance$1<T extends TypesGeneric$1 = Types$1> {
|
|
1690
|
+
type: string;
|
|
1691
|
+
config: Config$1<T>;
|
|
1692
|
+
push: Fn<T>;
|
|
1693
|
+
init?: InitFn<T>;
|
|
1694
|
+
destroy?: () => void | Promise<void>;
|
|
1695
|
+
}
|
|
1696
|
+
/**
|
|
1697
|
+
* Transformer initialization function.
|
|
1698
|
+
* Creates a transformer instance from context.
|
|
1699
|
+
*/
|
|
1700
|
+
type Init$1<T extends TypesGeneric$1 = Types$1> = (context: Context$2<Types$1<Partial<Settings$1<T>>, Env$1<T>, InitSettings$1<T>>>) => Instance$1<T> | Promise<Instance$1<T>>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Configuration for initializing a transformer.
|
|
1703
|
+
* Used in collector registration.
|
|
1704
|
+
*/
|
|
1705
|
+
type InitTransformer<T extends TypesGeneric$1 = Types$1> = {
|
|
1706
|
+
code: Init$1<T>;
|
|
1707
|
+
config?: Partial<Config$1<T>>;
|
|
1708
|
+
env?: Partial<Env$1<T>>;
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
* Transformers configuration for collector.
|
|
1712
|
+
* Maps transformer IDs to their initialization configurations.
|
|
1713
|
+
*/
|
|
1714
|
+
interface InitTransformers {
|
|
1715
|
+
[transformerId: string]: InitTransformer<any>;
|
|
1716
|
+
}
|
|
1717
|
+
/**
|
|
1718
|
+
* Active transformer instances registry.
|
|
1719
|
+
*/
|
|
1720
|
+
interface Transformers {
|
|
1721
|
+
[transformerId: string]: Instance$1;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
type transformer_Fn<T extends TypesGeneric$1 = Types$1> = Fn<T>;
|
|
1725
|
+
type transformer_InitFn<T extends TypesGeneric$1 = Types$1> = InitFn<T>;
|
|
1726
|
+
type transformer_InitTransformer<T extends TypesGeneric$1 = Types$1> = InitTransformer<T>;
|
|
1727
|
+
type transformer_InitTransformers = InitTransformers;
|
|
1728
|
+
type transformer_Transformers = Transformers;
|
|
1729
|
+
declare namespace transformer {
|
|
1730
|
+
export type { BaseEnv$1 as BaseEnv, Config$1 as Config, Context$2 as Context, Env$1 as Env, transformer_Fn as Fn, Init$1 as Init, transformer_InitFn as InitFn, InitSettings$1 as InitSettings, transformer_InitTransformer as InitTransformer, transformer_InitTransformers as InitTransformers, Instance$1 as Instance, Settings$1 as Settings, transformer_Transformers as Transformers, Types$1 as Types, TypesGeneric$1 as TypesGeneric, TypesOf$1 as TypesOf };
|
|
1457
1731
|
}
|
|
1458
1732
|
|
|
1459
|
-
interface Context {
|
|
1733
|
+
interface Context$1 {
|
|
1460
1734
|
city?: string;
|
|
1461
1735
|
country?: string;
|
|
1462
1736
|
encoding?: string;
|
|
@@ -1469,9 +1743,8 @@ interface Context {
|
|
|
1469
1743
|
[key: string]: string | undefined;
|
|
1470
1744
|
}
|
|
1471
1745
|
|
|
1472
|
-
type request_Context = Context;
|
|
1473
1746
|
declare namespace request {
|
|
1474
|
-
export type {
|
|
1747
|
+
export type { Context$1 as Context };
|
|
1475
1748
|
}
|
|
1476
1749
|
|
|
1477
1750
|
type Contracts = Array<Contract>;
|
|
@@ -1513,8 +1786,8 @@ interface BaseEnv {
|
|
|
1513
1786
|
push: PushFn$1;
|
|
1514
1787
|
command: CommandFn;
|
|
1515
1788
|
sources?: Sources;
|
|
1516
|
-
elb: Fn$
|
|
1517
|
-
logger: Instance$
|
|
1789
|
+
elb: Fn$2;
|
|
1790
|
+
logger: Instance$2;
|
|
1518
1791
|
}
|
|
1519
1792
|
/**
|
|
1520
1793
|
* Type bundle for source generics.
|
|
@@ -1526,7 +1799,7 @@ interface BaseEnv {
|
|
|
1526
1799
|
* @template E - Environment dependencies type
|
|
1527
1800
|
* @template I - InitSettings configuration type (user input)
|
|
1528
1801
|
*/
|
|
1529
|
-
interface Types<S = unknown, M = unknown, P = Fn$
|
|
1802
|
+
interface Types<S = unknown, M = unknown, P = Fn$2, E = BaseEnv, I = S> {
|
|
1530
1803
|
settings: S;
|
|
1531
1804
|
initSettings: I;
|
|
1532
1805
|
mapping: M;
|
|
@@ -1555,13 +1828,26 @@ type Env<T extends TypesGeneric = Types> = T['env'];
|
|
|
1555
1828
|
* Inference helper: Extract Types from Instance
|
|
1556
1829
|
*/
|
|
1557
1830
|
type TypesOf<I> = I extends Instance<infer T> ? T : never;
|
|
1558
|
-
interface Config<T extends TypesGeneric = Types> extends Config$
|
|
1831
|
+
interface Config<T extends TypesGeneric = Types> extends Config$3<Mapping<T>> {
|
|
1559
1832
|
settings?: InitSettings<T>;
|
|
1560
1833
|
env?: Env<T>;
|
|
1561
1834
|
id?: string;
|
|
1562
|
-
logger?: Config$
|
|
1835
|
+
logger?: Config$4;
|
|
1563
1836
|
disabled?: boolean;
|
|
1564
1837
|
primary?: boolean;
|
|
1838
|
+
/**
|
|
1839
|
+
* Ingest metadata extraction mapping.
|
|
1840
|
+
* Extracts values from raw request objects (Express req, Lambda event, etc.)
|
|
1841
|
+
* using walkerOS mapping syntax. Extracted data flows to transformers/destinations.
|
|
1842
|
+
*
|
|
1843
|
+
* @example
|
|
1844
|
+
* ingest: {
|
|
1845
|
+
* ip: 'req.ip',
|
|
1846
|
+
* ua: 'req.headers.user-agent',
|
|
1847
|
+
* origin: 'req.headers.origin'
|
|
1848
|
+
* }
|
|
1849
|
+
*/
|
|
1850
|
+
ingest?: Data;
|
|
1565
1851
|
}
|
|
1566
1852
|
type PartialConfig<T extends TypesGeneric = Types> = Config<Types<Partial<Settings<T>> | Settings<T>, Partial<Mapping<T>> | Mapping<T>, Push<T>, Env<T>>>;
|
|
1567
1853
|
interface Instance<T extends TypesGeneric = Types> {
|
|
@@ -1569,14 +1855,30 @@ interface Instance<T extends TypesGeneric = Types> {
|
|
|
1569
1855
|
config: Config<T>;
|
|
1570
1856
|
push: Push<T>;
|
|
1571
1857
|
destroy?(): void | Promise<void>;
|
|
1572
|
-
on?(event: Types$
|
|
1858
|
+
on?(event: Types$2, context?: unknown): void | Promise<void>;
|
|
1573
1859
|
}
|
|
1574
|
-
|
|
1860
|
+
/**
|
|
1861
|
+
* Context provided to source init function.
|
|
1862
|
+
* Extends base context with source-specific properties.
|
|
1863
|
+
*/
|
|
1864
|
+
interface Context<T extends TypesGeneric = Types> extends Base<Partial<Config<T>>, Env<T>> {
|
|
1865
|
+
id: string;
|
|
1866
|
+
/**
|
|
1867
|
+
* Sets ingest metadata for the current request.
|
|
1868
|
+
* Extracts values from the raw request using config.ingest mapping.
|
|
1869
|
+
* The extracted data is passed through to transformers and destinations.
|
|
1870
|
+
*
|
|
1871
|
+
* @param value - Raw request object (Express req, Lambda event, etc.)
|
|
1872
|
+
*/
|
|
1873
|
+
setIngest: (value: unknown) => Promise<void>;
|
|
1874
|
+
}
|
|
1875
|
+
type Init<T extends TypesGeneric = Types> = (context: Context<T>) => Instance<T> | Promise<Instance<T>>;
|
|
1575
1876
|
type InitSource<T extends TypesGeneric = Types> = {
|
|
1576
1877
|
code: Init<T>;
|
|
1577
1878
|
config?: Partial<Config<T>>;
|
|
1578
1879
|
env?: Partial<Env<T>>;
|
|
1579
1880
|
primary?: boolean;
|
|
1881
|
+
next?: string;
|
|
1580
1882
|
};
|
|
1581
1883
|
/**
|
|
1582
1884
|
* Sources configuration for collector.
|
|
@@ -1588,6 +1890,7 @@ interface InitSources {
|
|
|
1588
1890
|
|
|
1589
1891
|
type source_BaseEnv = BaseEnv;
|
|
1590
1892
|
type source_Config<T extends TypesGeneric = Types> = Config<T>;
|
|
1893
|
+
type source_Context<T extends TypesGeneric = Types> = Context<T>;
|
|
1591
1894
|
type source_Env<T extends TypesGeneric = Types> = Env<T>;
|
|
1592
1895
|
type source_Init<T extends TypesGeneric = Types> = Init<T>;
|
|
1593
1896
|
type source_InitSettings<T extends TypesGeneric = Types> = InitSettings<T>;
|
|
@@ -1598,15 +1901,15 @@ type source_Mapping<T extends TypesGeneric = Types> = Mapping<T>;
|
|
|
1598
1901
|
type source_PartialConfig<T extends TypesGeneric = Types> = PartialConfig<T>;
|
|
1599
1902
|
type source_Push<T extends TypesGeneric = Types> = Push<T>;
|
|
1600
1903
|
type source_Settings<T extends TypesGeneric = Types> = Settings<T>;
|
|
1601
|
-
type source_Types<S = unknown, M = unknown, P = Fn$
|
|
1904
|
+
type source_Types<S = unknown, M = unknown, P = Fn$2, E = BaseEnv, I = S> = Types<S, M, P, E, I>;
|
|
1602
1905
|
type source_TypesGeneric = TypesGeneric;
|
|
1603
1906
|
type source_TypesOf<I> = TypesOf<I>;
|
|
1604
1907
|
declare namespace source {
|
|
1605
|
-
export type { source_BaseEnv as BaseEnv, source_Config as Config, source_Env as Env, source_Init as Init, source_InitSettings as InitSettings, source_InitSource as InitSource, source_InitSources as InitSources, source_Instance as Instance, source_Mapping as Mapping, source_PartialConfig as PartialConfig, source_Push as Push, source_Settings as Settings, source_Types as Types, source_TypesGeneric as TypesGeneric, source_TypesOf as TypesOf };
|
|
1908
|
+
export type { source_BaseEnv as BaseEnv, source_Config as Config, source_Context as Context, source_Env as Env, source_Init as Init, source_InitSettings as InitSettings, source_InitSource as InitSource, source_InitSources as InitSources, source_Instance as Instance, source_Mapping as Mapping, source_PartialConfig as PartialConfig, source_Push as Push, source_Settings as Settings, source_Types as Types, source_TypesGeneric as TypesGeneric, source_TypesOf as TypesOf };
|
|
1606
1909
|
}
|
|
1607
1910
|
|
|
1608
1911
|
type AnyObject<T = unknown> = Record<string, T>;
|
|
1609
|
-
type Elb = Fn$
|
|
1912
|
+
type Elb = Fn$2;
|
|
1610
1913
|
type AnyFunction = (...args: unknown[]) => unknown;
|
|
1611
1914
|
type SingleOrArray<T> = T | Array<T>;
|
|
1612
1915
|
type Events = Array<Event>;
|
|
@@ -1786,7 +2089,7 @@ declare function packageNameToVariable(packageName: string): string;
|
|
|
1786
2089
|
* const prodConfig = getFlowConfig(setup, 'production');
|
|
1787
2090
|
* \`\`\`
|
|
1788
2091
|
*/
|
|
1789
|
-
declare function getFlowConfig(setup: Setup, flowName?: string): Config$
|
|
2092
|
+
declare function getFlowConfig(setup: Setup, flowName?: string): Config$5;
|
|
1790
2093
|
/**
|
|
1791
2094
|
* Get platform from config (web or server).
|
|
1792
2095
|
*
|
|
@@ -1802,7 +2105,7 @@ declare function getFlowConfig(setup: Setup, flowName?: string): Config$4;
|
|
|
1802
2105
|
* // Returns "web" or "server"
|
|
1803
2106
|
* \`\`\`
|
|
1804
2107
|
*/
|
|
1805
|
-
declare function getPlatform(config: Config$
|
|
2108
|
+
declare function getPlatform(config: Config$5): 'web' | 'server';
|
|
1806
2109
|
|
|
1807
2110
|
/**
|
|
1808
2111
|
* @interface Assign
|
|
@@ -1898,7 +2201,7 @@ declare function getGrantedConsent(required: Consent | undefined, state?: Consen
|
|
|
1898
2201
|
* }));
|
|
1899
2202
|
* \`\`\`
|
|
1900
2203
|
*/
|
|
1901
|
-
declare function createDestination<I extends Instance$
|
|
2204
|
+
declare function createDestination<I extends Instance$3>(baseDestination: I, config: Partial<Config$6<TypesOf$2<I>>>): I;
|
|
1902
2205
|
|
|
1903
2206
|
/**
|
|
1904
2207
|
* Creates a complete event with default values.
|
|
@@ -2060,7 +2363,7 @@ declare function isString(value: unknown): value is string;
|
|
|
2060
2363
|
* // TODO: Consider compile-time stripping of debug logs in production builds
|
|
2061
2364
|
* // e.g., if (__DEV__) { logger.debug(...) }
|
|
2062
2365
|
*/
|
|
2063
|
-
declare function createLogger(config?: Config$
|
|
2366
|
+
declare function createLogger(config?: Config$4): Instance$2;
|
|
2064
2367
|
|
|
2065
2368
|
/**
|
|
2066
2369
|
* Gets the mapping for an event.
|
|
@@ -2098,7 +2401,7 @@ declare function getMappingValue(value: DeepPartialEvent | unknown | undefined,
|
|
|
2098
2401
|
* @param collector - Collector instance for context
|
|
2099
2402
|
* @returns Object with transformed event, data, mapping rule, and ignore flag
|
|
2100
2403
|
*/
|
|
2101
|
-
declare function processEventMapping<T extends DeepPartialEvent | Event>(event: T, config: Config$
|
|
2404
|
+
declare function processEventMapping<T extends DeepPartialEvent | Event>(event: T, config: Config$3, collector: Instance$4): Promise<{
|
|
2102
2405
|
event: T;
|
|
2103
2406
|
data?: Property;
|
|
2104
2407
|
mapping?: Rule;
|
|
@@ -2177,7 +2480,7 @@ declare function traverseEnv<T extends object>(env: T, replacer: (value: unknown
|
|
|
2177
2480
|
* Includes all logger methods as jest.fn() plus tracking of scoped loggers
|
|
2178
2481
|
* Extends Instance to ensure type compatibility
|
|
2179
2482
|
*/
|
|
2180
|
-
interface MockLogger extends Instance$
|
|
2483
|
+
interface MockLogger extends Instance$2 {
|
|
2181
2484
|
error: jest.Mock;
|
|
2182
2485
|
info: jest.Mock;
|
|
2183
2486
|
debug: jest.Mock;
|
|
@@ -2431,7 +2734,7 @@ declare function wrapCondition(code: string): Condition;
|
|
|
2431
2734
|
* const fn = wrapFn('const parts = value.user.email.split("@"); return parts[1].toUpperCase()');
|
|
2432
2735
|
* \`\`\`
|
|
2433
2736
|
*/
|
|
2434
|
-
declare function wrapFn(code: string): Fn;
|
|
2737
|
+
declare function wrapFn(code: string): Fn$1;
|
|
2435
2738
|
/**
|
|
2436
2739
|
* Wrap inline code string as Validate function.
|
|
2437
2740
|
*
|
|
@@ -2456,7 +2759,7 @@ declare function wrapFn(code: string): Fn;
|
|
|
2456
2759
|
*/
|
|
2457
2760
|
declare function wrapValidate(code: string): Validate;
|
|
2458
2761
|
|
|
2459
|
-
export { collector as Collector, Const, data as Data, destination as Destination, elb as Elb, flow as Flow, hooks as Hooks, Level, logger as Logger, mapping as Mapping, type MarketingParameters, type MockLogger, on as On, request as Request, schema as Schema, type SendDataValue, type SendHeaders, type SendResponse, source as Source, type StorageType, walkeros as WalkerOS, anonymizeIP, assign, castToProperty, castValue, clone, createDestination, createEvent, createLogger, createMockLogger, debounce, filterValues, getBrowser, getBrowserVersion, getByPath, getDeviceType, getEvent, getFlowConfig, getGrantedConsent, getHeaders, getId, getMappingEvent, getMappingValue, getMarketingParameters, getOS, getOSVersion, getPlatform, isArguments, isArray, isBoolean, isCommand, isDefined, isElementOrDocument, isFunction, isNumber, isObject, isPropertyType, isSameType, isString, mockEnv, packageNameToVariable, parseUserAgent, processEventMapping, requestToData, requestToParameter, setByPath, throttle, throwError, transformData, traverseEnv, trim, tryCatch, tryCatchAsync, useHooks, validateEvent, validateProperty, wrapCondition, wrapFn, wrapValidate };
|
|
2762
|
+
export { collector as Collector, Const, context as Context, data as Data, destination as Destination, elb as Elb, flow as Flow, hooks as Hooks, Level, logger as Logger, mapping as Mapping, type MarketingParameters, type MockLogger, on as On, request as Request, schema as Schema, type SendDataValue, type SendHeaders, type SendResponse, source as Source, type StorageType, transformer as Transformer, walkeros as WalkerOS, anonymizeIP, assign, castToProperty, castValue, clone, createDestination, createEvent, createLogger, createMockLogger, debounce, filterValues, getBrowser, getBrowserVersion, getByPath, getDeviceType, getEvent, getFlowConfig, getGrantedConsent, getHeaders, getId, getMappingEvent, getMappingValue, getMarketingParameters, getOS, getOSVersion, getPlatform, isArguments, isArray, isBoolean, isCommand, isDefined, isElementOrDocument, isFunction, isNumber, isObject, isPropertyType, isSameType, isString, mockEnv, packageNameToVariable, parseUserAgent, processEventMapping, requestToData, requestToParameter, setByPath, throttle, throwError, transformData, traverseEnv, trim, tryCatch, tryCatchAsync, useHooks, validateEvent, validateProperty, wrapCondition, wrapFn, wrapValidate };
|
|
2460
2763
|
`;
|
|
2461
2764
|
|
|
2462
2765
|
// src/utils/monaco-types.ts
|
|
@@ -2480,10 +2783,7 @@ function configureMonacoTypeScript(monaco) {
|
|
|
2480
2783
|
monaco.languages.typescript.javascriptDefaults.setDiagnosticsOptions({
|
|
2481
2784
|
noSemanticValidation: false,
|
|
2482
2785
|
noSyntaxValidation: false,
|
|
2483
|
-
diagnosticCodesToIgnore: [
|
|
2484
|
-
1108,
|
|
2485
|
-
1005
|
|
2486
|
-
]
|
|
2786
|
+
diagnosticCodesToIgnore: [1108, 1005]
|
|
2487
2787
|
});
|
|
2488
2788
|
monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
|
|
2489
2789
|
target: monaco.languages.typescript.ScriptTarget.ES2020,
|
|
@@ -2501,14 +2801,8 @@ function addTypeLibrary(monaco, uri, content) {
|
|
|
2501
2801
|
if (typeLibraries.has(uri)) {
|
|
2502
2802
|
return false;
|
|
2503
2803
|
}
|
|
2504
|
-
const jsDisposable = monaco.languages.typescript.javascriptDefaults.addExtraLib(
|
|
2505
|
-
|
|
2506
|
-
uri
|
|
2507
|
-
);
|
|
2508
|
-
const tsDisposable = monaco.languages.typescript.typescriptDefaults.addExtraLib(
|
|
2509
|
-
content,
|
|
2510
|
-
uri
|
|
2511
|
-
);
|
|
2804
|
+
const jsDisposable = monaco.languages.typescript.javascriptDefaults.addExtraLib(content, uri);
|
|
2805
|
+
const tsDisposable = monaco.languages.typescript.typescriptDefaults.addExtraLib(content, uri);
|
|
2512
2806
|
typeLibraries.set(uri, {
|
|
2513
2807
|
uri,
|
|
2514
2808
|
content,
|
|
@@ -2556,10 +2850,7 @@ function stripExternalImports(content) {
|
|
|
2556
2850
|
/^import\s+(?:type\s+)?(?:\{[^}]*\}|\*\s+as\s+\w+|[\w$]+)\s+from\s+['"][^'"]+['"];?\s*$/gms,
|
|
2557
2851
|
""
|
|
2558
2852
|
);
|
|
2559
|
-
cleaned = cleaned.replace(
|
|
2560
|
-
/import\s*\(\s*['"][^'"]+['"]\s*\)/g,
|
|
2561
|
-
"any"
|
|
2562
|
-
);
|
|
2853
|
+
cleaned = cleaned.replace(/import\s*\(\s*['"][^'"]+['"]\s*\)/g, "any");
|
|
2563
2854
|
cleaned = cleaned.replace(/\n{3,}/g, "\n\n");
|
|
2564
2855
|
return cleaned;
|
|
2565
2856
|
}
|
|
@@ -2573,7 +2864,6 @@ async function loadPackageTypes(monaco, options) {
|
|
|
2573
2864
|
try {
|
|
2574
2865
|
const response = await fetch(url);
|
|
2575
2866
|
if (!response.ok) {
|
|
2576
|
-
console.warn(`Failed to load types for ${packageName}@${version}: ${response.status}`);
|
|
2577
2867
|
return false;
|
|
2578
2868
|
}
|
|
2579
2869
|
let content = await response.text();
|
|
@@ -2583,8 +2873,7 @@ ${content}
|
|
|
2583
2873
|
}`;
|
|
2584
2874
|
const success = addTypeLibrary(monaco, uri, moduleContent);
|
|
2585
2875
|
return success;
|
|
2586
|
-
} catch
|
|
2587
|
-
console.error(`Error loading types for ${packageName}:`, error);
|
|
2876
|
+
} catch {
|
|
2588
2877
|
return false;
|
|
2589
2878
|
}
|
|
2590
2879
|
}
|
|
@@ -2647,4 +2936,4 @@ export {
|
|
|
2647
2936
|
getLoadedTypeLibraries,
|
|
2648
2937
|
clearAllTypeLibraries
|
|
2649
2938
|
};
|
|
2650
|
-
//# sourceMappingURL=chunk-
|
|
2939
|
+
//# sourceMappingURL=chunk-VWWAIDNX.mjs.map
|