@mongodb-js/compass-aggregations 0.0.0-next-68d544d11ad6fdad02d93fe36714c06c35871ec6 → 0.0.0-next-8a5885c1fe28baad3b6d1e32b9763113c1ce22a9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/src/components/add-stage/index.d.ts +1 -1
  4. package/dist/src/components/add-stage/index.d.ts.map +1 -1
  5. package/dist/src/components/aggregations/aggregations.d.ts +13 -17
  6. package/dist/src/components/aggregations/aggregations.d.ts.map +1 -1
  7. package/dist/src/components/aggregations/index.d.ts +1 -2
  8. package/dist/src/components/aggregations/index.d.ts.map +1 -1
  9. package/dist/src/components/focus-mode/focus-mode.d.ts +1 -1
  10. package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
  11. package/dist/src/components/loading-overlay/index.d.ts +1 -1
  12. package/dist/src/components/loading-overlay/index.d.ts.map +1 -1
  13. package/dist/src/components/modify-source-banner/index.d.ts +1 -1
  14. package/dist/src/components/modify-source-banner/index.d.ts.map +1 -1
  15. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts +10 -7
  16. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts.map +1 -1
  17. package/dist/src/components/pipeline/index.d.ts +1 -1
  18. package/dist/src/components/pipeline/index.d.ts.map +1 -1
  19. package/dist/src/components/pipeline/pipeline.d.ts +24 -8
  20. package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
  21. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts +4 -3
  22. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -1
  23. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts +1 -1
  24. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -1
  25. package/dist/src/components/pipeline-toolbar/index.d.ts +1 -1
  26. package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
  27. package/dist/src/components/pipeline-toolbar/pipeline-options/pipeline-collation.d.ts +1 -1
  28. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts +1 -1
  29. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
  30. package/dist/src/components/saving-pipeline-modal/index.d.ts +1 -1
  31. package/dist/src/components/saving-pipeline-modal/index.d.ts.map +1 -1
  32. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts +18 -9
  33. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -1
  34. package/dist/src/components/settings/settings.d.ts +2 -3
  35. package/dist/src/components/settings/settings.d.ts.map +1 -1
  36. package/dist/src/components/stage-editor/index.d.ts +1 -1
  37. package/dist/src/components/stage-editor/index.d.ts.map +1 -1
  38. package/dist/src/components/stage-preview/stage-preview-header.d.ts +3 -3
  39. package/dist/src/components/stage-preview/stage-preview-header.d.ts.map +1 -1
  40. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts +2 -1
  41. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -1
  42. package/dist/src/components/stage.d.ts +1 -1
  43. package/dist/src/components/stage.d.ts.map +1 -1
  44. package/dist/src/constants.d.ts +7 -7
  45. package/dist/src/constants.d.ts.map +1 -1
  46. package/dist/src/index.d.ts +50 -6
  47. package/dist/src/index.d.ts.map +1 -1
  48. package/dist/src/modules/aggregation-workspace-id.d.ts +2 -2
  49. package/dist/src/modules/aggregation-workspace-id.d.ts.map +1 -1
  50. package/dist/src/modules/aggregation.d.ts +9 -9
  51. package/dist/src/modules/aggregation.d.ts.map +1 -1
  52. package/dist/src/modules/auto-preview.d.ts +4 -2
  53. package/dist/src/modules/auto-preview.d.ts.map +1 -1
  54. package/dist/src/modules/clone-pipeline.d.ts +5 -4
  55. package/dist/src/modules/clone-pipeline.d.ts.map +1 -1
  56. package/dist/src/modules/collation-string.d.ts +2 -1
  57. package/dist/src/modules/collation-string.d.ts.map +1 -1
  58. package/dist/src/modules/collections-fields.d.ts +2 -1
  59. package/dist/src/modules/collections-fields.d.ts.map +1 -1
  60. package/dist/src/modules/comments.d.ts +4 -2
  61. package/dist/src/modules/comments.d.ts.map +1 -1
  62. package/dist/src/modules/count-documents.d.ts.map +1 -1
  63. package/dist/src/modules/create-view/index.d.ts +42 -41
  64. package/dist/src/modules/create-view/index.d.ts.map +1 -1
  65. package/dist/src/modules/data-service.d.ts +7 -9
  66. package/dist/src/modules/data-service.d.ts.map +1 -1
  67. package/dist/src/modules/edit-view-name.d.ts +2 -2
  68. package/dist/src/modules/edit-view-name.d.ts.map +1 -1
  69. package/dist/src/modules/env.d.ts +1 -1
  70. package/dist/src/modules/export-to-language.d.ts +2 -1
  71. package/dist/src/modules/export-to-language.d.ts.map +1 -1
  72. package/dist/src/modules/fields.d.ts +13 -11
  73. package/dist/src/modules/fields.d.ts.map +1 -1
  74. package/dist/src/modules/focus-mode.d.ts +9 -7
  75. package/dist/src/modules/focus-mode.d.ts.map +1 -1
  76. package/dist/src/modules/id.d.ts +12 -5
  77. package/dist/src/modules/id.d.ts.map +1 -1
  78. package/dist/src/modules/index.d.ts +17 -46
  79. package/dist/src/modules/index.d.ts.map +1 -1
  80. package/dist/src/modules/input-documents.d.ts +5 -10
  81. package/dist/src/modules/input-documents.d.ts.map +1 -1
  82. package/dist/src/modules/insights.d.ts +7 -0
  83. package/dist/src/modules/insights.d.ts.map +1 -1
  84. package/dist/src/modules/is-modified.d.ts +2 -1
  85. package/dist/src/modules/is-modified.d.ts.map +1 -1
  86. package/dist/src/modules/is-new-pipeline-confirm.d.ts +10 -0
  87. package/dist/src/modules/is-new-pipeline-confirm.d.ts.map +1 -1
  88. package/dist/src/modules/is-time-series.d.ts +1 -1
  89. package/dist/src/modules/is-time-series.d.ts.map +1 -1
  90. package/dist/src/modules/large-limit.d.ts +4 -2
  91. package/dist/src/modules/large-limit.d.ts.map +1 -1
  92. package/dist/src/modules/limit.d.ts +4 -2
  93. package/dist/src/modules/limit.d.ts.map +1 -1
  94. package/dist/src/modules/max-time-ms.d.ts +8 -4
  95. package/dist/src/modules/max-time-ms.d.ts.map +1 -1
  96. package/dist/src/modules/name.d.ts +4 -4
  97. package/dist/src/modules/name.d.ts.map +1 -1
  98. package/dist/src/modules/namespace.d.ts.map +1 -1
  99. package/dist/src/modules/out-results-fn.d.ts +6 -6
  100. package/dist/src/modules/out-results-fn.d.ts.map +1 -1
  101. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +1 -1
  102. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -1
  103. package/dist/src/modules/pipeline-builder/index.d.ts +1 -5
  104. package/dist/src/modules/pipeline-builder/index.d.ts.map +1 -1
  105. package/dist/src/modules/pipeline-builder/pipeline-ai.d.ts +12 -1
  106. package/dist/src/modules/pipeline-builder/pipeline-ai.d.ts.map +1 -1
  107. package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts +1 -1
  108. package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts.map +1 -1
  109. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts +4 -3
  110. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -1
  111. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts +1 -2
  112. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -1
  113. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts +1 -1
  114. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -1
  115. package/dist/src/modules/pipeline-builder/stage-editor.d.ts +1 -0
  116. package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
  117. package/dist/src/modules/pipeline-builder/stage.d.ts +2 -1
  118. package/dist/src/modules/pipeline-builder/stage.d.ts.map +1 -1
  119. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +17 -1
  120. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -1
  121. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts +2 -1
  122. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -1
  123. package/dist/src/modules/saved-pipeline.d.ts +26 -20
  124. package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
  125. package/dist/src/modules/saving-pipeline.d.ts +35 -17
  126. package/dist/src/modules/saving-pipeline.d.ts.map +1 -1
  127. package/dist/src/modules/search-indexes.d.ts +11 -0
  128. package/dist/src/modules/search-indexes.d.ts.map +1 -1
  129. package/dist/src/modules/server-version.d.ts +1 -1
  130. package/dist/src/modules/server-version.d.ts.map +1 -1
  131. package/dist/src/modules/settings.d.ts +32 -23
  132. package/dist/src/modules/settings.d.ts.map +1 -1
  133. package/dist/src/modules/side-panel.d.ts +5 -4
  134. package/dist/src/modules/side-panel.d.ts.map +1 -1
  135. package/dist/src/modules/source-name.d.ts +2 -2
  136. package/dist/src/modules/source-name.d.ts.map +1 -1
  137. package/dist/src/modules/update-view.d.ts +19 -7
  138. package/dist/src/modules/update-view.d.ts.map +1 -1
  139. package/dist/src/modules/workspace.d.ts +3 -3
  140. package/dist/src/modules/workspace.d.ts.map +1 -1
  141. package/dist/src/plugin.d.ts +1 -5
  142. package/dist/src/plugin.d.ts.map +1 -1
  143. package/dist/src/stores/create-view.d.ts +7 -22
  144. package/dist/src/stores/create-view.d.ts.map +1 -1
  145. package/dist/src/stores/store.d.ts +62 -95
  146. package/dist/src/stores/store.d.ts.map +1 -1
  147. package/dist/src/utils/cancellable-aggregation.d.ts +1 -1
  148. package/dist/src/utils/cancellable-aggregation.d.ts.map +1 -1
  149. package/dist/src/utils/stage.d.ts +30 -15
  150. package/dist/src/utils/stage.d.ts.map +1 -1
  151. package/package.json +37 -37
  152. package/dist/index.css +0 -43
  153. package/dist/src/modules/projections.d.ts +0 -4
  154. package/dist/src/modules/projections.d.ts.map +0 -1
