@mongodb-js/compass-aggregations 9.21.0 → 9.22.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 (205) hide show
  1. package/README.md +0 -18
  2. package/dist/browser.js +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/src/components/add-stage/index.d.ts +1 -1
  5. package/dist/src/components/add-stage/index.d.ts.map +1 -1
  6. package/dist/src/components/aggregation-side-panel/index.d.ts.map +1 -1
  7. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts.map +1 -1
  8. package/dist/src/components/aggregations/aggregations.d.ts +13 -17
  9. package/dist/src/components/aggregations/aggregations.d.ts.map +1 -1
  10. package/dist/src/components/aggregations/index.d.ts +1 -2
  11. package/dist/src/components/aggregations/index.d.ts.map +1 -1
  12. package/dist/src/components/create-view-modal/create-view-modal.d.ts +31 -43
  13. package/dist/src/components/create-view-modal/create-view-modal.d.ts.map +1 -1
  14. package/dist/src/components/create-view-modal/index.d.ts +1 -2
  15. package/dist/src/components/create-view-modal/index.d.ts.map +1 -1
  16. package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts +5 -3
  17. package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts.map +1 -1
  18. package/dist/src/components/focus-mode/focus-mode.d.ts +1 -1
  19. package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
  20. package/dist/src/components/loading-overlay/index.d.ts +1 -1
  21. package/dist/src/components/loading-overlay/index.d.ts.map +1 -1
  22. package/dist/src/components/modify-source-banner/index.d.ts +1 -1
  23. package/dist/src/components/modify-source-banner/index.d.ts.map +1 -1
  24. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts +9 -7
  25. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts.map +1 -1
  26. package/dist/src/components/pipeline/index.d.ts +1 -1
  27. package/dist/src/components/pipeline/index.d.ts.map +1 -1
  28. package/dist/src/components/pipeline/pipeline.d.ts +24 -12
  29. package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
  30. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts +4 -3
  31. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -1
  32. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts +4 -2
  33. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts.map +1 -1
  34. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts +0 -1
  35. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -1
  36. package/dist/src/components/pipeline-output-options-menu.d.ts +0 -1
  37. package/dist/src/components/pipeline-output-options-menu.d.ts.map +1 -1
  38. package/dist/src/components/pipeline-results-workspace/index.d.ts +2 -4
  39. package/dist/src/components/pipeline-results-workspace/index.d.ts.map +1 -1
  40. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts +2 -5
  41. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts.map +1 -1
  42. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts +2 -3
  43. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts.map +1 -1
  44. package/dist/src/components/pipeline-toolbar/index.d.ts +1 -6
  45. package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
  46. package/dist/src/components/pipeline-toolbar/pipeline-options/pipeline-collation.d.ts +1 -1
  47. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts +1 -1
  48. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts.map +1 -1
  49. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts +1 -1
  50. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
  51. package/dist/src/components/pipeline-toolbar/pipeline-toolbar-container.d.ts +1 -0
  52. package/dist/src/components/pipeline-toolbar/pipeline-toolbar-container.d.ts.map +1 -1
  53. package/dist/src/components/saving-pipeline-modal/index.d.ts +1 -1
  54. package/dist/src/components/saving-pipeline-modal/index.d.ts.map +1 -1
  55. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts +18 -9
  56. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -1
  57. package/dist/src/components/settings/settings.d.ts +2 -3
  58. package/dist/src/components/settings/settings.d.ts.map +1 -1
  59. package/dist/src/components/stage-editor/index.d.ts +1 -1
  60. package/dist/src/components/stage-editor/index.d.ts.map +1 -1
  61. package/dist/src/components/stage-preview/stage-preview-header.d.ts +3 -3
  62. package/dist/src/components/stage-preview/stage-preview-header.d.ts.map +1 -1
  63. package/dist/src/components/stage-toolbar/option-menu.d.ts +6 -2
  64. package/dist/src/components/stage-toolbar/option-menu.d.ts.map +1 -1
  65. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts +2 -1
  66. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -1
  67. package/dist/src/components/stage.d.ts +1 -1
  68. package/dist/src/components/stage.d.ts.map +1 -1
  69. package/dist/src/constants.d.ts +7 -7
  70. package/dist/src/constants.d.ts.map +1 -1
  71. package/dist/src/index.d.ts +64 -9
  72. package/dist/src/index.d.ts.map +1 -1
  73. package/dist/src/modules/aggregation-workspace-id.d.ts +2 -2
  74. package/dist/src/modules/aggregation-workspace-id.d.ts.map +1 -1
  75. package/dist/src/modules/aggregation.d.ts +15 -12
  76. package/dist/src/modules/aggregation.d.ts.map +1 -1
  77. package/dist/src/modules/auto-preview.d.ts +4 -2
  78. package/dist/src/modules/auto-preview.d.ts.map +1 -1
  79. package/dist/src/modules/clone-pipeline.d.ts +5 -4
  80. package/dist/src/modules/clone-pipeline.d.ts.map +1 -1
  81. package/dist/src/modules/collation-string.d.ts +2 -1
  82. package/dist/src/modules/collation-string.d.ts.map +1 -1
  83. package/dist/src/modules/collections-fields.d.ts +2 -1
  84. package/dist/src/modules/collections-fields.d.ts.map +1 -1
  85. package/dist/src/modules/comments.d.ts +4 -2
  86. package/dist/src/modules/comments.d.ts.map +1 -1
  87. package/dist/src/modules/count-documents.d.ts.map +1 -1
  88. package/dist/src/modules/create-view/index.d.ts +57 -19
  89. package/dist/src/modules/create-view/index.d.ts.map +1 -1
  90. package/dist/src/modules/data-service.d.ts +7 -9
  91. package/dist/src/modules/data-service.d.ts.map +1 -1
  92. package/dist/src/modules/edit-view-name.d.ts +2 -2
  93. package/dist/src/modules/edit-view-name.d.ts.map +1 -1
  94. package/dist/src/modules/env.d.ts +1 -1
  95. package/dist/src/modules/export-to-language.d.ts +2 -1
  96. package/dist/src/modules/export-to-language.d.ts.map +1 -1
  97. package/dist/src/modules/fields.d.ts +13 -11
  98. package/dist/src/modules/fields.d.ts.map +1 -1
  99. package/dist/src/modules/focus-mode.d.ts +9 -7
  100. package/dist/src/modules/focus-mode.d.ts.map +1 -1
  101. package/dist/src/modules/id.d.ts +12 -5
  102. package/dist/src/modules/id.d.ts.map +1 -1
  103. package/dist/src/modules/index.d.ts +17 -46
  104. package/dist/src/modules/index.d.ts.map +1 -1
  105. package/dist/src/modules/input-documents.d.ts +9 -14
  106. package/dist/src/modules/input-documents.d.ts.map +1 -1
  107. package/dist/src/modules/insights.d.ts +7 -0
  108. package/dist/src/modules/insights.d.ts.map +1 -1
  109. package/dist/src/modules/is-modified.d.ts +2 -1
  110. package/dist/src/modules/is-modified.d.ts.map +1 -1
  111. package/dist/src/modules/is-new-pipeline-confirm.d.ts +10 -0
  112. package/dist/src/modules/is-new-pipeline-confirm.d.ts.map +1 -1
  113. package/dist/src/modules/is-time-series.d.ts +1 -1
  114. package/dist/src/modules/is-time-series.d.ts.map +1 -1
  115. package/dist/src/modules/large-limit.d.ts +4 -2
  116. package/dist/src/modules/large-limit.d.ts.map +1 -1
  117. package/dist/src/modules/limit.d.ts +4 -2
  118. package/dist/src/modules/limit.d.ts.map +1 -1
  119. package/dist/src/modules/max-time-ms.d.ts +8 -4
  120. package/dist/src/modules/max-time-ms.d.ts.map +1 -1
  121. package/dist/src/modules/name.d.ts +4 -4
  122. package/dist/src/modules/name.d.ts.map +1 -1
  123. package/dist/src/modules/namespace.d.ts.map +1 -1
  124. package/dist/src/modules/out-results-fn.d.ts +6 -6
  125. package/dist/src/modules/out-results-fn.d.ts.map +1 -1
  126. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +1 -1
  127. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -1
  128. package/dist/src/modules/pipeline-builder/index.d.ts +1 -5
  129. package/dist/src/modules/pipeline-builder/index.d.ts.map +1 -1
  130. package/dist/src/modules/pipeline-builder/pipeline-ai.d.ts +12 -1
  131. package/dist/src/modules/pipeline-builder/pipeline-ai.d.ts.map +1 -1
  132. package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts +1 -1
  133. package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts.map +1 -1
  134. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts +4 -3
  135. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -1
  136. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts +1 -2
  137. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -1
  138. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts +1 -1
  139. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -1
  140. package/dist/src/modules/pipeline-builder/stage-editor.d.ts +8 -4
  141. package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
  142. package/dist/src/modules/pipeline-builder/stage.d.ts +2 -1
  143. package/dist/src/modules/pipeline-builder/stage.d.ts.map +1 -1
  144. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +17 -1
  145. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -1
  146. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts +7 -3
  147. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -1
  148. package/dist/src/modules/saved-pipeline.d.ts +26 -20
  149. package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
  150. package/dist/src/modules/saving-pipeline.d.ts +35 -17
  151. package/dist/src/modules/saving-pipeline.d.ts.map +1 -1
  152. package/dist/src/modules/search-indexes.d.ts +11 -0
  153. package/dist/src/modules/search-indexes.d.ts.map +1 -1
  154. package/dist/src/modules/server-version.d.ts +1 -1
  155. package/dist/src/modules/server-version.d.ts.map +1 -1
  156. package/dist/src/modules/settings.d.ts +32 -23
  157. package/dist/src/modules/settings.d.ts.map +1 -1
  158. package/dist/src/modules/side-panel.d.ts +5 -4
  159. package/dist/src/modules/side-panel.d.ts.map +1 -1
  160. package/dist/src/modules/source-name.d.ts +2 -2
  161. package/dist/src/modules/source-name.d.ts.map +1 -1
  162. package/dist/src/modules/update-view.d.ts +19 -7
  163. package/dist/src/modules/update-view.d.ts.map +1 -1
  164. package/dist/src/modules/workspace.d.ts +3 -3
  165. package/dist/src/modules/workspace.d.ts.map +1 -1
  166. package/dist/src/plugin.d.ts +1 -5
  167. package/dist/src/plugin.d.ts.map +1 -1
  168. package/dist/src/stores/create-view.d.ts +23 -3
  169. package/dist/src/stores/create-view.d.ts.map +1 -1
  170. package/dist/src/stores/store.d.ts +62 -95
  171. package/dist/src/stores/store.d.ts.map +1 -1
  172. package/dist/src/utils/cancellable-aggregation.d.ts +1 -1
  173. package/dist/src/utils/cancellable-aggregation.d.ts.map +1 -1
  174. package/dist/src/utils/stage.d.ts +30 -15
  175. package/dist/src/utils/stage.d.ts.map +1 -1
  176. package/package.json +42 -40
  177. package/dist/index.css +0 -43
  178. package/dist/src/components/create-view-plugin.d.ts +0 -14
  179. package/dist/src/components/create-view-plugin.d.ts.map +0 -1
  180. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts +0 -49
  181. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts.map +0 -1
  182. package/dist/src/components/duplicate-view-modal/index.d.ts +0 -5
  183. package/dist/src/components/duplicate-view-modal/index.d.ts.map +0 -1
  184. package/dist/src/components/duplicate-view-plugin.d.ts +0 -10
  185. package/dist/src/components/duplicate-view-plugin.d.ts.map +0 -1
  186. package/dist/src/modules/create-view/error.d.ts +0 -7
  187. package/dist/src/modules/create-view/error.d.ts.map +0 -1
  188. package/dist/src/modules/create-view/is-duplicating.d.ts +0 -5
  189. package/dist/src/modules/create-view/is-duplicating.d.ts.map +0 -1
  190. package/dist/src/modules/create-view/is-running.d.ts +0 -5
  191. package/dist/src/modules/create-view/is-running.d.ts.map +0 -1
  192. package/dist/src/modules/create-view/is-visible.d.ts +0 -8
  193. package/dist/src/modules/create-view/is-visible.d.ts.map +0 -1
  194. package/dist/src/modules/create-view/name.d.ts +0 -5
  195. package/dist/src/modules/create-view/name.d.ts.map +0 -1
  196. package/dist/src/modules/create-view/pipeline.d.ts +0 -5
  197. package/dist/src/modules/create-view/pipeline.d.ts.map +0 -1
  198. package/dist/src/modules/create-view/reset.d.ts +0 -3
  199. package/dist/src/modules/create-view/reset.d.ts.map +0 -1
  200. package/dist/src/modules/create-view/source.d.ts +0 -5
  201. package/dist/src/modules/create-view/source.d.ts.map +0 -1
  202. package/dist/src/modules/projections.d.ts +0 -4
  203. package/dist/src/modules/projections.d.ts.map +0 -1
  204. package/dist/src/stores/duplicate-view.d.ts +0 -3
  205. package/dist/src/stores/duplicate-view.d.ts.map +0 -1
