@mongodb-js/compass-aggregations 0.0.0-next-68d544d11ad6fdad02d93fe36714c06c35871ec6 → 0.0.0-next-8a5885c1fe28baad3b6d1e32b9763113c1ce22a9

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.
Files changed (154) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/src/components/add-stage/index.d.ts +1 -1
  4. package/dist/src/components/add-stage/index.d.ts.map +1 -1
  5. package/dist/src/components/aggregations/aggregations.d.ts +13 -17
  6. package/dist/src/components/aggregations/aggregations.d.ts.map +1 -1
  7. package/dist/src/components/aggregations/index.d.ts +1 -2
  8. package/dist/src/components/aggregations/index.d.ts.map +1 -1
  9. package/dist/src/components/focus-mode/focus-mode.d.ts +1 -1
  10. package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
  11. package/dist/src/components/loading-overlay/index.d.ts +1 -1
  12. package/dist/src/components/loading-overlay/index.d.ts.map +1 -1
  13. package/dist/src/components/modify-source-banner/index.d.ts +1 -1
  14. package/dist/src/components/modify-source-banner/index.d.ts.map +1 -1
  15. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts +10 -7
  16. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts.map +1 -1
  17. package/dist/src/components/pipeline/index.d.ts +1 -1
  18. package/dist/src/components/pipeline/index.d.ts.map +1 -1
  19. package/dist/src/components/pipeline/pipeline.d.ts +24 -8
  20. package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
  21. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts +4 -3
  22. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -1
  23. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts +1 -1
  24. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -1
  25. package/dist/src/components/pipeline-toolbar/index.d.ts +1 -1
  26. package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
  27. package/dist/src/components/pipeline-toolbar/pipeline-options/pipeline-collation.d.ts +1 -1
  28. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts +1 -1
  29. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
  30. package/dist/src/components/saving-pipeline-modal/index.d.ts +1 -1
  31. package/dist/src/components/saving-pipeline-modal/index.d.ts.map +1 -1
  32. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts +18 -9
  33. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -1
  34. package/dist/src/components/settings/settings.d.ts +2 -3
  35. package/dist/src/components/settings/settings.d.ts.map +1 -1
  36. package/dist/src/components/stage-editor/index.d.ts +1 -1
  37. package/dist/src/components/stage-editor/index.d.ts.map +1 -1
  38. package/dist/src/components/stage-preview/stage-preview-header.d.ts +3 -3
  39. package/dist/src/components/stage-preview/stage-preview-header.d.ts.map +1 -1
  40. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts +2 -1
  41. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -1
  42. package/dist/src/components/stage.d.ts +1 -1
  43. package/dist/src/components/stage.d.ts.map +1 -1
  44. package/dist/src/constants.d.ts +7 -7
  45. package/dist/src/constants.d.ts.map +1 -1
  46. package/dist/src/index.d.ts +50 -6
  47. package/dist/src/index.d.ts.map +1 -1
  48. package/dist/src/modules/aggregation-workspace-id.d.ts +2 -2
  49. package/dist/src/modules/aggregation-workspace-id.d.ts.map +1 -1
  50. package/dist/src/modules/aggregation.d.ts +9 -9
  51. package/dist/src/modules/aggregation.d.ts.map +1 -1
  52. package/dist/src/modules/auto-preview.d.ts +4 -2
  53. package/dist/src/modules/auto-preview.d.ts.map +1 -1
  54. package/dist/src/modules/clone-pipeline.d.ts +5 -4
  55. package/dist/src/modules/clone-pipeline.d.ts.map +1 -1
  56. package/dist/src/modules/collation-string.d.ts +2 -1
  57. package/dist/src/modules/collation-string.d.ts.map +1 -1
  58. package/dist/src/modules/collections-fields.d.ts +2 -1
  59. package/dist/src/modules/collections-fields.d.ts.map +1 -1
  60. package/dist/src/modules/comments.d.ts +4 -2
  61. package/dist/src/modules/comments.d.ts.map +1 -1
  62. package/dist/src/modules/count-documents.d.ts.map +1 -1
  63. package/dist/src/modules/create-view/index.d.ts +42 -41
  64. package/dist/src/modules/create-view/index.d.ts.map +1 -1
  65. package/dist/src/modules/data-service.d.ts +7 -9
  66. package/dist/src/modules/data-service.d.ts.map +1 -1
  67. package/dist/src/modules/edit-view-name.d.ts +2 -2
  68. package/dist/src/modules/edit-view-name.d.ts.map +1 -1
  69. package/dist/src/modules/env.d.ts +1 -1
  70. package/dist/src/modules/export-to-language.d.ts +2 -1
  71. package/dist/src/modules/export-to-language.d.ts.map +1 -1
  72. package/dist/src/modules/fields.d.ts +13 -11
  73. package/dist/src/modules/fields.d.ts.map +1 -1
  74. package/dist/src/modules/focus-mode.d.ts +9 -7
  75. package/dist/src/modules/focus-mode.d.ts.map +1 -1
  76. package/dist/src/modules/id.d.ts +12 -5
  77. package/dist/src/modules/id.d.ts.map +1 -1
  78. package/dist/src/modules/index.d.ts +17 -46
  79. package/dist/src/modules/index.d.ts.map +1 -1
  80. package/dist/src/modules/input-documents.d.ts +5 -10
  81. package/dist/src/modules/input-documents.d.ts.map +1 -1
  82. package/dist/src/modules/insights.d.ts +7 -0
  83. package/dist/src/modules/insights.d.ts.map +1 -1
  84. package/dist/src/modules/is-modified.d.ts +2 -1
  85. package/dist/src/modules/is-modified.d.ts.map +1 -1
  86. package/dist/src/modules/is-new-pipeline-confirm.d.ts +10 -0
  87. package/dist/src/modules/is-new-pipeline-confirm.d.ts.map +1 -1
  88. package/dist/src/modules/is-time-series.d.ts +1 -1
  89. package/dist/src/modules/is-time-series.d.ts.map +1 -1
  90. package/dist/src/modules/large-limit.d.ts +4 -2
  91. package/dist/src/modules/large-limit.d.ts.map +1 -1
  92. package/dist/src/modules/limit.d.ts +4 -2
  93. package/dist/src/modules/limit.d.ts.map +1 -1
  94. package/dist/src/modules/max-time-ms.d.ts +8 -4
  95. package/dist/src/modules/max-time-ms.d.ts.map +1 -1
  96. package/dist/src/modules/name.d.ts +4 -4
  97. package/dist/src/modules/name.d.ts.map +1 -1
  98. package/dist/src/modules/namespace.d.ts.map +1 -1
  99. package/dist/src/modules/out-results-fn.d.ts +6 -6
  100. package/dist/src/modules/out-results-fn.d.ts.map +1 -1
  101. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +1 -1
  102. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -1
  103. package/dist/src/modules/pipeline-builder/index.d.ts +1 -5
  104. package/dist/src/modules/pipeline-builder/index.d.ts.map +1 -1
  105. package/dist/src/modules/pipeline-builder/pipeline-ai.d.ts +12 -1
  106. package/dist/src/modules/pipeline-builder/pipeline-ai.d.ts.map +1 -1
  107. package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts +1 -1
  108. package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts.map +1 -1
  109. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts +4 -3
  110. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -1
  111. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts +1 -2
  112. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -1
  113. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts +1 -1
  114. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -1
  115. package/dist/src/modules/pipeline-builder/stage-editor.d.ts +1 -0
  116. package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
  117. package/dist/src/modules/pipeline-builder/stage.d.ts +2 -1
  118. package/dist/src/modules/pipeline-builder/stage.d.ts.map +1 -1
  119. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +17 -1
  120. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -1
  121. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts +2 -1
  122. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -1
  123. package/dist/src/modules/saved-pipeline.d.ts +26 -20
  124. package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
  125. package/dist/src/modules/saving-pipeline.d.ts +35 -17
  126. package/dist/src/modules/saving-pipeline.d.ts.map +1 -1
  127. package/dist/src/modules/search-indexes.d.ts +11 -0
  128. package/dist/src/modules/search-indexes.d.ts.map +1 -1
  129. package/dist/src/modules/server-version.d.ts +1 -1
  130. package/dist/src/modules/server-version.d.ts.map +1 -1
  131. package/dist/src/modules/settings.d.ts +32 -23
  132. package/dist/src/modules/settings.d.ts.map +1 -1
  133. package/dist/src/modules/side-panel.d.ts +5 -4
  134. package/dist/src/modules/side-panel.d.ts.map +1 -1
  135. package/dist/src/modules/source-name.d.ts +2 -2
  136. package/dist/src/modules/source-name.d.ts.map +1 -1
  137. package/dist/src/modules/update-view.d.ts +19 -7
  138. package/dist/src/modules/update-view.d.ts.map +1 -1
  139. package/dist/src/modules/workspace.d.ts +3 -3
  140. package/dist/src/modules/workspace.d.ts.map +1 -1
  141. package/dist/src/plugin.d.ts +1 -5
  142. package/dist/src/plugin.d.ts.map +1 -1
  143. package/dist/src/stores/create-view.d.ts +7 -22
  144. package/dist/src/stores/create-view.d.ts.map +1 -1
  145. package/dist/src/stores/store.d.ts +62 -95
  146. package/dist/src/stores/store.d.ts.map +1 -1
  147. package/dist/src/utils/cancellable-aggregation.d.ts +1 -1
  148. package/dist/src/utils/cancellable-aggregation.d.ts.map +1 -1
  149. package/dist/src/utils/stage.d.ts +30 -15
  150. package/dist/src/utils/stage.d.ts.map +1 -1
  151. package/package.json +37 -37
  152. package/dist/index.css +0 -43
  153. package/dist/src/modules/projections.d.ts +0 -4
  154. package/dist/src/modules/projections.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