@@ -1,3 +1,3 @@
1
- export default AddStage;
2
1
  import AddStage from './add-stage';
2
+ export default AddStage;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/add-stage/index.js"],"names":[],"mappings":";qBAAqB,aAAa"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/add-stage/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,eAAe,QAAQ,CAAC"}
@@ -1,22 +1,18 @@
1
- export default MappedAggregations;
1
+ import React, { Component } from 'react';
2
+ import type { PipelineProps } from '../pipeline/pipeline';
3
+ declare class Aggregations extends Component<PipelineProps> {
4
+ static displayName: string;
5
+ render(): JSX.Element;
6
+ }
2
7
  declare const MappedAggregations: import("react-redux").ConnectedComponent<typeof Aggregations, {
3
- [x: string]: any;
4
- [x: number]: any;
5
- [x: symbol]: any;
8
+ ref?: React.LegacyRef<Aggregations> | undefined;
9
+ key?: React.Key | null | undefined;
10
+ showRunButton: boolean;
11
+ showExportButton: boolean;
12
+ showExplainButton: boolean;
6
13
  context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
7
14
  store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
8
- } | {
9
- [x: string]: any;
10
- [x: number]: any;
11
- [x: symbol]: any;
12
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
13
15
  }>;
14
- export class Aggregations extends React.Component<any, any, any> {
15
- static displayName: string;
16
- constructor(props: any);
17
- constructor(props: any, context: any);
18
- render(): React.Component;
19
- }
20
- import React from 'react';
21
- import { Component } from 'react';
16
+ export default MappedAggregations;
17
+ export { Aggregations };
22
18
  //# sourceMappingURL=aggregations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregations.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregations/aggregations.jsx"],"names":[],"mappings":";AAoEA;;;;;;;;;;;GAaiB;AAxDjB;IACE,2BAA6C;IA2DkuiB,wBAA8C;IAAA,sCAAyJ;IApDt9iB,UAFa,eAAe,CAQ3B;CACF;kBAxCgC,OAAO;0BAAP,OAAO"}