@@ -1,12 +1,10 @@
1
- import type { DataService } from 'mongodb-data-service';
2
- import type { AnyAction } from 'redux';
3
- export declare const DATA_SERVICE_CONNECTED: string;
4
- type State = {
5
- error: Error | null;
1
+ import type { DataService as OriginalDataService } from 'mongodb-data-service';
2
+ export type RequiredDataServiceProps = 'isCancelError' | 'estimatedCount' | 'aggregate' | 'getConnectionString' | 'updateCollection';
3
+ export type OptionalDataServiceProps = 'explainAggregate' | 'getSearchIndexes' | 'find' | 'sample';
4
+ export type DataService = Pick<OriginalDataService, RequiredDataServiceProps> & Partial<Pick<OriginalDataService, OptionalDataServiceProps>>;
5
+ export type DataServiceState = {
6
6
  dataService: DataService | null;
7
7
  };
8
- export declare const INITIAL_STATE: State;
9
- export default function reducer(state: State | undefined, action: AnyAction): State;
10
- export declare const dataServiceConnected: (error: Error, dataService: DataService) => AnyAction;
11
- export {};
8
+ export declare const INITIAL_STATE: DataServiceState;
9
+ export default function reducer(state?: DataServiceState): DataServiceState;
12
10
  //# sourceMappingURL=data-service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-service.d.ts","sourceRoot":"","sources":["../../../src/modules/data-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,eAAO,MAAM,sBAAsB,QAAqC,CAAC;AAEzE,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;CACjC,CAAC;AAKF,eAAO,MAAM,aAAa,EAAE,KAG3B,CAAC;AAKF,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,KAAK,CAQP;AAMD,eAAO,MAAM,oBAAoB,UACxB,KAAK,eACC,WAAW,KACvB,SAID,CAAC"}
1
+ {"version":3,"file":"data-service.d.ts","sourceRoot":"","sources":["../../../src/modules/data-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE/E,MAAM,MAAM,wBAAwB,GAChC,eAAe,GACf,gBAAgB,GAChB,WAAW,GACX,qBAAqB,GACrB,kBAAkB,CAAC;AACvB,MAAM,MAAM,wBAAwB,GAChC,kBAAkB,GAClB,kBAAkB,GAClB,MAAM,GACN,QAAQ,CAAC;AAEb,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,mBAAmB,EAAE,wBAAwB,CAAC,GAE3E,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,wBAAwB,CAAC,CAAC,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;CACjC,CAAC;AAKF,eAAO,MAAM,aAAa,EAAE,gBAE3B,CAAC;AAKF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,mBAAgB,GAAG,gBAAgB,CAEvE"}
@@ -1,3 +1,3 @@
1
- export default function reducer(state?: any): any;
2
- export const INITIAL_STATE: null;
1
+ export declare const INITIAL_STATE: string | null;
2
+ export default function reducer(state?: string | null): string | null;
3
3
  //# sourceMappingURL=edit-view-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"edit-view-name.d.ts","sourceRoot":"","sources":["../../../src/modules/edit-view-name.js"],"names":[],"mappings":"AAYA,wCAJW,GAAG,GAED,GAAG,CAIf;AAXD,iCAAkC"}
1
+ {"version":3,"file":"edit-view-name.d.ts","sourceRoot":"","sources":["../../../src/modules/edit-view-name.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,EAAE,MAAM,GAAG,IAAW,CAAC;AAKjD,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,gBAAgB,iBAEpD"}
@@ -1,5 +1,5 @@
1
1
  import { type ENVS } from '@mongodb-js/mongodb-constants';
2
2
  export type ServerEnvironment = typeof ENVS[number];
3
3
  export declare const INITIAL_STATE: ServerEnvironment;
4
- export default function reducer(state?: "atlas" | "on-prem" | "adl"): "atlas" | "on-prem" | "adl";
4
+ export default function reducer(state?: "atlas" | "adl" | "on-prem"): "atlas" | "adl" | "on-prem";
5
5
  //# sourceMappingURL=env.d.ts.map
@@ -1,2 +1,3 @@
1
- export function exportToLanguage(): Function;
1
+ import type { PipelineBuilderThunkAction } from '.';
2
+ export declare const exportToLanguage: () => PipelineBuilderThunkAction<void>;
2
3
  //# sourceMappingURL=export-to-language.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"export-to-language.d.ts","sourceRoot":"","sources":["../../../src/modules/export-to-language.js"],"names":[],"mappings":"AAQO,6CAUN"}
1
+ {"version":3,"file":"export-to-language.d.ts","sourceRoot":"","sources":["../../../src/modules/export-to-language.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,eAAO,MAAM,gBAAgB,QAAO,2BAA2B,IAAI,CAUlE,CAAC"}
@@ -1,17 +1,19 @@
1
1
  import type { AnyAction } from 'redux';
2
- export declare const FIELDS_CHANGED = "aggregations/fields/FIELDS_CHANGED";
3
- export declare const INITIAL_STATE: {
2
+ export declare const FIELDS_CHANGED: "aggregations/fields/FIELDS_CHANGED";
3
+ interface FieldsChangedAction {
4
+ type: typeof FIELDS_CHANGED;
5
+ fields: {
6
+ name: string;
7
+ }[];
8
+ }
9
+ export type FieldsAction = FieldsChangedAction;
10
+ export type FieldsState = {
4
11
  name: string;
5
12
  }[];
6
- export default function reducer(state: {
7
- name: string;
8
- }[] | undefined, action: AnyAction): any;
13
+ export declare const INITIAL_STATE: FieldsState;
14
+ export default function reducer(state: FieldsState | undefined, action: AnyAction): FieldsState;
9
15
  export declare const fieldsChanged: (fields: {
10
16
  name: string;
11
- }[]) => {
12
- type: string;
13
- fields: {
14
- name: string;
15
- }[];
16
- };
17
+ }[]) => FieldsChangedAction;
18
+ export {};
17
19
  //# sourceMappingURL=fields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/modules/fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,cAAc,uCAAuC,CAAC;AAKnE,eAAO,MAAM,aAAa;UAAiB,MAAM;GAAI,CAAC;AAUtD,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK;;eAAgB,EAAE,MAAM,EAAE,SAAS,OAKvE;AAKD,eAAO,MAAM,aAAa,WAAY;IAAE,MAAM,MAAM,CAAA;CAAE,EAAE;;;cAAV,MAAM;;CAGlD,CAAC"}
1
+ {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/modules/fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,cAAc,sCAAgD,CAAC;AAC5E,UAAU,mBAAmB;IAC3B,IAAI,EAAE,OAAO,cAAc,CAAC;IAC5B,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC5B;AACD,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAAC;AAC/C,MAAM,MAAM,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,CAAC;AAK7C,eAAO,MAAM,aAAa,EAAE,WAAgB,CAAC;AAK7C,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,yBAA6B,EAClC,MAAM,EAAE,SAAS,GAChB,WAAW,CAKb;AAKD,eAAO,MAAM,aAAa,WAChB;IAAE,MAAM,MAAM,CAAA;CAAE,EAAE,KACzB,mBAGD,CAAC"}
@@ -12,19 +12,21 @@ type FocusModeEnabledAction = {
12
12
  type FocusModeDisabledAction = {
13
13
  type: ActionTypes.FocusModeDisabled;
14
14
  };
15
- type State = {
15
+ type SelectFocusModeStageAction = {
16
+ type: ActionTypes.SelectFocusModeStage;
17
+ index: number;
18
+ };
19
+ export type FocusModeAction = FocusModeEnabledAction | FocusModeDisabledAction | SelectFocusModeStageAction;
20
+ export type FocusModeState = {
16
21
  isEnabled: boolean;
17
22
  stageIndex: number;
18
23
  openedAt: number | null;
19
24
  };
20
- export declare const INITIAL_STATE: State;
21
- export default function reducer(state: State | undefined, action: AnyAction): State;
25
+ export declare const INITIAL_STATE: FocusModeState;
26
+ export default function reducer(state: FocusModeState | undefined, action: AnyAction): FocusModeState;
22
27
  export declare const enableFocusMode: (stageIndex: number) => PipelineBuilderThunkAction<void, FocusModeEnabledAction>;
23
28
  export declare const disableFocusMode: () => PipelineBuilderThunkAction<void, FocusModeDisabledAction>;
24
- export declare const selectFocusModeStage: (index: number) => {
25
- type: ActionTypes;
26
- index: number;
27
- };
29
+ export declare const selectFocusModeStage: (index: number) => SelectFocusModeStageAction;
28
30
  export declare const addStageInFocusMode: (index: number) => PipelineBuilderThunkAction<void>;
29
31
  export {};
30
32
  //# sourceMappingURL=focus-mode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"focus-mode.d.ts","sourceRoot":"","sources":["../../../src/modules/focus-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAOpD,aAAK,WAAW;IACd,gBAAgB,0CAA0C;IAC1D,iBAAiB,2CAA2C;IAC5D,oBAAoB,8CAA8C;CACnE;AAED,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC;CACrC,CAAC;AAOF,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,KAAK,CA2BP;AAED,eAAO,MAAM,eAAe,eACd,MAAM,KACjB,2BAA2B,IAA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B,2BAA2B,IAAI,EAAE,sBAAsB,CAYzD,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,2BAClC,IAAI,EACJ,uBAAuB,CAaxB,CAAC;AAEF,eAAO,MAAM,oBAAoB,UACxB,MAAM,KACZ,0BAKF,CAAC;AAEF,eAAO,MAAM,mBAAmB,UACvB,MAAM,KACZ,2BAA2B,IAAI,CAKjC,CAAC"}
@@ -1,7 +1,14 @@
1
- export default function reducer(state: string | undefined, action: Object): string;
2
- export const CREATE_ID: "aggregations/id/CREATE_ID";
3
- export const INITIAL_STATE: "";
4
- export function createId(): {
5
- type: string;
1
+ import type { AnyAction } from 'redux';
2
+ export declare const CREATE_ID: "aggregations/id/CREATE_ID";
3
+ interface CreateIdAction {
4
+ type: typeof CREATE_ID;
5
+ }
6
+ export type IdAction = CreateIdAction;
7
+ export type IdState = string;
8
+ export declare const INITIAL_STATE: IdState;
9
+ export default function reducer(state: string | undefined, action: AnyAction): IdState;
10
+ export declare const createId: () => {
11
+ type: "aggregations/id/CREATE_ID";
6
12
  };
13
+ export {};
7
14
  //# sourceMappingURL=id.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/modules/id.js"],"names":[],"mappings":"AAwBA,mEAJW,MAAM,UAkBhB;AA7BD,oDAAqD;AAKrD,+BAAgC;AA+BzB,4BAFM;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAI3B"}
1
+ {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/modules/id.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,SAAS,6BAAuC,CAAC;AAC9D,UAAU,cAAc;IACtB,IAAI,EAAE,OAAO,SAAS,CAAC;CACxB;AACD,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAK7B,eAAO,MAAM,aAAa,EAAE,OAAY,CAAC;AAKzC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAyB,EAC9B,MAAM,EAAE,SAAS,GAChB,OAAO,CAuBT;AAOD,eAAO,MAAM,QAAQ;;CAEnB,CAAC"}
@@ -6,47 +6,28 @@ import type { PipelineStorage } from '@mongodb-js/my-queries-storage';
6
6
  declare const rootReducer: import("redux").Reducer<import("redux").CombinedState<{
7
7
  appRegistry: unknown;
8
8
  comments: boolean;
9
- autoPreview: boolean;
10
- dataService: {
11
- error: Error | null;
12
- dataService: import("mongodb-data-service").DataService | null;
13
- };
14
- fields: any;
15
- inputDocuments: {
16
- count: any;
17
- documents: any;
18
- error: any;
19
- isLoading: boolean;
20
- isExpanded: boolean;
21
- };
9
+ autoPreview: import("./auto-preview").AutoPreviewState;
10
+ dataService: import("./data-service").DataServiceState;
11
+ fields: import("./fields").FieldsState;
12
+ inputDocuments: import("./input-documents").InputDocumentsState;
22
13
  namespace: string;
23
- env: "atlas" | "on-prem" | "adl";
14
+ env: "atlas" | "adl" | "on-prem";
24
15
  isTimeSeries: boolean;
25
16
  serverVersion: string;
26
- savedPipeline: {
27
- pipelines: any;
28
- isLoaded: boolean;
29
- };
17
+ savedPipeline: import("./saved-pipeline").SavedPipelineState;
30
18
  name: string;
31
19
  collationString: import("./collation-string").CollationStringState;
32
20
  id: string;
33
21
  isModified: boolean;
34
- settings: {
35
- isExpanded: boolean;
36
- isCommentMode: boolean;
37
- isDirty: boolean;
38
- sampleSize: number;
39
- limit: number;
40
- };
41
- limit: any;
42
- largeLimit: any;
22
+ settings: import("./settings").SettingsState;
23
+ limit: number;
24
+ largeLimit: number;
43
25
  maxTimeMS: number | null;
44
- savingPipeline: any;
45
- projections: any;
46
- editViewName: any;
47
- sourceName: any;
48
- outResultsFn: any;
49
- updateViewError: any;
26
+ savingPipeline: import("./saving-pipeline").SavingPipelineState;
27
+ editViewName: string | null;
28
+ sourceName: string | null;
29
+ outResultsFn: import("./out-results-fn").OutResultsFnState;
30
+ updateViewError: import("./update-view").UpdateViewState;
50
31
  aggregation: import("./aggregation").State;
51
32
  workspace: import("./workspace").Workspace;
52
33
  countDocuments: import("./count-documents").State;
@@ -58,21 +39,11 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
58
39
  stageEditor: import("./pipeline-builder/stage-editor").StageEditorState;
59
40
  textEditor: import("redux").CombinedState<{
60
41
  pipeline: import("./pipeline-builder/text-editor-pipeline").TextEditorState;
61
- outputStage: {
62
- isLoading: boolean;
63
- serverError: import("mongodb").MongoServerError | null;
64
- isComplete: boolean;
65
- };
42
+ outputStage: import("./pipeline-builder/text-editor-output-stage").OutputStageState;
66
43
  }>;
67
44
  }>;
68
- focusMode: {
69
- isEnabled: boolean;
70
- stageIndex: number;
71
- openedAt: number | null;
72
- };
73
- sidePanel: {
74
- isPanelOpen: boolean;
75
- };
45
+ focusMode: import("./focus-mode").FocusModeState;
46
+ sidePanel: import("./side-panel").SidePanelState;
76
47
  collectionsFields: {
77
48
  [x: string]: import("./collections-fields").CollectionData;
78
49
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAgCvE,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAatE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAqCf,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,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AE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAExD,MAAM,MAAM,0BAA0B,CACpC,CAAC,EACD,CAAC,SAAS,MAAM,GAAG,SAAS,IAC1B,WAAW,CAAC,CAAC,EAAE,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAE3D,eAAe,WAAW,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { Document } from 'mongodb';
2
- import type { AnyAction } from 'redux';
1
+ import HadronDocument from 'hadron-document';
3
2
  import type { PipelineBuilderThunkAction } from '.';
3
+ import type { AnyAction } from 'redux';
4
4
  export declare enum ActionTypes {
5
5
  CollapseToggled = "aggregations/input-documents/CollapseToggled",
6
6
  DocumentsFetchStarted = "aggregations/input-documents/DocumentsFetchStarted",
@@ -15,27 +15,22 @@ type DocumentsFetchStartedAction = {
15
15
  type DocumentsFetchFinishedAction = {
16
16
  type: ActionTypes.DocumentsFetchFinished;
17
17
  count: number | null;
18
- documents: Document[];
18
+ documents: HadronDocument[];
19
19
  error: Error | null;
20
20
  };
21
- type State = {
21
+ export type InputDocumentsAction = CollapseToggledAction | DocumentsFetchFinishedAction | DocumentsFetchStartedAction;
22
+ export type InputDocumentsState = {
22
23
  count: number | null;
23
- documents: Document[];
24
+ documents: HadronDocument[];
24
25
  error: Error | null;
25
26
  isExpanded: boolean;
26
27
  isLoading: boolean;
27
28
  };
28
- export declare const INITIAL_STATE: State;
29
- declare const reducer: (state: State | undefined, action: AnyAction) => {
30
- count: any;
31
- documents: any;
32
- error: any;
33
- isLoading: boolean;
34
- isExpanded: boolean;
35
- };
29
+ export declare const INITIAL_STATE: InputDocumentsState;
30
+ declare const reducer: (state: InputDocumentsState | undefined, action: AnyAction) => InputDocumentsState;
36
31
  export default reducer;
37
32
  export declare const toggleInputDocumentsCollapsed: () => CollapseToggledAction;
38
33
  export declare const loadingInputDocuments: () => DocumentsFetchStartedAction;
39
- export declare const updateInputDocuments: (count: number | null, documents: Document[], error: Error | null) => DocumentsFetchFinishedAction;
34
+ export declare const updateInputDocuments: (count: number | null, documents: HadronDocument[], error: Error | null) => DocumentsFetchFinishedAction;
40
35
  export declare const refreshInputDocuments: () => PipelineBuilderThunkAction<Promise<void>>;
41
36
  //# sourceMappingURL=input-documents.d.ts.map
@@ -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,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,C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AO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,mBAM3B,CAAC;AAEF,QAAA,MAAM,OAAO,mDAEH,SAAS,KAChB,mBA6BF,CAAC;AAEF,eAAe,OAAO,CAAC;AAEvB,eAAO,MAAM,6BAA6B,QAAO,qBAE/C,CAAC;AAEH,eAAO,MAAM,qBAAqB,QAAO,2BAEvC,CAAC;AAEH,eAAO,MAAM,oBAAoB,UACxB,MAAM,GAAG,IAAI,aACT,cAAc,EAAE,SACpB,KAAK,GAAG,IAAI,KAClB,4BAKD,CAAC;AAEH,eAAO,MAAM,qBAAqB,QAAO,2BACvC,QAAQ,IAAI,CAAC,CA2Cd,CAAC"}
@@ -1,5 +1,12 @@
1
1
  import type { Reducer } from 'redux';
2
+ import { ExplainPlan } from '@mongodb-js/explain-plan-helper';
2
3
  import type { PipelineBuilderThunkAction } from '.';
4
+ declare const FETCH_EXPLAIN_PLAN_SUCCESS: "compass-aggregations/FETCH_EXPLAIN_PLAN_SUCCESS";
5
+ interface FetchExplainPlanSuccessAction {
6
+ type: typeof FETCH_EXPLAIN_PLAN_SUCCESS;
7
+ explainPlan: ExplainPlan;
8
+ }
9
+ export type InsightsAction = FetchExplainPlanSuccessAction;
3
10
  declare const reducer: Reducer<{
4
11
  isCollectionScan: boolean;
5
12
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"insights.d.ts","sourceRoot":"","sources":["../../../src/modules/insights.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKrC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAWpD,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC;IAAE,gBAAgB,EAAE,OAAO,CAAA;CAAE,CAmBnD,CAAC;AAWF,eAAO,MAAM,uBAAuB,QAAO,2BACzC,QAAQ,IAAI,CAAC,CAoCd,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAAO,2BAA2B,IAAI,CAKtE,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"insights.d.ts","sourceRoot":"","sources":["../../../src/modules/insights.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAG9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAapD,QAAA,MAAM,0BAA0B,mDAC4B,CAAC;AAC7D,UAAU,6BAA6B;IACrC,IAAI,EAAE,OAAO,0BAA0B,CAAC;IACxC,WAAW,EAAE,WAAW,CAAC;CAC1B;AACD,MAAM,MAAM,cAAc,GAAG,6BAA6B,CAAC;AAI3D,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC;IAAE,gBAAgB,EAAE,OAAO,CAAA;CAAE,CA8BnD,CAAC;AAWF,eAAO,MAAM,uBAAuB,QAAO,2BACzC,QAAQ,IAAI,CAAC,CAoCd,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAAO,2BAA2B,IAAI,CAKtE,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,2 +1,3 @@
1
- export default function reducer(state: boolean | undefined, action: Object): boolean;
1
+ import type { AnyAction } from 'redux';
2
+ export default function reducer(state: boolean | undefined, action: AnyAction): boolean;
2
3
  //# sourceMappingURL=is-modified.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-modified.d.ts","sourceRoot":"","sources":["../../../src/modules/is-modified.js"],"names":[],"mappings":"AAeA,oEAJW,MAAM,WA4BhB"}
1
+ {"version":3,"file":"is-modified.d.ts","sourceRoot":"","sources":["../../../src/modules/is-modified.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,qBAAQ,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,CA2CzE"}
@@ -1,6 +1,16 @@
1
1
  import type { PipelineBuilderThunkAction } from '.';
2
+ import type Stage from './pipeline-builder/stage';
3
+ import type { Document } from 'bson';
4
+ import type { PipelineParserError } from './pipeline-builder/pipeline-parser/utils';
2
5
  export declare enum ActionTypes {
3
6
  NewPipelineConfirmed = "compass-aggregations/is-new-pipeline-confirm/newPipelineConfirmed"
4
7
  }
8
+ export type NewPipelineConfirmedAction = {
9
+ type: ActionTypes.NewPipelineConfirmed;
10
+ stages: Stage[];
11
+ pipelineText: string;
12
+ pipeline: Document[] | null;
13
+ syntaxErrors: PipelineParserError[];
14
+ };
5
15
  export declare const confirmNewPipeline: () => PipelineBuilderThunkAction<void>;
6
16
  //# sourceMappingURL=is-new-pipeline-confirm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-new-pipeline-confirm.d.ts","sourceRoot":"","sources":["../../../src/modules/is-new-pipeline-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAMpD,oBAAY,WAAW;IACrB,oBAAoB,sEAAsE;CAC3F;AAKD,eAAO,MAAM,kBAAkB,QACzB,2BAA2B,IAAI,CAuBlC,CAAC"}
1
+ {"version":3,"file":"is-new-pipeline-confirm.d.ts","sourceRoot":"","sources":["../../../src/modules/is-new-pipeline-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAIpD,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAGpF,oBAAY,WAAW;IACrB,oBAAoB,sEAAsE;CAC3F;AACD,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,WAAW,CAAC,oBAAoB,CAAC;IACvC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,mBAAmB,EAAE,CAAC;CACrC,CAAC;AAKF,eAAO,MAAM,kBAAkB,QACzB,2BAA2B,IAAI,CAuBlC,CAAC"}
@@ -1,3 +1,3 @@
1
+ export declare const INITIAL_STATE = false;
1
2
  export default function reducer(state?: boolean): boolean;
2
- export const INITIAL_STATE: false;
3
3
  //# sourceMappingURL=is-time-series.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-time-series.d.ts","sourceRoot":"","sources":["../../../src/modules/is-time-series.js"],"names":[],"mappings":"AAaA,0DAEC;AAZD,kCAAmC"}
1
+ {"version":3,"file":"is-time-series.d.ts","sourceRoot":"","sources":["../../../src/modules/is-time-series.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,QAAQ,CAAC;AAKnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,GAAE,OAAuB,GAAG,OAAO,CAEvE"}
@@ -1,3 +1,5 @@
1
- export default function reducer(state: number | undefined, action: any): any;
2
- export const INITIAL_STATE: 100000;
1
+ import type { AnyAction } from 'redux';
2
+ export type LargeLimitState = number;
3
+ export declare const INITIAL_STATE = 100000;
4
+ export default function reducer(state: number | undefined, action: AnyAction): LargeLimitState;
3
5
  //# sourceMappingURL=large-limit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"large-limit.d.ts","sourceRoot":"","sources":["../../../src/modules/large-limit.js"],"names":[],"mappings":"AAMA,6EAQC;AAVD,mCAAiD"}
1
+ {"version":3,"file":"large-limit.d.ts","sourceRoot":"","sources":["../../../src/modules/large-limit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvC,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AACrC,eAAO,MAAM,aAAa,SAAsB,CAAC;AAEjD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAiC,EACtC,MAAM,EAAE,SAAS,GAChB,eAAe,CAajB"}
@@ -1,3 +1,5 @@
1
- export default function reducer(state: number | undefined, action: any): any;
2
- export const INITIAL_STATE: 10;
1
+ import type { AnyAction } from 'redux';
2
+ export type LimitState = number;
3
+ export declare const INITIAL_STATE: LimitState;
4
+ export default function reducer(state: number | undefined, action: AnyAction): LimitState;
3
5
  //# sourceMappingURL=limit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"limit.d.ts","sourceRoot":"","sources":["../../../src/modules/limit.js"],"names":[],"mappings":"AAMA,6EAQC;AAVD,+BAAiD"}
1
+ {"version":3,"file":"limit.d.ts","sourceRoot":"","sources":["../../../src/modules/limit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvC,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,eAAO,MAAM,aAAa,EAAE,UAAgC,CAAC;AAE7D,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAA4B,EACjC,MAAM,EAAE,SAAS,GAChB,UAAU,CAaZ"}
@@ -1,10 +1,14 @@
1
- import type { AnyAction, Reducer } from 'redux';
2
- export declare const MAX_TIME_MS_CHANGED = "aggregations/max-time-ms/MAX_TIME_MS_CHANGED";
1
+ import type { Reducer } from 'redux';
2
+ export declare const MAX_TIME_MS_CHANGED: "aggregations/max-time-ms/MAX_TIME_MS_CHANGED";
3
+ export interface MaxTimeMSChangedAction {
4
+ type: typeof MAX_TIME_MS_CHANGED;
5
+ maxTimeMS: number | null;
6
+ }
3
7
  type State = null | number;
4
8
  export declare const INITIAL_STATE: State;
5
- declare const reducer: Reducer<State, AnyAction>;
9
+ declare const reducer: Reducer<State>;
6
10
  export declare const maxTimeMSChanged: (value: number) => {
7
- type: string;
11
+ type: "aggregations/max-time-ms/MAX_TIME_MS_CHANGED";
8
12
  maxTimeMS: number | null;
9
13
  };
10
14
  export default reducer;
@@ -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,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"}
1
+ {"version":3,"file":"max-time-ms.d.ts","sourceRoot":"","sources":["../../../src/modules/max-time-ms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMrC,eAAO,MAAM,mBAAmB,gDACyB,CAAC;AAC1D,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,OAAO,mBAAmB,CAAC;IACjC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,KAAK,KAAK,GAAG,IAAI,GAAG,MAAM,CAAC;AAE3B,eAAO,MAAM,aAAa,EAAE,KAAY,CAAC;AAEzC,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CAa3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,MAAM;;;CAG5C,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { AnyAction, Reducer } from 'redux';
2
- type State = string;
3
- export declare const INITIAL_STATE: State;
4
- declare const reducer: Reducer<State, AnyAction>;
1
+ import type { Reducer } from 'redux';
2
+ export type NameState = string;
3
+ export declare const INITIAL_STATE: NameState;
4
+ declare const reducer: Reducer<NameState>;
5
5
  export default reducer;
6
6
  //# sourceMappingURL=name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"name.d.ts","sourceRoot":"","sources":["../../../src/modules/name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAOhD,KAAK,KAAK,GAAG,MAAM,CAAC;AAEpB,eAAO,MAAM,aAAa,EAAE,KAAU,CAAC;AAKvC,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAetC,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"name.d.ts","sourceRoot":"","sources":["../../../src/modules/name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAerC,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B,eAAO,MAAM,aAAa,EAAE,SAAc,CAAC;AAK3C,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,SAAS,CAwB/B,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../../src/modules/namespace.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,KAAK,CAAC;AAUhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,SAAgB,UAEpD"}
1
+ {"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../../src/modules/namespace.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,KAAK,CAAC;AAKhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,GAAE,MAAsB,GAAG,MAAM,CAErE"}
@@ -1,7 +1,7 @@
1
- export default function reducer(state?: any): any;
2
- export const INITIAL_STATE: null;
3
- export function gotoOutResults(index: any): (dispatch: any, getState: any, { pipelineBuilder }: {
4
- pipelineBuilder: any;
5
- }) => void;
6
- export function viewOutResults(index: any): (dispatch: any, getState: any) => void;
1
+ import type { PipelineBuilderThunkAction } from '.';
2
+ export type OutResultsFnState = null | ((namespace: string) => void);
3
+ export declare const INITIAL_STATE: OutResultsFnState;
4
+ export default function reducer(state?: OutResultsFnState): OutResultsFnState;
5
+ export declare const gotoOutResults: (index: number) => PipelineBuilderThunkAction<void>;
6
+ export declare const viewOutResults: (index: number) => PipelineBuilderThunkAction<void>;
7
7
  //# sourceMappingURL=out-results-fn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"out-results-fn.d.ts","sourceRoot":"","sources":["../../../src/modules/out-results-fn.js"],"names":[],"mappings":"AAkBA,wCALW,GAAG,GAGD,GAAG,CAIf;AAZD,iCAAkC;AAiB3B;;WAaN;AAEM,mFAON"}
1
+ {"version":3,"file":"out-results-fn.d.ts","sourceRoot":"","sources":["../../../src/modules/out-results-fn.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAEpD,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC,CAAC;AAKrE,eAAO,MAAM,aAAa,EAAE,iBAAwB,CAAC;AAKrD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,GAAE,iBAAiC,GACvC,iBAAiB,CAEnB;AAKD,eAAO,MAAM,cAAc,UAClB,MAAM,KACZ,2BAA2B,IAAI,CAajC,CAAC;AAEF,eAAO,MAAM,cAAc,UAClB,MAAM,KACZ,2BAA2B,IAAI,CAOjC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { PipelineBuilderThunkAction, RootState } from '..';
2
2
  import type { PipelineBuilder } from './pipeline-builder';
3
3
  export declare const updatePipelinePreview: () => PipelineBuilderThunkAction<void>;
4
- export declare function getStagesFromBuilderState(state: RootState, pipelineBuilder: PipelineBuilder): import("bson").Document[] | (import("bson").Document[] | null)[];
4
+ export declare function getStagesFromBuilderState(state: RootState, pipelineBuilder: PipelineBuilder): (import("bson").Document | null)[];
5
5
  export declare function getPipelineFromBuilderState(state: RootState, pipelineBuilder: PipelineBuilder): import("bson").Document[];
6
6
  export declare function getPipelineStringFromBuilderState(state: RootState, pipelineBuilder: PipelineBuilder): string;
7
7
  export declare function getPipelineStageOperatorsFromBuilderState(state: RootState, filterEmptyStageOperators?: true): string[];
@@ -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;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"}
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,sCAOjC;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"}
@@ -4,11 +4,7 @@ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
4
4
  stageEditor: import("./stage-editor").StageEditorState;
5
5
  textEditor: import("redux").CombinedState<{
6
6
  pipeline: import("./text-editor-pipeline").TextEditorState;
7
- outputStage: {
8
- isLoading: boolean;
9
- serverError: import("mongodb").MongoServerError | null;
10
- isComplete: boolean;
11
- };
7
+ outputStage: import("./text-editor-output-stage").OutputStageState;
12
8
  }>;
13
9
  }>, import("redux").AnyAction>;
14
10
  export default reducer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,OAAO;;;;;;;;;;;;8BAQX,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,OAAO;;;;;;;;8BAQX,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -27,6 +27,9 @@ export declare const enum AIPipelineActionTypes {
27
27
  PipelineGeneratedFromQuery = "compass-aggregations/pipeline-builder/pipeline-ai/PipelineGeneratedFromQuery",
28
28
  AtlasServiceDisableAIFeature = "compass-aggregations/pipeline-builder/pipeline-ai/AtlasServiceDisableAIFeature"
29
29
  }
30
+ type ShowInputAction = {
31
+ type: AIPipelineActionTypes.ShowInput;
32
+ };
30
33
  type HideInputAction = {
31
34
  type: AIPipelineActionTypes.HideInput;
32
35
  };
@@ -61,6 +64,10 @@ type AIPipelineFailedAction = {
61
64
  export type PipelineGeneratedFromQueryAction = {
62
65
  type: AIPipelineActionTypes.PipelineGeneratedFromQuery;
63
66
  text: string;
67
+ stages: Stage[];
68
+ pipelineText: string;
69
+ pipeline: Document[] | null;
70
+ syntaxErrors: PipelineParserError[];
64
71
  };
65
72
  export declare const runAIPipelineGeneration: (userInput: string) => PipelineBuilderThunkAction<Promise<void>, AIPipelineStartedAction | AIPipelineFailedAction | LoadGeneratedPipelineAction>;
66
73
  type CancelAIPipelineGenerationAction = {
@@ -73,7 +80,11 @@ type resetIsAggregationGeneratedFromQueryAction = {
73
80
  export declare const resetIsAggregationGeneratedFromQuery: () => PipelineBuilderThunkAction<void, resetIsAggregationGeneratedFromQueryAction>;
74
81
  export declare const showInput: () => PipelineBuilderThunkAction<Promise<void>>;
75
82
  export declare const hideInput: () => PipelineBuilderThunkAction<void, HideInputAction>;
83
+ type AtlasServiceDisableAIFeatureAction = {
84
+ type: AIPipelineActionTypes.AtlasServiceDisableAIFeature;
85
+ };
76
86
  export declare const disableAIFeature: () => PipelineBuilderThunkAction<void>;
77
- declare const aiPipelineReducer: Reducer<AIPipelineState>;
87
+ export type AIPipelineAction = AIPipelineStartedAction | AIPipelineFailedAction | LoadGeneratedPipelineAction | PipelineGeneratedFromQueryAction | LoadGeneratedPipelineAction | CancelAIPipelineGenerationAction | resetIsAggregationGeneratedFromQueryAction | ShowInputAction | HideInputAction | ChangeAIPromptTextAction | AtlasServiceDisableAIFeatureAction;
88
+ declare const aiPipelineReducer: Reducer<AIPipelineState, AIPipelineAction>;
78
89
  export default aiPipelineReducer;
79
90
  //# sourceMappingURL=pipeline-ai.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-ai.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-ai.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMrC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AASjC,KAAK,gBAAgB,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,gBAAgB,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,+BAA+B,EAAE,OAAO,CAAC;CAC1C,CAAC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CAAC;AAEJ,eAAO,MAAM,SAAS,QAAO,2BAA2B,QAAQ,IAAI,CAAC,CAcpE,CAAC;AAEF,eAAO,MAAM,SAAS,QAAO,2BAC3B,IAAI,EACJ,eAAe,CAOhB,CAAC;AAEF,KAAK,kCAAkC,GAAG;IACxC,IAAI,EAAE,qBAAqB,CAAC,4BAA4B,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,2BAA2B,IAAI,CAKlE,CAAC;AAEF,MAAM,MAAM,gBAAgB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,2BAA2B,GAC3B,gCAAgC,GAChC,2BAA2B,GAC3B,gCAAgC,GAChC,0CAA0C,GAC1C,eAAe,GACf,eAAe,GACf,wBAAwB,GACxB,kCAAkC,CAAC;AACvC,QAAA,MAAM,iBAAiB,EAAE,OAAO,CAAC,eAAe,EAAE,gBAAgB,CAoIjE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,8 +1,8 @@
1
- import type { DataService } from 'mongodb-data-service';
2
1
  import type { Document } from 'bson';
3
2
  import { PipelinePreviewManager } from './pipeline-preview-manager';
4
3
  import type { PreviewOptions } from './pipeline-preview-manager';
5
4
  import Stage from './stage';
5
+ import type { DataService } from '../data-service';
6
6
  export declare const DEFAULT_PIPELINE = "[]";
7
7
  export declare class PipelineBuilder {
8
8
  source: string;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-builder.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,KAAK,MAAM,SAAS,CAAC;AAK5B,eAAO,MAAM,g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