@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 +1 @@
1
- {"version":3,"file":"saving-pipeline.d.ts","sourceRoot":"","sources":["../../../src/modules/saving-pipeline.js"],"names":[],"mappings":"AA8BA,mEAJW,MAAM,GAEJ,GAAG,CAmCf;AA3DD,uFAC8C;AAE9C,yEAA0E;AAE1E,2EAA4E;AAE5E,uEAAwE;;;;;;AA6DjE,yDAFM,MAAM,CAKjB;AAOK,uCAFM,MAAM,CAYlB;AAMM,wCAFM,MAAM,CAIjB;AAOK;;;IAFM,OAAO,OAAO,EAAE,SAAS,CAQrC;AAQM;;WAgBN"}
1
+ {"version":3,"file":"saving-pipeline.d.ts","sourceRoot":"","sources":["../../../src/modules/saving-pipeline.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,eAAO,MAAM,4BAA4B,6CACa,CAAC;AACvD,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,OAAO,4BAA4B,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,qBAAqB,sCACa,CAAC;AAChD,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,OAAO,qBAAqB,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,sBAAsB,uCACa,CAAC;AACjD,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,OAAO,sBAAsB,CAAC;CACrC;AAED,eAAO,MAAM,oBAAoB,qCACa,CAAC;AAC/C,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,OAAO,oBAAoB,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;CACnB;AACD,MAAM,MAAM,oBAAoB,GAC5B,+BAA+B,GAC/B,yBAAyB,GACzB,0BAA0B,GAC1B,wBAAwB,CAAC;AAE7B,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;CACnB;AAKD,eAAO,MAAM,aAAa,EAAE,mBAI3B,CAAC;AAUF,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,iCAAqC,EAC1C,MAAM,EAAE,SAAS,GAChB,mBAAmB,CAyCrB;AAKD,eAAO,MAAM,yBAAyB,SAC9B,MAAM,KACX,+BAGD,CAAC;AAKH,eAAO,MAAM,mBAAmB,QAC1B,2BAA2B,IAAI,EAAE,yBAAyB,CAW7D,CAAC;AAMJ,eAAO,MAAM,oBAAoB,QAAO,0BAEtC,CAAC;AAKH,eAAO,MAAM,kBAAkB;;;MAGtB,wBAMR,CAAC;AAQF,eAAO,MAAM,cAAc,QAAO,2BAA2B,IAAI,CAgBhE,CAAC"}
@@ -13,6 +13,17 @@ export declare enum ActionTypes {
13
13
  FetchIndexesFinished = "compass-aggregations/search-indexes/FetchIndexesFinished",
14
14
  FetchIndexesFailed = "compass-aggregations/search-indexes/FetchIndexesFailed"
15
15
  }
16
+ type FetchIndexesStartedAction = {
17
+ type: ActionTypes.FetchIndexesStarted;
18
+ };
19
+ type FetchIndexesFinishedAction = {
20
+ type: ActionTypes.FetchIndexesFinished;
21
+ indexes: SearchIndex[];
22
+ };
23
+ type FetchIndexesFailedAction = {
24
+ type: ActionTypes.FetchIndexesFailed;
25
+ };
26
+ export type SearchIndexesAction = FetchIndexesFailedAction | FetchIndexesStartedAction | FetchIndexesFinishedAction;
16
27
  type State = {
17
28
  isSearchIndexesSupported: boolean;
18
29
  indexes: SearchIndex[];
@@ -1 +1 @@
1
- {"version":3,"file":"search-indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/search-indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,OAAO,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AA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AG;IAC/B,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAAC;CACvC,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,WAAW,CAAC,oBAAoB,CAAC;IACvC,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,WAAW,CAAC,kBAAkB,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAC3B,wBAAwB,GACxB,yBAAyB,GACzB,0BAA0B,CAAC;AAE/B,KAAK,KAAK,GAAG;IACX,wBAAwB,EAAE,OAAO,CAAC;IAClC,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CA8B3B,CAAC;AAEF,eAAO,MAAM,YAAY,QAAO,2BAA2B,QAAQ,IAAI,CAAC,CAmCvE,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,2BAA2B,IAAI,CAInE,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,3 +1,3 @@
1
+ export declare const INITIAL_STATE = "4.0.0";
1
2
  export default function reducer(state?: string): string;
2
- export const INITIAL_STATE: "4.0.0";
3
3
  //# sourceMappingURL=server-version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server-version.d.ts","sourceRoot":"","sources":["../../../src/modules/server-version.js"],"names":[],"mappings":"AAaA,wDAEC;AAZD,oCAAqC"}
1
+ {"version":3,"file":"server-version.d.ts","sourceRoot":"","sources":["../../../src/modules/server-version.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,UAAU,CAAC;AAUrC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,SAAgB,UAEpD"}
@@ -1,33 +1,42 @@
1
- import type { AnyAction, Reducer } from 'redux';
1
+ import type { Reducer } from 'redux';
2
2
  import type { PipelineBuilderThunkAction } from '.';
3
- export declare const TOGGLE_IS_EXPANDED: string;
4
- export declare const TOGGLE_COMMENT_MODE: string;
5
- export declare const SET_SAMPLE_SIZE: string;
6
- export declare const SET_LIMIT: string;
7
- export declare const APPLY_SETTINGS: string;
8
- type State = {
3
+ export declare const TOGGLE_IS_EXPANDED: "aggregations/settings/TOGGLE_IS_EXPANDED";
4
+ export interface ToggleIsExpandedAction {
5
+ type: typeof TOGGLE_IS_EXPANDED;
6
+ }
7
+ export declare const TOGGLE_COMMENT_MODE: "aggregations/settings/TOGGLE_COMMENT_MODE";
8
+ export interface ToggleCommentModeAction {
9
+ type: typeof TOGGLE_COMMENT_MODE;
10
+ }
11
+ export declare const SET_SAMPLE_SIZE: "aggregations/settings/SET_SAMPLE_SIZE";
12
+ export interface SetSampleSizeAction {
13
+ type: typeof SET_SAMPLE_SIZE;
14
+ value: number;
15
+ }
16
+ export declare const SET_LIMIT: "aggregations/settings/SET_LIMIT";
17
+ export interface SetLimitAction {
18
+ type: typeof SET_LIMIT;
19
+ value: number;
20
+ }
21
+ export declare const APPLY_SETTINGS: "aggregations/settings/APPLY_SETTINGS";
22
+ export interface ApplySettingsAction {
23
+ type: typeof APPLY_SETTINGS;
24
+ settings: SettingsState;
25
+ }
26
+ export type SettingsAction = ToggleIsExpandedAction | ToggleCommentModeAction | SetSampleSizeAction | SetLimitAction | ApplySettingsAction;
27
+ export type SettingsState = {
9
28
  isExpanded: boolean;
10
29
  isCommentMode: boolean;
11
30
  isDirty: boolean;
12
31
  sampleSize: number;
13
32
  limit: number;
14
33
  };
15
- export declare const INITIAL_STATE: State;
16
- declare const reducer: Reducer<State, AnyAction>;
17
- export declare const toggleSettingsIsExpanded: () => {
18
- type: string;
19
- };
20
- export declare const toggleSettingsIsCommentMode: () => {
21
- type: string;
22
- };
23
- export declare const setSettingsSampleSize: (value: number) => {
24
- type: string;
25
- value: number;
26
- };
27
- export declare const setSettingsLimit: (value: number) => {
28
- type: string;
29
- value: number;
30
- };
34
+ export declare const INITIAL_STATE: SettingsState;
35
+ declare const reducer: Reducer<SettingsState>;
36
+ export declare const toggleSettingsIsExpanded: () => ToggleIsExpandedAction;
37
+ export declare const toggleSettingsIsCommentMode: () => ToggleCommentModeAction;
38
+ export declare const setSettingsSampleSize: (value: number) => SetSampleSizeAction;
39
+ export declare const setSettingsLimit: (value: number) => SetLimitAction;
31
40
  export declare const applySettings: () => PipelineBuilderThunkAction<void>;
32
41
  export default reducer;
33
42
  //# sourceMappingURL=settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/modules/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAIpD,eAAO,MAAM,kBAAkB,QAAiC,CAAC;AAEjE,eAAO,MAAM,mBAAmB,QAAkC,CAAC;AAEnE,eAAO,MAAM,eAAe,QAA8B,CAAC;AAE3D,eAAO,MAAM,SAAS,QAAwB,CAAC;AAE/C,eAAO,MAAM,cAAc,QAA6B,CAAC;AAMzD,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CA6CtC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;CAEnC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;CAEtC,CAAC;AAEH,eAAO,MAAM,qBAAqB,UAAW,MAAM;;;CAGjD,CAAC;AAEH,eAAO,MAAM,gBAAgB,UAAW,MAAM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,EAAE,aAM3B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,aAAa,CAkDnC,CAAC;AAEF,eAAO,MAAM,wBAAwB,QAAO,sBAE1C,CAAC;AAEH,eAAO,MAAM,2BAA2B,QAAO,uBAE7C,CAAC;AAEH,eAAO,MAAM,qBAAqB,UAAW,MAAM,KAAG,mBAGpD,CAAC;AAEH,eAAO,MAAM,gBAAgB,UAAW,MAAM,KAAG,cAG/C,CAAC;AAOH,eAAO,MAAM,aAAa,QAAO,2BAA2B,IAAI,CAM/D,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,16 +1,17 @@
1
- import type { AnyAction } from 'redux';
2
1
  import { type PipelineBuilderThunkAction } from '.';
2
+ import type { AnyAction } from 'redux';
3
3
  declare enum ActionTypes {
4
4
  SidePanelToggled = "compass-aggregations/sidePanelToggled"
5
5
  }
6
6
  type SidePanelToggledAction = {
7
7
  type: ActionTypes.SidePanelToggled;
8
8
  };
9
- type State = {
9
+ export type SidePanelAction = SidePanelToggledAction;
10
+ export type SidePanelState = {
10
11
  isPanelOpen: boolean;
11
12
  };
12
- export declare const INITIAL_PANEL_OPEN_LOCAL_STORAGE_KEY = "is_aggregation_side_panel_open";
13
- export default function reducer(state: State | undefined, action: AnyAction): State;
13
+ export declare const INITIAL_PANEL_OPEN_LOCAL_STORAGE_KEY: "is_aggregation_side_panel_open";
14
+ export default function reducer(state: SidePanelState | undefined, action: AnyAction): SidePanelState;
14
15
  export declare const toggleSidePanel: () => PipelineBuilderThunkAction<void, SidePanelToggledAction>;
15
16
  export {};
16
17
  //# sourceMappingURL=side-panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"side-panel.d.ts","sourceRoot":"","sources":["../../../src/modules/side-panel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAKpD,aAAK,WAAW;IACd,gBAAgB,0CAA0C;CAC3D;AAED,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;CACpC,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,oCAAoC,mCACf,CAAC;AAEnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgC,EACrC,MAAM,EAAE,SAAS,GAChB,KAAK,CASP;AAED,eAAO,MAAM,eAAe,QAAO,2BACjC,IAAI,EACJ,sBAAsB,CA4BvB,CAAC"}
1
+ {"version":3,"file":"side-panel.d.ts","sourceRoot":"","sources":["../../../src/modules/side-panel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAGpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,aAAK,WAAW;IACd,gBAAgB,0CAA0C;CAC3D;AAED,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;CACpC,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAErD,MAAM,MAAM,cAAc,GAAG;IAC3B,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,oCAAoC,kCACN,CAAC;AAE5C,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,4BAAyC,EAC9C,MAAM,EAAE,SAAS,GAChB,cAAc,CAShB;AAED,eAAO,MAAM,eAAe,QAAO,2BACjC,IAAI,EACJ,sBAAsB,CA4BvB,CAAC"}
@@ -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=source-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source-name.d.ts","sourceRoot":"","sources":["../../../src/modules/source-name.js"],"names":[],"mappings":"AAaA,wCALW,GAAG,GAGD,GAAG,CAIf;AAZD,iCAAkC"}
1
+ {"version":3,"file":"source-name.d.ts","sourceRoot":"","sources":["../../../src/modules/source-name.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,EAAE,MAAM,GAAG,IAAW,CAAC;AAKjD,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,gBAAgB,iBAEpD"}
@@ -1,8 +1,20 @@
1
- export default function reducer(state: null | undefined, action: any): any;
2
- export const INITIAL_STATE: null;
3
- export const ERROR_UPDATING_VIEW: "aggregations/update-view/ERROR_UPDATING_VIEW";
4
- export const DISMISS_VIEW_UPDATE_ERROR: "aggregations/update-view/DISMISS_VIEW_UPDATE_ERROR";
5
- export function updateViewErrorOccured(error: Error): Object;
6
- export function dismissViewError(): Object;
7
- export function updateView(): Function;
1
+ import type { PipelineBuilderThunkAction } from '.';
2
+ import type { AnyAction } from 'redux';
3
+ export type UpdateViewState = null | string;
4
+ export declare const INITIAL_STATE: UpdateViewState;
5
+ export declare const ERROR_UPDATING_VIEW: "aggregations/update-view/ERROR_UPDATING_VIEW";
6
+ interface ErrorUpdatingViewAction {
7
+ type: typeof ERROR_UPDATING_VIEW;
8
+ error: string;
9
+ }
10
+ export declare const DISMISS_VIEW_UPDATE_ERROR: "aggregations/update-view/DISMISS_VIEW_UPDATE_ERROR";
11
+ interface DismissViewUpdateErrorAction {
12
+ type: typeof DISMISS_VIEW_UPDATE_ERROR;
13
+ }
14
+ export type UpdateViewAction = ErrorUpdatingViewAction | DismissViewUpdateErrorAction;
15
+ export default function reducer(state: UpdateViewState | undefined, action: AnyAction): UpdateViewState;
16
+ export declare const updateViewErrorOccured: (error: Error | string) => ErrorUpdatingViewAction;
17
+ export declare const dismissViewError: () => DismissViewUpdateErrorAction;
18
+ export declare const updateView: () => PipelineBuilderThunkAction<Promise<void>>;
19
+ export {};
8
20
  //# sourceMappingURL=update-view.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-view.d.ts","sourceRoot":"","sources":["../../../src/modules/update-view.js"],"names":[],"mappings":"AAwBA,2EAWC;AArBD,iCAAkC;AAGlC,iFACiD;AAGjD,6FACuD;AAsBhD,8CAJI,KAAK,GAEH,MAAM,CAKjB;AAOK,oCAFM,MAAM,CAIjB;AAOK,uCAoCN"}
1
+ {"version":3,"file":"update-view.d.ts","sourceRoot":"","sources":["../../../src/modules/update-view.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAEpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,MAAM,CAAC;AAK5C,eAAO,MAAM,aAAa,EAAE,eAAsB,CAAC;AAGnD,eAAO,MAAM,mBAAmB,gDACyB,CAAC;AAC1D,UAAU,uBAAuB;IAC/B,IAAI,EAAE,OAAO,mBAAmB,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,eAAO,MAAM,yBAAyB,sDACyB,CAAC;AAChE,UAAU,4BAA4B;IACpC,IAAI,EAAE,OAAO,yBAAyB,CAAC;CACxC;AAED,MAAM,MAAM,gBAAgB,GACxB,uBAAuB,GACvB,4BAA4B,CAAC;AAEjC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,6BAAiC,EACtC,MAAM,EAAE,SAAS,GAChB,eAAe,CAcjB;AAKD,eAAO,MAAM,sBAAsB,UAC1B,KAAK,GAAG,MAAM,KACpB,uBAGD,CAAC;AAOH,eAAO,MAAM,gBAAgB,QAAO,4BAElC,CAAC;AAOH,eAAO,MAAM,UAAU,QAAO,2BAA2B,QAAQ,IAAI,CAAC,CAoCrE,CAAC"}
@@ -1,17 +1,17 @@
1
- import type { AnyAction, Reducer } from 'redux';
1
+ import type { Reducer } from 'redux';
2
2
  import type { PipelineBuilderThunkAction } from '.';
3
3
  export type Workspace = 'builder' | 'results';
4
4
  export declare enum ActionTypes {
5
5
  WorkspaceChanged = "compass-aggregations/workspaceChanged"
6
6
  }
7
- type WorkspaceChangedAction = {
7
+ export type WorkspaceChangedAction = {
8
8
  type: ActionTypes.WorkspaceChanged;
9
9
  view: Workspace;
10
10
  };
11
11
  export type Actions = WorkspaceChangedAction;
12
12
  export type State = Workspace;
13
13
  export declare const INITIAL_STATE: State;
14
- declare const reducer: Reducer<State, AnyAction>;
14
+ declare const reducer: Reducer<State>;
15
15
  export declare const editPipeline: () => PipelineBuilderThunkAction<void>;
16
16
  export default reducer;
17
17
  //# sourceMappingURL=workspace.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../../src/modules/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKhD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAIpD,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9C,oBAAY,WAAW;IACrB,gBAAgB,0CAA0C;CAC3D;AAED,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;IACnC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,sBAAsB,CAAC;AAC7C,MAAM,MAAM,KAAK,GAAG,SAAS,CAAC;AAE9B,eAAO,MAAM,aAAa,EAAE,KAAiB,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAWtC,CAAC;AAEF,eAAO,MAAM,YAAY,QAAO,2BAA2B,IAAI,CAS9D,CAAC;AACF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../../src/modules/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMrC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAMpD,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9C,oBAAY,WAAW;IACrB,gBAAgB,0CAA0C;CAC3D;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;IACnC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,sBAAsB,CAAC;AAC7C,MAAM,MAAM,KAAK,GAAG,SAAS,CAAC;AAE9B,eAAO,MAAM,aAAa,EAAE,KAAiB,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CAgB3B,CAAC;AAEF,eAAO,MAAM,YAAY,QAAO,2BAA2B,IAAI,CAS9D,CAAC;AACF,eAAe,OAAO,CAAC"}
@@ -1,6 +1,2 @@
1
- export default Plugin;
2
- export const Plugin: (props: Omit<any, "enableExplainPlan" | "enableImportExport" | "enableAggregationBuilderRunPipeline"> & Partial<Pick<any, "enableExplainPlan" | "enableImportExport" | "enableAggregationBuilderRunPipeline">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>;
3
- import configureStore from './stores/store';
4
- import React from 'react';
5
- export { configureStore };
1
+ export declare function AggregationsPlugin(): JSX.Element;
6
2
  //# sourceMappingURL=plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plugin.jsx"],"names":[],"mappings":";AAwCA,0SAQE;2BA5CyB,gBAAgB;kBAJV,OAAO"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plugin.tsx"],"names":[],"mappings":"AAKA,wBAAgB,kBAAkB,gBAiBjC"}
@@ -1,5 +1,6 @@
1
- import type { AnyAction, Action } from 'redux';
1
+ import type { Action } from 'redux';
2
2
  import type { ThunkAction } from 'redux-thunk';
3
+ import type { CreateViewAction } from '../modules/create-view';
3
4
  import type AppRegistry from 'hadron-app-registry';
4
5
  import type { DataService } from 'mongodb-data-service';
5
6
  import type { LoggerAndTelemetry } from '@mongodb-js/compass-logging/provider';
@@ -8,30 +9,14 @@ type CreateViewServices = {
8
9
  dataService: Pick<DataService, 'createView'>;
9
10
  logger: LoggerAndTelemetry;
10
11
  };
11
- export declare function configureStore(services: CreateViewServices): import("redux").Store<{
12
- isRunning: boolean;
13
- isVisible: boolean;
14
- isDuplicating: boolean;
15
- name: string;
16
- error: Error | null;
17
- source: string;
18
- pipeline: unknown[];
19
- }, AnyAction> & {
20
- dispatch: import("redux-thunk").ThunkDispatch<any, CreateViewServices, AnyAction>;
12
+ export declare function configureStore(services: CreateViewServices): import("redux").Store<import("../modules/create-view").CreateViewState, CreateViewAction> & {
13
+ dispatch: import("redux-thunk").ThunkDispatch<any, CreateViewServices, import("redux").AnyAction>;
21
14
  };
22
15
  export type CreateViewRootState = ReturnType<ReturnType<typeof configureStore>['getState']>;
23
- export type CreateViewThunkAction<R, A extends Action = AnyAction> = ThunkAction<R, CreateViewRootState, CreateViewServices, A>;
16
+ export type CreateViewThunkAction<R, A extends Action = CreateViewAction> = ThunkAction<R, CreateViewRootState, CreateViewServices, A>;
24
17
  export declare function activateCreateViewPlugin(_: unknown, { globalAppRegistry, dataService, logger }: CreateViewServices): {
25
- store: import("redux").Store<{
26
- isRunning: boolean;
27
- isVisible: boolean;
28
- isDuplicating: boolean;
29
- name: string;
30
- error: Error | null;
31
- source: string;
32
- pipeline: unknown[];
33
- }, AnyAction> & {
34
- dispatch: import("redux-thunk").ThunkDispatch<any, CreateViewServices, AnyAction>;
18
+ store: import("redux").Store<import("../modules/create-view").CreateViewState, CreateViewAction> & {
19
+ dispatch: import("redux-thunk").ThunkDispatch<any, CreateViewServices, import("redux").AnyAction>;
35
20
  };
36
21
  deactivate(this: void): void;
37
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"create-view.d.ts","sourceRoot":"","sources":["../../../src/stores/create-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,KAAK,kBAAkB,GAAG;IACxB,iBAAiB,EAAE,WAAW,CAAC;IAC/B,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;IAC7C,MAAM,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AAEF,wBAAgB,cAAc,CAAC,QAAQ,EAAE,kBAAkB;;;;;;;;;;EAK1D;AAED,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAC1C,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,UAAU,CAAC,CAC9C,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAC/B,CAAC,EACD,CAAC,SAAS,MAAM,GAAG,SAAS,IAC1B,WAAW,CAAC,CAAC,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC;AAE/D,wBAAgB,wBAAwB,CACtC,CAAC,EAAE,OAAO,EACV,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,kBAAkB;;;;;;;;;;;;qBAgB3C,IAAI;EAIxB"}
1
+ {"version":3,"file":"create-view.d.ts","sourceRoot":"","sources":["../../../src/stores/create-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,KAAK,kBAAkB,GAAG;IACxB,iBAAiB,EAAE,WAAW,CAAC;IAC/B,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;IAC7C,MAAM,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AAEF,wBAAgB,cAAc,CAAC,QAAQ,EAAE,kBAAkB;;EAK1D;AAED,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAC1C,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,UAAU,CAAC,CAC9C,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAC/B,CAAC,EACD,CAAC,SAAS,MAAM,GAAG,gBAAgB,IACjC,WAAW,CAAC,CAAC,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC;AAE/D,wBAAgB,wBAAwB,CACtC,CAAC,EAAE,OAAO,EACV,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,kBAAkB;;;;qBAgB3C,IAAI;EAIxB"}
@@ -1,21 +1,14 @@
1
1
  import type { Store } from 'redux';
2
2
  import { AtlasService } from '@mongodb-js/atlas-service/renderer';
3
- import { PipelineBuilder } from '../modules/pipeline-builder/pipeline-builder';
4
- import type { SavedPipeline } from '@mongodb-js/my-queries-storage';
3
+ import type { PipelineBuilderThunkDispatch } from '../modules';
5
4
  import { PipelineStorage } from '@mongodb-js/my-queries-storage';
6
- import type { DataService } from 'mongodb-data-service';
7
5
  import type AppRegistry from 'hadron-app-registry';
8
6
  import type { ENVS } from '@mongodb-js/mongodb-constants';
9
7
  import type { CollectionInfo } from '../modules/collections-fields';
8
+ import type { DataService } from '../modules/data-service';
10
9
  export type ConfigureStoreOptions = {
11
- dataProvider: {
12
- dataProvider: Pick<DataService, 'isCancelError' | 'estimatedCount' | 'aggregate' | 'getConnectionString'> & Partial<Pick<DataService, 'explainAggregate'>>;
13
- error?: Error;
14
- };
15
10
  namespace: string;
16
11
  } & Partial<{
17
- localAppRegistry: Pick<AppRegistry, 'on' | 'emit' | 'getStore'>;
18
- globalAppRegistry: Pick<AppRegistry, 'on' | 'emit' | 'getStore'>;
19
12
  sourceName: string;
20
13
  serverVersion: string;
21
14
  isTimeSeries: boolean;
@@ -25,7 +18,7 @@ export type ConfigureStoreOptions = {
25
18
  name: string;
26
19
  }[];
27
20
  outResultsFn: (namespace: string) => void;
28
- aggregation: SavedPipeline;
21
+ aggregation: unknown;
29
22
  editViewName: string;
30
23
  sourcePipeline: unknown[];
31
24
  pipeline: unknown[];
@@ -35,93 +28,67 @@ export type ConfigureStoreOptions = {
35
28
  atlasService: AtlasService;
36
29
  isSearchIndexesSupported: boolean;
37
30
  }>;
38
- declare const configureStore: (options: ConfigureStoreOptions) => Store<import("redux").EmptyObject & {
39
- appRegistry: unknown;
40
- comments: boolean;
41
- autoPreview: boolean;
42
- dataService: {
43
- error: Error | null;
44
- dataService: DataService | null;
45
- };
46
- fields: any;
47
- inputDocuments: {
48
- count: any;
49
- documents: import("hadron-document").default[];
50
- error: any;
51
- isLoading: boolean;
52
- isExpanded: boolean;
53
- };
54
- namespace: string;
55
- env: "atlas" | "on-prem" | "adl";
56
- isTimeSeries: boolean;
57
- serverVersion: string;
58
- savedPipeline: {
59
- pipelines: any;
60
- isLoaded: boolean;
61
- };
62
- name: string;
63
- collationString: import("../modules/collation-string").CollationStringState;
64
- id: string;
65
- isModified: boolean;
66
- settings: {
67
- isExpanded: boolean;
68
- isCommentMode: boolean;
69
- isDirty: boolean;
70
- sampleSize: number;
31
+ export type AggregationsPluginServices = {
32
+ dataService: DataService;
33
+ localAppRegistry: Pick<AppRegistry, 'on' | 'emit' | 'removeListener' | 'getStore'>;
34
+ globalAppRegistry: Pick<AppRegistry, 'on' | 'emit' | 'removeListener' | 'getStore'>;
35
+ };
36
+ export declare function activateAggregationsPlugin(options: ConfigureStoreOptions, { dataService, localAppRegistry, globalAppRegistry, }: AggregationsPluginServices): {
37
+ store: Store<import("redux").CombinedState<{
38
+ appRegistry: unknown;
39
+ comments: boolean;
40
+ autoPreview: import("../modules/auto-preview").AutoPreviewState;
41
+ dataService: import("../modules/data-service").DataServiceState;
42
+ fields: import("../modules/fields").FieldsState;
43
+ inputDocuments: import("../modules/input-documents").InputDocumentsState;
44
+ namespace: string;
45
+ env: "atlas" | "adl" | "on-prem";
46
+ isTimeSeries: boolean;
47
+ serverVersion: string;
48
+ savedPipeline: import("../modules/saved-pipeline").SavedPipelineState;
49
+ name: string;
50
+ collationString: import("../modules/collation-string").CollationStringState;
51
+ id: string;
52
+ isModified: boolean;
53
+ settings: import("../modules/settings").SettingsState;
71
54
  limit: number;
72
- };
73
- limit: any;
74
- largeLimit: any;
75
- maxTimeMS: number | null;
76
- savingPipeline: any;
77
- projections: any;
78
- editViewName: any;
79
- sourceName: any;
80
- outResultsFn: any;
81
- updateViewError: any;
82
- aggregation: import("../modules/aggregation").State;
83
- workspace: import("../modules/workspace").Workspace;
84
- countDocuments: import("../modules/count-documents").State;
85
- aggregationWorkspaceId: string;
86
- isDataLake: boolean;
87
- pipelineBuilder: import("redux").CombinedState<{
88
- aiPipeline: import("../modules/pipeline-builder/pipeline-ai").AIPipelineState;
89
- pipelineMode: import("../modules/pipeline-builder/pipeline-mode").PipelineMode;
90
- stageEditor: import("../modules/pipeline-builder/stage-editor").StageEditorState;
91
- textEditor: import("redux").CombinedState<{
92
- pipeline: import("../modules/pipeline-builder/text-editor-pipeline").TextEditorState;
93
- outputStage: {
94
- isLoading: boolean;
95
- serverError: import("mongodb").MongoServerError | null;
96
- isComplete: boolean;
97
- };
55
+ largeLimit: number;
56
+ maxTimeMS: number | null;
57
+ savingPipeline: import("../modules/saving-pipeline").SavingPipelineState;
58
+ editViewName: string | null;
59
+ sourceName: string | null;
60
+ outResultsFn: import("../modules/out-results-fn").OutResultsFnState;
61
+ updateViewError: import("../modules/update-view").UpdateViewState;
62
+ aggregation: import("../modules/aggregation").State;
63
+ workspace: import("../modules/workspace").Workspace;
64
+ countDocuments: import("../modules/count-documents").State;
65
+ aggregationWorkspaceId: string;
66
+ isDataLake: boolean;
67
+ pipelineBuilder: import("redux").CombinedState<{
68
+ aiPipeline: import("../modules/pipeline-builder/pipeline-ai").AIPipelineState;
69
+ pipelineMode: import("../modules/pipeline-builder/pipeline-mode").PipelineMode;
70
+ stageEditor: import("../modules/pipeline-builder/stage-editor").StageEditorState;
71
+ textEditor: import("redux").CombinedState<{
72
+ pipeline: import("../modules/pipeline-builder/text-editor-pipeline").TextEditorState;
73
+ outputStage: import("../modules/pipeline-builder/text-editor-output-stage").OutputStageState;
74
+ }>;
98
75
  }>;
99
- }>;
100
- focusMode: {
101
- isEnabled: boolean;
102
- stageIndex: number;
103
- openedAt: number | null;
104
- };
105
- sidePanel: {
106
- isPanelOpen: boolean;
107
- };
108
- collectionsFields: {
109
- [x: string]: import("../modules/collections-fields").CollectionData;
110
- };
111
- insights: {
112
- isCollectionScan: boolean;
113
- };
114
- searchIndexes: {
115
- isSearchIndexesSupported: boolean;
116
- indexes: import("mongodb-data-service").SearchIndex[];
117
- status: "INITIAL" | "LOADING" | "READY" | "ERROR";
76
+ focusMode: import("../modules/focus-mode").FocusModeState;
77
+ sidePanel: import("../modules/side-panel").SidePanelState;
78
+ collectionsFields: {
79
+ [x: string]: import("../modules/collections-fields").CollectionData;
80
+ };
81
+ insights: {
82
+ isCollectionScan: boolean;
83
+ };
84
+ searchIndexes: {
85
+ isSearchIndexesSupported: boolean;
86
+ indexes: import("mongodb-data-service").SearchIndex[];
87
+ status: "INITIAL" | "LOADING" | "READY" | "ERROR";
88
+ };
89
+ }>, import("redux").AnyAction> & {
90
+ dispatch: PipelineBuilderThunkDispatch;
118
91
  };
119
- }, import("redux").Action<any>> & {
120
- dispatch: import("redux-thunk").ThunkDispatch<any, {
121
- pipelineBuilder: PipelineBuilder;
122
- pipelineStorage: PipelineStorage;
123
- atlasService: AtlasService;
124
- }, import("redux").AnyAction>;
92
+ deactivate(): void;
125
93
  };
126
- export default configureStore;
127
94
  //# sourceMappingURL=store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAKnC,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAKlE,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAE/E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAMjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAK1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAMpE,MAAM,MAAM,qBAAqB,GAAG;IAIlC,YAAY,EAAE;QACZ,YAAY,EAAE,IAAI,CAChB,WAAW,EACX,eAAe,GAAG,gBAAgB,GAAG,WAAW,GAAG,qBAAqB,CACzE,GAEC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC,CAAC;QACjD,KAAK,CAAC,EAAE,KAAK,CAAC;KACf,CAAC;IAIF,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC;IAMV,gBAAgB,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC;IAMhE,iBAAiB,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC;IAIjE,UAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+L9B"}
@@ -1,5 +1,5 @@
1
1
  import type { AggregateOptions, Document } from 'mongodb';
2
- import type { DataService } from 'mongodb-data-service';
2
+ import type { DataService } from '../modules/data-service';
3
3
  export declare function aggregatePipeline({ dataService, signal, namespace, pipeline, options, skip, limit, }: {
4
4
  dataService: DataService;
5
5
  signal: AbortSignal;
@@ -1 +1 @@
1
- {"version":3,"file":"cancellable-aggregation.d.ts","sourceRoot":"","sources":["../../../src/utils/cancellable-aggregation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AASxD,wBAAsB,iBAAiB,CAAC,EACtC,WAAW,EACX,MAAM,EACN,SAAS,EACT,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,KAAK,GACN,EAAE;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CAgBtB"}
1
+ {"version":3,"file":"cancellable-aggregation.d.ts","sourceRoot":"","sources":["../../../src/utils/cancellable-aggregation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAQ3D,wBAAsB,iBAAiB,CAAC,EACtC,WAAW,EACX,MAAM,EACN,SAAS,EACT,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,KAAK,GACN,EAAE;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CAgBtB"}
@@ -1,18 +1,33 @@
1
- export function isAtlasOnly(operatorEnv: any): any;
2
- export function getStageOperator(stage: unknown | undefined): string | undefined;
3
- export function getDestinationNamespaceFromStage(namespace: string, stage: import('mongodb').Document): string;
4
- export function isOutputStage(stageOperator: string | undefined): boolean;
5
- export function isAtlasOnlyStage(stageOperator: string | undefined): boolean;
6
- export function getStageInfo(namespace: string, stageOperator: string | undefined | null, stageValue: string | undefined | null): {
1
+ import { getFilteredCompletions } from '@mongodb-js/mongodb-constants';
2
+ import type { StoreStage } from '../modules/pipeline-builder/stage-editor';
3
+ import type { ServerEnvironment } from '../modules/env';
4
+ import type { MongoServerError } from 'mongodb';
5
+ export declare function isAtlasOnly(operatorEnv: readonly ServerEnvironment[]): boolean;
6
+ export type FilteredStageOperators = (ReturnType<typeof getFilteredCompletions>[number] & {
7
+ name: string;
8
+ env: ServerEnvironment[];
9
+ description: string;
10
+ })[];
11
+ export declare const filterStageOperators: ({ serverVersion, env, isTimeSeries, sourceName, preferencesReadOnly, }: {
12
+ serverVersion: string;
13
+ env: ServerEnvironment;
14
+ isTimeSeries: boolean;
15
+ sourceName: string | null;
16
+ preferencesReadOnly: boolean;
17
+ }) => FilteredStageOperators;
18
+ export declare function getStageOperator(stage: Record<string, unknown> | undefined | null): string | undefined;
19
+ export declare function getDestinationNamespaceFromStage(namespace: string, stage: Record<string, unknown> | null): string | null;
20
+ export declare function isOutputStage(stageOperator: string | null | undefined): boolean;
21
+ export declare function isAtlasOnlyStage(stageOperator: string | null | undefined): boolean;
22
+ export declare const getStageHelpLink: (stageOperator: string | null | undefined) => string | null;
23
+ export declare function getStageInfo(namespace: string, stageOperator: string | null, stageValue: string | undefined | null): {
7
24
  description?: string;
8
- link?: string;
9
- destination?: string;
25
+ link: string | null;
26
+ destination: string | null;
10
27
  };
11
- export function hasSyntaxError(stage: any): boolean;
12
- export function filterStageOperators(options: Object): any[];
13
- export function getStageHelpLink(stageOperator: any): string | null;
14
- export function getLastStageOperator(pipeline: import('mongodb').Document[]): string;
15
- export function isLastStageOutputStage(pipeline: import('mongodb').Document[]): boolean;
16
- export function isMissingAtlasStageSupport(env: string | null | undefined, operator: string | null | undefined, serverError: import('mongodb').MongoServerError | null | undefined): boolean;
17
- export function findAtlasOperator(operators: string[]): string | undefined;
28
+ export declare const getLastStageOperator: (pipeline: Record<string, unknown>[]) => string;
29
+ export declare const isLastStageOutputStage: (pipeline: Record<string, unknown>[]) => boolean;
30
+ export declare const isMissingAtlasStageSupport: (env: ServerEnvironment, operator: string | null | undefined, serverError: MongoServerError | null | undefined) => boolean;
31
+ export declare const findAtlasOperator: (operators: string[]) => string | undefined;
32
+ export declare function hasSyntaxError(stage: StoreStage): boolean;
18
33
  //# sourceMappingURL=stage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/utils/stage.js"],"names":[],"mappings":"AAeA,mDAEC;AAuED,wCAHW,OAAO,GAAG,SAAS,GACjB,MAAM,GAAG,SAAS,CAI9B;AAcD,4DAJW,MAAM,SACN,OAAO,SAAS,EAAE,QAAQ,GACxB,MAAM,CAoBlB;AA0DD,6CAHW,MAAM,GAAG,SAAS,GAChB,OAAO,CAInB;AAOD,gDAHW,MAAM,GAAG,SAAS,GAChB,OAAO,CAInB;AAmBD,wCALW,MAAM,iBACN,MAAM,GAAG,SAAS,GAAG,IAAI,cACzB,MAAM,GAAG,SAAS,GAAG,IAAI,GACvB;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE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