- import type { AnyAction, Reducer } from 'redux';
2
1
  import HadronDocument from 'hadron-document';
2
+ import type { Reducer } from 'redux';
3
3
  import type { Document } from 'mongodb';
4
4
  import type { PipelineBuilderThunkAction } from '.';
5
5
  export declare enum ActionTypes {
@@ -16,33 +16,33 @@ type PreviousPageData = {
16
16
  isLast: boolean;
17
17
  documents: HadronDocument[];
18
18
  };
19
- type RunAggregation = {
19
+ export type RunAggregation = {
20
20
  type: ActionTypes.RunAggregation;
21
21
  pipeline: Document[];
22
22
  };
23
- type AggregationStartedAction = {
23
+ export type AggregationStartedAction = {
24
24
  type: ActionTypes.AggregationStarted;
25
25
  abortController: AbortController;
26
26
  };
27
- type AggregationFinishedAction = {
27
+ export type AggregationFinishedAction = {
28
28
  type: ActionTypes.AggregationFinished;
29
29
  documents: HadronDocument[];
30
30
  page: number;
31
31
  isLast: boolean;
32
32
  };
33
- type AggregationFailedAction = {
33
+ export type AggregationFailedAction = {
34
34
  type: ActionTypes.AggregationFailed;
35
35
  error: string;
36
36
  page: number;
37
37
  };
38
- type AggregationCancelledAction = {
38
+ export type AggregationCancelledAction = {
39
39
  type: ActionTypes.AggregationCancelledByUser;
40
40
  };
41
- type LastPageReachedAction = {
41
+ export type LastPageReachedAction = {
42
42
  type: ActionTypes.LastPageReached;
43
43
  page: number;
44
44
  };
45
- type ResultViewTypeChangedAction = {
45
+ export type ResultViewTypeChangedAction = {
46
46
  type: ActionTypes.ResultViewTypeChanged;
47
47
  viewType: 'document' | 'json';
48
48
  };
@@ -60,7 +60,7 @@ export type State = {
60
60
  resultsViewType: 'document' | 'json';
61
61
  };
62
62
  export declare const INITIAL_STATE: State;
63
- declare const reducer: Reducer<State, AnyAction>;
63
+ declare const reducer: Reducer<State>;
64
64
  export declare const runAggregation: () => PipelineBuilderThunkAction<Promise<void>>;
65
65
  export declare const fetchPrevPage: () => PipelineBuilderThunkAction<Promise<void>, Actions>;
66
66
  export declare const fetchNextPage: () => PipelineBuilderThunkAction<Promise<void>, Actions>;
@@ -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,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAoB,QAAQ,EAAoB,MAAM,SAAS,CAAC;AAC5E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAkBpD,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,cAAc,EAAE,CAAC;CAC7B,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,cAAc,EAAE,CAAC;IAC5B,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,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EF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CAkG3B,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,2BAA2B,QAAQ,IAAI,CAAC,CAczE,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,eAAO,MAAM,qBAAqB,QAAO,2BAA2B,IAAI,CAQvE,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAAO,2BAA2B,IAAI,CAQzE,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -7,7 +7,9 @@ export type AutoPreviewToggledAction = {
7
7
  type: ActionTypes.AutoPreviewToggled;
8
8
  value: boolean;
9
9
  };
10
- export declare const INITIAL_STATE = true;
11
- export default function reducer(state: boolean | undefined, action: AnyAction): boolean;
10
+ export type AutoPreviewAction = AutoPreviewToggledAction;
11
+ export type AutoPreviewState = boolean | undefined;
12
+ export declare const INITIAL_STATE: AutoPreviewState;
13
+ export default function reducer(state: AutoPreviewState, action: AnyAction): AutoPreviewState;
12
14
  export declare const toggleAutoPreview: (newVal: boolean) => PipelineBuilderThunkAction<void>;
13
15
  //# sourceMappingURL=auto-preview.d.ts.map
@@ -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,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
+ {"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;AAQpD,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;AACF,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;AACzD,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,SAAS,CAAC;AAEnD,eAAO,MAAM,aAAa,EAAE,gBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,kBAAkC,EACvC,MAAM,EAAE,SAAS,GAChB,gBAAgB,CAgBlB;AAED,eAAO,MAAM,iBAAiB,WACpB,OAAO,KACd,2BAA2B,IAAI,CAQjC,CAAC"}
@@ -1,5 +1,6 @@
1
- export declare const CLONE_PIPELINE = "aggregations/CLONE_PIPELINE";
2
- export declare const clonePipeline: () => {
3
- type: string;
4
- };
1
+ export declare const CLONE_PIPELINE: "aggregations/CLONE_PIPELINE";
2
+ export interface ClonePipelineAction {
3
+ type: typeof CLONE_PIPELINE;
4
+ }
5
+ export declare const clonePipeline: () => ClonePipelineAction;
5
6
  //# sourceMappingURL=clone-pipeline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"clone-pipeline.d.ts","sourceRoot":"","sources":["../../../src/modules/clone-pipeline.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,gCAAgC,CAAC;AAK5D,eAAO,MAAM,aAAa;;CAExB,CAAC"}
1
+ {"version":3,"file":"clone-pipeline.d.ts","sourceRoot":"","sources":["../../../src/modules/clone-pipeline.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,+BAAyC,CAAC;AAErE,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,OAAO,cAAc,CAAC;CAC7B;AAKD,eAAO,MAAM,aAAa,QAAO,mBAE/B,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import type { CollationOptions } from 'mongodb';
2
2
  import type { AnyAction } from 'redux';
3
- export declare const COLLATION_STRING_CHANGED = "aggregations/collation/COLLATION_STRING_CHANGED";
3
+ export declare const COLLATION_STRING_CHANGED: "aggregations/collation/COLLATION_STRING_CHANGED";
4
4
  export type CollationStringChangedAction = {
5
5
  type: typeof COLLATION_STRING_CHANGED;
6
6
  value: string;
7
7
  };
8
+ export type CollationStringAction = CollationStringChangedAction;
8
9
  export type CollationStringState = {
9
10
  text: string;
10
11
  value: CollationOptions | null;
@@ -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,MAAM,MAAM,4BA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EAC3C,MAAM,EAAE,SAAS,GAChB,oBAAoB,CAqBtB;AAKD,eAAO,MAAM,sBAAsB,UAC1B,MAAM,KACZ,4BAEF,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { AnyAction } from 'redux';
2
1
  import type { PipelineBuilderThunkAction } from '.';
2
+ import type { AnyAction } from 'redux';
3
3
  type CollectionType = 'collection' | 'view';
4
4
  export type CollectionInfo = {
5
5
  name: string;
@@ -25,6 +25,7 @@ type CollectionDataUpdatedAction = {
25
25
  collection: string;
26
26
  data: CollectionData;
27
27
  };
28
+ export type CollectionFieldsAction = CollectionsFetchedAction | CollectionFieldsFetchedAction | CollectionDataUpdatedAction;
28
29
  export type CollectionData = {
29
30
  isLoading: boolean;
30
31
  type: CollectionType;
@@ -1 +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,2BA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: Object): boolean;
2
- export const INITIAL_STATE: true;
1
+ import type { AnyAction } from 'redux';
2
+ export type CommentsState = boolean;
3
+ export declare const INITIAL_STATE: CommentsState;
4
+ export default function reducer(state: boolean | undefined, action: AnyAction): CommentsState;
3
5
  //# sourceMappingURL=comments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/modules/comments.js"],"names":[],"mappings":"AAkBA,oEAJW,MAAM,WAmBhB;AAzBD,iCAAkC"}
1
+ {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/modules/comments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAcvC,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC;AAKpC,eAAO,MAAM,aAAa,EAAE,aAAoB,CAAC;AAUjD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,qBAA+B,EACpC,MAAM,EAAE,SAAS,GAChB,aAAa,CAwBf"}
@@ -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,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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f,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,CAmCtC,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"}
@@ -1,58 +1,59 @@
1
1
  import type { Reducer } from 'redux';
2
2
  import type { CreateViewThunkAction } from '../../stores/create-view';
3
- export declare const TOGGLE_IS_RUNNING = "aggregations/create-view/is-running/TOGGLE_IS_RUNNING";
4
- export declare const toggleIsRunning: (isRunning: boolean) => {
5
- type: string;
3
+ export declare const TOGGLE_IS_RUNNING: "aggregations/create-view/is-running/TOGGLE_IS_RUNNING";
4
+ interface ToggleIsRunningAction {
5
+ type: typeof TOGGLE_IS_RUNNING;
6
6
  isRunning: boolean;
7
- };
8
- export declare const TOGGLE_IS_VISIBLE = "aggregations/create-view/is-visible/TOGGLE_IS_VISIBLE";
9
- export declare const toggleIsVisible: (isVisible: boolean) => {
10
- type: string;
7
+ }
8
+ export declare const toggleIsRunning: (isRunning: boolean) => ToggleIsRunningAction;
9
+ export declare const TOGGLE_IS_VISIBLE: "aggregations/create-view/is-visible/TOGGLE_IS_VISIBLE";
10
+ interface ToggleIsVisibleAction {
11
+ type: typeof TOGGLE_IS_VISIBLE;
11
12
  isVisible: boolean;
12
- };
13
- export declare const HANDLE_ERROR = "aggregations/create-view/error/HANDLE_ERROR";
14
- export declare const handleError: (error: Error) => {
15
- type: string;
13
+ }
14
+ export declare const toggleIsVisible: (isVisible: boolean) => ToggleIsVisibleAction;
15
+ export declare const HANDLE_ERROR: "aggregations/create-view/error/HANDLE_ERROR";
16
+ interface HandleErrorAction {
17
+ type: typeof HANDLE_ERROR;
16
18
  error: Error;
17
- };
18
- export declare const CLEAR_ERROR = "aggregations/create-view/error/CLEAR_ERROR";
19
- export declare const clearError: () => {
20
- type: string;
21
- };
22
- export declare const CHANGE_VIEW_NAME = "aggregations/create-view/name/CHANGE_NAME";
23
- export declare const changeViewName: (name: string) => {
24
- type: string;
25
- name: string;
26
- };
27
- export declare const RESET = "aggregations/create-view/reset";
28
- export declare const reset: () => {
29
- type: string;
30
- };
31
- type CreateViewState = {
32
- isRunning: boolean;
33
- isVisible: boolean;
34
- isDuplicating: boolean;
19
+ }
20
+ export declare const handleError: (error: Error) => HandleErrorAction;
21
+ export declare const CLEAR_ERROR: "aggregations/create-view/error/CLEAR_ERROR";
22
+ interface ClearErrorAction {
23
+ type: typeof CLEAR_ERROR;
24
+ }
25
+ export declare const clearError: () => ClearErrorAction;
26
+ export declare const CHANGE_VIEW_NAME: "aggregations/create-view/name/CHANGE_NAME";
27
+ interface ChangeViewNameAction {
28
+ type: typeof CHANGE_VIEW_NAME;
35
29
  name: string;
36
- error: Error | null;
30
+ }
31
+ export declare const changeViewName: (name: string) => ChangeViewNameAction;
32
+ export declare const RESET: "aggregations/create-view/reset";
33
+ interface ResetAction {
34
+ type: typeof RESET;
35
+ }
36
+ export declare const reset: () => ResetAction;
37
+ declare const OPEN: "aggregations/create-view/OPEN";
38
+ interface OpenAction {
39
+ type: typeof OPEN;
37
40
  source: string;
38
41
  pipeline: unknown[];
39
- };
40
- export declare const INITIAL_STATE: {
42
+ duplicate: boolean;
43
+ }
44
+ export type CreateViewAction = ToggleIsRunningAction | ToggleIsVisibleAction | HandleErrorAction | ClearErrorAction | ChangeViewNameAction | ResetAction | OpenAction;
45
+ export type CreateViewState = {
41
46
  isRunning: boolean;
42
47
  isVisible: boolean;
43
48
  isDuplicating: boolean;
44
49
  name: string;
45
- error: null;
46
- source: string;
47
- pipeline: never[];
48
- };
49
- declare const reducer: Reducer<CreateViewState>;
50
- export default reducer;
51
- export declare const open: (sourceNs: string, sourcePipeline: unknown[], duplicate: boolean) => {
52
- type: string;
50
+ error: Error | null;
53
51
  source: string;
54
52
  pipeline: unknown[];
55
- duplicate: boolean;
56
53
  };
54
+ export declare const INITIAL_STATE: CreateViewState;
55
+ declare const reducer: Reducer<CreateViewState, CreateViewAction>;
56
+ export default reducer;
57
+ export declare const open: (sourceNs: string, sourcePipeline: unknown[], duplicate: boolean) => OpenAction;
57
58
  export declare const createView: () => CreateViewThunkAction<Promise<void>>;
58
59
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-view/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEtE,eAAO,MAAM,iBAAiB,0DAC2B,CAAC;AAE1D,eAAO,MAAM,eAAe,cAAe,OAAO;;;CAGhD,CAAC;AAEH,eAAO,MAAM,iBAAiB,0DAC2B,CAAC;AAE1D,eAAO,MAAM,eAAe,cAAe,OAAO;;;CAGhD,CAAC;AAKH,eAAO,MAAM,YAAY,gDAAgD,CAAC;AAK1E,eAAO,MAAM,WAAW,UAAW,KAAK;;;CAGtC,CAAC;AAEH,eAAO,MAAM,WAAW,+CAA+C,CAAC;AAExE,eAAO,MAAM,UAAU;;CAErB,CAAC;AAEH,eAAO,MAAM,gBAAgB,8CAA8C,CAAC;AAE5E,eAAO,MAAM,cAAc,SAAU,MAAM;;;CAGzC,CAAC;AAEH,eAAO,MAAM,KAAK,mCAAmC,CAAC;AAEtD,eAAO,MAAM,KAAK;;CAEhB,CAAC;AAOH,KAAK,eAAe,GAAG;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,GAAG,IAA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AAO,sBAAsB,QAAQ,IAAI,CAAC,CA4ChE,CAAC"}
@@ -1,12 +1,10 @@
1
- import type { DataService } from 'mongodb-data-service';
2
- import type { AnyAction } from 'redux';
3
- export declare const DATA_SERVICE_CONNECTED: string;
4
- type State = {
5
- error: Error | null;
1
+ import type { DataService as OriginalDataService } from 'mongodb-data-service';
2
+ export type RequiredDataServiceProps = 'isCancelError' | 'estimatedCount' | 'aggregate' | 'getConnectionString' | 'updateCollection';
3
+ export type OptionalDataServiceProps = 'explainAggregate' | 'getSearchIndexes' | 'find' | 'sample';
4
+ export type DataService = Pick<OriginalDataService, RequiredDataServiceProps> & Partial<Pick<OriginalDataService, OptionalDataServiceProps>>;
5
+ export type DataServiceState = {
6
6
  dataService: DataService | null;
7
7
  };
8
- export declare const INITIAL_STATE: State;
9
- export default function reducer(state: State | undefined, action: AnyAction): State;
10
- export declare const dataServiceConnected: (error: Error, dataService: DataService) => AnyAction;
11
- export {};
8
+ export declare const INITIAL_STATE: DataServiceState;
9
+ export default function reducer(state?: DataServiceState): DataServiceState;
12
10
  //# sourceMappingURL=data-service.d.ts.map
@@ -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,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
+ {"version":3,"file":"data-service.d.ts","sourceRoot":"","sources":["../../../src/modules/data-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE/E,MAAM,MAAM,wBAAwB,GAChC,eAAe,GACf,gBAAgB,GAChB,WAAW,GACX,qBAAqB,GACrB,kBAAkB,CAAC;AACvB,MAAM,MAAM,wBAAwB,GAChC,kBAAkB,GAClB,kBAAkB,GAClB,MAAM,GACN,QAAQ,CAAC;AAEb,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,mBAAmB,EAAE,wBAAwB,CAAC,GAE3E,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,wBAAwB,CAAC,CAAC,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;CACjC,CAAC;AAKF,eAAO,MAAM,aAAa,EAAE,gBAE3B,CAAC;AAKF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,mBAAgB,GAAG,gBAAgB,CAEvE"}
@@ -1,3 +1,3 @@
1
- export default function reducer(state?: any): any;
2
- export const INITIAL_STATE: null;
1
+ export declare const INITIAL_STATE: string | null;
2
+ export default function reducer(state?: string | null): string | null;
3
3
  //# sourceMappingURL=edit-view-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"edit-view-name.d.ts","sourceRoot":"","sources":["../../../src/modules/edit-view-name.js"],"names":[],"mappings":"AAYA,wCAJW,GAAG,GAED,GAAG,CAIf;AAXD,iCAAkC"}
1
+ {"version":3,"file":"edit-view-name.d.ts","sourceRoot":"","sources":["../../../src/modules/edit-view-name.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,EAAE,MAAM,GAAG,IAAW,CAAC;AAKjD,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,gBAAgB,iBAEpD"}
@@ -1,5 +1,5 @@
1
1
  import { type ENVS } from '@mongodb-js/mongodb-constants';
2
2
  export type ServerEnvironment = typeof ENVS[number];
3
3
  export declare const INITIAL_STATE: ServerEnvironment;
4
- export default function reducer(state?: "atlas" | "on-prem" | "adl"): "atlas" | "on-prem" | "adl";
4
+ export default function reducer(state?: "atlas" | "adl" | "on-prem"): "atlas" | "adl" | "on-prem";
5
5
  //# sourceMappingURL=env.d.ts.map
@@ -1,2 +1,3 @@
1
- export function exportToLanguage(): Function;
1
+ import type { PipelineBuilderThunkAction } from '.';
2
+ export declare const exportToLanguage: () => PipelineBuilderThunkAction<void>;
2
3
  //# sourceMappingURL=export-to-language.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"export-to-language.d.ts","sourceRoot":"","sources":["../../../src/modules/export-to-language.js"],"names":[],"mappings":"AAQO,6CAUN"}
1
+ {"version":3,"file":"export-to-language.d.ts","sourceRoot":"","sources":["../../../src/modules/export-to-language.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,eAAO,MAAM,gBAAgB,QAAO,2BAA2B,IAAI,CAUlE,CAAC"}
@@ -1,17 +1,19 @@
1
1
  import type { AnyAction } from 'redux';
2
- export declare const FIELDS_CHANGED = "aggregations/fields/FIELDS_CHANGED";
3
- export declare const INITIAL_STATE: {
2
+ export declare const FIELDS_CHANGED: "aggregations/fields/FIELDS_CHANGED";
3
+ interface FieldsChangedAction {
4
+ type: typeof FIELDS_CHANGED;
5
+ fields: {
6
+ name: string;
7
+ }[];
8
+ }
9
+ export type FieldsAction = FieldsChangedAction;
10
+ export type FieldsState = {
4
11
  name: string;
5
12
  }[];
6
- export default function reducer(state: {
7
- name: string;
8
- }[] | undefined, action: AnyAction): any;
13
+ export declare const INITIAL_STATE: FieldsState;
14
+ export default function reducer(state: FieldsState | undefined, action: AnyAction): FieldsState;
9
15
  export declare const fieldsChanged: (fields: {
10
16
  name: string;
11
- }[]) => {
12
- type: string;
13
- fields: {
14
- name: string;
15
- }[];
16
- };
17
+ }[]) => FieldsChangedAction;
18
+ export {};
17
19
  //# sourceMappingURL=fields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/modules/fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,cAAc,uCAAuC,CAAC;AAKnE,eAAO,MAAM,aAAa;UAAiB,MAAM;GAAI,CAAC;AAUtD,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK;;eAAgB,EAAE,MAAM,EAAE,SAAS,OAKvE;AAKD,eAAO,MAAM,aAAa,WAAY;IAAE,MAAM,MAAM,CAAA;CAAE,EAAE;;;cAAV,MAAM;;CAGlD,CAAC"}
1
+ {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/modules/fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,cAAc,sCAAgD,CAAC;AAC5E,UAAU,mBAAmB;IAC3B,IAAI,EAAE,OAAO,cAAc,CAAC;IAC5B,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC5B;AACD,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAAC;AAC/C,MAAM,MAAM,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,CAAC;AAK7C,eAAO,MAAM,aAAa,EAAE,WAAgB,CAAC;AAK7C,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,yBAA6B,EAClC,MAAM,EAAE,SAAS,GAChB,WAAW,CAKb;AAKD,eAAO,MAAM,aAAa,WAChB;IAAE,MAAM,MAAM,CAAA;CAAE,EAAE,KACzB,mBAGD,CAAC"}
@@ -12,19 +12,21 @@ type FocusModeEnabledAction = {
12
12
  type FocusModeDisabledAction = {
13
13
  type: ActionTypes.FocusModeDisabled;
14
14
  };
15
- type State = {
15
+ type SelectFocusModeStageAction = {
16
+ type: ActionTypes.SelectFocusModeStage;
17
+ index: number;
18
+ };
19
+ export type FocusModeAction = FocusModeEnabledAction | FocusModeDisabledAction | SelectFocusModeStageAction;
20
+ export type FocusModeState = {
16
21
  isEnabled: boolean;
17
22
  stageIndex: number;
18
23
  openedAt: number | null;
19
24
  };
20
- export declare const INITIAL_STATE: State;
21
- export default function reducer(state: State | undefined, action: AnyAction): State;
25
+ export declare const INITIAL_STATE: FocusModeState;
26
+ export default function reducer(state: FocusModeState | undefined, action: AnyAction): FocusModeState;
22
27
  export declare const enableFocusMode: (stageIndex: number) => PipelineBuilderThunkAction<void, FocusModeEnabledAction>;
23
28
  export declare const disableFocusMode: () => PipelineBuilderThunkAction<void, FocusModeDisabledAction>;
24
- export declare const selectFocusModeStage: (index: number) => {
25
- type: ActionTypes;
26
- index: number;
27
- };
29
+ export declare const selectFocusModeStage: (index: number) => SelectFocusModeStageAction;
28
30
  export declare const addStageInFocusMode: (index: number) => PipelineBuilderThunkAction<void>;
29
31
  export {};
30
32
  //# sourceMappingURL=focus-mode.d.ts.map
@@ -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,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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A0B,CAAC;AAC/B,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAI3B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,4BAAgC,EACrC,MAAM,EAAE,SAAS,GAChB,cAAc,CA6BhB;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,UACxB,MAAM,KACZ,0BAKF,CAAC;AAEF,eAAO,MAAM,mBAAmB,UACvB,MAAM,KACZ,2BAA2B,IAAI,CAKjC,CAAC"}
@@ -1,7 +1,14 @@
1
- export default function reducer(state: string | undefined, action: Object): string;
2
- export const CREATE_ID: "aggregations/id/CREATE_ID";
3
- export const INITIAL_STATE: "";
4
- export function createId(): {
5
- type: string;
1
+ import type { AnyAction } from 'redux';
2
+ export declare const CREATE_ID: "aggregations/id/CREATE_ID";
3
+ interface CreateIdAction {
4
+ type: typeof CREATE_ID;
5
+ }
6
+ export type IdAction = CreateIdAction;
7
+ export type IdState = string;
8
+ export declare const INITIAL_STATE: IdState;
9
+ export default function reducer(state: string | undefined, action: AnyAction): IdState;
10
+ export declare const createId: () => {
11
+ type: "aggregations/id/CREATE_ID";
6
12
  };
13
+ export {};
7
14
  //# sourceMappingURL=id.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/modules/id.js"],"names":[],"mappings":"AAwBA,mEAJW,MAAM,UAkBhB;AA7BD,oDAAqD;AAKrD,+BAAgC;AA+BzB,4BAFM;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAI3B"}
1
+ {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/modules/id.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,SAAS,6BAAuC,CAAC;AAC9D,UAAU,cAAc;IACtB,IAAI,EAAE,OAAO,SAAS,CAAC;CACxB;AACD,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAK7B,eAAO,MAAM,aAAa,EAAE,OAAY,CAAC;AAKzC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAyB,EAC9B,MAAM,EAAE,SAAS,GAChB,OAAO,CAuBT;AAOD,eAAO,MAAM,QAAQ;;CAEnB,CAAC"}
@@ -6,47 +6,28 @@ import type { PipelineStorage } from '@mongodb-js/my-queries-storage';
6
6
  declare const rootReducer: import("redux").Reducer<import("redux").CombinedState<{
7
7
  appRegistry: unknown;
8
8
  comments: boolean;
9
- autoPreview: boolean;
10
- dataService: {
11
- error: Error | null;
12
- dataService: import("mongodb-data-service").DataService | null;
13
- };
14
- fields: any;
15
- inputDocuments: {
16
- count: any;
17
- documents: import("hadron-document").default[];
18
- error: any;
19
- isLoading: boolean;
20
- isExpanded: boolean;
21
- };
9
+ autoPreview: import("./auto-preview").AutoPreviewState;
10
+ dataService: import("./data-service").DataServiceState;
11
+ fields: import("./fields").FieldsState;
12
+ inputDocuments: import("./input-documents").InputDocumentsState;
22
13
  namespace: string;
23
- env: "atlas" | "on-prem" | "adl";
14
+ env: "atlas" | "adl" | "on-prem";
24
15
  isTimeSeries: boolean;
25
16
  serverVersion: string;
26
- savedPipeline: {
27
- pipelines: any;
28
- isLoaded: boolean;
29
- };
17
+ savedPipeline: import("./saved-pipeline").SavedPipelineState;
30
18
  name: string;
31
19
  collationString: import("./collation-string").CollationStringState;
32
20
  id: string;
33
21
  isModified: boolean;
34
- settings: {
35
- isExpanded: boolean;
36
- isCommentMode: boolean;
37
- isDirty: boolean;
38
- sampleSize: number;
39
- limit: number;
40
- };
41
- limit: any;
42
- largeLimit: any;
22
+ settings: import("./settings").SettingsState;
23
+ limit: number;
24
+ largeLimit: number;
43
25
  maxTimeMS: number | null;
44
- savingPipeline: any;
45
- projections: any;
46
- editViewName: any;
47
- sourceName: any;
48
- outResultsFn: any;
49
- updateViewError: any;
26
+ savingPipeline: import("./saving-pipeline").SavingPipelineState;
27
+ editViewName: string | null;
28
+ sourceName: string | null;
29
+ outResultsFn: import("./out-results-fn").OutResultsFnState;
30
+ updateViewError: import("./update-view").UpdateViewState;
50
31
  aggregation: import("./aggregation").State;
51
32
  workspace: import("./workspace").Workspace;
52
33
  countDocuments: import("./count-documents").State;
@@ -58,21 +39,11 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
58
39
  stageEditor: import("./pipeline-builder/stage-editor").StageEditorState;
59
40
  textEditor: import("redux").CombinedState<{
60
41
  pipeline: import("./pipeline-builder/text-editor-pipeline").TextEditorState;
61
- outputStage: {
62
- isLoading: boolean;
63
- serverError: import("mongodb").MongoServerError | null;
64
- isComplete: boolean;
65
- };
42
+ outputStage: import("./pipeline-builder/text-editor-output-stage").OutputStageState;
66
43
  }>;
67
44
  }>;
68
- focusMode: {
69
- isEnabled: boolean;
70
- stageIndex: number;
71
- openedAt: number | null;
72
- };
73
- sidePanel: {
74
- isPanelOpen: boolean;
75
- };
45
+ focusMode: import("./focus-mode").FocusModeState;
46
+ sidePanel: import("./side-panel").SidePanelState;
76
47
  collectionsFields: {
77
48
  [x: string]: import("./collections-fields").CollectionData;
78
49
  };
@@ -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;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAgCvE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAoCf,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;IACjC,YAAY,EAAE,YAAY,CAAC;CAC5B,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"}
@@ -1,6 +1,6 @@
1
1
  import HadronDocument from 'hadron-document';
2
- import type { AnyAction } from 'redux';
3
2
  import type { PipelineBuilderThunkAction } from '.';
3
+ import type { AnyAction } from 'redux';
4
4
  export declare enum ActionTypes {
5
5
  CollapseToggled = "aggregations/input-documents/CollapseToggled",
6
6
  DocumentsFetchStarted = "aggregations/input-documents/DocumentsFetchStarted",
@@ -18,21 +18,16 @@ type DocumentsFetchFinishedAction = {
18
18
  documents: HadronDocument[];
19
19
  error: Error | null;
20
20
  };
21
- type State = {
21
+ export type InputDocumentsAction = CollapseToggledAction | DocumentsFetchFinishedAction | DocumentsFetchStartedAction;
22
+ export type InputDocumentsState = {
22
23
  count: number | null;
23
24
  documents: HadronDocument[];
24
25
  error: Error | null;
25
26
  isExpanded: boolean;
26
27
  isLoading: boolean;
27
28
  };
28
- export declare const INITIAL_STATE: State;
29
- declare const reducer: (state: State | undefined, action: AnyAction) => {
30
- count: any;
31
- documents: HadronDocument[];
32
- error: any;
33
- isLoading: boolean;
34
- isExpanded: boolean;
35
- };
29
+ export declare const INITIAL_STATE: InputDocumentsState;
30
+ declare const reducer: (state: InputDocumentsState | undefined, action: AnyAction) => InputDocumentsState;
36
31
  export default reducer;
37
32
  export declare const toggleInputDocumentsCollapsed: () => CollapseToggledAction;
38
33
  export declare const loadingInputDocuments: () => DocumentsFetchStartedAction;
@@ -1 +1 @@
1
- {"version":3,"file":"input-documents.d.ts","sourceRoot":"","sources":["../../../src/modules/input-documents.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAC7C,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,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,WAAW,CAAC,eAAe,CAAC;CACnC,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,IAAI,EAAE,WAAW,CAAC,qBAAqB,CAAC;CACzC,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,IAAI,EAAE,WAAW,CAAC,sBAAsB,CAAC;IACzC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAC;AAEF,QAAA,MAAM,OAAO,qCAAmC,SAAS;;;;;gBAZ3C,OAAO;CA+BpB,CAAC;AAEF,eAAe,OAA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,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,mBAM3B,CAAC;AAEF,QAAA,MAAM,OAAO,mDAEH,SAAS,KAChB,mBA6BF,CAAC;AAEF,eAAe,OAAO,CAAC;AAEvB,eAAO,MAAM,6BAA6B,QAAO,qBAE/C,CAAC;AAEH,eAAO,MAAM,qBAAqB,QAAO,2BAEvC,CAAC;AAEH,eAAO,MAAM,oBAAoB,UACxB,MAAM,GAAG,IAAI,aACT,cAAc,EAAE,SACpB,KAAK,GAAG,IAAI,KAClB,4BAKD,CAAC;AAEH,eAAO,MAAM,qBAAqB,QAAO,2BACvC,QAAQ,IAAI,CAAC,CA2Cd,CAAC"}
@@ -1,5 +1,12 @@
1
1
  import type { Reducer } from 'redux';
2
+ import { ExplainPlan } from '@mongodb-js/explain-plan-helper';
2
3
  import type { PipelineBuilderThunkAction } from '.';
4
+ declare const FETCH_EXPLAIN_PLAN_SUCCESS: "compass-aggregations/FETCH_EXPLAIN_PLAN_SUCCESS";
5
+ interface FetchExplainPlanSuccessAction {
6
+ type: typeof FETCH_EXPLAIN_PLAN_SUCCESS;
7
+ explainPlan: ExplainPlan;
8
+ }
9
+ export type InsightsAction = FetchExplainPlanSuccessAction;
3
10
  declare const reducer: Reducer<{
4
11
  isCollectionScan: boolean;
5
12
  }>;