@mongodb-js/compass-aggregations 9.8.0 → 9.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/src/components/add-stage/add-stage.d.ts +1 -1
  4. package/dist/src/components/add-stage/add-stage.d.ts.map +1 -1
  5. package/dist/src/components/add-stage/index.d.ts +1 -1
  6. package/dist/src/components/add-stage/index.d.ts.map +1 -1
  7. package/dist/src/components/aggregation-side-panel/feedback-link.d.ts +3 -0
  8. package/dist/src/components/aggregation-side-panel/feedback-link.d.ts.map +1 -0
  9. package/dist/src/components/aggregation-side-panel/index.d.ts +12 -0
  10. package/dist/src/components/aggregation-side-panel/index.d.ts.map +1 -0
  11. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.d.ts +21 -0
  12. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.d.ts.map +1 -0
  13. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts +5 -0
  14. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts.map +1 -0
  15. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts +15 -0
  16. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts.map +1 -0
  17. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.d.ts +27 -0
  18. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.d.ts.map +1 -0
  19. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts +18 -0
  20. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts.map +1 -0
  21. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts +18 -0
  22. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts.map +1 -0
  23. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.d.ts +44 -0
  24. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.d.ts.map +1 -0
  25. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.d.ts +29 -0
  26. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.d.ts.map +1 -0
  27. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.d.ts +41 -0
  28. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.d.ts.map +1 -0
  29. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts +16 -0
  30. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts.map +1 -0
  31. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts +5 -0
  32. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts.map +1 -0
  33. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.d.ts +12 -0
  34. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.d.ts.map +1 -0
  35. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/utils.d.ts +18 -0
  36. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/utils.d.ts.map +1 -0
  37. package/dist/src/components/aggregations/aggregations.d.ts +2 -2
  38. package/dist/src/components/aggregations/aggregations.d.ts.map +1 -1
  39. package/dist/src/components/aggregations/index.d.ts +2 -2
  40. package/dist/src/components/aggregations/index.d.ts.map +1 -1
  41. package/dist/src/components/create-view-modal/create-view-modal.d.ts +2 -2
  42. package/dist/src/components/create-view-modal/create-view-modal.d.ts.map +1 -1
  43. package/dist/src/components/create-view-modal/index.d.ts +2 -2
  44. package/dist/src/components/create-view-modal/index.d.ts.map +1 -1
  45. package/dist/src/components/create-view-plugin.d.ts +3 -3
  46. package/dist/src/components/create-view-plugin.d.ts.map +1 -1
  47. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts +2 -2
  48. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts.map +1 -1
  49. package/dist/src/components/duplicate-view-modal/index.d.ts +2 -2
  50. package/dist/src/components/duplicate-view-modal/index.d.ts.map +1 -1
  51. package/dist/src/components/duplicate-view-plugin.d.ts +2 -2
  52. package/dist/src/components/duplicate-view-plugin.d.ts.map +1 -1
  53. package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts +6 -2
  54. package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts.map +1 -1
  55. package/dist/src/components/focus-mode/focus-mode-stage-editor.d.ts.map +1 -1
  56. package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts +1 -1
  57. package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts.map +1 -1
  58. package/dist/src/components/focus-mode/focus-mode.d.ts +1 -1
  59. package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
  60. package/dist/src/components/loading-overlay/index.d.ts +1 -1
  61. package/dist/src/components/loading-overlay/index.d.ts.map +1 -1
  62. package/dist/src/components/loading-overlay/loading-overlay.d.ts +1 -1
  63. package/dist/src/components/loading-overlay/loading-overlay.d.ts.map +1 -1
  64. package/dist/src/components/modify-source-banner/index.d.ts +1 -1
  65. package/dist/src/components/modify-source-banner/index.d.ts.map +1 -1
  66. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts +1 -1
  67. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts.map +1 -1
  68. package/dist/src/components/pipeline/index.d.ts +1 -1
  69. package/dist/src/components/pipeline/index.d.ts.map +1 -1
  70. package/dist/src/components/pipeline/pipeline.d.ts +2 -2
  71. package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
  72. package/dist/src/components/pipeline-builder-input-documents.d.ts +1 -1
  73. package/dist/src/components/pipeline-builder-input-documents.d.ts.map +1 -1
  74. package/dist/src/components/pipeline-builder-workspace/index.d.ts +11 -2
  75. package/dist/src/components/pipeline-builder-workspace/index.d.ts.map +1 -1
  76. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts +1 -1
  77. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map +1 -1
  78. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts +1 -1
  79. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -1
  80. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts +1 -1
  81. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts.map +1 -1
  82. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts +1 -1
  83. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts.map +1 -1
  84. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.d.ts +8 -0
  85. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.d.ts.map +1 -0
  86. package/dist/src/components/pipeline-builder-workspace/{pipeline-builder-ui-workspace.d.ts → pipeline-builder-ui-workspace/index.d.ts} +6 -3
  87. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -0
  88. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts +15 -0
  89. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts.map +1 -0
  90. package/dist/src/components/pipeline-output-options-menu.d.ts +1 -1
  91. package/dist/src/components/pipeline-output-options-menu.d.ts.map +1 -1
  92. package/dist/src/components/pipeline-results-workspace/index.d.ts +1 -1
  93. package/dist/src/components/pipeline-results-workspace/index.d.ts.map +1 -1
  94. package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts +1 -1
  95. package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts.map +1 -1
  96. package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts +1 -1
  97. package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts.map +1 -1
  98. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts +1 -1
  99. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts.map +1 -1
  100. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts +1 -1
  101. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts.map +1 -1
  102. package/dist/src/components/pipeline-toolbar/index.d.ts +1 -1
  103. package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
  104. package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts +1 -1
  105. package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts.map +1 -1
  106. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts +1 -1
  107. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts.map +1 -1
  108. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts +1 -1
  109. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts.map +1 -1
  110. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts +1 -1
  111. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts.map +1 -1
  112. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts +3 -1
  113. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
  114. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts +1 -1
  115. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts.map +1 -1
  116. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-name.d.ts +1 -1
  117. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-name.d.ts.map +1 -1
  118. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts +1 -1
  119. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts.map +1 -1
  120. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts +1 -1
  121. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts.map +1 -1
  122. package/dist/src/components/saving-pipeline-modal/index.d.ts +1 -1
  123. package/dist/src/components/saving-pipeline-modal/index.d.ts.map +1 -1
  124. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts +2 -2
  125. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -1
  126. package/dist/src/components/settings/settings.d.ts +1 -1
  127. package/dist/src/components/settings/settings.d.ts.map +1 -1
  128. package/dist/src/components/stage-editor/index.d.ts +1 -1
  129. package/dist/src/components/stage-editor/index.d.ts.map +1 -1
  130. package/dist/src/components/stage-editor/stage-editor.d.ts +10 -7
  131. package/dist/src/components/stage-editor/stage-editor.d.ts.map +1 -1
  132. package/dist/src/components/stage-preview/index.d.ts +1 -1
  133. package/dist/src/components/stage-preview/index.d.ts.map +1 -1
  134. package/dist/src/components/stage-preview/output-stage-preview.d.ts +1 -1
  135. package/dist/src/components/stage-preview/output-stage-preview.d.ts.map +1 -1
  136. package/dist/src/components/stage-preview/stage-preview-header.d.ts +1 -1
  137. package/dist/src/components/stage-preview/stage-preview-header.d.ts.map +1 -1
  138. package/dist/src/components/stage-toolbar/index.d.ts +6 -8
  139. package/dist/src/components/stage-toolbar/index.d.ts.map +1 -1
  140. package/dist/src/components/stage-toolbar/option-menu.d.ts.map +1 -1
  141. package/dist/src/components/stage-toolbar/stage-collapser.d.ts.map +1 -1
  142. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts +15 -21
  143. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -1
  144. package/dist/src/components/stage-toolbar/toggle-stage.d.ts.map +1 -1
  145. package/dist/src/components/stage-wizard/index.d.ts +24 -0
  146. package/dist/src/components/stage-wizard/index.d.ts.map +1 -0
  147. package/dist/src/components/stage.d.ts +6 -3
  148. package/dist/src/components/stage.d.ts.map +1 -1
  149. package/dist/src/components/use-case-droppable-area/index.d.ts +11 -0
  150. package/dist/src/components/use-case-droppable-area/index.d.ts.map +1 -0
  151. package/dist/src/components/use-guide-cue.d.ts +15 -0
  152. package/dist/src/components/use-guide-cue.d.ts.map +1 -0
  153. package/dist/src/modules/aggregation.d.ts +10 -10
  154. package/dist/src/modules/aggregation.d.ts.map +1 -1
  155. package/dist/src/modules/auto-preview.d.ts +1 -1
  156. package/dist/src/modules/auto-preview.d.ts.map +1 -1
  157. package/dist/src/modules/collation-string.d.ts +2 -2
  158. package/dist/src/modules/collation-string.d.ts.map +1 -1
  159. package/dist/src/modules/collections-fields.d.ts +41 -0
  160. package/dist/src/modules/collections-fields.d.ts.map +1 -0
  161. package/dist/src/modules/count-documents.d.ts +5 -5
  162. package/dist/src/modules/count-documents.d.ts.map +1 -1
  163. package/dist/src/modules/create-view/index.d.ts +7 -7
  164. package/dist/src/modules/create-view/index.d.ts.map +1 -1
  165. package/dist/src/modules/data-service.d.ts +1 -1
  166. package/dist/src/modules/data-service.d.ts.map +1 -1
  167. package/dist/src/modules/explain.d.ts +1 -55
  168. package/dist/src/modules/explain.d.ts.map +1 -1
  169. package/dist/src/modules/focus-mode.d.ts +3 -3
  170. package/dist/src/modules/focus-mode.d.ts.map +1 -1
  171. package/dist/src/modules/index.d.ts +10 -6
  172. package/dist/src/modules/index.d.ts.map +1 -1
  173. package/dist/src/modules/input-documents.d.ts +4 -4
  174. package/dist/src/modules/input-documents.d.ts.map +1 -1
  175. package/dist/src/modules/is-datalake.d.ts +1 -1
  176. package/dist/src/modules/is-datalake.d.ts.map +1 -1
  177. package/dist/src/modules/max-time-ms.d.ts +1 -1
  178. package/dist/src/modules/max-time-ms.d.ts.map +1 -1
  179. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +1 -1
  180. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -1
  181. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts +3 -3
  182. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -1
  183. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts +2 -2
  184. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts.map +1 -1
  185. package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts +1 -1
  186. package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts.map +1 -1
  187. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts +2 -1
  188. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -1
  189. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts +3 -1
  190. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -1
  191. package/dist/src/modules/pipeline-builder/stage-editor.d.ts +91 -34
  192. package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
  193. package/dist/src/modules/pipeline-builder/stage-ids.d.ts +2 -0
  194. package/dist/src/modules/pipeline-builder/stage-ids.d.ts.map +1 -0
  195. package/dist/src/modules/pipeline-builder/stage.d.ts.map +1 -1
  196. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +1 -1
  197. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -1
  198. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts +6 -6
  199. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -1
  200. package/dist/src/modules/saved-pipeline.d.ts +1 -1
  201. package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
  202. package/dist/src/modules/settings.d.ts +1 -1
  203. package/dist/src/modules/settings.d.ts.map +1 -1
  204. package/dist/src/modules/side-panel.d.ts +15 -0
  205. package/dist/src/modules/side-panel.d.ts.map +1 -0
  206. package/dist/src/modules/update-view.d.ts.map +1 -1
  207. package/dist/src/modules/workspace.d.ts +4 -4
  208. package/dist/src/modules/workspace.d.ts.map +1 -1
  209. package/dist/src/plugin.d.ts +3 -3
  210. package/dist/src/plugin.d.ts.map +1 -1
  211. package/dist/src/stores/store.d.ts +9 -3
  212. package/dist/src/stores/store.d.ts.map +1 -1
  213. package/dist/src/utils/get-schema.d.ts +9 -0
  214. package/dist/src/utils/get-schema.d.ts.map +1 -0
  215. package/dist/src/utils/local-storage.d.ts +2 -2
  216. package/dist/src/utils/local-storage.d.ts.map +1 -1
  217. package/dist/src/utils/pipeline-storage.d.ts +1 -1
  218. package/dist/src/utils/pipeline-storage.d.ts.map +1 -1
  219. package/dist/src/utils/stage.d.ts +1 -1
  220. package/dist/src/utils/stage.d.ts.map +1 -1
  221. package/package.json +38 -40
  222. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace.d.ts.map +0 -1
  223. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-workspace.d.ts +0 -12
  224. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-workspace.d.ts.map +0 -1
  225. package/dist/src/components/pipeline-explain/explain-indexes.d.ts +0 -8
  226. package/dist/src/components/pipeline-explain/explain-indexes.d.ts.map +0 -1
  227. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts +0 -10
  228. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts.map +0 -1
  229. package/dist/src/components/pipeline-explain/explain-results.d.ts +0 -9
  230. package/dist/src/components/pipeline-explain/explain-results.d.ts.map +0 -1
  231. package/dist/src/components/pipeline-explain/index.d.ts +0 -17
  232. package/dist/src/components/pipeline-explain/index.d.ts.map +0 -1
  233. package/dist/src/modules/indexes.d.ts +0 -22
  234. package/dist/src/modules/indexes.d.ts.map +0 -1
