@mongodb-js/compass-aggregations 9.8.0 → 9.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/src/components/add-stage/add-stage.d.ts +1 -1
- package/dist/src/components/add-stage/add-stage.d.ts.map +1 -1
- package/dist/src/components/add-stage/index.d.ts +1 -1
- package/dist/src/components/add-stage/index.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/feedback-link.d.ts +3 -0
- package/dist/src/components/aggregation-side-panel/feedback-link.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/index.d.ts +12 -0
- package/dist/src/components/aggregation-side-panel/index.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.d.ts +21 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts +5 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts +15 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.d.ts +27 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts +18 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts +18 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.d.ts +44 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.d.ts +29 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.d.ts +41 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts +16 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts +5 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.d.ts +12 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/utils.d.ts +18 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/utils.d.ts.map +1 -0
- package/dist/src/components/aggregations/aggregations.d.ts +2 -2
- package/dist/src/components/aggregations/aggregations.d.ts.map +1 -1
- package/dist/src/components/aggregations/index.d.ts +2 -2
- package/dist/src/components/aggregations/index.d.ts.map +1 -1
- package/dist/src/components/create-view-modal/create-view-modal.d.ts +2 -2
- package/dist/src/components/create-view-modal/create-view-modal.d.ts.map +1 -1
- package/dist/src/components/create-view-modal/index.d.ts +2 -2
- package/dist/src/components/create-view-modal/index.d.ts.map +1 -1
- package/dist/src/components/create-view-plugin.d.ts +3 -3
- package/dist/src/components/create-view-plugin.d.ts.map +1 -1
- package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts +2 -2
- package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts.map +1 -1
- package/dist/src/components/duplicate-view-modal/index.d.ts +2 -2
- package/dist/src/components/duplicate-view-modal/index.d.ts.map +1 -1
- package/dist/src/components/duplicate-view-plugin.d.ts +2 -2
- package/dist/src/components/duplicate-view-plugin.d.ts.map +1 -1
- package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts +6 -2
- package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts.map +1 -1
- package/dist/src/components/focus-mode/focus-mode-stage-editor.d.ts.map +1 -1
- package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts +1 -1
- package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts.map +1 -1
- package/dist/src/components/focus-mode/focus-mode.d.ts +1 -1
- package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
- package/dist/src/components/loading-overlay/index.d.ts +1 -1
- package/dist/src/components/loading-overlay/index.d.ts.map +1 -1
- package/dist/src/components/loading-overlay/loading-overlay.d.ts +1 -1
- package/dist/src/components/loading-overlay/loading-overlay.d.ts.map +1 -1
- package/dist/src/components/modify-source-banner/index.d.ts +1 -1
- package/dist/src/components/modify-source-banner/index.d.ts.map +1 -1
- package/dist/src/components/modify-source-banner/modify-source-banner.d.ts +1 -1
- package/dist/src/components/modify-source-banner/modify-source-banner.d.ts.map +1 -1
- package/dist/src/components/pipeline/index.d.ts +1 -1
- package/dist/src/components/pipeline/index.d.ts.map +1 -1
- package/dist/src/components/pipeline/pipeline.d.ts +2 -2
- package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-input-documents.d.ts +1 -1
- package/dist/src/components/pipeline-builder-input-documents.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/index.d.ts +11 -2
- package/dist/src/components/pipeline-builder-workspace/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.d.ts +8 -0
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.d.ts.map +1 -0
- package/dist/src/components/pipeline-builder-workspace/{pipeline-builder-ui-workspace.d.ts → pipeline-builder-ui-workspace/index.d.ts} +6 -3
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -0
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts +15 -0
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts.map +1 -0
- package/dist/src/components/pipeline-output-options-menu.d.ts +1 -1
- package/dist/src/components/pipeline-output-options-menu.d.ts.map +1 -1
- package/dist/src/components/pipeline-results-workspace/index.d.ts +1 -1
- package/dist/src/components/pipeline-results-workspace/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts +1 -1
- package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts.map +1 -1
- package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts +1 -1
- package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts.map +1 -1
- package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts +1 -1
- package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts.map +1 -1
- package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts +1 -1
- package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/index.d.ts +1 -1
- package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts +3 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-name.d.ts +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-name.d.ts.map +1 -1
- package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts +1 -1
- package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts.map +1 -1
- package/dist/src/components/saved-pipelines/saved-pipelines.d.ts +1 -1
- package/dist/src/components/saved-pipelines/saved-pipelines.d.ts.map +1 -1
- package/dist/src/components/saving-pipeline-modal/index.d.ts +1 -1
- package/dist/src/components/saving-pipeline-modal/index.d.ts.map +1 -1
- package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts +2 -2
- package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -1
- package/dist/src/components/settings/settings.d.ts +1 -1
- package/dist/src/components/settings/settings.d.ts.map +1 -1
- package/dist/src/components/stage-editor/index.d.ts +1 -1
- package/dist/src/components/stage-editor/index.d.ts.map +1 -1
- package/dist/src/components/stage-editor/stage-editor.d.ts +10 -7
- package/dist/src/components/stage-editor/stage-editor.d.ts.map +1 -1
- package/dist/src/components/stage-preview/index.d.ts +1 -1
- package/dist/src/components/stage-preview/index.d.ts.map +1 -1
- package/dist/src/components/stage-preview/output-stage-preview.d.ts +1 -1
- package/dist/src/components/stage-preview/output-stage-preview.d.ts.map +1 -1
- package/dist/src/components/stage-preview/stage-preview-header.d.ts +1 -1
- package/dist/src/components/stage-preview/stage-preview-header.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/index.d.ts +6 -8
- package/dist/src/components/stage-toolbar/index.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/option-menu.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/stage-collapser.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/stage-operator-select.d.ts +15 -21
- package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/toggle-stage.d.ts.map +1 -1
- package/dist/src/components/stage-wizard/index.d.ts +24 -0
- package/dist/src/components/stage-wizard/index.d.ts.map +1 -0
- package/dist/src/components/stage.d.ts +6 -3
- package/dist/src/components/stage.d.ts.map +1 -1
- package/dist/src/components/use-case-droppable-area/index.d.ts +11 -0
- package/dist/src/components/use-case-droppable-area/index.d.ts.map +1 -0
- package/dist/src/components/use-guide-cue.d.ts +15 -0
- package/dist/src/components/use-guide-cue.d.ts.map +1 -0
- package/dist/src/modules/aggregation.d.ts +10 -10
- package/dist/src/modules/aggregation.d.ts.map +1 -1
- package/dist/src/modules/auto-preview.d.ts +1 -1
- package/dist/src/modules/auto-preview.d.ts.map +1 -1
- package/dist/src/modules/collation-string.d.ts +2 -2
- package/dist/src/modules/collation-string.d.ts.map +1 -1
- package/dist/src/modules/collections-fields.d.ts +41 -0
- package/dist/src/modules/collections-fields.d.ts.map +1 -0
- package/dist/src/modules/count-documents.d.ts +5 -5
- package/dist/src/modules/count-documents.d.ts.map +1 -1
- package/dist/src/modules/create-view/index.d.ts +7 -7
- package/dist/src/modules/create-view/index.d.ts.map +1 -1
- package/dist/src/modules/data-service.d.ts +1 -1
- package/dist/src/modules/data-service.d.ts.map +1 -1
- package/dist/src/modules/explain.d.ts +1 -55
- package/dist/src/modules/explain.d.ts.map +1 -1
- package/dist/src/modules/focus-mode.d.ts +3 -3
- package/dist/src/modules/focus-mode.d.ts.map +1 -1
- package/dist/src/modules/index.d.ts +10 -6
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/modules/input-documents.d.ts +4 -4
- package/dist/src/modules/input-documents.d.ts.map +1 -1
- package/dist/src/modules/is-datalake.d.ts +1 -1
- package/dist/src/modules/is-datalake.d.ts.map +1 -1
- package/dist/src/modules/max-time-ms.d.ts +1 -1
- package/dist/src/modules/max-time-ms.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +1 -1
- package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts +3 -3
- package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts +2 -2
- package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts +2 -1
- package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts +3 -1
- package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/stage-editor.d.ts +91 -34
- package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/stage-ids.d.ts +2 -0
- package/dist/src/modules/pipeline-builder/stage-ids.d.ts.map +1 -0
- package/dist/src/modules/pipeline-builder/stage.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +1 -1
- package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts +6 -6
- package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -1
- package/dist/src/modules/saved-pipeline.d.ts +1 -1
- package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
- package/dist/src/modules/settings.d.ts +1 -1
- package/dist/src/modules/settings.d.ts.map +1 -1
- package/dist/src/modules/side-panel.d.ts +15 -0
- package/dist/src/modules/side-panel.d.ts.map +1 -0
- package/dist/src/modules/update-view.d.ts.map +1 -1
- package/dist/src/modules/workspace.d.ts +4 -4
- package/dist/src/modules/workspace.d.ts.map +1 -1
- package/dist/src/plugin.d.ts +3 -3
- package/dist/src/plugin.d.ts.map +1 -1
- package/dist/src/stores/store.d.ts +9 -3
- package/dist/src/stores/store.d.ts.map +1 -1
- package/dist/src/utils/get-schema.d.ts +9 -0
- package/dist/src/utils/get-schema.d.ts.map +1 -0
- package/dist/src/utils/local-storage.d.ts +2 -2
- package/dist/src/utils/local-storage.d.ts.map +1 -1
- package/dist/src/utils/pipeline-storage.d.ts +1 -1
- package/dist/src/utils/pipeline-storage.d.ts.map +1 -1
- package/dist/src/utils/stage.d.ts +1 -1
- package/dist/src/utils/stage.d.ts.map +1 -1
- package/package.json +38 -40
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace.d.ts.map +0 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-workspace.d.ts +0 -12
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-workspace.d.ts.map +0 -1
- package/dist/src/components/pipeline-explain/explain-indexes.d.ts +0 -8
- package/dist/src/components/pipeline-explain/explain-indexes.d.ts.map +0 -1
- package/dist/src/components/pipeline-explain/explain-query-performance.d.ts +0 -10
- package/dist/src/components/pipeline-explain/explain-query-performance.d.ts.map +0 -1
- package/dist/src/components/pipeline-explain/explain-results.d.ts +0 -9
- package/dist/src/components/pipeline-explain/explain-results.d.ts.map +0 -1
- package/dist/src/components/pipeline-explain/index.d.ts +0 -17
- package/dist/src/components/pipeline-explain/index.d.ts.map +0 -1
- package/dist/src/modules/indexes.d.ts +0 -22
- package/dist/src/modules/indexes.d.ts.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-editor/stage-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"stage-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-editor/stage-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAKhD,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAiBxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AA6ChG,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC7D,WAAW,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACxC,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,SAAS,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,WAAW,qKAarB,gBAAgB,gBAmGlB,CAAC;;;WAGsC,MAAM;;;;;AAD9C,wBAoBe"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AA2FxD,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,8BAA8B,EAAE,OAAO,CAAC;IACxC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IACjC,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AAsEF,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,eAmBpD;;WAE4D,MAAM;;;;AAAnE,wBAsBiB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"output-stage-preview.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/output-stage-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"output-stage-preview.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/output-stage-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiD1B,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,6BAA6B,EAAE,OAAO,CAAC;IACvC,eAAe,EAAE,OAAO,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,mBAAmB,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAyBF,eAAO,MAAM,WAAW,0JASrB,gBAAgB,uBAkDlB,CAAC;;;;;;AAmCF,wBAA2D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage-preview-header.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/stage-preview-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"stage-preview-header.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/stage-preview-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2C1B,KAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,iBAAS,kBAAkB,CAAC,EAC1B,aAAa,EACb,WAAW,EACX,WAAW,EACX,IAAI,EACJ,WAAW,GACZ,EAAE,uBAAuB,sBA2BzB;;WAE4D,MAAM;;;;AAAnE,wBAcuB"}
|
@@ -1,21 +1,19 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
|
3
|
-
declare type StageToolbarProps = {
|
2
|
+
type StageToolbarProps = {
|
4
3
|
index: number;
|
4
|
+
idxInPipeline: number;
|
5
5
|
isAutoPreviewing?: boolean;
|
6
6
|
hasSyntaxError?: boolean;
|
7
7
|
hasServerError?: boolean;
|
8
8
|
isCollapsed?: boolean;
|
9
9
|
isDisabled?: boolean;
|
10
|
-
|
11
|
-
|
12
|
-
editorRef: React.RefObject<AceEditor | undefined>;
|
10
|
+
onOpenFocusMode: (index: number) => void;
|
11
|
+
onStageOperatorChange?: (index: number, name: string | null, snippet?: string) => void;
|
13
12
|
};
|
14
|
-
export declare function StageToolbar({ index, hasSyntaxError, hasServerError, isCollapsed, isDisabled, onOpenFocusMode,
|
13
|
+
export declare function StageToolbar({ index, idxInPipeline, hasSyntaxError, hasServerError, isCollapsed, isDisabled, onOpenFocusMode, onStageOperatorChange, }: StageToolbarProps): JSX.Element;
|
15
14
|
declare const _default: import("react-redux").ConnectedComponent<typeof StageToolbar, {
|
16
15
|
index: number;
|
17
|
-
|
18
|
-
onFocusModeClicked: () => void;
|
16
|
+
onStageOperatorChange?: ((index: number, name: string | null, snippet?: string | undefined) => void) | undefined;
|
19
17
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
20
18
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
21
19
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqF1B,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,qBAAqB,CAAC,EAAE,CACtB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,OAAO,CAAC,EAAE,MAAM,KACb,IAAI,CAAC;CACX,CAAC;AAMF,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,cAAc,EACd,cAAc,EACd,WAAW,EACX,UAAU,EACV,eAAe,EACf,qBAAqB,GACtB,EAAE,iBAAiB,eAuCnB;;;;;;;AAID,wBAoBgB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"option-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/option-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"option-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/option-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAwBxC,eAAO,MAAM,UAAU;WAKd,MAAM;6BACY,MAAM,KAAK,IAAI;gCACZ,MAAM,KAAK,IAAI;iBAoE5C,CAAC;;;;;;WAGsC,MAAM;;;;AAD9C,wBAac"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage-collapser.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/stage-collapser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;
|
1
|
+
{"version":3,"file":"stage-collapser.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/stage-collapser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;WA6Bc,MAAM;;;;AAD9C,wBAUkB"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
|
3
|
-
|
4
|
-
onChange: (index: number, name: string | null) => void;
|
2
|
+
type StageOperatorSelectProps = {
|
3
|
+
onChange: (index: number, name: string | null, snippet?: string) => void;
|
5
4
|
index: number;
|
6
5
|
selectedStage: string | null;
|
7
6
|
isDisabled: boolean;
|
@@ -12,27 +11,22 @@ declare type StageOperatorSelectProps = {
|
|
12
11
|
}[];
|
13
12
|
};
|
14
13
|
export declare const StageOperatorSelect: ({ onChange, index, selectedStage, isDisabled, stages, }: StageOperatorSelectProps) => JSX.Element;
|
15
|
-
declare
|
16
|
-
envInfo: {
|
17
|
-
serverVersion: string;
|
18
|
-
env: string;
|
19
|
-
isTimeSeries: boolean;
|
20
|
-
sourceName: string;
|
21
|
-
};
|
22
|
-
stage: {
|
23
|
-
stageOperator: string | null;
|
24
|
-
disabled: boolean;
|
25
|
-
};
|
26
|
-
onChange: (index: number, name: string) => void;
|
14
|
+
declare const _default: (props: Omit<{
|
27
15
|
index: number;
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
16
|
+
readOnly: boolean;
|
17
|
+
onChange?: ((index: number, name: string | null, snippet?: string) => void) | undefined;
|
18
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
19
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
20
|
+
} & {
|
21
|
+
children?: React.ReactNode;
|
22
|
+
}, "readOnly"> & Partial<Pick<{
|
32
23
|
index: number;
|
33
|
-
|
24
|
+
readOnly: boolean;
|
25
|
+
onChange?: ((index: number, name: string | null, snippet?: string) => void) | undefined;
|
34
26
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
35
27
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
36
|
-
}
|
28
|
+
} & {
|
29
|
+
children?: React.ReactNode;
|
30
|
+
}, "readOnly">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>;
|
37
31
|
export default _default;
|
38
32
|
//# sourceMappingURL=stage-operator-select.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage-operator-select.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/stage-operator-select.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"stage-operator-select.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/stage-operator-select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAoC3C,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE,MAAM,CAAC;KACrB,EAAE,CAAC;CACL,CAAC;AAGF,eAAO,MAAM,mBAAmB,4DAM7B,wBAAwB,gBAkC1B,CAAC;;WAOa,MAAM;cACH,OAAO;wBAER,MAAM,QACP,MAAM,GAAG,IAAI,YACT,MAAM,KACb,IAAI;;;;;;WANF,MAAM;cACH,OAAO;wBAER,MAAM,QACP,MAAM,GAAG,IAAI,YACT,MAAM,KACb,IAAI;;;;;;AAXjB,wBA0CE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toggle-stage.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/toggle-stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;
|
1
|
+
{"version":3,"file":"toggle-stage.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/toggle-stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;WAgCc,MAAM;;;;AAD9C,wBAUe"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { WizardComponentProps } from '../aggregation-side-panel/stage-wizard-use-cases';
|
3
|
+
import type { SortableProps } from '../pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list';
|
4
|
+
type StageWizardProps = SortableProps & {
|
5
|
+
index: number;
|
6
|
+
useCaseId: string;
|
7
|
+
value: string | null;
|
8
|
+
syntaxError: SyntaxError | null;
|
9
|
+
fields: WizardComponentProps['fields'];
|
10
|
+
onChange: (value: string) => void;
|
11
|
+
onCancel: () => void;
|
12
|
+
onApply: () => void;
|
13
|
+
};
|
14
|
+
export declare const StageWizard: ({ index, useCaseId, value, syntaxError, fields, onChange, onCancel, onApply, ...sortableProps }: StageWizardProps) => JSX.Element | null;
|
15
|
+
declare const _default: import("react-redux").ConnectedComponent<({ index, useCaseId, value, syntaxError, fields, onChange, onCancel, onApply, ...sortableProps }: StageWizardProps) => JSX.Element | null, {
|
16
|
+
style: React.CSSProperties;
|
17
|
+
index: number;
|
18
|
+
setNodeRef: (node: HTMLElement | null) => void;
|
19
|
+
listeners: import("@dnd-kit/core/dist/hooks/utilities").SyntheticListenerMap | undefined;
|
20
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
21
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
22
|
+
}>;
|
23
|
+
export default _default;
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-wizard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAU9D,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAM,kDAAkD,CAAC;AAe1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2EAA2E,CAAC;AA0C/G,KAAK,gBAAgB,GAAG,aAAa,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,MAAM,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,WAAW,oGAUrB,gBAAgB,uBAyElB,CAAC;;;;;;;;;AAMF,wBAyDe"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
|
3
|
-
|
2
|
+
import type { SortableProps } from './pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list';
|
3
|
+
export type StageProps = SortableProps & {
|
4
4
|
index: number;
|
5
5
|
isEnabled: boolean;
|
6
6
|
isExpanded: boolean;
|
@@ -8,9 +8,12 @@ export declare type StageProps = {
|
|
8
8
|
hasServerError: boolean;
|
9
9
|
isAutoPreviewing: boolean;
|
10
10
|
};
|
11
|
-
declare function Stage({
|
11
|
+
declare function Stage({ index, isEnabled, isExpanded, hasSyntaxError, hasServerError, isAutoPreviewing, ...sortableProps }: StageProps): JSX.Element;
|
12
12
|
declare const _default: import("react-redux").ConnectedComponent<typeof Stage, {
|
13
|
+
style: React.CSSProperties;
|
13
14
|
index: number;
|
15
|
+
setNodeRef: (node: HTMLElement | null) => void;
|
16
|
+
listeners: import("@dnd-kit/core/dist/hooks/utilities").SyntheticListenerMap | undefined;
|
14
17
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
15
18
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
16
19
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/components/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/components/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAsBnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0EAA0E,CAAC;AAsG9G,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,iBAAS,KAAK,CAAC,EACb,KAAK,EACL,SAAS,EACT,UAAU,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,GAAG,aAAa,EACjB,EAAE,UAAU,eA2DZ;;;;;;;;;AAMD,wBAYU"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
type UseCaseDroppableAreaProps = {
|
3
|
+
index: number;
|
4
|
+
children?: React.ReactNode;
|
5
|
+
};
|
6
|
+
export declare const isValidDroppableId: (id: string) => boolean;
|
7
|
+
export declare const droppableIdFromIndex: (index: number) => string;
|
8
|
+
export declare const indexFromDroppableId: (id: string) => number | null;
|
9
|
+
declare const UseCaseDroppableArea: ({ index, children, }: UseCaseDroppableAreaProps) => JSX.Element;
|
10
|
+
export default UseCaseDroppableArea;
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/use-case-droppable-area/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,yBAAyB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAGF,eAAO,MAAM,kBAAkB,OAAQ,MAAM,YAAgC,CAAC;AAC9E,eAAO,MAAM,oBAAoB,UAAW,MAAM,WAAyB,CAAC;AAC5E,eAAO,MAAM,oBAAoB,OAAQ,MAAM,kBAM9C,CAAC;AAoBF,QAAA,MAAM,oBAAoB,yBAGvB,yBAAyB,gBAiB3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const GuideCueStorageKeys: {
|
3
|
+
readonly STAGE_WIZARD: "has_seen_stage_wizard_guide_cue";
|
4
|
+
readonly STAGE_WIZARD_LIST: "has_seen_stage_wizard_list_guide_cue";
|
5
|
+
};
|
6
|
+
type ValueOf<T> = T[keyof T];
|
7
|
+
type GuideCueKeys = ValueOf<typeof GuideCueStorageKeys>;
|
8
|
+
export declare const useGuideCue: <T = HTMLElement>(key: GuideCueKeys) => {
|
9
|
+
cueRefEl: import("react").MutableRefObject<T | null>;
|
10
|
+
cueIntersectingRef: (node?: Element | null | undefined) => void;
|
11
|
+
isCueVisible: boolean;
|
12
|
+
markCueVisited: () => void;
|
13
|
+
};
|
14
|
+
export {};
|
15
|
+
//# sourceMappingURL=use-guide-cue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"use-guide-cue.d.ts","sourceRoot":"","sources":["../../../src/components/use-guide-cue.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,KAAK,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAC7B,KAAK,YAAY,GAAG,OAAO,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAUxD,eAAO,MAAM,WAAW,yBAA0B,YAAY;;;;;CAwB7D,CAAC"}
|
@@ -10,43 +10,43 @@ export declare enum ActionTypes {
|
|
10
10
|
LastPageReached = "compass-aggregations/lastPageReached",
|
11
11
|
ResultViewTypeChanged = "compass-aggregations/resultViewTypeChanged"
|
12
12
|
}
|
13
|
-
|
13
|
+
type PreviousPageData = {
|
14
14
|
page: number;
|
15
15
|
isLast: boolean;
|
16
16
|
documents: Document[];
|
17
17
|
};
|
18
|
-
|
18
|
+
type RunAggregation = {
|
19
19
|
type: ActionTypes.RunAggregation;
|
20
20
|
pipeline: Document[];
|
21
21
|
};
|
22
|
-
|
22
|
+
type AggregationStartedAction = {
|
23
23
|
type: ActionTypes.AggregationStarted;
|
24
24
|
abortController: AbortController;
|
25
25
|
};
|
26
|
-
|
26
|
+
type AggregationFinishedAction = {
|
27
27
|
type: ActionTypes.AggregationFinished;
|
28
28
|
documents: Document[];
|
29
29
|
page: number;
|
30
30
|
isLast: boolean;
|
31
31
|
};
|
32
|
-
|
32
|
+
type AggregationFailedAction = {
|
33
33
|
type: ActionTypes.AggregationFailed;
|
34
34
|
error: string;
|
35
35
|
page: number;
|
36
36
|
};
|
37
|
-
|
37
|
+
type AggregationCancelledAction = {
|
38
38
|
type: ActionTypes.AggregationCancelledByUser;
|
39
39
|
};
|
40
|
-
|
40
|
+
type LastPageReachedAction = {
|
41
41
|
type: ActionTypes.LastPageReached;
|
42
42
|
page: number;
|
43
43
|
};
|
44
|
-
|
44
|
+
type ResultViewTypeChangedAction = {
|
45
45
|
type: ActionTypes.ResultViewTypeChanged;
|
46
46
|
viewType: 'document' | 'json';
|
47
47
|
};
|
48
|
-
export
|
49
|
-
export
|
48
|
+
export type Actions = RunAggregation | AggregationStartedAction | AggregationFinishedAction | AggregationFailedAction | AggregationCancelledAction | LastPageReachedAction | ResultViewTypeChangedAction;
|
49
|
+
export type State = {
|
50
50
|
pipeline: Document[];
|
51
51
|
documents: Document[];
|
52
52
|
page: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"aggregation.d.ts","sourceRoot":"","sources":["../../../src/modules/aggregation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAoB,QAAQ,EAAoB,MAAM,SAAS,CAAC;AAC5E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAiBpD,oBAAY,WAAW;IACrB,cAAc,yCAAyC;IACvD,kBAAkB,4CAA4C;IAC9D,mBAAmB,6CAA6C;IAChE,iBAAiB,2CAA2C;IAC5D,0BAA0B,oDAAoD;IAC9E,eAAe,yCAAyC;IACxD,qBAAqB,+CAA+C;CACrE;AAED,
|
1
|
+
{"version":3,"file":"aggregation.d.ts","sourceRoot":"","sources":["../../../src/modules/aggregation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAoB,QAAQ,EAAoB,MAAM,SAAS,CAAC;AAC5E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAiBpD,oBAAY,WAAW;IACrB,cAAc,yCAAyC;IACvD,kBAAkB,4CAA4C;IAC9D,mBAAmB,6CAA6C;IAChE,iBAAiB,2CAA2C;IAC5D,0BAA0B,oDAAoD;IAC9E,eAAe,yCAAyC;IACxD,qBAAqB,+CAA+C;CACrE;AAED,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,WAAW,CAAC,cAAc,CAAC;IACjC,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,WAAW,CAAC,kBAAkB,CAAC;IACrC,eAAe,EAAE,eAAe,CAAC;CAClC,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAAC;IACtC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,WAAW,CAAC,0BAA0B,CAAC;CAC9C,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,WAAW,CAAC,eAAe,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,IAAI,EAAE,WAAW,CAAC,qBAAqB,CAAC;IACxC,QAAQ,EAAE,UAAU,GAAG,MAAM,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,OAAO,GACf,cAAc,GACd,wBAAwB,GACxB,yBAAyB,GACzB,uBAAuB,GACvB,0BAA0B,GAC1B,qBAAqB,GACrB,2BAA2B,CAAC;AAEhC,MAAM,MAAM,KAAK,GAAG;IAClB,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,eAAe,EAAE,UAAU,GAAG,MAAM,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAQ3B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAqEtC,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,2BAA2B,QAAQ,IAAI,CAAC,CAazE,CAAC;AAEF,eAAO,MAAM,aAAa,QAAO,2BAC/B,QAAQ,IAAI,CAAC,EACb,OAAO,CAWR,CAAC;AAEF,eAAO,MAAM,aAAa,QAAO,2BAC/B,QAAQ,IAAI,CAAC,EACb,OAAO,CAWR,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,2BAClC,QAAQ,IAAI,CAAC,EACb,OAAO,CAQR,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,2BACnC,IAAI,EACJ,OAAO,CAcR,CAAC;AAqGF,eAAO,MAAM,wBAAwB,QAC/B,2BAA2B,IAAI,CA6BlC,CAAC;AAEJ,eAAO,MAAM,cAAc,gBAAiB,UAAU,GAAG,MAAM;;;CAK9D,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -3,7 +3,7 @@ import type { PipelineBuilderThunkAction } from '.';
|
|
3
3
|
export declare enum ActionTypes {
|
4
4
|
AutoPreviewToggled = "compass-aggregations/autoPreviewToggled"
|
5
5
|
}
|
6
|
-
export
|
6
|
+
export type AutoPreviewToggledAction = {
|
7
7
|
type: ActionTypes.AutoPreviewToggled;
|
8
8
|
value: boolean;
|
9
9
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auto-preview.d.ts","sourceRoot":"","sources":["../../../src/modules/auto-preview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAKpD,oBAAY,WAAW;IACrB,kBAAkB,4CAA4C;CAC/D;AAED,
|
1
|
+
{"version":3,"file":"auto-preview.d.ts","sourceRoot":"","sources":["../../../src/modules/auto-preview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAKpD,oBAAY,WAAW;IACrB,kBAAkB,4CAA4C;CAC/D;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,WAAW,CAAC,kBAAkB,CAAC;IACrC,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,aAAa,OAAO,CAAC;AAElC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,qBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,OAAO,CAWT;AAED,eAAO,MAAM,iBAAiB,WACpB,OAAO,KACd,2BAA2B,IAAI,CAQjC,CAAC"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import type { CollationOptions } from 'mongodb';
|
2
2
|
import type { AnyAction } from 'redux';
|
3
3
|
export declare const COLLATION_STRING_CHANGED = "aggregations/collation/COLLATION_STRING_CHANGED";
|
4
|
-
export
|
4
|
+
export type CollationStringChangedAction = {
|
5
5
|
type: typeof COLLATION_STRING_CHANGED;
|
6
6
|
value: string;
|
7
7
|
};
|
8
|
-
export
|
8
|
+
export type CollationStringState = {
|
9
9
|
text: string;
|
10
10
|
value: CollationOptions | null;
|
11
11
|
isValid: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"collation-string.d.ts","sourceRoot":"","sources":["../../../src/modules/collation-string.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,eAAO,MAAM,wBAAwB,oDACc,CAAC;AAEpD,
|
1
|
+
{"version":3,"file":"collation-string.d.ts","sourceRoot":"","sources":["../../../src/modules/collation-string.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,eAAO,MAAM,wBAAwB,oDACc,CAAC;AAEpD,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,OAAO,wBAAwB,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAKF,eAAO,MAAM,aAAa,EAAE,oBAI3B,CAAC;AAEF,wBAAgB,2BAA2B,CACzC,eAAe,EAAE,MAAM,GACtB,oBAAoB,CAOtB;AAKD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,kCAAsC,EAC3C,MAAM,EAAE,SAAS,GAChB,oBAAoB,CAgBtB;AAKD,eAAO,MAAM,sBAAsB,UAC1B,MAAM,KACZ,4BAEF,CAAC"}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import type { AnyAction } from 'redux';
|
2
|
+
import type { PipelineBuilderThunkAction } from '.';
|
3
|
+
type CollectionType = 'collection' | 'view';
|
4
|
+
export type CollectionInfo = {
|
5
|
+
name: string;
|
6
|
+
type: CollectionType;
|
7
|
+
};
|
8
|
+
export declare enum ActionTypes {
|
9
|
+
CollectionsFetch = "compass-aggregations/collectionsFetched",
|
10
|
+
CollectionFieldsFetched = "compass-aggregations/collectionFieldsFetched",
|
11
|
+
CollectionDataUpdated = "compass-aggregations/collectionDataUpdated"
|
12
|
+
}
|
13
|
+
type CollectionsFetchedAction = {
|
14
|
+
type: ActionTypes.CollectionsFetch;
|
15
|
+
data: State;
|
16
|
+
};
|
17
|
+
type CollectionFieldsFetchedAction = {
|
18
|
+
type: ActionTypes.CollectionFieldsFetched;
|
19
|
+
collection: string;
|
20
|
+
fields: string[];
|
21
|
+
collectionType: CollectionType;
|
22
|
+
};
|
23
|
+
type CollectionDataUpdatedAction = {
|
24
|
+
type: ActionTypes.CollectionDataUpdated;
|
25
|
+
collection: string;
|
26
|
+
data: CollectionData;
|
27
|
+
};
|
28
|
+
export type CollectionData = {
|
29
|
+
isLoading: boolean;
|
30
|
+
type: CollectionType;
|
31
|
+
fields: string[];
|
32
|
+
error?: Error;
|
33
|
+
};
|
34
|
+
type State = Record<string, CollectionData>;
|
35
|
+
export declare const INITIAL_STATE: State;
|
36
|
+
export default function reducer(state: State | undefined, action: AnyAction): State;
|
37
|
+
export declare const setCollections: (collections: CollectionInfo[]) => PipelineBuilderThunkAction<void, CollectionsFetchedAction>;
|
38
|
+
export declare const setCollectionFields: (collection: string, collectionType: CollectionType, fields: string[]) => CollectionFieldsFetchedAction;
|
39
|
+
export declare const fetchCollectionFields: (collection: string) => PipelineBuilderThunkAction<Promise<void>, CollectionDataUpdatedAction>;
|
40
|
+
export {};
|
41
|
+
//# sourceMappingURL=collections-fields.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"collections-fields.d.ts","sourceRoot":"","sources":["../../../src/modules/collections-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,KAAK,cAAc,GAAG,YAAY,GAAG,MAAM,CAAC;AAC5C,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,cAAc,CAAC;CACtB,CAAC;AAEF,oBAAY,WAAW;IACrB,gBAAgB,4CAA4C;IAC5D,uBAAuB,iDAAiD;IACxE,qBAAqB,+CAA+C;CACrE;AAED,KAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;IACnC,IAAI,EAAE,KAAK,CAAC;CACb,CAAC;AAEF,KAAK,6BAA6B,GAAG;IACnC,IAAI,EAAE,WAAW,CAAC,uBAAuB,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,cAAc,EAAE,cAAc,CAAC;CAChC,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,IAAI,EAAE,WAAW,CAAC,qBAAqB,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,cAAc,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,KAAK,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAE5C,eAAO,MAAM,aAAa,EAAE,KAAU,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,KAAK,CAoCP;AAED,eAAO,MAAM,cAAc,gBACZ,cAAc,EAAE,KAC5B,2BAA2B,IAAI,EAAE,wBAAwB,CAsB3D,CAAC;AAEF,eAAO,MAAM,mBAAmB,eAClB,MAAM,kBACF,cAAc,UACtB,MAAM,EAAE,KACf,6BAKD,CAAC;AAEH,eAAO,MAAM,qBAAqB,eACpB,MAAM,KACjB,2BAA2B,QAAQ,IAAI,CAAC,EAAE,2BAA2B,CAyEvE,CAAC"}
|
@@ -5,19 +5,19 @@ export declare enum ActionTypes {
|
|
5
5
|
CountFinished = "compass-aggregations/countFinished",
|
6
6
|
CountFailed = "compass-aggregations/countFailed"
|
7
7
|
}
|
8
|
-
|
8
|
+
type CountStartedAction = {
|
9
9
|
type: ActionTypes.CountStarted;
|
10
10
|
abortController: AbortController;
|
11
11
|
};
|
12
|
-
|
12
|
+
type CountFinishedAction = {
|
13
13
|
type: ActionTypes.CountFinished;
|
14
14
|
count: number;
|
15
15
|
};
|
16
|
-
|
16
|
+
type CountFailedAction = {
|
17
17
|
type: ActionTypes.CountFailed;
|
18
18
|
};
|
19
|
-
export
|
20
|
-
export
|
19
|
+
export type Actions = CountStartedAction | CountFinishedAction | CountFailedAction;
|
20
|
+
export type State = {
|
21
21
|
count?: number;
|
22
22
|
loading: boolean;
|
23
23
|
abortController?: AbortController;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"count-documents.d.ts","sourceRoot":"","sources":["../../../src/modules/count-documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,oBAAY,WAAW;IACrB,YAAY,sCAAsC;IAClD,aAAa,uCAAuC;IACpD,WAAW,qCAAqC;CACjD;AAED,
|
1
|
+
{"version":3,"file":"count-documents.d.ts","sourceRoot":"","sources":["../../../src/modules/count-documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,oBAAY,WAAW;IACrB,YAAY,sCAAsC;IAClD,aAAa,uCAAuC;IACpD,WAAW,qCAAqC;CACjD;AAED,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC;IAC/B,eAAe,EAAE,eAAe,CAAC;CAClC,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,OAAO,GACf,kBAAkB,GAClB,mBAAmB,GACnB,iBAAiB,CAAC;AAEtB,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAE3B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CA0BtC,CAAC;AAEF,eAAO,MAAM,WAAW,QAAO,2BAA2B,IAAI,CAO7D,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,2BAA2B,QAAQ,IAAI,CAAC,CA8CzE,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -10,12 +10,12 @@ export namespace INITIAL_STATE {
|
|
10
10
|
export default rootReducer;
|
11
11
|
export function open(sourceNs: string, sourcePipeline: any[], duplicate: any): Object;
|
12
12
|
export function createView(): Function;
|
13
|
-
import { INITIAL_STATE as IS_RUNNING_INITIAL_STATE } from
|
14
|
-
import { INITIAL_STATE as IS_VISIBLE_INITIAL_STATE } from
|
15
|
-
import { INITIAL_STATE as IS_DUPLICATING_INITIAL_STATE } from
|
16
|
-
import { INITIAL_STATE as NAME_INITIAL_STATE } from
|
17
|
-
import { INITIAL_STATE as ERROR_INITIAL_STATE } from
|
18
|
-
import { INITIAL_STATE as SOURCE_INITIAL_STATE } from
|
19
|
-
import { INITIAL_STATE as PIPELINE_INITIAL_STATE } from
|
13
|
+
import { INITIAL_STATE as IS_RUNNING_INITIAL_STATE } from '../create-view/is-running';
|
14
|
+
import { INITIAL_STATE as IS_VISIBLE_INITIAL_STATE } from '../create-view/is-visible';
|
15
|
+
import { INITIAL_STATE as IS_DUPLICATING_INITIAL_STATE } from '../create-view/is-duplicating';
|
16
|
+
import { INITIAL_STATE as NAME_INITIAL_STATE } from '../create-view/name';
|
17
|
+
import { INITIAL_STATE as ERROR_INITIAL_STATE } from '../create-view/error';
|
18
|
+
import { INITIAL_STATE as SOURCE_INITIAL_STATE } from '../create-view/source';
|
19
|
+
import { INITIAL_STATE as PIPELINE_INITIAL_STATE } from '../create-view/pipeline';
|
20
20
|
declare function rootReducer(state: Object, action: Object): Object;
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-view/index.js"],"names":[],"mappings":";;;;;;;;;;AA0HO,+EAFM,MAAM,CAOjB;AAOK,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-view/index.js"],"names":[],"mappings":";;;;;;;;;;AA0HO,+EAFM,MAAM,CAOjB;AAOK,uCA2CN;0DAhKM,2BAA2B;0DAG3B,2BAA2B;8DAG3B,+BAA+B;oDACoB,qBAAqB;qDAMxE,sBAAsB;sDAtBtB,uBAAuB;wDAIvB,yBAAyB;AAiEhC,oCALW,MAAM,UACN,MAAM,GAEJ,MAAM,CAuBlB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"data-service.d.ts","sourceRoot":"","sources":["../../../src/modules/data-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,eAAO,MAAM,sBAAsB,QAAqC,CAAC;AAEzE,
|
1
|
+
{"version":3,"file":"data-service.d.ts","sourceRoot":"","sources":["../../../src/modules/data-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,eAAO,MAAM,sBAAsB,QAAqC,CAAC;AAEzE,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;CACjC,CAAC;AAKF,eAAO,MAAM,aAAa,EAAE,KAG3B,CAAC;AAKF,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,KAAK,CAQP;AAMD,eAAO,MAAM,oBAAoB,UACxB,KAAK,eACC,WAAW,KACvB,SAID,CAAC"}
|
@@ -1,57 +1,3 @@
|
|
1
|
-
import type { AnyAction, Reducer } from 'redux';
|
2
|
-
import type { Document } from 'mongodb';
|
3
|
-
import type { ExplainExecuteOptions } from 'mongodb-data-service';
|
4
|
-
import type { IndexInformation } from '@mongodb-js/explain-plan-helper';
|
5
1
|
import type { PipelineBuilderThunkAction } from '.';
|
6
|
-
|
7
|
-
export declare enum ActionTypes {
|
8
|
-
ExplainStarted = "compass-aggregations/explainStarted",
|
9
|
-
ExplainFinished = "compass-aggregations/explainFinished",
|
10
|
-
ExplainFailed = "compass-aggregations/explainFailed",
|
11
|
-
ExplainCancelled = "compass-aggregations/explainCancelled"
|
12
|
-
}
|
13
|
-
declare type ExplainStartedAction = {
|
14
|
-
type: ActionTypes.ExplainStarted;
|
15
|
-
abortController: AbortController;
|
16
|
-
};
|
17
|
-
declare type ExplainFinishedAction = {
|
18
|
-
type: ActionTypes.ExplainFinished;
|
19
|
-
explain: ExplainData;
|
20
|
-
};
|
21
|
-
declare type ExplainFailedAction = {
|
22
|
-
type: ActionTypes.ExplainFailed;
|
23
|
-
error: string;
|
24
|
-
};
|
25
|
-
declare type ExplainCancelledAction = {
|
26
|
-
type: ActionTypes.ExplainCancelled;
|
27
|
-
};
|
28
|
-
export declare type Actions = ExplainStartedAction | ExplainFinishedAction | ExplainFailedAction | ExplainCancelledAction;
|
29
|
-
export declare type ExplainIndex = {
|
30
|
-
name: string;
|
31
|
-
shard?: string;
|
32
|
-
key: IndexInfo['key'];
|
33
|
-
};
|
34
|
-
export declare type ExplainData = {
|
35
|
-
plan: Document;
|
36
|
-
stats?: {
|
37
|
-
executionTimeMillis: number;
|
38
|
-
nReturned: number;
|
39
|
-
indexes: ExplainIndex[];
|
40
|
-
};
|
41
|
-
};
|
42
|
-
export declare type State = {
|
43
|
-
isLoading: boolean;
|
44
|
-
isModalOpen: boolean;
|
45
|
-
explain?: ExplainData;
|
46
|
-
abortController?: AbortController;
|
47
|
-
error?: string;
|
48
|
-
};
|
49
|
-
export declare const INITIAL_STATE: State;
|
50
|
-
declare const reducer: Reducer<State, AnyAction>;
|
51
|
-
export declare const closeExplainModal: () => PipelineBuilderThunkAction<void>;
|
52
|
-
export declare const cancelExplain: () => PipelineBuilderThunkAction<void>;
|
53
|
-
export declare const explainAggregation: () => PipelineBuilderThunkAction<Promise<void>>;
|
54
|
-
export declare const _getExplainVerbosity: (pipeline: Document[], isDataLake: boolean) => ExplainExecuteOptions['explainVerbosity'];
|
55
|
-
export declare const _mapIndexesInformation: (collectionIndexes: IndexInfo[], explainIndexes: IndexInformation[]) => ExplainIndex[];
|
56
|
-
export default reducer;
|
2
|
+
export declare const explainAggregation: () => PipelineBuilderThunkAction<void>;
|
57
3
|
//# sourceMappingURL=explain.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"explain.d.ts","sourceRoot":"","sources":["../../../src/modules/explain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"explain.d.ts","sourceRoot":"","sources":["../../../src/modules/explain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAIpD,eAAO,MAAM,kBAAkB,QAAO,2BAA2B,IAAI,CAapE,CAAC"}
|
@@ -5,14 +5,14 @@ declare enum ActionTypes {
|
|
5
5
|
FocusModeDisabled = "compass-aggregations/focusModeDisabled",
|
6
6
|
SelectFocusModeStage = "compass-aggregations/selectFocusModeStage"
|
7
7
|
}
|
8
|
-
|
8
|
+
type FocusModeEnabledAction = {
|
9
9
|
type: ActionTypes.FocusModeEnabled;
|
10
10
|
stageIndex: number;
|
11
11
|
};
|
12
|
-
|
12
|
+
type FocusModeDisabledAction = {
|
13
13
|
type: ActionTypes.FocusModeDisabled;
|
14
14
|
};
|
15
|
-
|
15
|
+
type State = {
|
16
16
|
isEnabled: boolean;
|
17
17
|
stageIndex: number;
|
18
18
|
openedAt: number | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"focus-mode.d.ts","sourceRoot":"","sources":["../../../src/modules/focus-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,aAAK,WAAW;IACd,gBAAgB,0CAA0C;IAC1D,iBAAiB,2CAA2C;IAC5D,oBAAoB,8CAA8C;CACnE;AAED,
|
1
|
+
{"version":3,"file":"focus-mode.d.ts","sourceRoot":"","sources":["../../../src/modules/focus-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,aAAK,WAAW;IACd,gBAAgB,0CAA0C;IAC1D,iBAAiB,2CAA2C;IAC5D,oBAAoB,8CAA8C;CACnE;AAED,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC;CACrC,CAAC;AAOF,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,KAAK,CA2BP;AAED,eAAO,MAAM,eAAe,eACd,MAAM,KACjB,2BAA2B,IAAI,EAAE,sBAAsB,CAYzD,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,2BAClC,IAAI,EACJ,uBAAuB,CAaxB,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAAW,MAAM;;;CAKjD,CAAC;AAEF,eAAO,MAAM,mBAAmB,UACvB,MAAM,KACZ,2BAA2B,IAAI,CAKjC,CAAC"}
|