@mongodb-js/compass-aggregations 9.8.0 → 9.9.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/index.d.ts +15 -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/project/project.d.ts +20 -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 +7 -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-list.d.ts +6 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-list.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 +12 -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.d.ts → pipeline-builder-ui-workspace/index.d.ts} +4 -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 +16 -0
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts.map +1 -0
- package/dist/src/components/pipeline-explain/explain-indexes.d.ts +1 -1
- package/dist/src/components/pipeline-explain/explain-indexes.d.ts.map +1 -1
- package/dist/src/components/pipeline-explain/explain-query-performance.d.ts +1 -1
- package/dist/src/components/pipeline-explain/explain-query-performance.d.ts.map +1 -1
- package/dist/src/components/pipeline-explain/explain-results.d.ts +1 -1
- package/dist/src/components/pipeline-explain/explain-results.d.ts.map +1 -1
- package/dist/src/components/pipeline-explain/index.d.ts +1 -1
- package/dist/src/components/pipeline-explain/index.d.ts.map +1 -1
- 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 +5 -5
- 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 +23 -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/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/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 +8 -8
- 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 +7 -4
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/modules/indexes.d.ts +4 -4
- package/dist/src/modules/indexes.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 +4 -1
- package/dist/src/stores/store.d.ts.map +1 -1
- package/dist/src/utils/get-schema.d.ts +3 -0
- package/dist/src/utils/get-schema.d.ts.map +1 -0
- 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 +28 -28
- 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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/components/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/components/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AA4BxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0EAA0E,CAAC;AA4G9G,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;AA0BF,iBAAS,KAAK,CAAC,EACb,KAAK,EACL,SAAS,EACT,UAAU,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,GAAG,aAAa,EACjB,EAAE,UAAU,eAsFZ;;;;;;;;;AAMD,wBAYU"}
|
@@ -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,yCA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b,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,CA4BlC,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"}
|
@@ -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"}
|
@@ -10,28 +10,28 @@ export declare enum ActionTypes {
|
|
10
10
|
ExplainFailed = "compass-aggregations/explainFailed",
|
11
11
|
ExplainCancelled = "compass-aggregations/explainCancelled"
|
12
12
|
}
|
13
|
-
|
13
|
+
type ExplainStartedAction = {
|
14
14
|
type: ActionTypes.ExplainStarted;
|
15
15
|
abortController: AbortController;
|
16
16
|
};
|
17
|
-
|
17
|
+
type ExplainFinishedAction = {
|
18
18
|
type: ActionTypes.ExplainFinished;
|
19
19
|
explain: ExplainData;
|
20
20
|
};
|
21
|
-
|
21
|
+
type ExplainFailedAction = {
|
22
22
|
type: ActionTypes.ExplainFailed;
|
23
23
|
error: string;
|
24
24
|
};
|
25
|
-
|
25
|
+
type ExplainCancelledAction = {
|
26
26
|
type: ActionTypes.ExplainCancelled;
|
27
27
|
};
|
28
|
-
export
|
29
|
-
export
|
28
|
+
export type Actions = ExplainStartedAction | ExplainFinishedAction | ExplainFailedAction | ExplainCancelledAction;
|
29
|
+
export type ExplainIndex = {
|
30
30
|
name: string;
|
31
31
|
shard?: string;
|
32
32
|
key: IndexInfo['key'];
|
33
33
|
};
|
34
|
-
export
|
34
|
+
export type ExplainData = {
|
35
35
|
plan: Document;
|
36
36
|
stats?: {
|
37
37
|
executionTimeMillis: number;
|
@@ -39,7 +39,7 @@ export declare type ExplainData = {
|
|
39
39
|
indexes: ExplainIndex[];
|
40
40
|
};
|
41
41
|
};
|
42
|
-
export
|
42
|
+
export type State = {
|
43
43
|
isLoading: boolean;
|
44
44
|
isModalOpen: boolean;
|
45
45
|
explain?: ExplainData;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"explain.d.ts","sourceRoot":"","sources":["../../../src/modules/explain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAoB,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAEpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAW3C,oBAAY,WAAW;IACrB,cAAc,wCAAwC;IACtD,eAAe,yCAAyC;IACxD,aAAa,uCAAuC;IACpD,gBAAgB,0CAA0C;CAC3D;AAED,
|
1
|
+
{"version":3,"file":"explain.d.ts","sourceRoot":"","sources":["../../../src/modules/explain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAA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AAC;QAClB,OAAO,EAAE,YAAY,EAAE,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAG3B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAgCtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,2BAA2B,IAAI,CAInE,CAAC;AAEF,eAAO,MAAM,aAAa,QAAO,2BAA2B,IAAI,CAU/D,CAAC;AAEF,eAAO,MAAM,kBAAkB,QAAO,2BACpC,QAAQ,IAAI,CAAC,CA6Fd,CAAC;AAEF,eAAO,MAAM,oBAAoB,aACrB,QAAQ,EAAE,cACR,OAAO,KAClB,qBAAqB,CAAC,kBAAkB,CAY1C,CAAC;AAEF,eAAO,MAAM,sBAAsB,sBACd,SAAS,EAAE,kBACd,gBAAgB,EAAE,KACjC,YAAY,EAcd,CAAC;AAEF,eAAe,OAAO,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"}
|
@@ -72,13 +72,16 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
|
|
72
72
|
stageIndex: number;
|
73
73
|
openedAt: number | null;
|
74
74
|
};
|
75
|
+
sidePanel: {
|
76
|
+
isPanelOpen: boolean;
|
77
|
+
};
|
75
78
|
}>, Action<any>>;
|
76
|
-
export
|
77
|
-
export
|
79
|
+
export type RootState = ReturnType<typeof rootReducer>;
|
80
|
+
export type PipelineBuilderExtraArgs = {
|
78
81
|
pipelineBuilder: PipelineBuilder;
|
79
82
|
pipelineStorage: PipelineStorage;
|
80
83
|
};
|
81
|
-
export
|
82
|
-
export
|
84
|
+
export type PipelineBuilderThunkDispatch<A extends Action = AnyAction> = ThunkDispatch<RootState, PipelineBuilderExtraArgs, A>;
|
85
|
+
export type PipelineBuilderThunkAction<R, A extends Action = AnyAction> = ThunkAction<R, RootState, PipelineBuilderExtraArgs, A>;
|
83
86
|
export default rootReducer;
|
84
87
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAoC/C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAoC/C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAUjE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAqCf,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AACvD,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,EAAE,eAAe,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,4BAA4B,CAAC,CAAC,SAAS,MAAM,GAAG,SAAS,IACnE,aAAa,CAAC,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAExD,MAAM,MAAM,0BAA0B,CACpC,CAAC,EACD,CAAC,SAAS,MAAM,GAAG,SAAS,IAC1B,WAAW,CAAC,CAAC,EAAE,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAE3D,eAAe,WAAW,CAAC"}
|
@@ -3,18 +3,18 @@ import type { IndexDirection } from 'mongodb';
|
|
3
3
|
export declare enum ActionTypes {
|
4
4
|
IndexesFetched = "compass-aggregations/indexesFetched"
|
5
5
|
}
|
6
|
-
export
|
6
|
+
export type IndexInfo = {
|
7
7
|
ns: string;
|
8
8
|
name: string;
|
9
9
|
key: Record<string, IndexDirection>;
|
10
10
|
extra: Record<string, any>;
|
11
11
|
};
|
12
|
-
|
12
|
+
type IndexesFetchedAction = {
|
13
13
|
type: ActionTypes.IndexesFetched;
|
14
14
|
indexes: IndexInfo[];
|
15
15
|
};
|
16
|
-
export
|
17
|
-
export
|
16
|
+
export type Actions = IndexesFetchedAction;
|
17
|
+
export type State = IndexInfo[];
|
18
18
|
export declare const INITIAL_STATE: State;
|
19
19
|
declare const reducer: Reducer<State, Actions>;
|
20
20
|
export declare const indexesFetched: (indexes: IndexInfo[]) => IndexesFetchedAction;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,oBAAY,WAAW;IACrB,cAAc,wCAAwC;CACvD;AAED,
|
1
|
+
{"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,oBAAY,WAAW;IACrB,cAAc,wCAAwC;CACvD;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,WAAW,CAAC,cAAc,CAAC;IACjC,OAAO,EAAE,SAAS,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,oBAAoB,CAAC;AAE3C,MAAM,MAAM,KAAK,GAAG,SAAS,EAAE,CAAC;AAEhC,eAAO,MAAM,aAAa,EAAE,KAAU,CAAC;AAEvC,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,CAOpC,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,SAAS,EAAE,KAAG,oBAGpD,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
@@ -6,19 +6,19 @@ export declare enum ActionTypes {
|
|
6
6
|
DocumentsFetchStarted = "aggregations/input-documents/DocumentsFetchStarted",
|
7
7
|
DocumentsFetchFinished = "aggregations/input-documents/DocumentsFetchFinished"
|
8
8
|
}
|
9
|
-
|
9
|
+
type CollapseToggledAction = {
|
10
10
|
type: ActionTypes.CollapseToggled;
|
11
11
|
};
|
12
|
-
|
12
|
+
type DocumentsFetchStartedAction = {
|
13
13
|
type: ActionTypes.DocumentsFetchStarted;
|
14
14
|
};
|
15
|
-
|
15
|
+
type DocumentsFetchFinishedAction = {
|
16
16
|
type: ActionTypes.DocumentsFetchFinished;
|
17
17
|
count: number | null;
|
18
18
|
documents: Document[];
|
19
19
|
error: Error | null;
|
20
20
|
};
|
21
|
-
|
21
|
+
type State = {
|
22
22
|
count: number | null;
|
23
23
|
documents: Document[];
|
24
24
|
error: Error | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"input-documents.d.ts","sourceRoot":"","sources":["../../../src/modules/input-documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAEpD,oBAAY,WAAW;IACrB,eAAe,iDAAiD;IAChE,qBAAqB,uDAAuD;IAC5E,sBAAsB,wDAAwD;CAC/E;AAED,
|
1
|
+
{"version":3,"file":"input-documents.d.ts","sourceRoot":"","sources":["../../../src/modules/input-documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAEpD,oBAAY,WAAW;IACrB,eAAe,iDAAiD;IAChE,qBAAqB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file":"is-datalake.d.ts","sourceRoot":"","sources":["../../../src/modules/is-datalake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,KAAK,KAAK,GAAG,OAAO,CAAC;AAErB,eAAO,MAAM,aAAa,EAAE,KAAa,CAAC;AAE1C,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CAE3B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { AnyAction, Reducer } from 'redux';
|
2
2
|
export declare const MAX_TIME_MS_CHANGED = "aggregations/max-time-ms/MAX_TIME_MS_CHANGED";
|
3
|
-
|
3
|
+
type State = null | number;
|
4
4
|
export declare const INITIAL_STATE: State;
|
5
5
|
declare const reducer: Reducer<State, AnyAction>;
|
6
6
|
export declare const maxTimeMSChanged: (value: number) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"max-time-ms.d.ts","sourceRoot":"","sources":["../../../src/modules/max-time-ms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhD,eAAO,MAAM,mBAAmB,iDACgB,CAAC;AAEjD,
|
1
|
+
{"version":3,"file":"max-time-ms.d.ts","sourceRoot":"","sources":["../../../src/modules/max-time-ms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhD,eAAO,MAAM,mBAAmB,iDACgB,CAAC;AAEjD,KAAK,KAAK,GAAG,IAAI,GAAG,MAAM,CAAC;AAE3B,eAAO,MAAM,aAAa,EAAE,KAAY,CAAC;AAEzC,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAQtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,MAAM;;;CAG5C,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
@@ -7,6 +7,6 @@ export declare function getPipelineStringFromBuilderState(state: RootState, pipe
|
|
7
7
|
export declare function getPipelineStageOperatorsFromBuilderState(state: RootState, filterEmptyStageOperators?: true): string[];
|
8
8
|
export declare function getPipelineStageOperatorsFromBuilderState(state: RootState, filterEmptyStageOperators?: false): (string | null)[];
|
9
9
|
export declare function getIsPipelineInvalidFromBuilderState(state: RootState, includeServerErrors?: boolean): boolean;
|
10
|
-
export
|
10
|
+
export type EditorViewType = 'stage' | 'text' | 'focus';
|
11
11
|
export declare function mapPipelineModeToEditorViewType(state: RootState): EditorViewType;
|
12
12
|
//# sourceMappingURL=builder-helpers.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder-helpers.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/builder-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"builder-helpers.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/builder-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAK1D,eAAO,MAAM,qBAAqB,QAC5B,2BAA2B,IAAI,CAWlC,CAAC;AAEJ,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,oEAOjC;AAED,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,6BAOjC;AAED,wBAAgB,iCAAiC,CAC/C,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,GAC/B,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,KAAK,EAAE,SAAS,EAChB,yBAAyB,CAAC,EAAE,IAAI,GAC/B,MAAM,EAAE,CAAC;AACZ,wBAAgB,yCAAyC,CACvD,KAAK,EAAE,SAAS,EAChB,yBAAyB,CAAC,EAAE,KAAK,GAChC,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC;AAoBrB,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,SAAS,EAChB,mBAAmB,UAAO,GACzB,OAAO,CAcT;AAED,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAExD,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,SAAS,GACf,cAAc,CAMhB"}
|
@@ -3,11 +3,11 @@ import type { Document } from 'mongodb';
|
|
3
3
|
import type { PipelineBuilderThunkAction } from '..';
|
4
4
|
import type Stage from './stage';
|
5
5
|
import type { PipelineParserError } from './pipeline-parser/utils';
|
6
|
-
export
|
6
|
+
export type PipelineMode = 'builder-ui' | 'as-text';
|
7
7
|
export declare enum ActionTypes {
|
8
8
|
PipelineModeToggled = "compass-aggregations/pipelineModeToggled"
|
9
9
|
}
|
10
|
-
export
|
10
|
+
export type PipelineModeToggledAction = {
|
11
11
|
type: ActionTypes.PipelineModeToggled;
|
12
12
|
mode: PipelineMode;
|
13
13
|
pipelineText: string;
|
@@ -15,7 +15,7 @@ export declare type PipelineModeToggledAction = {
|
|
15
15
|
syntaxErrors: PipelineParserError[];
|
16
16
|
stages: Stage[];
|
17
17
|
};
|
18
|
-
|
18
|
+
type State = PipelineMode;
|
19
19
|
export declare const INITIAL_STATE: State;
|
20
20
|
declare const reducer: Reducer<State>;
|
21
21
|
export declare const changePipelineMode: (newMode: PipelineMode) => PipelineBuilderThunkAction<void, PipelineModeToggledAction>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-mode.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,O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AAC"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import type * as t from '@babel/types';
|
2
2
|
import type Stage from '../stage';
|
3
3
|
import { PipelineParserError } from './utils';
|
4
|
-
|
4
|
+
type ParseResponse = {
|
5
5
|
root: t.ArrayExpression;
|
6
6
|
stages: t.Expression[];
|
7
7
|
};
|
8
|
-
|
8
|
+
type ValidateResponse = {
|
9
9
|
root: t.ArrayExpression | null;
|
10
10
|
errors: PipelineParserError[];
|
11
11
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-parser.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/pipeline-parser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAOlC,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAkF9C,
|
1
|
+
{"version":3,"file":"pipeline-parser.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/pipeline-parser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAOlC,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAkF9C,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,CAAC,CAAC,eAAe,CAAC;IACxB,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC;CACxB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,CAAC,CAAC,eAAe,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,mBAAmB,EAAE,CAAC;CAC/B,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,aAAa;IA0B3C,MAAM,CAAC,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC,eAAe;IAY5D,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,gBAAgB;IAmBjD,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM;IAmBjE,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC,UAAU,EAAE;CA4DvD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage-parser.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/stage-parser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAIlC,
|
1
|
+
{"version":3,"file":"stage-parser.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/stage-parser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAIlC,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,gBAAgB,GAAG;IAC3C,UAAU,EAAE,CAAC,CAAC,CAAC,cAAc,GAAG;QAAE,GAAG,EAAE,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,aAAa,CAAA;KAAE,CAAC,CAAC;CAC1E,CAAC;AAIF,wBAAgB,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,GAAG,OAAO,CAEpD;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,QAE3D;AAED,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,gBAAgB,GAAG,OAAO,CAanE;AAED,wBAAgB,WAAW,CACzB,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,GAAG,IAAI,EACpB,KAAK,UAAQ,GACZ,IAAI,IAAI,SAAS,CAOnB;AAUD,0BAAkB,wBAAwB;IACxC,YAAY,IAAA;IACZ,mBAAmB,IAAA;IACnB,eAAe,IAAA;IACf,qBAAqB,IAAA;IACrB,YAAY,IAAA;IACZ,iBAAiB,IAAA;CAClB;AAED,wBAAgB,eAAe,CAC7B,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,GAAG,IAAI,EACpB,KAAK,UAAQ,GACZ,OAAO,CAAC,IAAI,IAAI,SAAS,CAmC3B;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAIhE;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAc7D;AAKD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,KAAK,GAAG,CAAC,CAAC,WAAW,EAAE,CAWhE;AAMD,MAAM,CAAC,OAAO,OAAO,WAAW;IACvB,MAAM,SAAM;IACnB,OAAO,CAAC,WAAW,CAAS;IAE5B,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS;CA0CrC"}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import type { Node } from '@babel/types';
|
2
2
|
import type { Document } from 'mongodb';
|
3
3
|
import type { FormatOptions } from '@mongodb-js/compass-editor';
|
4
|
-
|
4
|
+
type ErrorLoc = {
|
5
5
|
line: number;
|
6
6
|
column: number;
|
7
|
+
index?: number;
|
7
8
|
};
|
8
9
|
export declare class PipelineParserError extends SyntaxError {
|
9
10
|
loc?: ErrorLoc | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,mBAAoB,SAAQ,WAAW;IACd,GAAG,CAAC;IAAmB,IAAI,CAAC;gBAApD,OAAO,EAAE,MAAM,EAAS,GAAG,CAAC,sBAAU,EAAS,IAAI,CAAC,oBAAQ;CAGzE;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,aAAa,CAAC,EAAE,aAAa,UAMhE;AAMD,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,EAAE,CAQzD;AAED,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC"}
|
@@ -8,7 +8,9 @@ export interface PreviewOptions extends AggregateOptions {
|
|
8
8
|
sampleSize?: number;
|
9
9
|
previewSize?: number;
|
10
10
|
}
|
11
|
-
export declare function createPreviewAggregation(pipeline: Document[], options?: Pick<PreviewOptions, 'sampleSize' | 'previewSize' | 'totalDocumentCount'>): Document
|
11
|
+
export declare function createPreviewAggregation(pipeline: Document[], options?: Pick<PreviewOptions, 'sampleSize' | 'previewSize' | 'totalDocumentCount'>): (Document | {
|
12
|
+
$limit: number;
|
13
|
+
})[];
|
12
14
|
export declare class PipelinePreviewManager {
|
13
15
|
private dataService;
|
14
16
|
private queue;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-preview-manager.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-preview-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAc1D,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAexC,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,QAAQ,EAAE,EACpB,OAAO,GAAE,IAAI,CACX,cAAc,EACd,YAAY,GAAG,aAAa,GAAG,oBAAoB,CAC/C
|
1
|
+
{"version":3,"file":"pipeline-preview-manager.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-preview-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAc1D,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAexC,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,QAAQ,EAAE,EACpB,OAAO,GAAE,IAAI,CACX,cAAc,EACd,YAAY,GAAG,aAAa,GAAG,oBAAoB,CAC/C;;KA4BP;AAED,qBAAa,sBAAsB;IAGrB,OAAO,CAAC,WAAW;IAF/B,OAAO,CAAC,KAAK,CAAsC;IACnD,OAAO,CAAC,YAAY,CAAiC;gBACjC,WAAW,EAAE,WAAW;IAKtC,kBAAkB,CACtB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,QAAQ,EAAE,EACpB,EACE,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,GAAG,OAAO,EACX,GAAE,cAAmB,EACtB,KAAK,UAAQ,GACZ,OAAO,CAAC,QAAQ,EAAE,CAAC;IAuBtB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,OAAO;IAO/D,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAS3C,UAAU,CAAC,IAAI,SAAI;CASpB"}
|