@@ -1,15 +1,15 @@
1
1
  import type { AnyAction, Reducer } from 'redux';
2
2
  import type { PipelineBuilderThunkAction } from '.';
3
- export declare type Workspace = 'builder' | 'results';
3
+ export type Workspace = 'builder' | 'results';
4
4
  export declare enum ActionTypes {
5
5
  WorkspaceChanged = "compass-aggregations/workspaceChanged"
6
6
  }
7
- declare type WorkspaceChangedAction = {
7
+ type WorkspaceChangedAction = {
8
8
  type: ActionTypes.WorkspaceChanged;
9
9
  view: Workspace;
10
10
  };
11
- export declare type Actions = WorkspaceChangedAction;
12
- export declare type State = Workspace;
11
+ export type Actions = WorkspaceChangedAction;
12
+ export type State = Workspace;
13
13
  export declare const INITIAL_STATE: State;
14
14
  declare const reducer: Reducer<State, AnyAction>;
15
15
  export declare const editPipeline: () => PipelineBuilderThunkAction<void>;
@@ -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,oBAAY,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9C,oBAAY,WAAW;IACrB,gBAAgB,0CAA0C;CAC3D;AAED,aAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;IACnC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,oBAAY,OAAO,GAAG,sBAAsB,CAAC;AAC7C,oBAAY,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,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"}
@@ -16,8 +16,8 @@ export class Plugin extends React.Component<any, any, any> {
16
16
  constructor(props: any, context: any);
17
17
  render(): JSX.Element;
18
18
  }
19
- import configureStore from "./stores/store";
20
- import React from "react";
21
- import PropTypes from "prop-types";
19
+ import configureStore from './stores/store';
20
+ import React from 'react';
21
+ import PropTypes from 'prop-types';
22
22
  export { configureStore };
23
23
  //# sourceMappingURL=plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plugin.jsx"],"names":[],"mappings":";AAOA;IACE,2BAA0C;IAE1C;;;;;MAKE;IAEF;;;;MAIE;IAsBuukB,wBAA8C;IAAA,sCAAyJ;IAjBh7kB,sBAYC;CACF"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plugin.jsx"],"names":[],"mappings":";AAOA;IACE,2BAA0C;IAE1C;;;;;MAKE;IAEF;;;;MAIE;IAsBuukB,wBAA8C;IAAA,sCAAyJ;IAjBh7kB,sBAYC;CACF;2BAnC0B,gBAAgB;kBAJV,OAAO;sBAClB,YAAY"}
@@ -5,7 +5,8 @@ import { PipelineStorage } from '../utils/pipeline-storage';
5
5
  import type { DataService } from 'mongodb-data-service';
6
6
  import type AppRegistry from 'hadron-app-registry';
7
7
  import type { ENVS } from '@mongodb-js/mongodb-constants';
8
- export declare type ConfigureStoreOptions = {
8
+ import type { CollectionInfo } from '../modules/collections-fields';
9
+ export type ConfigureStoreOptions = {
9
10
  dataProvider: {
10
11
  dataProvider: Pick<DataService, 'isCancelError' | 'estimatedCount' | 'aggregate' | 'getConnectionString'>;
11
12
  error?: Error;
@@ -29,6 +30,7 @@ export declare type ConfigureStoreOptions = {
29
30
  sourcePipeline: unknown[];
30
31
  pipeline: unknown[];
31
32
  pipelineText: string;
33
+ collections: CollectionInfo[];
32
34
  }>;
33
35
  declare const configureStore: (options: ConfigureStoreOptions) => Store<import("redux").EmptyObject & {
34
36
  appRegistry: unknown;
@@ -80,9 +82,7 @@ declare const configureStore: (options: ConfigureStoreOptions) => Store<import("
80
82
  workspace: import("../modules/workspace").Workspace;
81
83
  countDocuments: import("../modules/count-documents").State;
82
84
  aggregationWorkspaceId: string;
83
- explain: import("../modules/explain").State;
84
85
  isDataLake: boolean;
85
- indexes: import("../modules/indexes").State;
86
86
  pipelineBuilder: import("redux").CombinedState<{
87
87
  pipelineMode: import("../modules/pipeline-builder/pipeline-mode").PipelineMode;
88
88
  stageEditor: import("../modules/pipeline-builder/stage-editor").StageEditorState;
@@ -100,6 +100,12 @@ declare const configureStore: (options: ConfigureStoreOptions) => Store<import("
100
100
  stageIndex: number;
101
101
  openedAt: number | null;
102
102
  };
103
+ sidePanel: {
104
+ isPanelOpen: boolean;
105
+ };
106
+ collectionsFields: {
107
+ [x: string]: import("../modules/collections-fields").CollectionData;
108
+ };
103
109
  }, import("redux").Action<any>> & {
104
110
  dispatch: import("redux-thunk").ThunkDispatch<any, {
105
111
  pipelineBuilder: PipelineBuilder;
@@ -1 +1 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores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IAIjE,UAAU,EAAE,MAAM,CAAC;IAInB,aAAa,EAAE,MAAM,CAAC;IAKtB,YAAY,EAAE,OAAO,CAAC;IAKtB,UAAU,EAAE,OAAO,CAAC;IAKpB,GAAG,EAAE,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAIhC,eAAe,EAAE,OAAO,GAAG,IAAI,CAAC;IAIhC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAM3B,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAK1C,WAAW,EAAE,cAAc,CAAC;IAM5B,YAAY,EAAE,MAAM,CAAC;IAMrB,cAAc,EAAE,OAAO,EAAE,CAAC;IAK1B,QAAQ,EAAE,OAAO,EAAE,CAAC;IAIpB,YAAY,EAAE,MAAM,CAAC;IAKrB,WAAW,EAAE,cAAc,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,QAAA,MAAM,cAAc,YAAa,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkKrD,CAAC;AAiDF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { TypeCastTypes } from 'hadron-type-checker';
2
+ import type { Document } from 'mongodb';
3
+ export type FieldSchema = {
4
+ name: string;
5
+ type: TypeCastTypes;
6
+ };
7
+ export type DocumentSchema = FieldSchema[];
8
+ export declare const getSchema: (records: Document[]) => DocumentSchema;
9
+ //# sourceMappingURL=get-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-schema.d.ts","sourceRoot":"","sources":["../../../src/utils/get-schema.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,WAAW,EAAE,CAAC;AA2D3C,eAAO,MAAM,SAAS,YAAa,QAAQ,EAAE,mBAI5C,CAAC"}
@@ -1,3 +1,3 @@
1
- export declare const hasSeenFocusModeGuideCue: () => boolean;
2
- export declare const setHasSeenFocusModeGuideCue: () => void;
1
+ export declare const getStorageItem: (key: string) => string | null;
2
+ export declare const setStorageItem: (key: string, value: string) => void;
3
3
  //# sourceMappingURL=local-storage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"local-storage.d.ts","sourceRoot":"","sources":["../../../src/utils/local-storage.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,QAAO,OAE3C,CAAC;AAEF,eAAO,MAAM,2BAA2B,QAAO,IAE9C,CAAC"}
1
+ {"version":3,"file":"local-storage.d.ts","sourceRoot":"","sources":["../../../src/utils/local-storage.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,QAAS,MAAM,kBAEzC,CAAC;AAEF,eAAO,MAAM,cAAc,QAAS,MAAM,SAAS,MAAM,SAExD,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare type StoredPipeline = {
1
+ export type StoredPipeline = {
2
2
  id: string;
3
3
  name: string;
4
4
  namespace: string;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-storage.d.ts","sourceRoot":"","sources":["../../../src/utils/pipeline-storage.ts"],"names":[],"mappings":"AAUA,oBAAY,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE;QAAE,aAAa,EAAE,MAAM,CAAC;QAAC,SAAS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OAAO,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;IAWpC,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAIhD,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAoB1D,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAQhD,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;IAwBhE,MAAM,CAAC,EAAE,EAAE,MAAM;CAIxB"}
@@ -9,7 +9,7 @@ export function getStageInfo(namespace: string, stageOperator: string | undefine
9
9
  destination?: string;
10
10
  };
11
11
  export function hasSyntaxError(stage: any): boolean;
12
- export function filterStageOperators({ serverVersion, env, isTimeSeries, sourceName, preferencesReadOnly, }: Object): any[];
12
+ export function filterStageOperators(options: Object): any[];
13
13
  export function getStageHelpLink(stageOperator: any): string | null;
14
14
  export function getLastStageOperator(pipeline: import('mongodb').Document[]): string;
15
15
  export function isLastStageOutputStage(pipeline: import('mongodb').Document[]): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/utils/stage.js"],"names":[],"mappings":"AA2BA,mDAEC;AAuDD,wCAHW,OAAO,GACL,MAAM,GAAG,SAAS,CAI9B;AAcD,4DAJW,MAAM,SACN,OAAO,SAAS,EAAE,QAAQ,GACxB,MAAM,CAoBlB;AAyDD,6CAHW,MAAM,GACJ,OAAO,CAInB;AAOD,gDAHW,MAAM,GACJ,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,MAAM,CAAC;IAAC,WAAW,CAAC,EA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CAFI,MAAM,EAAE,sBAIlB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mongodb-js/compass-aggregations",
3
3
  "productName": "Aggregations plugin",
4
- "version": "9.8.0",
4
+ "version": "9.10.0",
5
5
  "apiVersion": "3.0.0",
6
6
  "description": "Compass Aggregation Pipeline Builder",
7
7
  "main": "dist/index.js",
@@ -19,7 +19,6 @@
19
19
  "prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
20
20
  "compile": "npm run webpack -- --mode production",
21
21
  "postcompile": "tsc --emitDeclarationOnly",
22
- "prewebpack": "rimraf ./dist",
23
22
  "webpack": "webpack-compass",
24
23
  "analyze": "npm run webpack -- --mode production --analyze",
25
24
  "typecheck": "tsc -p tsconfig-lint.json --noEmit",
@@ -30,7 +29,7 @@
30
29
  "check-ci": "npm run check",
31
30
  "test": "mocha",
32
31
  "test-electron": "xvfb-maybe electron-mocha --no-sandbox",
33
- "test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
32
+ "test-cov": "nyc --compact=false --produce-source-map=false -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
34
33
  "test-watch": "npm run test -- --watch",
35
34
  "test-ci": "npm run test-cov",
36
35
  "test-ci-electron": "npm run test-electron",
@@ -39,17 +38,17 @@
39
38
  },
40
39
  "license": "SSPL",
41
40
  "peerDependencies": {
42
- "@mongodb-js/compass-components": "^1.7.0",
43
- "@mongodb-js/compass-crud": "^13.7.0",
44
- "@mongodb-js/compass-editor": "^0.6.0",
45
- "@mongodb-js/compass-logging": "^1.1.4",
46
- "@mongodb-js/compass-utils": "^0.2.3",
47
- "@mongodb-js/explain-plan-helper": "^1.0.4",
48
- "@mongodb-js/mongodb-constants": "^0.2.1",
49
- "@mongodb-js/mongodb-redux-common": "^2.0.6",
50
- "bson": "^5.0.1",
51
- "compass-preferences-model": "^2.7.0",
52
- "hadron-document": "^8.1.2",
41
+ "@mongodb-js/compass-components": "^1.9.0",
42
+ "@mongodb-js/compass-crud": "^13.9.0",
43
+ "@mongodb-js/compass-editor": "^0.8.0",
44
+ "@mongodb-js/compass-logging": "^1.1.6",
45
+ "@mongodb-js/compass-utils": "^0.3.1",
46
+ "@mongodb-js/mongodb-constants": "^0.6.0",
47
+ "@mongodb-js/mongodb-redux-common": "^2.0.8",
48
+ "bson": "^5.2.0",
49
+ "compass-preferences-model": "^2.9.0",
50
+ "hadron-document": "^8.2.1",
51
+ "hadron-type-checker": "^7.0.3",
53
52
  "react": "^17.0.2"
54
53
  },
55
54
  "devDependencies": {
@@ -60,11 +59,11 @@
60
59
  "@dnd-kit/sortable": "^7.0.2",
61
60
  "@dnd-kit/utilities": "^3.2.1",
62
61
  "@electron/remote": "^2.0.9",
63
- "@mongodb-js/eslint-config-compass": "^1.0.4",
64
- "@mongodb-js/mocha-config-compass": "^1.1.0",
62
+ "@mongodb-js/eslint-config-compass": "^1.0.6",
63
+ "@mongodb-js/mocha-config-compass": "^1.2.0",
65
64
  "@mongodb-js/prettier-config-compass": "^1.0.0",
66
- "@mongodb-js/tsconfig-compass": "^1.0.1",
67
- "@mongodb-js/webpack-config-compass": "^1.0.7",
65
+ "@mongodb-js/tsconfig-compass": "^1.0.2",
66
+ "@mongodb-js/webpack-config-compass": "^1.1.0",
68
67
  "@testing-library/react": "^12.1.4",
69
68
  "@testing-library/user-event": "^13.5.0",
70
69
  "@types/lodash": "^4.14.188",
@@ -72,17 +71,17 @@
72
71
  "chai": "^4.3.6",
73
72
  "debug": "^4.2.0",
74
73
  "depcheck": "^1.4.1",
75
- "ejson-shell-parser": "^1.2.1",
76
- "electron": "^22.0.2",
74
+ "ejson-shell-parser": "^1.2.4",
75
+ "electron": "^22.3.12",
77
76
  "enzyme": "^3.11.0",
78
77
  "eslint": "^7.25.0",
79
- "hadron-app-registry": "^9.0.5",
78
+ "hadron-app-registry": "^9.0.7",
80
79
  "lodash": "^4.17.21",
81
- "mocha": "^8.4.0",
82
- "mongodb": "^5.1.0",
83
- "mongodb-data-service": "^22.5.1",
80
+ "mocha": "^10.2.0",
81
+ "mongodb": "^5.5.0",
82
+ "mongodb-data-service": "^22.7.0",
84
83
  "mongodb-ns": "^2.4.0",
85
- "mongodb-query-parser": "^2.4.8",
84
+ "mongodb-query-parser": "^2.5.0",
86
85
  "nyc": "^15.1.0",
87
86
  "prettier": "^2.7.1",
88
87
  "prop-types": "^15.7.2",
@@ -91,25 +90,24 @@
91
90
  "react-dom": "^17.0.2",
92
91
  "react-intersection-observer": "^8.34.0",
93
92
  "react-redux": "^8.0.5",
94
- "redux": "^4.2.0",
95
- "redux-thunk": "^2.3.0",
96
- "rimraf": "^3.0.0",
93
+ "redux": "^4.2.1",
94
+ "redux-thunk": "^2.4.1",
97
95
  "semver": "^5.7.1",
98
96
  "sinon": "^9.2.3",
99
97
  "xvfb-maybe": "^0.2.1"
100
98
  },
101
99
  "dependencies": {
102
- "@mongodb-js/compass-components": "^1.7.0",
103
- "@mongodb-js/compass-crud": "^13.7.0",
104
- "@mongodb-js/compass-editor": "^0.6.0",
105
- "@mongodb-js/compass-logging": "^1.1.4",
106
- "@mongodb-js/compass-utils": "^0.2.3",
107
- "@mongodb-js/explain-plan-helper": "^1.0.4",
108
- "@mongodb-js/mongodb-constants": "^0.2.1",
109
- "@mongodb-js/mongodb-redux-common": "^2.0.6",
110
- "bson": "^5.0.1",
111
- "compass-preferences-model": "^2.7.0",
112
- "hadron-document": "^8.1.2"
100
+ "@mongodb-js/compass-components": "^1.9.0",
101
+ "@mongodb-js/compass-crud": "^13.9.0",
102
+ "@mongodb-js/compass-editor": "^0.8.0",
103
+ "@mongodb-js/compass-logging": "^1.1.6",
104
+ "@mongodb-js/compass-utils": "^0.3.1",
105
+ "@mongodb-js/mongodb-constants": "^0.6.0",
106
+ "@mongodb-js/mongodb-redux-common": "^2.0.8",
107
+ "bson": "^5.2.0",
108
+ "compass-preferences-model": "^2.9.0",
109
+ "hadron-document": "^8.2.1",
110
+ "hadron-type-checker": "^7.0.3"
113
111
  },
114
112
  "homepage": "https://github.com/mongodb-js/compass",
115
113
  "bugs": {
@@ -120,5 +118,5 @@
120
118
  "type": "git",
121
119
  "url": "https://github.com/mongodb-js/compass.git"
122
120
  },
123
- "gitHead": "fe181eedfcb07251b9b9a3dce8254a4941d74e42"
121
+ "gitHead": "129d5d5375a2815408e12ee15e1b6bd566f52600"
124
122
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"pipeline-builder-ui-workspace.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AA8C3C,aAAK,+BAA+B,GAAG;IACrC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,kBAAkB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC;AA0FF,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAAiB,CAC9D,+BAA+B,CAwBhC,CAAC;;;;;AAcF,wBAA0E"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import type { PipelineMode } from '../../modules/pipeline-builder/pipeline-mode';
3
- declare type PipelineBuilderWorkspaceProps = {
4
- pipelineMode: PipelineMode;
5
- };
6
- export declare const PipelineBuilderWorkspace: React.FunctionComponent<PipelineBuilderWorkspaceProps>;
7
- declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelineBuilderWorkspaceProps>, {
8
- context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
9
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
10
- }>;
11
- export default _default;
12
- //# sourceMappingURL=pipeline-builder-workspace.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pipeline-builder-workspace.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-builder-workspace/pipeline-builder-workspace.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AASjF,aAAK,6BAA6B,GAAG;IACnC,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,iBAAiB,CAC5D,6BAA6B,CAa9B,CAAC;;;;;AAMF,wBAA2D"}
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import type { ExplainIndex } from '../../modules/explain';
3
- declare type ExplainIndexesProps = {
4
- indexes: ExplainIndex[];
5
- };
6
- export declare const ExplainIndexes: React.FunctionComponent<ExplainIndexesProps>;
7
- export {};
8
- //# sourceMappingURL=explain-indexes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"explain-indexes.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-explain/explain-indexes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,aAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC;AAuBF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAgDvE,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { ExplainIndex } from '../../modules/explain';
3
- declare type ExplainQueryPerformanceProps = {
4
- executionTimeMillis: number;
5
- nReturned: number;
6
- indexes: ExplainIndex[];
7
- };
8
- export declare const ExplainQueryPerformance: React.FunctionComponent<ExplainQueryPerformanceProps>;
9
- export {};
10
- //# sourceMappingURL=explain-query-performance.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"explain-query-performance.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-explain/explain-query-performance.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,aAAK,4BAA4B,GAAG;IAClC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC;AAwBF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,iBAAiB,CAC3D,4BAA4B,CAiC7B,CAAC"}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { ExplainData } from '../../modules/explain';
3
- declare type ExplainResultsProps = {
4
- plan: ExplainData['plan'];
5
- stats?: ExplainData['stats'];
6
- };
7
- export declare const ExplainResults: React.FunctionComponent<ExplainResultsProps>;
8
- export {};
9
- //# sourceMappingURL=explain-results.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"explain-results.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-explain/explain-results.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGzD,aAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC1B,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC9B,CAAC;AAgCF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAkCvE,CAAC"}
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import type { ExplainData } from '../../modules/explain';
3
- declare type PipelineExplainProps = {
4
- isModalOpen: boolean;
5
- isLoading: boolean;
6
- error?: string;
7
- explain?: ExplainData;
8
- onCloseModal: () => void;
9
- onCancelExplain: () => void;
10
- };
11
- export declare const PipelineExplain: React.FunctionComponent<PipelineExplainProps>;
12
- declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelineExplainProps>, {
13
- context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
14
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
15
- }>;
16
- export default _default;
17
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-explain/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIzD,aAAK,oBAAoB,GAAG;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAYF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAiEzE,CAAC;;;;;AAeF,wBAA+D"}
@@ -1,22 +0,0 @@
1
- import type { Reducer } from 'redux';
2
- import type { IndexDirection } from 'mongodb';
3
- export declare enum ActionTypes {
4
- IndexesFetched = "compass-aggregations/indexesFetched"
5
- }
6
- export declare type IndexInfo = {
7
- ns: string;
8
- name: string;
9
- key: Record<string, IndexDirection>;
10
- extra: Record<string, any>;
11
- };
12
- declare type IndexesFetchedAction = {
13
- type: ActionTypes.IndexesFetched;
14
- indexes: IndexInfo[];
15
- };
16
- export declare type Actions = IndexesFetchedAction;
17
- export declare type State = IndexInfo[];
18
- export declare const INITIAL_STATE: State;
19
- declare const reducer: Reducer<State, Actions>;
20
- export declare const indexesFetched: (indexes: IndexInfo[]) => IndexesFetchedAction;
21
- export default reducer;
22
- //# sourceMappingURL=indexes.d.ts.map
@@ -1 +0,0 @@
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,oBAAY,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,aAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,WAAW,CAAC,cAAc,CAAC;IACjC,OAAO,EAAE,SAAS,EAAE,CAAC;CACtB,CAAC;AAEF,oBAAY,OAAO,GAAG,oBAAoB,CAAC;AAE3C,oBAAY,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"}