@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
@@ -52,9 +52,7 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
52
52
  workspace: import("./workspace").Workspace;
53
53
  countDocuments: import("./count-documents").State;
54
54
  aggregationWorkspaceId: string;
55
- explain: import("./explain").State;
56
55
  isDataLake: boolean;
57
- indexes: import("./indexes").State;
58
56
  pipelineBuilder: import("redux").CombinedState<{
59
57
  pipelineMode: import("./pipeline-builder/pipeline-mode").PipelineMode;
60
58
  stageEditor: import("./pipeline-builder/stage-editor").StageEditorState;
@@ -72,13 +70,19 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
72
70
  stageIndex: number;
73
71
  openedAt: number | null;
74
72
  };
73
+ sidePanel: {
74
+ isPanelOpen: boolean;
75
+ };
76
+ collectionsFields: {
77
+ [x: string]: import("./collections-fields").CollectionData;
78
+ };
75
79
  }>, Action<any>>;
76
- export declare type RootState = ReturnType<typeof rootReducer>;
77
- export declare type PipelineBuilderExtraArgs = {
80
+ export type RootState = ReturnType<typeof rootReducer>;
81
+ export type PipelineBuilderExtraArgs = {
78
82
  pipelineBuilder: PipelineBuilder;
79
83
  pipelineStorage: PipelineStorage;
80
84
  };
81
- export declare type PipelineBuilderThunkDispatch<A extends Action = AnyAction> = ThunkDispatch<RootState, PipelineBuilderExtraArgs, A>;
82
- export declare type PipelineBuilderThunkAction<R, A extends Action = AnyAction> = ThunkAction<R, RootState, PipelineBuilderExtraArgs, A>;
85
+ export type PipelineBuilderThunkDispatch<A extends Action = AnyAction> = ThunkDispatch<RootState, PipelineBuilderExtraArgs, A>;
86
+ export type PipelineBuilderThunkAction<R, A extends Action = AnyAction> = ThunkAction<R, RootState, PipelineBuilderExtraArgs, A>;
83
87
  export default rootReducer;
84
88
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAoC/C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,C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,eAAe,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,4BAA4B,CAAC,CAAC,SAAS,MAAM,GAAG,SAAS,IACnE,aAAa,CAAC,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAExD,MAAM,MAAM,0BAA0B,CACpC,CAAC,EACD,CAAC,SAAS,MAAM,GAAG,SAAS,IAC1B,WAAW,CAAC,CAAC,EAAE,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAE3D,eAAe,WAAW,CAAC"}
@@ -6,19 +6,19 @@ export declare enum ActionTypes {
6
6
  DocumentsFetchStarted = "aggregations/input-documents/DocumentsFetchStarted",
7
7
  DocumentsFetchFinished = "aggregations/input-documents/DocumentsFetchFinished"
8
8
  }
9
- declare type CollapseToggledAction = {
9
+ type CollapseToggledAction = {
10
10
  type: ActionTypes.CollapseToggled;
11
11
  };
12
- declare type DocumentsFetchStartedAction = {
12
+ type DocumentsFetchStartedAction = {
13
13
  type: ActionTypes.DocumentsFetchStarted;
14
14
  };
15
- declare type DocumentsFetchFinishedAction = {
15
+ type DocumentsFetchFinishedAction = {
16
16
  type: ActionTypes.DocumentsFetchFinished;
17
17
  count: number | null;
18
18
  documents: Document[];
19
19
  error: Error | null;
20
20
  };
21
- declare type State = {
21
+ type State = {
22
22
  count: number | null;
23
23
  documents: Document[];
24
24
  error: Error | null;
@@ -1 +1 @@
1
- {"version":3,"file":"input-documents.d.ts","sourceRoot":"","sources":["../../../src/modules/input-documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAEpD,oBAAY,WAAW;IACrB,eAAe,iDAAiD;IAChE,qBAAqB,uDAAuD;IAC5E,sBAAsB,wDAAwD;CAC/E;AAED,aAAK,qBAAqB,GAAG;IAC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BAAY,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,QAAQ,EAAE,CAAC;IACtB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,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,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,QAAQ,EAAE,SACd,KAAK,GAAG,IAAI,KAClB,4BAKD,CAAC;AAEH,eAAO,MAAM,qBAAqB,QAAO,2BACvC,QAAQ,IAAI,CAAC,CA0Cd,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { Reducer } from 'redux';
2
- declare type State = boolean;
2
+ type State = boolean;
3
3
  export declare const INITIAL_STATE: State;
4
4
  declare const reducer: Reducer<State>;
5
5
  export default reducer;
@@ -1 +1 @@
1
- {"version":3,"file":"is-datalake.d.ts","sourceRoot":"","sources":["../../../src/modules/is-datalake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,aAAK,KAAK,GAAG,OAAO,CAAC;AAErB,eAAO,MAAM,aAAa,EAAE,KAAa,CAAC;AAE1C,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CAE3B,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"is-datalake.d.ts","sourceRoot":"","sources":["../../../src/modules/is-datalake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,KAAK,KAAK,GAAG,OAAO,CAAC;AAErB,eAAO,MAAM,aAAa,EAAE,KAAa,CAAC;AAE1C,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CAE3B,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { AnyAction, Reducer } from 'redux';
2
2
  export declare const MAX_TIME_MS_CHANGED = "aggregations/max-time-ms/MAX_TIME_MS_CHANGED";
3
- declare type State = null | number;
3
+ type State = null | number;
4
4
  export declare const INITIAL_STATE: State;
5
5
  declare const reducer: Reducer<State, AnyAction>;
6
6
  export declare const maxTimeMSChanged: (value: number) => {
@@ -1 +1 @@
1
- {"version":3,"file":"max-time-ms.d.ts","sourceRoot":"","sources":["../../../src/modules/max-time-ms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhD,eAAO,MAAM,mBAAmB,iDACgB,CAAC;AAEjD,aAAK,KAAK,GAAG,IAAI,GAAG,MAAM,CAAC;AAE3B,eAAO,MAAM,aAAa,EAAE,KAAY,CAAC;AAEzC,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAQtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,MAAM;;;CAG5C,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"max-time-ms.d.ts","sourceRoot":"","sources":["../../../src/modules/max-time-ms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhD,eAAO,MAAM,mBAAmB,iDACgB,CAAC;AAEjD,KAAK,KAAK,GAAG,IAAI,GAAG,MAAM,CAAC;AAE3B,eAAO,MAAM,aAAa,EAAE,KAAY,CAAC;AAEzC,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAQtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,MAAM;;;CAG5C,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -7,6 +7,6 @@ export declare function getPipelineStringFromBuilderState(state: RootState, pipe
7
7
  export declare function getPipelineStageOperatorsFromBuilderState(state: RootState, filterEmptyStageOperators?: true): string[];
8
8
  export declare function getPipelineStageOperatorsFromBuilderState(state: RootState, filterEmptyStageOperators?: false): (string | null)[];
9
9
  export declare function getIsPipelineInvalidFromBuilderState(state: RootState, includeServerErrors?: boolean): boolean;
10
- export declare type EditorViewType = 'stage' | 'text' | 'focus';
10
+ export type EditorViewType = 'stage' | 'text' | 'focus';
11
11
  export declare function mapPipelineModeToEditorViewType(state: RootState): EditorViewType;
12
12
  //# sourceMappingURL=builder-helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"builder-helpers.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/builder-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAI1D,eAAO,MAAM,qBAAqB,QAC5B,2BAA2B,IAAI,CAWlC,CAAC;AAEJ,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,oEAOjC;AAED,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,6BAOjC;AAED,wBAAgB,iCAAiC,CAC/C,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,GAC/B,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,KAAK,EAAE,SAAS,EAChB,yBAAyB,CAAC,EAAE,IAAI,GAC/B,MAAM,EAAE,CAAC;AACZ,wBAAgB,yCAAyC,CACvD,KAAK,EAAE,SAAS,EAChB,yBAAyB,CAAC,EAAE,KAAK,GAChC,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC;AAiBrB,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,SAAS,EAChB,mBAAmB,UAAO,GACzB,OAAO,CAcT;AAED,oBAAY,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAExD,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,SAAS,GACf,cAAc,CAMhB"}
1
+ {"version":3,"file":"builder-helpers.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/builder-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAK1D,eAAO,MAAM,qBAAqB,QAC5B,2BAA2B,IAAI,CAWlC,CAAC;AAEJ,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,oEAOjC;AAED,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,6BAOjC;AAED,wBAAgB,iCAAiC,CAC/C,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,GAC/B,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,KAAK,EAAE,SAAS,EAChB,yBAAyB,CAAC,EAAE,IAAI,GAC/B,MAAM,EAAE,CAAC;AACZ,wBAAgB,yCAAyC,CACvD,KAAK,EAAE,SAAS,EAChB,yBAAyB,CAAC,EAAE,KAAK,GAChC,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC;AAoBrB,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,SAAS,EAChB,mBAAmB,UAAO,GACzB,OAAO,CAcT;AAED,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAExD,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,SAAS,GACf,cAAc,CAMhB"}
@@ -3,11 +3,11 @@ import type { Document } from 'mongodb';
3
3
  import type { PipelineBuilderThunkAction } from '..';
4
4
  import type Stage from './stage';
5
5
  import type { PipelineParserError } from './pipeline-parser/utils';
6
- export declare type PipelineMode = 'builder-ui' | 'as-text';
6
+ export type PipelineMode = 'builder-ui' | 'as-text';
7
7
  export declare enum ActionTypes {
8
8
  PipelineModeToggled = "compass-aggregations/pipelineModeToggled"
9
9
  }
10
- export declare type PipelineModeToggledAction = {
10
+ export type PipelineModeToggledAction = {
11
11
  type: ActionTypes.PipelineModeToggled;
12
12
  mode: PipelineMode;
13
13
  pipelineText: string;
@@ -15,7 +15,7 @@ export declare type PipelineModeToggledAction = {
15
15
  syntaxErrors: PipelineParserError[];
16
16
  stages: Stage[];
17
17
  };
18
- declare type State = PipelineMode;
18
+ type State = PipelineMode;
19
19
  export declare const INITIAL_STATE: State;
20
20
  declare const reducer: Reducer<State>;
21
21
  export declare const changePipelineMode: (newMode: PipelineMode) => PipelineBuilderThunkAction<void, PipelineModeToggledAction>;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-mode.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAA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,YAAY,GAAG,YAAY,GAAG,SAAS,CAAC;AAEpD,oBAAY,WAAW;IACrB,mBAAmB,6CAA6C;CACjE;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAAC;IACtC,IAAI,EAAE,YAAY,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB,CAAC;AAEF,KAAK,KAAK,GAAG,YAAY,CAAC;AAE1B,eAAO,MAAM,aAAa,EAAE,KAAoB,CAAC;AAEjD,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CAa3B,CAAC;AAEF,eAAO,MAAM,kBAAkB,YACpB,YAAY,KACpB,2BAA2B,IAAI,EAAE,yBAAyB,CAkC5D,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import type * as t from '@babel/types';
2
2
  import type Stage from '../stage';
3
3
  import { PipelineParserError } from './utils';
4
- declare type ParseResponse = {
4
+ type ParseResponse = {
5
5
  root: t.ArrayExpression;
6
6
  stages: t.Expression[];
7
7
  };
8
- declare type ValidateResponse = {
8
+ type ValidateResponse = {
9
9
  root: t.ArrayExpression | null;
10
10
  errors: PipelineParserError[];
11
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-parser.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/pipeline-parser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAOlC,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAkF9C,aAAK,aAAa,GAAG;IACnB,IAAI,EAAE,CAAC,CAAC,eAAe,CAAC;IACxB,MAAM,EAAE,CA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AM,CAAC,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC,eAAe;IAY5D,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,gBAAgB;IAmBjD,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM;IAmBjE,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC,UAAU,EAAE;CA4DvD"}
@@ -1,6 +1,6 @@
1
1
  import type * as t from '@babel/types';
2
2
  import type Stage from '../stage';
3
- export declare type StageLike = t.ObjectExpression & {
3
+ export type StageLike = t.ObjectExpression & {
4
4
  properties: [t.ObjectProperty & {
5
5
  key: t.Identifier | t.StringLiteral;
6
6
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"stage-parser.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/stage-parser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAIlC,oBAAY,SAAS,GAAG,CAAC,CAAC,gBAAgB,GAAG;IAC3C,UAAU,EAAE,CAAC,CAAC,CAAC,cAAc,GAAG;QAAE,GAAG,EAAE,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,aAAa,CAAA;KAAE,CAAC,CAAC;CAC1E,CAAC;AAIF,wBAAgB,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,GAAG,OAAO,CAEpD;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,QAE3D;AAED,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,gBAAgB,GAAG,OAAO,CAanE;AAED,wBAAgB,WAAW,CACzB,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,GA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,IAAI,EAAE,KAAK,EAAE,OAAO,QAE3D;AAED,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,gBAAgB,GAAG,OAAO,CAanE;AAED,wBAAgB,WAAW,CACzB,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,GAAG,IAAI,EACpB,KAAK,UAAQ,GACZ,IAAI,IAAI,SAAS,CAOnB;AAUD,0BAAkB,wBAAwB;IACxC,YAAY,IAAA;IACZ,mBAAmB,IAAA;IACnB,eAAe,IAAA;IACf,qBAAqB,IAAA;IACrB,YAAY,IAAA;IACZ,iBAAiB,IAAA;CAClB;AAED,wBAAgB,eAAe,CAC7B,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,GAAG,IAAI,EACpB,KAAK,UAAQ,GACZ,OAAO,CAAC,IAAI,IAAI,SAAS,CAmC3B;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAIhE;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAc7D;AAKD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,KAAK,GAAG,CAAC,CAAC,WAAW,EAAE,CAWhE;AAMD,MAAM,CAAC,OAAO,OAAO,WAAW;IACvB,MAAM,SAAM;IACnB,OAAO,CAAC,WAAW,CAAS;IAE5B,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS;CA0CrC"}
@@ -1,9 +1,10 @@
1
1
  import type { Node } from '@babel/types';
2
2
  import type { Document } from 'mongodb';
3
3
  import type { FormatOptions } from '@mongodb-js/compass-editor';
4
- declare type ErrorLoc = {
4
+ type ErrorLoc = {
5
5
  line: number;
6
6
  column: number;
7
+ index?: number;
7
8
  };
8
9
  export declare class PipelineParserError extends SyntaxError {
9
10
  loc?: ErrorLoc | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/ut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I,EAAE,aAAa,CAAC,EAAE,aAAa,UAMhE;AAMD,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,EAAE,CAQzD;AAED,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC"}
@@ -8,7 +8,9 @@ export interface PreviewOptions extends AggregateOptions {
8
8
  sampleSize?: number;
9
9
  previewSize?: number;
10
10
  }
11
- export declare function createPreviewAggregation(pipeline: Document[], options?: Pick<PreviewOptions, 'sampleSize' | 'previewSize' | 'totalDocumentCount'>): Document[];
11
+ export declare function createPreviewAggregation(pipeline: Document[], options?: Pick<PreviewOptions, 'sampleSize' | 'previewSize' | 'totalDocumentCount'>): (Document | {
12
+ $limit: number;
13
+ })[];
12
14
  export declare class PipelinePreviewManager {
13
15
  private dataService;
14
16
  private queue;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-preview-manager.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-preview-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAc1D,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAexC,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,QAAQ,EAAE,EACpB,OAAO,GAAE,IAAI,CACX,cAAc,EACd,YAAY,GAAG,aAAa,GAAG,oBAAoB,CAC/C,cA4BP;AAED,qBAAa,sBAAsB;IAGrB,OAAO,CAAC,WAAW;IAF/B,OAAO,CAAC,KAAK,CAAsC;IACnD,OAAO,CAAC,YAAY,CAAiC;gBACjC,WAAW,EAAE,WAAW;IAKtC,kBAAkB,CACtB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,QAAQ,EAAE,EACpB,EACE,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,GAAG,OAAO,EACX,GAAE,cAAmB,EACtB,KAAK,UAAQ,GACZ,OAAO,CAAC,QAAQ,EAAE,CAAC;IAuBtB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,OAAO;IAO/D,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAS3C,UAAU,CAAC,IAAI,SAAI;CASpB"}
1
+ {"version":3,"file":"pipeline-preview-manager.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-preview-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAc1D,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAexC,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,QAAQ,EAAE,EACpB,OAAO,GAAE,IAAI,CACX,cAAc,EACd,YAAY,GAAG,aAAa,GAAG,oBAAoB,CAC/C;;KA4BP;AAED,qBAAa,sBAAsB;IAGrB,OAAO,CAAC,WAAW;IAF/B,OAAO,CAAC,KAAK,CAAsC;IACnD,OAAO,CAAC,YAAY,CAAiC;gBACjC,WAAW,EAAE,WAAW;IAKtC,kBAAkB,CACtB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,QAAQ,EAAE,EACpB,EACE,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,GAAG,OAAO,EACX,GAAE,cAAmB,EACtB,KAAK,UAAQ,GACZ,OAAO,CAAC,QAAQ,EAAE,CAAC;IAuBtB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,OAAO;IAO/D,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAS3C,UAAU,CAAC,IAAI,SAAI;CASpB"}
@@ -17,100 +17,157 @@ export declare const enum StageEditorActionTypes {
17
17
  StageDisabledChange = "compass-aggregations/pipeline-builder/stage-editor/StageDisabledChange",
18
18
  StageAdded = "compass-aggregations/pipeline-builder/stage-editor/StageAdded",
19
19
  StageRemoved = "compass-aggregations/pipeline-builder/stage-editor/StageRemoved",
20
- StageMoved = "compass-aggregations/pipeline-builder/stage-editor/StageMoved"
20
+ StageMoved = "compass-aggregations/pipeline-builder/stage-editor/StageMoved",
21
+ WizardAdded = "compass-aggregations/pipeline-builder/stage-wizard/WizardAdded",
22
+ WizardRemoved = "compass-aggregations/pipeline-builder/stage-wizard/WizardRemoved",
23
+ WizardChanged = "compass-aggregations/pipeline-builder/stage-wizard/WizardChanged",
24
+ WizardToStageClicked = "compass-aggregations/pipeline-builder/stage-wizard/wizardToStageClicked"
21
25
  }
22
- export declare type StagePreviewFetchAction = {
26
+ export type StagePreviewFetchAction = {
23
27
  type: StageEditorActionTypes.StagePreviewFetch;
24
28
  id: number;
25
29
  };
26
- export declare type StagePreviewFetchSkippedAction = {
30
+ export type StagePreviewFetchSkippedAction = {
27
31
  type: StageEditorActionTypes.StagePreviewFetchSkipped;
28
32
  id: number;
29
33
  };
30
- export declare type StagePreviewFetchSuccessAction = {
34
+ export type StagePreviewFetchSuccessAction = {
31
35
  type: StageEditorActionTypes.StagePreviewFetchSuccess;
32
36
  id: number;
33
37
  previewDocs: Document[];
34
38
  };
35
- export declare type StagePreviewFetchErrorAction = {
39
+ export type StagePreviewFetchErrorAction = {
36
40
  type: StageEditorActionTypes.StagePreviewFetchError;
37
41
  id: number;
38
42
  error: MongoServerError;
39
43
  };
40
- export declare type StageRunAction = {
44
+ export type StageRunAction = {
41
45
  type: StageEditorActionTypes.StageRun;
42
46
  id: number;
43
47
  };
44
- export declare type StageRunSuccessAction = {
48
+ export type StageRunSuccessAction = {
45
49
  type: StageEditorActionTypes.StageRunSuccess;
46
50
  id: number;
47
51
  previewDocs: Document[];
48
52
  };
49
- export declare type StageRunErrorAction = {
53
+ export type StageRunErrorAction = {
50
54
  type: StageEditorActionTypes.StageRunError;
51
55
  id: number;
52
56
  error: MongoServerError;
53
57
  };
54
- export declare type ChangeStageValueAction = {
58
+ export type ChangeStageValueAction = {
55
59
  type: StageEditorActionTypes.StageValueChange;
56
60
  id: number;
57
61
  stage: Stage;
58
62
  };
59
- export declare type ChangeStageOperatorAction = {
63
+ export type ChangeStageOperatorAction = {
60
64
  type: StageEditorActionTypes.StageOperatorChange;
61
65
  id: number;
62
66
  stage: Stage;
63
67
  };
64
- export declare type ChangeStageCollapsedAction = {
68
+ export type ChangeStageCollapsedAction = {
65
69
  type: StageEditorActionTypes.StageCollapsedChange;
66
70
  id: number;
67
71
  collapsed: boolean;
68
72
  };
69
- export declare type ChangeStageDisabledAction = {
73
+ export type ChangeStageDisabledAction = {
70
74
  type: StageEditorActionTypes.StageDisabledChange;
71
75
  id: number;
72
76
  disabled: boolean;
73
77
  };
74
- export declare type StageAddAction = {
78
+ export type StageAddAction = {
75
79
  type: StageEditorActionTypes.StageAdded;
76
- after?: number;
77
- stage: Stage;
80
+ after: number;
81
+ stage: StoreStage;
78
82
  };
79
- export declare type StageRemoveAction = {
83
+ export type StageRemoveAction = {
80
84
  type: StageEditorActionTypes.StageRemoved;
81
85
  at: number;
82
86
  };
83
- export declare type StageMoveAction = {
87
+ export type StageMoveAction = {
84
88
  type: StageEditorActionTypes.StageMoved;
85
89
  from: number;
86
90
  to: number;
87
91
  };
92
+ type WizardAddAction = {
93
+ type: StageEditorActionTypes.WizardAdded;
94
+ wizard: Wizard;
95
+ after: number;
96
+ };
97
+ type WizardRemoveAction = {
98
+ type: StageEditorActionTypes.WizardRemoved;
99
+ at: number;
100
+ };
101
+ type WizardChangeAction = {
102
+ type: StageEditorActionTypes.WizardChanged;
103
+ at: number;
104
+ value: string | null;
105
+ syntaxError: SyntaxError | null;
106
+ };
107
+ type WizardToStageAction = {
108
+ type: StageEditorActionTypes.WizardToStageClicked;
109
+ at: number;
110
+ stage: StoreStage;
111
+ };
112
+ export declare function storeIndexToPipelineIndex(stages: StageEditorState['stages'], indexInStore: number, { includeIndex }?: {
113
+ includeIndex: boolean;
114
+ }): number;
115
+ export declare function pipelineFromStore(stages: StageEditorState['stages']): StoreStage[];
116
+ export declare function wizardsFromStore(stages: StageEditorState['stages']): Wizard[];
88
117
  export declare const loadStagePreview: (idx: number) => PipelineBuilderThunkAction<Promise<void>, StagePreviewFetchAction | StagePreviewFetchSuccessAction | StagePreviewFetchErrorAction | StagePreviewFetchSkippedAction>;
89
118
  export declare const loadPreviewForStagesFrom: (from: number) => PipelineBuilderThunkAction<void>;
90
119
  export declare const runStage: (idx: number) => PipelineBuilderThunkAction<Promise<void>>;
91
120
  export declare const changeStageValue: (id: number, newVal: string) => PipelineBuilderThunkAction<void, ChangeStageValueAction>;
92
- export declare const changeStageOperator: (id: number, newVal: string) => PipelineBuilderThunkAction<void, ChangeStageOperatorAction>;
121
+ export declare const changeStageOperator: (id: number, newVal: string) => PipelineBuilderThunkAction<string | undefined, ChangeStageOperatorAction>;
93
122
  export declare const changeStageDisabled: (id: number, newVal: boolean) => PipelineBuilderThunkAction<void, ChangeStageDisabledAction>;
94
123
  export declare const changeStageCollapsed: (id: number, newVal: boolean) => ChangeStageCollapsedAction;
95
124
  export declare const addStage: (after?: number) => PipelineBuilderThunkAction<void, StageAddAction>;
96
125
  export declare const removeStage: (at: number) => PipelineBuilderThunkAction<void, StageRemoveAction>;
97
126
  export declare const moveStage: (from: number, to: number) => PipelineBuilderThunkAction<void, StageMoveAction>;
98
- export declare type StageEditorState = {
99
- stageIds: number[];
100
- stages: {
101
- id: number;
102
- stageOperator: string | null;
103
- value: string | null;
104
- syntaxError: PipelineParserError | null;
105
- serverError: MongoServerError | null;
106
- loading: boolean;
107
- previewDocs: Document[] | null;
108
- collapsed: boolean;
109
- disabled: boolean;
110
- empty: boolean;
111
- }[];
112
- };
113
- export declare function mapBuilderStageToStoreStage(stage: Stage): StageEditorState['stages'][number];
127
+ export type AddWizardParams = {
128
+ usecaseId: number;
129
+ formValues: unknown;
130
+ after?: number;
131
+ };
132
+ export declare const addWizard: (useCaseId: string, stageOperator: string, after?: number) => PipelineBuilderThunkAction<void, WizardAddAction>;
133
+ export declare const removeWizard: (at: number) => WizardRemoveAction;
134
+ export declare const updateWizardValue: (at: number, value: string) => PipelineBuilderThunkAction<void, WizardChangeAction>;
135
+ export declare const convertWizardToStage: (at: number) => PipelineBuilderThunkAction<void, WizardChangeAction | WizardToStageAction>;
136
+ export type StoreStage = {
137
+ id: number;
138
+ idxInPipeline: number;
139
+ type: 'stage';
140
+ stageOperator: string | null;
141
+ value: string | null;
142
+ syntaxError: PipelineParserError | null;
143
+ serverError: MongoServerError | null;
144
+ loading: boolean;
145
+ previewDocs: Document[] | null;
146
+ collapsed: boolean;
147
+ disabled: boolean;
148
+ empty: boolean;
149
+ };
150
+ export type Wizard = {
151
+ id: number;
152
+ type: 'wizard';
153
+ useCaseId: string;
154
+ stageOperator: string;
155
+ value: string | null;
156
+ syntaxError: SyntaxError | null;
157
+ };
158
+ export type StageIdAndType = {
159
+ id: number;
160
+ type: 'stage' | 'wizard';
161
+ };
162
+ export type StageEditorState = {
163
+ stagesIdAndType: StageIdAndType[];
164
+ stages: (StoreStage | Wizard)[];
165
+ };
166
+ export declare function mapBuilderStageToStoreStage(stage: Stage, idxInPipeline: number): StoreStage;
167
+ export declare function mapStoreStagesToStageIdAndType(stages: Pick<StageEditorState['stages'][number], 'id' | 'type'>[]): Array<{
168
+ id: number;
169
+ type: 'stage' | 'wizard';
170
+ }>;
114
171
  declare const reducer: Reducer<StageEditorState>;
115
172
  export default reducer;
116
173
  //# sourceMappingURL=stage-editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stage-editor.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/stage-editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAoB,QAAQ,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAG5E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAWjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAQnE,0BAAkB,sBAAsB;IACtC,iBAAiB,yEAAyE;IAC1F,wBAAwB,gFAAgF;IACxG,wBAAwB,gFAAgF;IACxG,sBAAsB,8EAA8E;IACpG,QAAQ,gEAAgE;IACxE,eAAe,uEAAuE;IACtF,aAAa,8EAA8E;IAC3F,gBAAgB,wEAAwE;IACxF,mBAAmB,2EAA2E;IAC9F,oBAAoB,4EAA4E;IAChG,mBAAmB,2EAA2E;IAC9F,UAAU,kEAAkE;IAC5E,YAAY,oEAAoE;IAChF,UAAU,kEAAkE;CAC7E;AAED,oBAAY,uBAAuB,GAAG;IACpC,IAAI,EAAE,sBAAsB,CAAC,iBAAiB,CAAC;IAC/C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAC3C,IAAI,EAAE,sBAAsB,CAAC,wBAAwB,CAAC;IACtD,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF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}
@@ -0,0 +1,2 @@
1
+ export declare function getId(): number;
2
+ //# sourceMappingURL=stage-ids.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stage-ids.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/stage-ids.ts"],"names":[],"mappings":"AAEA,wBAAgB,KAAK,WAEpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/stage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAUlC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAiCnE,MAAM,CAAC,OAAO,OAAO,KAAK;IACxB,EAAE,SAAW;IACb,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC;IACnB,QAAQ,UAAS;IACjB,WAAW,EAAE,mBAAmB,GAAG,IAAI,CAAQ;IAC/C,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC/B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;gBAE1B,IAAI,GAAE,CAAC,CAAC,UAAyD;IAiBnE,IAAI,OAAO,IAAI,OAAO,CAYrB;IAED,WAAW,CAAC,KAAK,EAAE,MAAM;IAgBzB,cAAc,CAAC,QAAQ,EAAE,MAAM;IAgB/B,cAAc,CAAC,KAAK,EAAE,OAAO;IAM7B,QAAQ;IAqDR,MAAM;CAMP"}
1
+ {"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/stage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAUlC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AA4BnE,MAAM,CAAC,OAAO,OAAO,KAAK;IACxB,EAAE,SAAW;IACb,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC;IACnB,QAAQ,UAAS;IACjB,WAAW,EAAE,mBAAmB,GAAG,IAAI,CAAQ;IAC/C,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC/B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;gBAE1B,IAAI,GAAE,CAAC,CAAC,UAAyD;IAiBnE,IAAI,OAAO,IAAI,OAAO,CAYrB;IAED,WAAW,CAAC,KAAK,EAAE,MAAM;IAgBzB,cAAc,CAAC,QAAQ,EAAE,MAAM;IAgB/B,cAAc,CAAC,KAAK,EAAE,OAAO;IAM7B,QAAQ;IAqDR,MAAM;CAMP"}
@@ -1,7 +1,7 @@
1
1
  import type { Reducer } from 'redux';
2
2
  import type { MongoServerError } from 'mongodb';
3
3
  import type { PipelineBuilderThunkAction } from '..';
4
- declare type OutputStageState = {
4
+ type OutputStageState = {
5
5
  isLoading: boolean;
6
6
  serverError: MongoServerError | null;
7
7
  isComplete: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"text-editor-output-stage.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/text-editor-output-stage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAoB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AA+BrD,aAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAQF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAwDtC,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAAO,2BAC5C,QAAQ,IAAI,CAAC,CA8Cd,CAAC;AAEF,eAAO,MAAM,yBAAyB,QAChC,2BAA2B,IAAI,CAalC,CAAC;AAEJ,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"text-editor-output-stage.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/text-editor-output-stage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAoB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AA+BrD,KAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAQF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAwDtC,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAAO,2BAC5C,QAAQ,IAAI,CAAC,CA8Cd,CAAC;AAEF,eAAO,MAAM,yBAAyB,QAChC,2BAA2B,IAAI,CAalC,CAAC;AAEJ,eAAe,OAAO,CAAC"}
@@ -9,27 +9,27 @@ export declare const enum EditorActionTypes {
9
9
  EditorPreviewFetchError = "compass-aggregations/pipeline-builder/text-editor-pipeline/TextEditorPreviewFetchError",
10
10
  EditorValueChange = "compass-aggregations/pipeline-builder/text-editor-pipeline/TextEditorValueChange"
11
11
  }
12
- export declare type EditorValueChangeAction = {
12
+ export type EditorValueChangeAction = {
13
13
  type: EditorActionTypes.EditorValueChange;
14
14
  pipelineText: string;
15
15
  pipeline: Document[] | null;
16
16
  syntaxErrors: PipelineParserError[];
17
17
  };
18
- declare type EditorPreviewFetchAction = {
18
+ type EditorPreviewFetchAction = {
19
19
  type: EditorActionTypes.EditorPreviewFetch;
20
20
  };
21
- declare type EditorPreviewFetchSkippedAction = {
21
+ type EditorPreviewFetchSkippedAction = {
22
22
  type: EditorActionTypes.EditorPreviewFetchSkipped;
23
23
  };
24
- declare type EditorPreviewFetchSuccessAction = {
24
+ type EditorPreviewFetchSuccessAction = {
25
25
  type: EditorActionTypes.EditorPreviewFetchSuccess;
26
26
  previewDocs: Document[];
27
27
  };
28
- declare type EditorPreviewFetchErrorAction = {
28
+ type EditorPreviewFetchErrorAction = {
29
29
  type: EditorActionTypes.EditorPreviewFetchError;
30
30
  serverError: MongoServerError;
31
31
  };
32
- export declare type TextEditorState = {
32
+ export type TextEditorState = {
33
33
  pipelineText: string;
34
34
  pipeline: Document[];
35
35
  syntaxErrors: PipelineParserError[];
@@ -1 +1 @@
1
- {"version":3,"file":"text-editor-pipeline.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/text-editor-pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AAQrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAOnE,0BAAkB,iBAAiB;IACjC,kBAAkB,sFAAsF;IACxG,yBAAyB,yFAAyF;IAClH,yBAAyB,6FAA6F;IACtH,uBAAuB,2FAA2F;IAClH,iBAAiB,qFAAqF;CACvG;AAED,oBAAY,uBAAuB,GAAG;IACpC,IAAI,EAAE,iBAAiB,CAAC,iBAAiB,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,mBAAmB,EAAE,CAAC;CACrC,CAAC;AAEF,aAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,iBAAiB,CAAC,kBAAkB,CAAC;CAC5C,CAAC;AAEF,aAAK,+BAA+B,GAAG;IACrC,IAAI,EAAE,iBAAiB,CAAC,yBAAyB,CAAC;CACnD,CAAC;AAEF,aAAK,+BAA+B,GAAG;IACrC,IAAI,EAAE,iBAAiB,CAAC,yBAAyB,CAAC;IAClD,WAAW,EAAE,QAAQ,EAAE,CAAC;CACzB,CAAC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,GAC/B,6BAA6B,GAC7B,+BAA+B,CAqElC,CAAC;AAEF,eAAO,MAAM,iBAAiB,aAClB,MAAM,KACf,2BAA2B,IAAI,EAAE,uBAAuB,CAyB1D,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -4,7 +4,7 @@ import type { StoredPipeline } from '../utils/pipeline-storage';
4
4
  export declare const SET_SHOW_SAVED_PIPELINES: string;
5
5
  export declare const SAVED_PIPELINE_ADD: string;
6
6
  export declare const RESTORE_PIPELINE: string;
7
- export declare type SavedPipelineState = {
7
+ export type SavedPipelineState = {
8
8
  pipelines: StoredPipeline[];
9
9
  isLoaded: boolean;
10
10
  isListVisible: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"saved-pipeline.d.ts","sourceRoot":"","sources":["../../../src/modules/saved-pipeline.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAgBhE,eAAO,MAAM,wBAAwB,QAAuB,CAAC;AAC7D,eAAO,MAAM,kBAAkB,QAAkB,CAAC;AAClD,eAAO,MAAM,gBAAgB,QAA+B,CAAC;AAE7D,oBAAY,kBAAkB,GAAG;IAC/B,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAI3B,CAAC;AAuBF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,gCAAgB,EAAE,MAAM,EAAE,SAAS;;;;EAGvE;AAED,eAAO,MAAM,qBAAqB,SACzB,OAAO,KAAG,2BAA2B,IAAI,CAS/C,CAAC;AAEJ,eAAO,MAAM,gBAAgB,cAAe,cAAc,EAAE;;;CAG1D,CAAC;AAEH,eAAO,MAA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AAI,CAIlC,CAAC;AAKJ,eAAO,MAAM,kBAAkB,QACzB,2BAA2B,IAAI,CAiBlC,CAAC;AAKJ,eAAO,MAAM,kBAAkB,iBACf,cAAc,8BAE3B,2BAA2B,IAAI,CAqCjC,CAAC;AAKF,eAAO,MAAM,mBAAmB,QAC1B,2BAA2B,IAAI,CAiDlC,CAAC;AAEJ,eAAO,MAAM,mBAAmB,iBACf,cAAc,KAAG,2BAA2B,IAAI,CAqB9D,CAAC;AAEJ,eAAO,MAAM,qBAAqB,eACnB,MAAM,KAAG,2BAA2B,IAAI,CAoBpD,CAAC"}
@@ -5,7 +5,7 @@ export declare const TOGGLE_COMMENT_MODE: string;
5
5
  export declare const SET_SAMPLE_SIZE: string;
6
6
  export declare const SET_LIMIT: string;
7
7
  export declare const APPLY_SETTINGS: string;
8
- declare type State = {
8
+ type State = {
9
9
  isExpanded: boolean;
10
10
  isCommentMode: boolean;
11
11
  isDirty: boolean;
@@ -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;AAEhD,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,aAAK,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,QA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H,eAAO,MAAM,aAAa,QAAO,2BAA2B,IAAI,CAW/D,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { AnyAction } from 'redux';
2
+ declare enum ActionTypes {
3
+ SidePanelToggled = "compass-aggregations/sidePanelToggled"
4
+ }
5
+ type SidePanelToggledAction = {
6
+ type: ActionTypes.SidePanelToggled;
7
+ };
8
+ type State = {
9
+ isPanelOpen: boolean;
10
+ };
11
+ export declare const INITIAL_STATE: State;
12
+ export default function reducer(state: State | undefined, action: AnyAction): State;
13
+ export declare const toggleSidePanel: () => SidePanelToggledAction;
14
+ export {};
15
+ //# sourceMappingURL=side-panel.d.ts.map
@@ -0,0 +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;AAGvC,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,aAAa,EAAE,KAE3B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,KAAK,CASP;AAED,eAAO,MAAM,eAAe,QAAO,sBAEjC,CAAC"}
@@ -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,uCA2CN"}
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"}