1
+ {"version":3,"file":"aggregations.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregations/aggregations.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAoBzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAgB1D,cAAM,YAAa,SAAQ,SAAS,CAAC,aAAa,CAAC;IACjD,MAAM,CAAC,WAAW,SAA2B;IAK7C,MAAM;CAOP;AA4BD,QAAA,MAAM,kBAAkB;;;;;;;;EAYR,CAAC;AAEjB,eAAe,kBAAkB,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1,5 +1,4 @@
1
+ import MappedAggregations, { Aggregations } from './aggregations';
1
2
  export default MappedAggregations;
2
3
  export { Aggregations };
3
- import MappedAggregations from './aggregations';
4
- import { Aggregations } from './aggregations';
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregations/index.js"],"names":[],"mappings":";;+BAAiD,gBAAgB;6BAAhB,gBAAgB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregations/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,EAAE,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAClE,eAAe,kBAAkB,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  type FocusModeProps = {
3
3
  isModalOpen: boolean;
4
- isAutoPreviewEnabled: boolean;
4
+ isAutoPreviewEnabled: boolean | undefined;
5
5
  onCloseModal: () => void;
6
6
  };
7
7
  export declare const FocusMode: React.FunctionComponent<FocusModeProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"focus-mode.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgF1B,KAAK,cAAc,GAAG;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAwFF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAuB7D,CAAC;;;;;AAUF,wBAAyD"}
1
+ {"version":3,"file":"focus-mode.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgF1B,KAAK,cAAc,GAAG;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1C,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAsFF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAuB7D,CAAC;;;;;AAUF,wBAAyD"}
@@ -1,3 +1,3 @@
1
- export default LoadingOverlay;
2
1
  import { LoadingOverlay } from './loading-overlay';
2
+ export default LoadingOverlay;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/loading-overlay/index.js"],"names":[],"mappings":";+BAA+B,mBAAmB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/loading-overlay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,eAAe,cAAc,CAAC"}
@@ -1,3 +1,3 @@
1
- export default ModifySourceBanner;
2
1
  import ModifySourceBanner from './modify-source-banner';
2
+ export default ModifySourceBanner;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/modify-source-banner/index.js"],"names":[],"mappings":";+BAA+B,wBAAwB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/modify-source-banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AACxD,eAAe,kBAAkB,CAAC"}
@@ -1,9 +1,12 @@
1
- export default ModifySourceBanner;
2
- declare function ModifySourceBanner(props: Object): Component;
3
- declare namespace ModifySourceBanner {
4
- namespace propTypes {
5
- const editViewName: PropTypes.Validator<string>;
6
- }
7
- }
1
+ import React from 'react';
8
2
  import PropTypes from 'prop-types';
3
+ declare const ModifySourceBanner: {
4
+ (props: {
5
+ editViewName: React.ReactNode;
6
+ }): JSX.Element;
7
+ propTypes: {
8
+ editViewName: PropTypes.Validator<string>;
9
+ };
10
+ };
11
+ export default ModifySourceBanner;
9
12
  //# sourceMappingURL=modify-source-banner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modify-source-banner.d.ts","sourceRoot":"","sources":["../../../../src/components/modify-source-banner/modify-source-banner.jsx"],"names":[],"mappings":";AAaA,2CAJW,MAAM,aAchB;;;;;;sBAtBqB,YAAY"}
