@mongodb-js/compass-aggregations 0.0.0-next-c3291a871fc2c07d3e2038cc1ad275c102e1d321 → 0.0.0-next-1f064ba7669c838cc646f440aedd0cf45c4df973

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 (202) 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/index.d.ts +15 -0
  12. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts.map +1 -0
  13. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts +7 -0
  14. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts.map +1 -0
  15. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-list.d.ts +6 -0
  16. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-list.d.ts.map +1 -0
  17. package/dist/src/components/aggregations/aggregations.d.ts +2 -2
  18. package/dist/src/components/aggregations/aggregations.d.ts.map +1 -1
  19. package/dist/src/components/aggregations/index.d.ts +2 -2
  20. package/dist/src/components/aggregations/index.d.ts.map +1 -1
  21. package/dist/src/components/create-view-modal/create-view-modal.d.ts +2 -2
  22. package/dist/src/components/create-view-modal/create-view-modal.d.ts.map +1 -1
  23. package/dist/src/components/create-view-modal/index.d.ts +2 -2
  24. package/dist/src/components/create-view-modal/index.d.ts.map +1 -1
  25. package/dist/src/components/create-view-plugin.d.ts +3 -3
  26. package/dist/src/components/create-view-plugin.d.ts.map +1 -1
  27. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts +2 -2
  28. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts.map +1 -1
  29. package/dist/src/components/duplicate-view-modal/index.d.ts +2 -2
  30. package/dist/src/components/duplicate-view-modal/index.d.ts.map +1 -1
  31. package/dist/src/components/duplicate-view-plugin.d.ts +2 -2
  32. package/dist/src/components/duplicate-view-plugin.d.ts.map +1 -1
  33. package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts +6 -2
  34. package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts.map +1 -1
  35. package/dist/src/components/focus-mode/focus-mode-stage-editor.d.ts.map +1 -1
  36. package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts +1 -1
  37. package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts.map +1 -1
  38. package/dist/src/components/focus-mode/focus-mode.d.ts +1 -1
  39. package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
  40. package/dist/src/components/loading-overlay/index.d.ts +1 -1
  41. package/dist/src/components/loading-overlay/index.d.ts.map +1 -1
  42. package/dist/src/components/loading-overlay/loading-overlay.d.ts +1 -1
  43. package/dist/src/components/loading-overlay/loading-overlay.d.ts.map +1 -1
  44. package/dist/src/components/modify-source-banner/index.d.ts +1 -1
  45. package/dist/src/components/modify-source-banner/index.d.ts.map +1 -1
  46. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts +1 -1
  47. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts.map +1 -1
  48. package/dist/src/components/pipeline/index.d.ts +1 -1
  49. package/dist/src/components/pipeline/index.d.ts.map +1 -1
  50. package/dist/src/components/pipeline/pipeline.d.ts +2 -2
  51. package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
  52. package/dist/src/components/pipeline-builder-input-documents.d.ts +1 -1
  53. package/dist/src/components/pipeline-builder-input-documents.d.ts.map +1 -1
  54. package/dist/src/components/pipeline-builder-workspace/index.d.ts +12 -2
  55. package/dist/src/components/pipeline-builder-workspace/index.d.ts.map +1 -1
  56. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts +1 -1
  57. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map +1 -1
  58. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts +1 -1
  59. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -1
  60. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts +1 -1
  61. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts.map +1 -1
  62. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts +1 -1
  63. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts.map +1 -1
  64. package/dist/src/components/pipeline-builder-workspace/{pipeline-builder-ui-workspace.d.ts → pipeline-builder-ui-workspace/index.d.ts} +4 -3
  65. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -0
  66. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts +16 -0
  67. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts.map +1 -0
  68. package/dist/src/components/pipeline-explain/explain-indexes.d.ts +1 -1
  69. package/dist/src/components/pipeline-explain/explain-indexes.d.ts.map +1 -1
  70. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts +1 -1
  71. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts.map +1 -1
  72. package/dist/src/components/pipeline-explain/explain-results.d.ts +1 -1
  73. package/dist/src/components/pipeline-explain/explain-results.d.ts.map +1 -1
  74. package/dist/src/components/pipeline-explain/index.d.ts +1 -1
  75. package/dist/src/components/pipeline-explain/index.d.ts.map +1 -1
  76. package/dist/src/components/pipeline-output-options-menu.d.ts +1 -1
  77. package/dist/src/components/pipeline-output-options-menu.d.ts.map +1 -1
  78. package/dist/src/components/pipeline-results-workspace/index.d.ts +1 -1
  79. package/dist/src/components/pipeline-results-workspace/index.d.ts.map +1 -1
  80. package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts +1 -1
  81. package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts.map +1 -1
  82. package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts +1 -1
  83. package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts.map +1 -1
  84. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts +1 -1
  85. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts.map +1 -1
  86. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts +1 -1
  87. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts.map +1 -1
  88. package/dist/src/components/pipeline-toolbar/index.d.ts +1 -1
  89. package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
  90. package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts +1 -1
  91. package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts.map +1 -1
  92. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts +1 -1
  93. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts.map +1 -1
  94. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts +1 -1
  95. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts.map +1 -1
  96. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts +1 -1
  97. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts.map +1 -1
  98. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts +3 -1
  99. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
  100. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts +1 -1
  101. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts.map +1 -1
  102. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-name.d.ts +1 -1
  103. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-name.d.ts.map +1 -1
  104. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts +1 -1
  105. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts.map +1 -1
  106. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts +1 -1
  107. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts.map +1 -1
  108. package/dist/src/components/saving-pipeline-modal/index.d.ts +1 -1
  109. package/dist/src/components/saving-pipeline-modal/index.d.ts.map +1 -1
  110. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts +2 -2
  111. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -1
  112. package/dist/src/components/settings/settings.d.ts +1 -1
  113. package/dist/src/components/settings/settings.d.ts.map +1 -1
  114. package/dist/src/components/stage-editor/index.d.ts +1 -1
  115. package/dist/src/components/stage-editor/index.d.ts.map +1 -1
  116. package/dist/src/components/stage-editor/stage-editor.d.ts +1 -1
  117. package/dist/src/components/stage-editor/stage-editor.d.ts.map +1 -1
  118. package/dist/src/components/stage-preview/index.d.ts +1 -1
  119. package/dist/src/components/stage-preview/index.d.ts.map +1 -1
  120. package/dist/src/components/stage-preview/output-stage-preview.d.ts +1 -1
  121. package/dist/src/components/stage-preview/output-stage-preview.d.ts.map +1 -1
  122. package/dist/src/components/stage-preview/stage-preview-header.d.ts +1 -1
  123. package/dist/src/components/stage-preview/stage-preview-header.d.ts.map +1 -1
  124. package/dist/src/components/stage-toolbar/index.d.ts +3 -2
  125. package/dist/src/components/stage-toolbar/index.d.ts.map +1 -1
  126. package/dist/src/components/stage-toolbar/option-menu.d.ts.map +1 -1
  127. package/dist/src/components/stage-toolbar/stage-collapser.d.ts.map +1 -1
  128. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts +1 -1
  129. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -1
  130. package/dist/src/components/stage-toolbar/toggle-stage.d.ts.map +1 -1
  131. package/dist/src/components/stage-wizard/index.d.ts +23 -0
  132. package/dist/src/components/stage-wizard/index.d.ts.map +1 -0
  133. package/dist/src/components/stage.d.ts +6 -3
  134. package/dist/src/components/stage.d.ts.map +1 -1
  135. package/dist/src/modules/aggregation.d.ts +10 -10
  136. package/dist/src/modules/aggregation.d.ts.map +1 -1
  137. package/dist/src/modules/auto-preview.d.ts +1 -1
  138. package/dist/src/modules/auto-preview.d.ts.map +1 -1
  139. package/dist/src/modules/collation-string.d.ts +2 -2
  140. package/dist/src/modules/collation-string.d.ts.map +1 -1
  141. package/dist/src/modules/count-documents.d.ts +5 -5
  142. package/dist/src/modules/count-documents.d.ts.map +1 -1
  143. package/dist/src/modules/create-view/index.d.ts +7 -7
  144. package/dist/src/modules/create-view/index.d.ts.map +1 -1
  145. package/dist/src/modules/data-service.d.ts +1 -1
  146. package/dist/src/modules/data-service.d.ts.map +1 -1
  147. package/dist/src/modules/explain.d.ts +8 -8
  148. package/dist/src/modules/explain.d.ts.map +1 -1
  149. package/dist/src/modules/focus-mode.d.ts +3 -3
  150. package/dist/src/modules/focus-mode.d.ts.map +1 -1
  151. package/dist/src/modules/index.d.ts +7 -4
  152. package/dist/src/modules/index.d.ts.map +1 -1
  153. package/dist/src/modules/indexes.d.ts +4 -4
  154. package/dist/src/modules/indexes.d.ts.map +1 -1
  155. package/dist/src/modules/input-documents.d.ts +4 -4
  156. package/dist/src/modules/input-documents.d.ts.map +1 -1
  157. package/dist/src/modules/is-datalake.d.ts +1 -1
  158. package/dist/src/modules/is-datalake.d.ts.map +1 -1
  159. package/dist/src/modules/max-time-ms.d.ts +1 -1
  160. package/dist/src/modules/max-time-ms.d.ts.map +1 -1
  161. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +1 -1
  162. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -1
  163. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts +3 -3
  164. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -1
  165. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts +2 -2
  166. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts.map +1 -1
  167. package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts +1 -1
  168. package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts.map +1 -1
  169. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts +1 -1
  170. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -1
  171. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts +3 -1
  172. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -1
  173. package/dist/src/modules/pipeline-builder/stage-editor.d.ts +90 -33
  174. package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
  175. package/dist/src/modules/pipeline-builder/stage-ids.d.ts +2 -0
  176. package/dist/src/modules/pipeline-builder/stage-ids.d.ts.map +1 -0
  177. package/dist/src/modules/pipeline-builder/stage.d.ts.map +1 -1
  178. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +1 -1
  179. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -1
  180. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts +6 -6
  181. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -1
  182. package/dist/src/modules/saved-pipeline.d.ts +1 -1
  183. package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
  184. package/dist/src/modules/settings.d.ts +1 -1
  185. package/dist/src/modules/settings.d.ts.map +1 -1
  186. package/dist/src/modules/side-panel.d.ts +15 -0
  187. package/dist/src/modules/side-panel.d.ts.map +1 -0
  188. package/dist/src/modules/update-view.d.ts.map +1 -1
  189. package/dist/src/modules/workspace.d.ts +4 -4
  190. package/dist/src/modules/workspace.d.ts.map +1 -1
  191. package/dist/src/plugin.d.ts +3 -3
  192. package/dist/src/plugin.d.ts.map +1 -1
  193. package/dist/src/stores/store.d.ts +4 -1
  194. package/dist/src/stores/store.d.ts.map +1 -1
  195. package/dist/src/utils/get-schema.d.ts +3 -0
  196. package/dist/src/utils/get-schema.d.ts.map +1 -0
  197. package/dist/src/utils/pipeline-storage.d.ts +1 -1
  198. package/dist/src/utils/pipeline-storage.d.ts.map +1 -1
  199. package/package.json +18 -18
  200. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace.d.ts.map +0 -1
  201. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-workspace.d.ts +0 -12
  202. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-workspace.d.ts.map +0 -1
