@mongodb-js/compass-aggregations 0.0.0-next-b72d7d0f94c6cd6b83966a08494549408ed56560 → 0.0.0-next-6e4c984eb458cbfc675ec138ae979303ef32bcb5

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 (124) hide show
  1. package/.eslintrc.js +3 -3
  2. package/.prettierignore +3 -0
  3. package/.prettierrc.json +1 -0
  4. package/README.md +26 -19
  5. package/dist/browser.js +1 -1
  6. package/dist/index.js +1 -1
  7. package/dist/src/components/add-stage/add-stage.d.ts +1 -1
  8. package/dist/src/components/add-stage/add-stage.d.ts.map +1 -1
  9. package/dist/src/components/aggregations/aggregations.d.ts.map +1 -1
  10. package/dist/src/components/create-view-modal/create-view-modal.d.ts.map +1 -1
  11. package/dist/src/components/create-view-plugin.d.ts.map +1 -1
  12. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts.map +1 -1
  13. package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts +16 -0
  14. package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts.map +1 -0
  15. package/dist/src/components/focus-mode/focus-mode-stage-editor.d.ts +2 -2
  16. package/dist/src/components/focus-mode/focus-mode-stage-editor.d.ts.map +1 -1
  17. package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts +4 -1
  18. package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts.map +1 -1
  19. package/dist/src/components/focus-mode/focus-mode.d.ts +1 -0
  20. package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
  21. package/dist/src/components/pipeline-builder-input-documents.d.ts +1 -1
  22. package/dist/src/components/pipeline-builder-input-documents.d.ts.map +1 -1
  23. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map +1 -1
  24. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -1
  25. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts.map +1 -1
  26. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace.d.ts.map +1 -1
  27. package/dist/src/components/pipeline-confirm-modal/pipeline-confirm-modal.d.ts.map +1 -1
  28. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts.map +1 -1
  29. package/dist/src/components/pipeline-explain/explain-results.d.ts.map +1 -1
  30. package/dist/src/components/pipeline-results-workspace/index.d.ts.map +1 -1
  31. package/dist/src/components/pipeline-results-workspace/pipeline-empty-results.d.ts.map +1 -1
  32. package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts.map +1 -1
  33. package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts.map +1 -1
  34. package/dist/src/components/pipeline-results-workspace/pipeline-results-view-controls.d.ts.map +1 -1
  35. package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
  36. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts.map +1 -1
  37. package/dist/src/components/pipeline-toolbar/pipeline-options/pipeline-collation.d.ts.map +1 -1
  38. package/dist/src/components/resize-handle.d.ts.map +1 -1
  39. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts.map +1 -1
  40. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts.map +1 -1
  41. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -1
  42. package/dist/src/components/settings/settings.d.ts.map +1 -1
  43. package/dist/src/components/stage-editor/stage-editor.d.ts.map +1 -1
  44. package/dist/src/components/{atlas-stage-preview.d.ts → stage-preview/atlas-stage-preview.d.ts} +0 -0
  45. package/dist/src/components/stage-preview/atlas-stage-preview.d.ts.map +1 -0
  46. package/dist/src/components/{stage-preview.d.ts → stage-preview/index.d.ts} +5 -12
  47. package/dist/src/components/stage-preview/index.d.ts.map +1 -0
  48. package/dist/src/components/stage-preview/output-stage-preview.d.ts +19 -0
  49. package/dist/src/components/stage-preview/output-stage-preview.d.ts.map +1 -0
  50. package/dist/src/components/stage-preview/stage-preview-header.d.ts +17 -0
  51. package/dist/src/components/stage-preview/stage-preview-header.d.ts.map +1 -0
  52. package/dist/src/components/{stage-editor-toolbar/stage-editor-toolbar.d.ts → stage-toolbar/index.d.ts} +6 -5
  53. package/dist/src/components/stage-toolbar/index.d.ts.map +1 -0
  54. package/dist/src/components/stage-toolbar/option-menu.d.ts +17 -0
  55. package/dist/src/components/stage-toolbar/option-menu.d.ts.map +1 -0
  56. package/dist/src/components/stage-toolbar/stage-collapser.d.ts +12 -0
  57. package/dist/src/components/stage-toolbar/stage-collapser.d.ts.map +1 -0
  58. package/dist/src/components/{stage-editor-toolbar → stage-toolbar}/stage-operator-select.d.ts +3 -2
  59. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -0
  60. package/dist/src/components/stage-toolbar/toggle-stage.d.ts +12 -0
  61. package/dist/src/components/stage-toolbar/toggle-stage.d.ts.map +1 -0
  62. package/dist/src/components/stage.d.ts +1 -1
  63. package/dist/src/components/stage.d.ts.map +1 -1
  64. package/dist/src/index.d.ts.map +1 -1
  65. package/dist/src/modules/aggregation.d.ts.map +1 -1
  66. package/dist/src/modules/auto-preview.d.ts +2 -2
  67. package/dist/src/modules/auto-preview.d.ts.map +1 -1
  68. package/dist/src/modules/collation-string.d.ts.map +1 -1
  69. package/dist/src/modules/count-documents.d.ts.map +1 -1
  70. package/dist/src/modules/create-view/index.d.ts.map +1 -1
  71. package/dist/src/modules/create-view/is-duplicating.d.ts.map +1 -1
  72. package/dist/src/modules/create-view/is-running.d.ts.map +1 -1
  73. package/dist/src/modules/data-service.d.ts +2 -2
  74. package/dist/src/modules/data-service.d.ts.map +1 -1
  75. package/dist/src/modules/explain.d.ts.map +1 -1
  76. package/dist/src/modules/export-to-language.d.ts.map +1 -1
  77. package/dist/src/modules/focus-mode.d.ts +12 -4
  78. package/dist/src/modules/focus-mode.d.ts.map +1 -1
  79. package/dist/src/modules/index.d.ts +6 -3
  80. package/dist/src/modules/index.d.ts.map +1 -1
  81. package/dist/src/modules/input-documents.d.ts.map +1 -1
  82. package/dist/src/modules/is-new-pipeline-confirm.d.ts.map +1 -1
  83. package/dist/src/modules/large-limit.d.ts.map +1 -1
  84. package/dist/src/modules/max-time-ms.d.ts.map +1 -1
  85. package/dist/src/modules/out-results-fn.d.ts +1 -0
  86. package/dist/src/modules/out-results-fn.d.ts.map +1 -1
  87. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +2 -3
  88. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -1
  89. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -1
  90. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts.map +1 -1
  91. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -1
  92. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -1
  93. package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
  94. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -1
  95. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -1
  96. package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
  97. package/dist/src/modules/saving-pipeline.d.ts.map +1 -1
  98. package/dist/src/modules/settings.d.ts.map +1 -1
  99. package/dist/src/modules/update-view.d.ts.map +1 -1
  100. package/dist/src/modules/workspace.d.ts.map +1 -1
  101. package/dist/src/stores/duplicate-view.d.ts.map +1 -1
  102. package/dist/src/stores/store.d.ts.map +1 -1
  103. package/dist/src/utils/cancellable-aggregation.d.ts +1 -1
  104. package/dist/src/utils/cancellable-aggregation.d.ts.map +1 -1
  105. package/dist/src/utils/pipeline-storage.d.ts.map +1 -1
  106. package/dist/src/utils/stage.d.ts +3 -2
  107. package/dist/src/utils/stage.d.ts.map +1 -1
  108. package/package.json +35 -33
  109. package/dist/src/components/atlas-stage-preview.d.ts.map +0 -1
  110. package/dist/src/components/stage-editor-toolbar/delete-stage.d.ts +0 -22
  111. package/dist/src/components/stage-editor-toolbar/delete-stage.d.ts.map +0 -1
  112. package/dist/src/components/stage-editor-toolbar/index.d.ts +0 -3
  113. package/dist/src/components/stage-editor-toolbar/index.d.ts.map +0 -1
  114. package/dist/src/components/stage-editor-toolbar/stage-collapser.d.ts +0 -23
  115. package/dist/src/components/stage-editor-toolbar/stage-collapser.d.ts.map +0 -1
  116. package/dist/src/components/stage-editor-toolbar/stage-editor-toolbar.d.ts.map +0 -1
  117. package/dist/src/components/stage-editor-toolbar/stage-operator-select.d.ts.map +0 -1
  118. package/dist/src/components/stage-editor-toolbar/toggle-stage.d.ts +0 -23
  119. package/dist/src/components/stage-editor-toolbar/toggle-stage.d.ts.map +0 -1
  120. package/dist/src/components/stage-preview-toolbar/index.d.ts +0 -3
  121. package/dist/src/components/stage-preview-toolbar/index.d.ts.map +0 -1
  122. package/dist/src/components/stage-preview-toolbar/stage-preview-toolbar.d.ts +0 -22
  123. package/dist/src/components/stage-preview-toolbar/stage-preview-toolbar.d.ts.map +0 -1
  124. package/dist/src/components/stage-preview.d.ts.map +0 -1
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- declare type StagePreviewToolbarProps = {
3
- index: number;
4
- stageOperator?: string | null;
5
- hasSyntaxError?: boolean;
6
- hasServerError?: boolean;
7
- isEnabled?: boolean;
8
- previewSize?: number;
9
- description?: string;
10
- link?: string;
11
- destination?: string;
12
- isCollapsed?: boolean;
13
- onFocusMode: (stageIndex: number) => void;
14
- };
15
- declare function StagePreviewToolbar({ stageOperator, hasSyntaxError, hasServerError, isEnabled, previewSize, description, link, destination, isCollapsed, onFocusMode, index: stageIndex }: StagePreviewToolbarProps): JSX.Element;
16
- declare const _default: import("react-redux").ConnectedComponent<typeof StagePreviewToolbar, {
17
- index: number;
18
- context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
19
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
20
- }>;
21
- export default _default;
22
- //# sourceMappingURL=stage-preview-toolbar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stage-preview-toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview-toolbar/stage-preview-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2G1B,aAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,iBAAS,mBAAmB,CAAC,EAC3B,aAAa,EACb,cAAc,EACd,cAAc,EACd,SAAS,EACT,WAAW,EACX,WAAW,EACX,IAAI,EACJ,WAAW,EACX,WAAW,EACX,WAAW,EACX,KAAK,EAAE,UAAU,EAClB,EAAE,wBAAwB,eAsC1B;;WAE4D,MAAM;;;;AAAnE,wBAmBwB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"stage-preview.d.ts","sourceRoot":"","sources":["../../../src/components/stage-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,QAAQ,IAAI,YAAY,EAAG,MAAM,SAAS,CAAC;AAkOzD,aAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,qBAAqB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,uBAAuB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,8BAA8B,EAAE,OAAO,CAAA;CACxC,CAAC;AAqGF,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,eAQpD;;WAGuC,MAAM;;;;AAD9C,wBA4BgB"}