1
+ {"version":3,"file":"modify-source-banner.d.ts","sourceRoot":"","sources":["../../../../src/components/modify-source-banner/modify-source-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAanC,QAAA,MAAM,kBAAkB;YAAW;QAAE,YAAY,EAAE,MAAM,SAAS,CAAA;KAAE;;;;CAUnE,CAAC;AAMF,eAAe,kBAAkB,CAAC"}
@@ -1,3 +1,3 @@
1
- export default Pipeline;
2
1
  import Pipeline from './pipeline';
2
+ export default Pipeline;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline/index.js"],"names":[],"mappings":";qBAAqB,YAAY"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,eAAe,QAAQ,CAAC"}
@@ -1,5 +1,25 @@
1
- export default Pipeline;
2
- declare class Pipeline extends React.PureComponent<any, any, any> {
1
+ import { PureComponent } from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import type { PipelineToolbarProps } from '../pipeline-toolbar';
4
+ import type { SavingPipelineModalProps } from '../saving-pipeline-modal/saving-pipeline-modal';
5
+ import type { SettingsProps } from '../settings/settings';
6
+ import type { PipelineOutputOption } from '../pipeline-output-options-menu';
7
+ import type { Workspace } from '../../modules/workspace';
8
+ export type PipelineProps = Pick<SavingPipelineModalProps, 'saveCurrentPipeline' | 'savingPipelineNameChanged' | 'savingPipelineApply' | 'savingPipelineCancel' | 'clonePipeline'> & Pick<PipelineToolbarProps, 'showRunButton' | 'showExportButton' | 'showExplainButton'> & Pick<SettingsProps, 'toggleSettingsIsExpanded' | 'toggleSettingsIsCommentMode' | 'setSettingsSampleSize' | 'setSettingsLimit' | 'isCommenting' | 'applySettings' | 'settings'> & {
9
+ savingPipeline: Pick<SavingPipelineModalProps, 'name' | 'isOpen' | 'isSaveAs'>;
10
+ updateViewError?: string | null;
11
+ dismissViewError: () => void;
12
+ workspace: Workspace;
13
+ settings: {
14
+ isExpanded: boolean;
15
+ };
16
+ limit?: number;
17
+ maxTimeMS?: number | null;
18
+ largeLimit?: number;
19
+ };
20
+ declare class Pipeline extends PureComponent<PipelineProps, {
21
+ pipelineOutputOption: PipelineOutputOption;
22
+ }> {
3
23
  static displayName: string;
4
24
  static propTypes: {
5
25
  saveCurrentPipeline: PropTypes.Validator<(...args: any[]) => any>;
@@ -20,7 +40,6 @@ declare class Pipeline extends React.PureComponent<any, any, any> {
20
40
  savingPipelineNameChanged: PropTypes.Validator<(...args: any[]) => any>;
21
41
  savingPipelineApply: PropTypes.Validator<(...args: any[]) => any>;
22
42
  savingPipelineCancel: PropTypes.Validator<(...args: any[]) => any>;
23
- savingPipelineOpen: PropTypes.Validator<(...args: any[]) => any>;
24
43
  savingPipeline: PropTypes.Validator<object>;
25
44
  workspace: PropTypes.Validator<string>;
26
45
  showExportButton: PropTypes.Validator<boolean>;
@@ -32,12 +51,9 @@ declare class Pipeline extends React.PureComponent<any, any, any> {
32
51
  limit: number;
33
52
  largeLimit: number;
34
53
  };
35
- constructor(props: any);
36
- constructor(props: any, context: any);
37
54
  renderModifyingViewSourceError(): JSX.Element | undefined;
38
55
  renderPipelineToolbar(): JSX.Element;
39
- render(): Component;
56
+ render(): JSX.Element;
40
57
  }
41
- import React from 'react';
42
- import PropTypes from 'prop-types';
58
+ export default Pipeline;
43
59
  //# sourceMappingURL=pipeline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline/pipeline.jsx"],"names":[],"mappings":";AAqBA;IACE,2BAAyC;IAEzC;;;;;;;;;;;;;;;;;;;;;;;;;MAyBE;IAEF;;;;MAIE;IA+Ei+d,wBAA8C;IAAA,sCAAyJ;IA7E1qe,0DAcC;IAED,qCAQC;IAOD,oBA0CC;CACF;kBAnIoC,OAAO;sBACtB,YAAY"}
1
+ {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline/pipeline.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,SAAS,MAAM,YAAY,CAAC;AAUnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAUhE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAoBzD,MAAM,MAAM,aAAa,GAAG,IAAI,CAC9B,wBAAwB,EACtB,qBAAqB,GACrB,2BAA2B,GAC3B,qBAAqB,GACrB,sBAAsB,GACtB,eAAe,CAClB,GACC,IAAI,CACF,oBAAoB,EACpB,eAAe,GAAG,kBAAkB,GAAG,mBAAmB,CAC3D,GACD,IAAI,CACF,aAAa,EACX,0BAA0B,GAC1B,6BAA6B,GAC7B,uBAAuB,GACvB,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,UAAU,CACb,GAAG;IACF,cAAc,EAAE,IAAI,CAClB,wBAAwB,EACxB,MAAM,GAAG,QAAQ,GAAG,UAAU,CAC/B,CAAC;IACF,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE;QAAE,UAAU,EAAE,OAAO,CAAA;KAAE,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AACJ,cAAM,QAAS,SAAQ,aAAa,CAClC,aAAa,EACb;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE,CAC/C;IACC,MAAM,CAAC,WAAW,SAAuB;IAEzC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;MAwBd;IAEF,MAAM,CAAC,YAAY;;;;MAIjB;IAEF,8BAA8B;IAgB9B,qBAAqB;IAerB,MAAM;CAyCP;AAED,eAAe,QAAQ,CAAC"}
@@ -1,14 +1,15 @@
1
1
  import React from 'react';
2
- import type { CompletionWithServerInfo } from '@mongodb-js/compass-editor';
3
2
  import type { MongoServerError } from 'mongodb';
4
3
  import type { PipelineParserError } from '../../../modules/pipeline-builder/pipeline-parser/utils';
5
- type PipelineEditorProps = {
4
+ export type PipelineEditorProps = {
6
5
  num_stages: number;
7
6
  pipelineText: string;
8
7
  syntaxErrors: PipelineParserError[];
9
8
  serverError: MongoServerError | null;
10
9
  serverVersion: string;
11
- fields: CompletionWithServerInfo[];
10
+ fields: {
11
+ name: string;
12
+ }[];
12
13
  onChangePipelineText: (value: string) => void;
13
14
  };
14
15
  export declare const PipelineEditor: React.FunctionComponent<PipelineEditorProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-editor.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAW5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AAyCnG,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,wBAAwB,EAAE,CAAC;IACnC,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CA0FvE,CAAC;;;;;AA6BF,wBAA8D"}
1
+ {"version":3,"file":"pipeline-editor.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAiB5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AAyCnG,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3B,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAuFvE,CAAC;;;;;AA6BF,wBAA8D"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { StageIdAndType } from '../../../modules/pipeline-builder/stage-editor';
3
3
  export type PipelineBuilderUIWorkspaceProps = {
4
4
  stagesIdAndType: StageIdAndType[];
5
- editViewName?: string;
5
+ editViewName?: string | null;
6
6
  isSidePanelOpen: boolean;
7
7
  onStageMoveEnd: (from: number, to: number) => void;
8
8
  onStageAddAfterEnd: (after?: number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAmBrF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,kBAAkB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,gBAAgB,EAAE,CAChB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,KAAK,CAAC,EAAE,MAAM,KACX,IAAI,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAAiB,CAC9D,+BAA+B,CAoDhC,CAAC;;;;;AAgBF,wBAA0E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAmBrF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,kBAAkB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,gBAAgB,EAAE,CAChB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,KAAK,CAAC,EAAE,MAAM,KACX,IAAI,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAAiB,CAC9D,+BAA+B,CAoDhC,CAAC;;;;;AAgBF,wBAA0E"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- type PipelineToolbarProps = {
2
+ export type PipelineToolbarProps = {
3
3
  isAIInputVisible?: boolean;
4
4
  isAggregationGeneratedFromQuery?: boolean;
5
5
  isBuilderView: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA0CxC,KAAK,oBAAoB,GAAG;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CA0CzE,CAAC;;;;;;;;;;;AAQF,wBAAkD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA0CxC,MAAM,MAAM,oBAAoB,GAAG;IACjC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CA0CzE,CAAC;;;;;;;;;;;AAQF,wBAAkD"}
@@ -6,7 +6,7 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
6
6
  } & {
7
7
  collationStringChanged: (value: string) => import("../../../modules/collation-string").CollationStringChangedAction;
8
8
  maxTimeMSChanged: (value: number) => {
9
- type: string;
9
+ type: "aggregations/max-time-ms/MAX_TIME_MS_CHANGED";
10
10
  maxTimeMS: number | null;
11
11
  };
12
12
  }>, {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { PipelineMode } from '../../../modules/pipeline-builder/pipeline-mode';
3
3
  type PipelineExtraSettingsProps = {
4
- isAutoPreview: boolean;
4
+ isAutoPreview?: boolean | undefined;
5
5
  isPipelineModeDisabled: boolean;
6
6
  pipelineMode: PipelineMode;
7
7
  onToggleAutoPreview: (newVal: boolean) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-extra-settings.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AA0BpF,KAAK,0BAA0B,GAAG;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,sBAAsB,EAAE,OAAO,CAAC;IAChC,YAAY,EAAE,YAAY,CAAC;IAC3B,mBAAmB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,oBAAoB,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACrD,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,iBAAiB,CACzD,0BAA0B,CAoF3B,CAAC;;;;;AAiBF,wBAAqE"}
1
+ {"version":3,"file":"pipeline-extra-settings.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AA0BpF,KAAK,0BAA0B,GAAG;IAChC,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,sBAAsB,EAAE,OAAO,CAAC;IAChC,YAAY,EAAE,YAAY,CAAC;IAC3B,mBAAmB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,oBAAoB,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACrD,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,iBAAiB,CACzD,0BAA0B,CAoF3B,CAAC;;;;;AAiBF,wBAAqE"}
@@ -1,3 +1,3 @@
1
- export default SavingPipelineModal;
2
1
  import SavingPipelineModal from './saving-pipeline-modal';
2
+ export default SavingPipelineModal;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/saving-pipeline-modal/index.js"],"names":[],"mappings":";gCAAgC,yBAAyB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/saving-pipeline-modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,yBAAyB,CAAC;AAC1D,eAAe,mBAAmB,CAAC"}
@@ -1,5 +1,17 @@
1
- export default SavingPipelineModal;
2
- declare class SavingPipelineModal extends React.PureComponent<any, any, any> {
1
+ import type { ChangeEvent } from 'react';
2
+ import { PureComponent } from 'react';
3
+ import PropTypes from 'prop-types';
4
+ export interface SavingPipelineModalProps {
5
+ isOpen: boolean;
6
+ isSaveAs: boolean;
7
+ name: string;
8
+ savingPipelineCancel: () => void;
9
+ savingPipelineApply: () => void;
10
+ savingPipelineNameChanged: (v: string) => void;
11
+ saveCurrentPipeline: () => void;
12
+ clonePipeline: () => void;
13
+ }
14
+ declare class SavingPipelineModal extends PureComponent<SavingPipelineModalProps> {
3
15
  static displayName: string;
4
16
  static propTypes: {
5
17
  isOpen: PropTypes.Validator<boolean>;
@@ -11,13 +23,10 @@ declare class SavingPipelineModal extends React.PureComponent<any, any, any> {
11
23
  saveCurrentPipeline: PropTypes.Validator<(...args: any[]) => any>;
12
24
  clonePipeline: PropTypes.Validator<(...args: any[]) => any>;
13
25
  };
14
- constructor(props: any);
15
- constructor(props: any, context: any);
16
- componentDidUpdate(prevProps: any): void;
17
- onNameChanged(evt: Event): void;
26
+ componentDidUpdate(prevProps: SavingPipelineModalProps): void;
27
+ onNameChanged(evt: ChangeEvent<HTMLInputElement>): void;
18
28
  save(): void;
19
- render(): React.Component;
29
+ render(): JSX.Element;
20
30
  }
21
- import React from 'react';
22
- import PropTypes from 'prop-types';
31
+ export default SavingPipelineModal;
23
32
  //# sourceMappingURL=saving-pipeline-modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"saving-pipeline-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/saving-pipeline-modal/saving-pipeline-modal.jsx"],"names":[],"mappings":";AASA;IACE,2BAAoD;IAEpD;;;;;;;;;MASE;IA+D0liB,wBAA8C;IAAA,sCAAyJ;IA7DnyiB,yCAIC;IAQD,mBAHW,KAAK,GACH,IAAI,CAIhB;IAQD,QAFa,IAAI,CAShB;IAOD,UAFa,MAAM,SAAS,CAuB3B;CACF;kBAjFoC,OAAO;sBACtB,YAAY"}
1
+ {"version":3,"file":"saving-pipeline-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/saving-pipeline-modal/saving-pipeline-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACzC,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,yBAAyB,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAKD,cAAM,mBAAoB,SAAQ,aAAa,CAAC,wBAAwB,CAAC;IACvE,MAAM,CAAC,WAAW,SAAkC;IAEpD,MAAM,CAAC,SAAS;;;;;;;;;MASd;IAEF,kBAAkB,CAAC,SAAS,EAAE,wBAAwB;IAYtD,aAAa,CAAC,GAAG,EAAE,WAAW,CAAC,gBAAgB,CAAC,GAAG,IAAI;IAUvD,IAAI;IAcJ,MAAM;CAsBP;AAED,eAAe,mBAAmB,CAAC"}
@@ -1,13 +1,12 @@
1
- type SettingsProps = {
1
+ export type SettingsProps = {
2
2
  isCommenting: boolean;
3
3
  isExpanded: boolean;
4
4
  largeLimit: number;
5
5
  limit: number;
6
6
  settings: {
7
7
  limit: number;
8
- largeLimit: number;
9
8
  isCommentMode: boolean;
10
- isDirty: number;
9
+ isDirty: boolean;
11
10
  sampleSize: number;
12
11
  };
13
12
  toggleSettingsIsExpanded: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/settings.tsx"],"names":[],"mappings":"AA4FA,KAAK,aAAa,GAAG;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE;QACR,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,OAAO,CAAC;QACvB,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,wBAAwB,EAAE,MAAM,IAAI,CAAC;IACrC,2BAA2B,EAAE,MAAM,IAAI,CAAC;IACxC,qBAAqB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,YAAY,EACZ,UAAU,EACV,UAAU,EACV,KAAK,EACL,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,2BAA2B,EAC3B,wBAAwB,GACzB,EAAE,aAAa,sBAqJf;AAED,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/settings.tsx"],"names":[],"mappings":"AA4FA,MAAM,MAAM,aAAa,GAAG;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE;QACR,KAAK,EAAE,MAAM,CAAC;QACd,aAAa,EAAE,OAAO,CAAC;QACvB,OAAO,EAAE,OAAO,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,wBAAwB,EAAE,MAAM,IAAI,CAAC;IACrC,2BAA2B,EAAE,MAAM,IAAI,CAAC;IACxC,qBAAqB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,YAAY,EACZ,UAAU,EACV,UAAU,EACV,KAAK,EACL,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,2BAA2B,EAC3B,wBAAwB,GACzB,EAAE,aAAa,sBAqJf;AAED,eAAe,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
- export default StageEditor;
2
1
  import StageEditor from './stage-editor';
2
+ export default StageEditor;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-editor/index.js"],"names":[],"mappings":";wBAAwB,gBAAgB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,eAAe,WAAW,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
- type StagePreviewHeaderProps = {
2
+ export type StagePreviewHeaderProps = {
3
3
  index: number;
4
4
  stageOperator?: string | null;
5
5
  previewSize?: number;
6
6
  description?: string;
7
- link?: string;
8
- destination?: string;
7
+ link?: string | null;
8
+ destination?: string | null;
9
9
  };
10
10
  declare function StagePreviewHeader({ stageOperator, previewSize, description, link, destination, }: StagePreviewHeaderProps): JSX.Element | null;
11
11
  declare const _default: import("react-redux").ConnectedComponent<typeof StagePreviewHeader, {
@@ -1 +1 @@
1
- {"version":3,"file":"stage-preview-header.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/stage-preview-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2C1B,KAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,iBAAS,kBAAkB,CAAC,EAC1B,aAAa,EACb,WAAW,EACX,WAAW,EACX,IAAI,EACJ,WAAW,GACZ,EAAE,uBAAuB,sBA2BzB;;WAE4D,MAAM;;;;AAAnE,wBAcuB"}
1
+ {"version":3,"file":"stage-preview-header.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/stage-preview-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2C1B,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,iBAAS,kBAAkB,CAAC,EAC1B,aAAa,EACb,WAAW,EACX,WAAW,EACX,IAAI,EACJ,WAAW,GACZ,EAAE,uBAAuB,sBA2BzB;;WAE4D,MAAM;;;;AAAnE,wBAcuB"}
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import type { ServerEnvironment } from '../../modules/env';
2
3
  type StageOperatorSelectProps = {
3
4
  onChange: (index: number, name: string | null, snippet?: string) => void;
4
5
  index: number;
@@ -6,7 +7,7 @@ type StageOperatorSelectProps = {
6
7
  isDisabled: boolean;
7
8
  stages: {
8
9
  name: string;
9
- env: string;
10
+ env: ServerEnvironment[];
10
11
  description: string;
11
12
  }[];
12
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"stage-operator-select.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/stage-operator-select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAoC3C,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE,MAAM,CAAC;KACrB,EAAE,CAAC;CACL,CAAC;AAGF,eAAO,MAAM,mBAAmB,4DAM7B,wBAAwB,gBAkC1B,CAAC;;WAOa,MAAM;cACH,OAAO;wBAER,MAAM,QACP,MAAM,GAAG,IAAI,YACT,MAAM,KACb,IAAI;;;;;;WANF,MAAM;cACH,OAAO;wBAER,MAAM,QACP,MAAM,GAAG,IAAI,YACT,MAAM,KACb,IAAI;;;;;;AAXjB,wBA0CE"}
1
+ {"version":3,"file":"stage-operator-select.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/stage-operator-select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAiB3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAoB3D,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,iBAAiB,EAAE,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC;KACrB,EAAE,CAAC;CACL,CAAC;AAGF,eAAO,MAAM,mBAAmB,4DAM7B,wBAAwB,gBAkC1B,CAAC;;WAOa,MAAM;cACH,OAAO;wBAER,MAAM,QACP,MAAM,GAAG,IAAI,YACT,MAAM,KACb,IAAI;;;;;;WANF,MAAM;cACH,OAAO;wBAER,MAAM,QACP,MAAM,GAAG,IAAI,YACT,MAAM,KACb,IAAI;;;;;;AAXjB,wBA0CE"}
@@ -6,7 +6,7 @@ export type StageProps = SortableProps & {
6
6
  isExpanded: boolean;
7
7
  hasSyntaxError: boolean;
8
8
  hasServerError: boolean;
9
- isAutoPreviewing: boolean;
9
+ isAutoPreviewing?: boolean | undefined;
10
10
  };
11
11
  declare function Stage({ index, isEnabled, isExpanded, hasSyntaxError, hasServerError, isAutoPreviewing, ...sortableProps }: StageProps): JSX.Element;
12
12
  declare const _default: import("react-redux").ConnectedComponent<typeof Stage, {
@@ -1 +1 @@
1
- {"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/components/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAsBnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0EAA0E,CAAC;AAsG9G,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,iBAAS,KAAK,CAAC,EACb,KAAK,EACL,SAAS,EACT,UAAU,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,GAAG,aAAa,EACjB,EAAE,UAAU,eA2DZ;;;;;;;;;AAMD,wBAYU"}
1
+ {"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/components/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAsBnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0EAA0E,CAAC;AAsG9G,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,iBAAS,KAAK,CAAC,EACb,KAAK,EACL,SAAS,EACT,UAAU,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,GAAG,aAAa,EACjB,EAAE,UAAU,eA2DZ;;;;;;;;;AAMD,wBAYU"}
@@ -1,8 +1,8 @@
1
- export const DEFAULT_MAX_TIME_MS: 60000;
2
- export const DEFAULT_SAMPLE_SIZE: 10;
3
- export const DEFAULT_LARGE_LIMIT: 100000;
4
- export const OUT_STAGE_PREVIEW_TEXT: string;
5
- export const MERGE_STAGE_PREVIEW_TEXT: string;
6
- export const PIPELINE_HELP_URI: "https://www.mongodb.com/docs/manual/reference/operator/aggregation-pipeline/";
7
- export const STAGE_HELP_BASE_URL: "https://www.mongodb.com/docs/manual/reference/operator/aggregation";
1
+ export declare const DEFAULT_MAX_TIME_MS = 60000;
2
+ export declare const DEFAULT_SAMPLE_SIZE = 10;
3
+ export declare const DEFAULT_LARGE_LIMIT = 100000;
4
+ export declare const OUT_STAGE_PREVIEW_TEXT: string;
5
+ export declare const MERGE_STAGE_PREVIEW_TEXT: string;
6
+ export declare const PIPELINE_HELP_URI = "https://www.mongodb.com/docs/manual/reference/operator/aggregation-pipeline/";
7
+ export declare const STAGE_HELP_BASE_URL = "https://www.mongodb.com/docs/manual/reference/operator/aggregation";
8
8
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.js"],"names":[],"mappings":"AAGA,wCAAyC;AAKzC,qCAAsC;AAMtC,yCAA0C;AAE1C,4CAGkD;AAElD,8CAE4B;AAE5B,+GACiF;AAEjF,uGACuE"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,QAAQ,CAAC;AAKzC,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAMtC,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,eAAO,MAAM,sBAAsB,QAGc,CAAC;AAElD,eAAO,MAAM,wBAAwB,QAEV,CAAC;AAE5B,eAAO,MAAM,iBAAiB,iFACkD,CAAC;AAEjF,eAAO,MAAM,mBAAmB,uEACsC,CAAC"}
@@ -1,12 +1,56 @@
1
1
  /// <reference types="react" />
2
- import type AppRegistry from 'hadron-app-registry';
3
- import AggregationsPlugin from './plugin';
4
- import configureStore from './stores/store';
2
+ import { AggregationsPlugin } from './plugin';
5
3
  import { Aggregations } from './components/aggregations';
6
4
  import StageEditor from './components/stage-editor';
7
5
  import { dataServiceLocator } from 'mongodb-data-service/provider';
8
- declare const activate: (appRegistry: AppRegistry) => void;
9
- declare const deactivate: (appRegistry: AppRegistry) => void;
6
+ import type { DataService } from './modules/data-service';
7
+ declare const activate: () => void;
8
+ declare const deactivate: () => void;
9
+ export declare const CompassAggregationsHadronPlugin: import("hadron-app-registry").HadronPluginComponent<{
10
+ query: unknown;
11
+ aggregation: unknown;
12
+ pipelineText: string | undefined;
13
+ editViewName: string | undefined;
14
+ namespace: string;
15
+ isReadonly: boolean;
16
+ isTimeSeries: boolean;
17
+ isClustered: boolean;
18
+ isFLE: boolean;
19
+ isSearchIndexesSupported: boolean;
20
+ sourceName?: string | undefined;
21
+ sourceReadonly?: boolean | undefined;
22
+ sourceViewon?: string | undefined;
23
+ sourcePipeline?: unknown[] | undefined;
24
+ serverVersion: string;
25
+ isAtlas: boolean;
26
+ isDataLake: boolean;
27
+ }, {
28
+ dataService: () => DataService;
29
+ }>;
30
+ export declare const CompassAggregationsPlugin: {
31
+ name: string;
32
+ component: import("hadron-app-registry").HadronPluginComponent<{
33
+ query: unknown;
34
+ aggregation: unknown;
35
+ pipelineText: string | undefined;
36
+ editViewName: string | undefined;
37
+ namespace: string;
38
+ isReadonly: boolean;
39
+ isTimeSeries: boolean;
40
+ isClustered: boolean;
41
+ isFLE: boolean;
42
+ isSearchIndexesSupported: boolean;
43
+ sourceName?: string | undefined;
44
+ sourceReadonly?: boolean | undefined;
45
+ sourceViewon?: string | undefined;
46
+ sourcePipeline?: unknown[] | undefined;
47
+ serverVersion: string;
48
+ isAtlas: boolean;
49
+ isDataLake: boolean;
50
+ }, {
51
+ dataService: () => DataService;
52
+ }>;
53
+ };
10
54
  export declare const CreateViewPlugin: import("hadron-app-registry").HadronPluginComponent<Omit<{
11
55
  ref?: import("react").LegacyRef<import("./components/create-view-modal/create-view-modal").CreateViewModal> | undefined;
12
56
  key?: import("react").Key | null | undefined;
@@ -20,6 +64,6 @@ export declare const CreateViewPlugin: import("hadron-app-registry").HadronPlugi
20
64
  logger: () => import("@mongodb-js/compass-logging/provider").LoggerAndTelemetry;
21
65
  }>;
22
66
  export default AggregationsPlugin;
23
- export { activate, deactivate, Aggregations, StageEditor, configureStore };
67
+ export { activate, deactivate, Aggregations, StageEditor };
24
68
  export { default as metadata } from '../package.json';
25
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAEnD,OAAO,kBAAkB,MAAM,UAAU,CAAC;AAC1C,OAAO,cAAc,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,WAAW,MAAM,2BAA2B,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAuBnE,QAAA,MAAM,QAAQ,gBAAiB,WAAW,SAEzC,CAAC;AAOF,QAAA,MAAM,UAAU,gBAAiB,WAAW,SAE3C,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;iBAOU,0BAA0B,YAAY,CAAC;;EAG7E,CAAC;AAEF,eAAe,kBAAkB,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,WAAW,MAAM,2BAA2B,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,KAAK,EACV,WAAW,EAGZ,MAAM,wBAAwB,CAAC;AAGhC,QAAA,MAAM,QAAQ,YAEb,CAAC;AAEF,QAAA,MAAM,UAAU,YAEf,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;iBAE3B,MAAM,WAAW;EAajC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;qBAfrB,MAAM,WAAW;;CAkBjC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;iBAOU,0BAA0B,YAAY,CAAC;;EAG7E,CAAC;AAEF,eAAe,kBAAkB,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { AnyAction, Reducer } from 'redux';
2
- declare const reducer: Reducer<string, AnyAction>;
1
+ import type { Reducer } from 'redux';
2
+ declare const reducer: Reducer<string>;
3
3
  export default reducer;
4
4
  //# sourceMappingURL=aggregation-workspace-id.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregation-workspace-id.d.ts","sourceRoot":"","sources":["../../../src/modules/aggregation-workspace-id.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAShD,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,MAAM,EAAE,SAAS,CAIvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"aggregation-workspace-id.d.ts","sourceRoot":"","sources":["../../../src/modules/aggregation-workspace-id.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AASrC,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAE5B,CAAC;AAEF,eAAe,OAAO,CAAC"}