@@ -5,19 +5,19 @@ export declare enum ActionTypes {
5
5
  CountFinished = "compass-aggregations/countFinished",
6
6
  CountFailed = "compass-aggregations/countFailed"
7
7
  }
8
- declare type CountStartedAction = {
8
+ type CountStartedAction = {
9
9
  type: ActionTypes.CountStarted;
10
10
  abortController: AbortController;
11
11
  };
12
- declare type CountFinishedAction = {
12
+ type CountFinishedAction = {
13
13
  type: ActionTypes.CountFinished;
14
14
  count: number;
15
15
  };
16
- declare type CountFailedAction = {
16
+ type CountFailedAction = {
17
17
  type: ActionTypes.CountFailed;
18
18
  };
19
- export declare type Actions = CountStartedAction | CountFinishedAction | CountFailedAction;
20
- export declare type State = {
19
+ export type Actions = CountStartedAction | CountFinishedAction | CountFailedAction;
20
+ export type State = {
21
21
  count?: number;
22
22
  loading: boolean;
23
23
  abortController?: AbortController;
@@ -1 +1 @@
1
- {"version":3,"file":"count-documents.d.ts","sourceRoot":"","sources":["../../../src/modules/count-documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,oBAAY,WAAW;IACrB,YAAY,sCAAsC;IAClD,aAAa,uCAAuC;IACpD,WAAW,qCAAqC;CACjD;AAED,aAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC;IAC/B,eAAe,EAAE,eAAe,CAAC;CAClC,CAAC;AAEF,aAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,aAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;CAC/B,CAAC;AAEF,oBAAY,OAAO,GACf,kBAAkB,GAClB,mBAAmB,GACnB,iBAAiB,CAAC;AAEtB,oBAAY,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAE3B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CA0BtC,CAAC;AAEF,eAAO,MAAM,WAAW,QAAO,2BAA2B,IAAI,CAO7D,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,2BAA2B,QAAQ,IAAI,CAAC,CA8CzE,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"count-documents.d.ts","sourceRoot":"","sources":["../../../src/modules/count-documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,oBAAY,WAAW;IACrB,YAAY,sCAAsC;IAClD,aAAa,uCAAuC;IACpD,WAAW,qCAAqC;CACjD;AAED,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC;IAC/B,eAAe,EAAE,eAAe,CAAC;CAClC,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,OAAO,GACf,kBAAkB,GAClB,mBAAmB,GACnB,iBAAiB,CAAC;AAEtB,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAE3B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CA0BtC,CAAC;AAEF,eAAO,MAAM,WAAW,QAAO,2BAA2B,IAAI,CAO7D,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,2BAA2B,QAAQ,IAAI,CAAC,CA8CzE,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -10,12 +10,12 @@ export namespace INITIAL_STATE {
10
10
  export default rootReducer;
11
11
  export function open(sourceNs: string, sourcePipeline: any[], duplicate: any): Object;
12
12
  export function createView(): Function;
13
- import { INITIAL_STATE as IS_RUNNING_INITIAL_STATE } from "../create-view/is-running";
14
- import { INITIAL_STATE as IS_VISIBLE_INITIAL_STATE } from "../create-view/is-visible";
15
- import { INITIAL_STATE as IS_DUPLICATING_INITIAL_STATE } from "../create-view/is-duplicating";
16
- import { INITIAL_STATE as NAME_INITIAL_STATE } from "../create-view/name";
17
- import { INITIAL_STATE as ERROR_INITIAL_STATE } from "../create-view/error";
18
- import { INITIAL_STATE as SOURCE_INITIAL_STATE } from "../create-view/source";
19
- import { INITIAL_STATE as PIPELINE_INITIAL_STATE } from "../create-view/pipeline";
13
+ import { INITIAL_STATE as IS_RUNNING_INITIAL_STATE } from '../create-view/is-running';
14
+ import { INITIAL_STATE as IS_VISIBLE_INITIAL_STATE } from '../create-view/is-visible';
15
+ import { INITIAL_STATE as IS_DUPLICATING_INITIAL_STATE } from '../create-view/is-duplicating';
16
+ import { INITIAL_STATE as NAME_INITIAL_STATE } from '../create-view/name';
17
+ import { INITIAL_STATE as ERROR_INITIAL_STATE } from '../create-view/error';
18
+ import { INITIAL_STATE as SOURCE_INITIAL_STATE } from '../create-view/source';
19
+ import { INITIAL_STATE as PIPELINE_INITIAL_STATE } from '../create-view/pipeline';
20
20
  declare function rootReducer(state: Object, action: Object): Object;
21
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-view/index.js"],"names":[],"mappings":";;;;;;;;;;AA0HO,+EAFM,MAAM,CAOjB;AAOK,uCAgDN;;;;;;;;AAzGD,oCALW,MAAM,UACN,MAAM,GAEJ,MAAM,CAuBlB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-view/index.js"],"names":[],"mappings":";;;;;;;;;;AA0HO,+EAFM,MAAM,CAOjB;AAOK,uCA2CN;0DAhKM,2BAA2B;0DAG3B,2BAA2B;8DAG3B,+BAA+B;oDACoB,qBAAqB;qDAMxE,sBAAsB;sDAtBtB,uBAAuB;wDAIvB,yBAAyB;AAiEhC,oCALW,MAAM,UACN,MAAM,GAEJ,MAAM,CAuBlB"}
@@ -1,7 +1,7 @@
1
1
  import type { DataService } from 'mongodb-data-service';
2
2
  import type { AnyAction } from 'redux';
3
3
  export declare const DATA_SERVICE_CONNECTED: string;
4
- declare type State = {
4
+ type State = {
5
5
  error: Error | null;
6
6
  dataService: DataService | null;
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"data-service.d.ts","sourceRoot":"","sources":["../../../src/modules/data-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,eAAO,MAAM,sBAAsB,QAAqC,CAAC;AAEzE,aAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;CACjC,CAAC;AAKF,eAAO,MAAM,aAAa,EAAE,KAG3B,CAAC;AAKF,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,KAAK,CAQP;AAMD,eAAO,MAAM,oBAAoB,UACxB,KAAK,eACC,WAAW,KACvB,SAID,CAAC"}
1
+ {"version":3,"file":"data-service.d.ts","sourceRoot":"","sources":["../../../src/modules/data-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,eAAO,MAAM,sBAAsB,QAAqC,CAAC;AAEzE,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;CACjC,CAAC;AAKF,eAAO,MAAM,aAAa,EAAE,KAG3B,CAAC;AAKF,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,KAAK,CAQP;AAMD,eAAO,MAAM,oBAAoB,UACxB,KAAK,eACC,WAAW,KACvB,SAID,CAAC"}
@@ -10,28 +10,28 @@ export declare enum ActionTypes {
10
10
  ExplainFailed = "compass-aggregations/explainFailed",
11
11
  ExplainCancelled = "compass-aggregations/explainCancelled"
12
12
  }
13
- declare type ExplainStartedAction = {
13
+ type ExplainStartedAction = {
14
14
  type: ActionTypes.ExplainStarted;
15
15
  abortController: AbortController;
16
16
  };
17
- declare type ExplainFinishedAction = {
17
+ type ExplainFinishedAction = {
18
18
  type: ActionTypes.ExplainFinished;
19
19
  explain: ExplainData;
20
20
  };
21
- declare type ExplainFailedAction = {
21
+ type ExplainFailedAction = {
22
22
  type: ActionTypes.ExplainFailed;
23
23
  error: string;
24
24
  };
25
- declare type ExplainCancelledAction = {
25
+ type ExplainCancelledAction = {
26
26
  type: ActionTypes.ExplainCancelled;
27
27
  };
28
- export declare type Actions = ExplainStartedAction | ExplainFinishedAction | ExplainFailedAction | ExplainCancelledAction;
29
- export declare type ExplainIndex = {
28
+ export type Actions = ExplainStartedAction | ExplainFinishedAction | ExplainFailedAction | ExplainCancelledAction;
29
+ export type ExplainIndex = {
30
30
  name: string;
31
31
  shard?: string;
32
32
  key: IndexInfo['key'];
33
33
  };
34
- export declare type ExplainData = {
34
+ export type ExplainData = {
35
35
  plan: Document;
36
36
  stats?: {
37
37
  executionTimeMillis: number;
@@ -39,7 +39,7 @@ export declare type ExplainData = {
39
39
  indexes: ExplainIndex[];
40
40
  };
41
41
  };
42
- export declare type State = {
42
+ export type State = {
43
43
  isLoading: boolean;
44
44
  isModalOpen: boolean;
45
45
  explain?: ExplainData;
@@ -1 +1 @@
1
- {"version":3,"file":"explain.d.ts","sourceRoot":"","sources":["../../../src/modules/explain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAoB,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,0BAA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EF,eAAO,MAAM,oBAAoB,aACrB,QAAQ,EAAE,cACR,OAAO,KAClB,qBAAqB,CAAC,kBAAkB,CAY1C,CAAC;AAEF,eAAO,MAAM,sBAAsB,sBACd,SAAS,EAAE,kBACd,gBAAgB,EAAE,KACjC,YAAY,EAcd,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -5,14 +5,14 @@ declare enum ActionTypes {
5
5
  FocusModeDisabled = "compass-aggregations/focusModeDisabled",
6
6
  SelectFocusModeStage = "compass-aggregations/selectFocusModeStage"
7
7
  }
8
- declare type FocusModeEnabledAction = {
8
+ type FocusModeEnabledAction = {
9
9
  type: ActionTypes.FocusModeEnabled;
10
10
  stageIndex: number;
11
11
  };
12
- declare type FocusModeDisabledAction = {
12
+ type FocusModeDisabledAction = {
13
13
  type: ActionTypes.FocusModeDisabled;
14
14
  };
15
- declare type State = {
15
+ type State = {
16
16
  isEnabled: boolean;
17
17
  stageIndex: number;
18
18
  openedAt: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"focus-mode.d.ts","sourceRoot":"","sources":["../../../src/modules/focus-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,aAAK,WAAW;IACd,gBAAgB,0CAA0C;IAC1D,iBAAiB,2CAA2C;IAC5D,oBAAoB,8CAA8C;CACnE;AAED,aAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,aAAK,uBAAuB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC;CACrC,CAAC;AAOF,aAAK,KAAK,GAAG;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,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M,KACjB,2BAA2B,IAAI,EAAE,sBAAsB,CAYzD,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,2BAClC,IAAI,EACJ,uBAAuB,CAaxB,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAAW,MAAM;;;CAKjD,CAAC;AAEF,eAAO,MAAM,mBAAmB,UACvB,MAAM,KACZ,2BAA2B,IAAI,CAKjC,CAAC"}
@@ -72,13 +72,16 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
72
72
  stageIndex: number;
73
73
  openedAt: number | null;
74
74
  };
75
+ sidePanel: {
76
+ isPanelOpen: boolean;
77
+ };
75
78
  }>, Action<any>>;
76
- export declare type RootState = ReturnType<typeof rootReducer>;
77
- export declare type PipelineBuilderExtraArgs = {
79
+ export type RootState = ReturnType<typeof rootReducer>;
80
+ export type PipelineBuilderExtraArgs = {
78
81
  pipelineBuilder: PipelineBuilder;
79
82
  pipelineStorage: PipelineStorage;
80
83
  };
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>;
84
+ export type PipelineBuilderThunkDispatch<A extends Action = AnyAction> = ThunkDispatch<RootState, PipelineBuilderExtraArgs, A>;
85
+ export type PipelineBuilderThunkAction<R, A extends Action = AnyAction> = ThunkAction<R, RootState, PipelineBuilderExtraArgs, A>;
83
86
  export default rootReducer;
84
87
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAoC/C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM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AAe,EAAE,eAAe,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,4BAA4B,CAAC,CAAC,SAAS,MAAM,GAAG,SAAS,IACnE,aAAa,CAAC,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAExD,MAAM,MAAM,0BAA0B,CACpC,CAAC,EACD,CAAC,SAAS,MAAM,GAAG,SAAS,IAC1B,WAAW,CAAC,CAAC,EAAE,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAE3D,eAAe,WAAW,CAAC"}
@@ -3,18 +3,18 @@ import type { IndexDirection } from 'mongodb';
3
3
  export declare enum ActionTypes {
4
4
  IndexesFetched = "compass-aggregations/indexesFetched"
5
5
  }
6
- export declare type IndexInfo = {
6
+ export type IndexInfo = {
7
7
  ns: string;
8
8
  name: string;
9
9
  key: Record<string, IndexDirection>;
10
10
  extra: Record<string, any>;
11
11
  };
12
- declare type IndexesFetchedAction = {
12
+ type IndexesFetchedAction = {
13
13
  type: ActionTypes.IndexesFetched;
14
14
  indexes: IndexInfo[];
15
15
  };
16
- export declare type Actions = IndexesFetchedAction;
17
- export declare type State = IndexInfo[];
16
+ export type Actions = IndexesFetchedAction;
17
+ export type State = IndexInfo[];
18
18
  export declare const INITIAL_STATE: State;
19
19
  declare const reducer: Reducer<State, Actions>;
20
20
  export declare const indexesFetched: (indexes: IndexInfo[]) => IndexesFetchedAction;
@@ -1 +1 @@
1
- {"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,oBAAY,WAAW;IACrB,cAAc,wCAAwC;CACvD;AAED,oBAAY,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC,MAAM,E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AAO,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,CAOpC,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,SAAS,EAAE,KAAG,oBAGpD,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -6,19 +6,19 @@ export declare enum ActionTypes {
6
6
  DocumentsFetchStarted = "aggregations/input-documents/DocumentsFetchStarted",
7
7
  DocumentsFetchFinished = "aggregations/input-documents/DocumentsFetchFinished"
8
8
  }
9
- 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;IAC3B,IAAI,EAAE,WAAW,CAAC,eAAe,CAAC;CACnC,CAAC;AAEF,aAAK,2BAA2B,GAAG;IACjC,IAAI,EAAE,WAAW,CAAC,qBAAqB,CAAC;CACzC,CAAC;AAEF,aAAK,4BAA4B,GAAG;IAClC,IAAI,EAAE,WAAW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2B,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,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AAOrD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,EA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Y,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,CAAC,CAAC,UAAU,EAAE,CAAC;CACxB,CAAC;AAEF,aAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,CAAC,CAAC,eAAe,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,mBAAmB,EAAE,CAAC;CAC/B,CAAC;AAEF,MAAM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AAC,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,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,i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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,7 +1,7 @@
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
7
  index?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,aAAK,QAAQ,GAAG;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,mBAAoB,SAAQ,WAAW;IACd,GAAG,CAAC;IAAmB,IAAI,CAAC;gBAApD,OAAO,EAAE,MAAM,EAAS,GAAG,CAAC,sBAAU,EAAS,IAAI,CAAC,oBAAQ;CAGzE;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,aAAa,CAAC,EAAE,aAAa,UAMhE;AAMD,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,EAAE,CAQzD;AAED,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,mBAAoB,SAAQ,WAAW;IACd,GAAG,CAAC;IAAmB,IAAI,CAAC;gBAApD,OAAO,EAAE,MAAM,EAAS,GAAG,CAAC,sBAAU,EAAS,IAAI,CAAC,oBAAQ;CAGzE;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,aAAa,CAAC,EAAE,aAAa,UAMhE;AAMD,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,EAAE,CAQzD;AAED,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC"}
@@ -8,7 +8,9 @@ export interface PreviewOptions extends AggregateOptions {
8
8
  sampleSize?: number;
9
9
  previewSize?: number;
10
10
  }
11
- export declare function createPreviewAggregation(pipeline: Document[], options?: Pick<PreviewOptions, 'sampleSize' | 'previewSize' | 'totalDocumentCount'>): Document[];
11
+ export declare function createPreviewAggregation(pipeline: Document[], options?: Pick<PreviewOptions, 'sampleSize' | 'previewSize' | 'totalDocumentCount'>): (Document | {
12
+ $limit: number;
13
+ })[];
12
14
  export declare class PipelinePreviewManager {
13
15
  private dataService;
14
16
  private queue;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-preview-manager.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-preview-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAc1D,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAexC,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,QAAQ,EAAE,EACpB,OAAO,GAAE,IAAI,CACX,cAAc,EACd,YAAY,GAAG,aAAa,GAAG,oBAAoB,CAC/C,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,74 +17,103 @@ 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>>;
@@ -95,22 +124,50 @@ export declare const changeStageCollapsed: (id: number, newVal: boolean) => Chan
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