@mongodb-js/compass-aggregations 9.2.0 → 9.4.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 (338) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/browser.js.LICENSE.txt +0 -6
  3. package/dist/index.css +54 -346
  4. package/dist/index.js +1 -1
  5. package/dist/index.js.LICENSE.txt +0 -6
  6. package/dist/src/components/add-stage/add-stage.d.ts +17 -0
  7. package/dist/src/components/add-stage/add-stage.d.ts.map +1 -0
  8. package/dist/src/components/add-stage/index.d.ts +3 -0
  9. package/dist/src/components/add-stage/index.d.ts.map +1 -0
  10. package/dist/src/components/aggregations/aggregations.d.ts +11 -0
  11. package/dist/src/components/aggregations/aggregations.d.ts.map +1 -0
  12. package/dist/src/components/aggregations/index.d.ts +5 -0
  13. package/dist/src/components/aggregations/index.d.ts.map +1 -0
  14. package/dist/src/components/atlas-stage-preview.d.ts +5 -0
  15. package/dist/src/components/atlas-stage-preview.d.ts.map +1 -0
  16. package/dist/src/components/create-view-modal/create-view-modal.d.ts +63 -0
  17. package/dist/src/components/create-view-modal/create-view-modal.d.ts.map +1 -0
  18. package/dist/src/components/create-view-modal/index.d.ts +5 -0
  19. package/dist/src/components/create-view-modal/index.d.ts.map +1 -0
  20. package/dist/src/components/create-view-plugin.d.ts +14 -0
  21. package/dist/src/components/create-view-plugin.d.ts.map +1 -0
  22. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts +57 -0
  23. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts.map +1 -0
  24. package/dist/src/components/duplicate-view-modal/index.d.ts +5 -0
  25. package/dist/src/components/duplicate-view-modal/index.d.ts.map +1 -0
  26. package/dist/src/components/duplicate-view-plugin.d.ts +10 -0
  27. package/dist/src/components/duplicate-view-plugin.d.ts.map +1 -0
  28. package/dist/src/components/input/index.d.ts +3 -0
  29. package/dist/src/components/input/index.d.ts.map +1 -0
  30. package/dist/src/components/input/input.d.ts +25 -0
  31. package/dist/src/components/input/input.d.ts.map +1 -0
  32. package/dist/src/components/input-builder/index.d.ts +3 -0
  33. package/dist/src/components/input-builder/index.d.ts.map +1 -0
  34. package/dist/src/components/input-builder/input-builder.d.ts +9 -0
  35. package/dist/src/components/input-builder/input-builder.d.ts.map +1 -0
  36. package/dist/src/components/input-builder-toolbar/index.d.ts +3 -0
  37. package/dist/src/components/input-builder-toolbar/index.d.ts.map +1 -0
  38. package/dist/src/components/input-builder-toolbar/input-builder-toolbar.d.ts +16 -0
  39. package/dist/src/components/input-builder-toolbar/input-builder-toolbar.d.ts.map +1 -0
  40. package/dist/src/components/input-collapser/index.d.ts +3 -0
  41. package/dist/src/components/input-collapser/index.d.ts.map +1 -0
  42. package/dist/src/components/input-collapser/input-collapser.d.ts +14 -0
  43. package/dist/src/components/input-collapser/input-collapser.d.ts.map +1 -0
  44. package/dist/src/components/input-documents-count/index.d.ts +3 -0
  45. package/dist/src/components/input-documents-count/index.d.ts.map +1 -0
  46. package/dist/src/components/input-documents-count/input-documents-count.d.ts +13 -0
  47. package/dist/src/components/input-documents-count/input-documents-count.d.ts.map +1 -0
  48. package/dist/src/components/input-preview/index.d.ts +3 -0
  49. package/dist/src/components/input-preview/index.d.ts.map +1 -0
  50. package/dist/src/components/input-preview/input-preview.d.ts +15 -0
  51. package/dist/src/components/input-preview/input-preview.d.ts.map +1 -0
  52. package/dist/src/components/input-preview-toolbar/index.d.ts +3 -0
  53. package/dist/src/components/input-preview-toolbar/index.d.ts.map +1 -0
  54. package/dist/src/components/input-preview-toolbar/input-preview-toolbar.d.ts +7 -0
  55. package/dist/src/components/input-preview-toolbar/input-preview-toolbar.d.ts.map +1 -0
  56. package/dist/src/components/input-refresh/index.d.ts +3 -0
  57. package/dist/src/components/input-refresh/index.d.ts.map +1 -0
  58. package/dist/src/components/input-refresh/input-refresh.d.ts +13 -0
  59. package/dist/src/components/input-refresh/input-refresh.d.ts.map +1 -0
  60. package/dist/src/components/input-toolbar/index.d.ts +3 -0
  61. package/dist/src/components/input-toolbar/index.d.ts.map +1 -0
  62. package/dist/src/components/input-toolbar/input-toolbar.d.ts +16 -0
  63. package/dist/src/components/input-toolbar/input-toolbar.d.ts.map +1 -0
  64. package/dist/src/components/input-workspace/index.d.ts +3 -0
  65. package/dist/src/components/input-workspace/index.d.ts.map +1 -0
  66. package/dist/src/components/input-workspace/input-workspace.d.ts +16 -0
  67. package/dist/src/components/input-workspace/input-workspace.d.ts.map +1 -0
  68. package/dist/src/components/loading-overlay/index.d.ts +3 -0
  69. package/dist/src/components/loading-overlay/index.d.ts.map +1 -0
  70. package/dist/src/components/loading-overlay/loading-overlay.d.ts +13 -0
  71. package/dist/src/components/loading-overlay/loading-overlay.d.ts.map +1 -0
  72. package/dist/src/components/modify-source-banner/index.d.ts +3 -0
  73. package/dist/src/components/modify-source-banner/index.d.ts.map +1 -0
  74. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts +9 -0
  75. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts.map +1 -0
  76. package/dist/src/components/pipeline/index.d.ts +3 -0
  77. package/dist/src/components/pipeline/index.d.ts.map +1 -0
  78. package/dist/src/components/pipeline/modals/confirm-import-pipeline.d.ts +17 -0
  79. package/dist/src/components/pipeline/modals/confirm-import-pipeline.d.ts.map +1 -0
  80. package/dist/src/components/pipeline/modals/confirm-new-pipeline.d.ts +17 -0
  81. package/dist/src/components/pipeline/modals/confirm-new-pipeline.d.ts.map +1 -0
  82. package/dist/src/components/pipeline/modals/import-pipeline.d.ts +33 -0
  83. package/dist/src/components/pipeline/modals/import-pipeline.d.ts.map +1 -0
  84. package/dist/src/components/pipeline/pipeline.d.ts +61 -0
  85. package/dist/src/components/pipeline/pipeline.d.ts.map +1 -0
  86. package/dist/src/components/pipeline-builder-workspace/index.d.ts +3 -0
  87. package/dist/src/components/pipeline-builder-workspace/index.d.ts.map +1 -0
  88. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts +8 -0
  89. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map +1 -0
  90. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts +17 -0
  91. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -0
  92. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts +15 -0
  93. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts.map +1 -0
  94. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts +13 -0
  95. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts.map +1 -0
  96. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace.d.ts +21 -0
  97. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace.d.ts.map +1 -0
  98. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-workspace.d.ts +9 -0
  99. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-workspace.d.ts.map +1 -0
  100. package/dist/src/components/pipeline-explain/explain-indexes.d.ts +8 -0
  101. package/dist/src/components/pipeline-explain/explain-indexes.d.ts.map +1 -0
  102. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts +10 -0
  103. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts.map +1 -0
  104. package/dist/src/components/pipeline-explain/explain-results.d.ts +9 -0
  105. package/dist/src/components/pipeline-explain/explain-results.d.ts.map +1 -0
  106. package/dist/src/components/pipeline-explain/index.d.ts +14 -0
  107. package/dist/src/components/pipeline-explain/index.d.ts.map +1 -0
  108. package/dist/src/components/pipeline-output-options-menu.d.ts +7 -0
  109. package/dist/src/components/pipeline-output-options-menu.d.ts.map +1 -0
  110. package/dist/src/components/pipeline-results-workspace/index.d.ts +20 -0
  111. package/dist/src/components/pipeline-results-workspace/index.d.ts.map +1 -0
  112. package/dist/src/components/pipeline-results-workspace/pipeline-empty-results.d.ts +4 -0
  113. package/dist/src/components/pipeline-results-workspace/pipeline-empty-results.d.ts.map +1 -0
  114. package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts +10 -0
  115. package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts.map +1 -0
  116. package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts +19 -0
  117. package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts.map +1 -0
  118. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts +14 -0
  119. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts.map +1 -0
  120. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts +10 -0
  121. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts.map +1 -0
  122. package/dist/src/components/pipeline-results-workspace/pipeline-results-view-controls.d.ts +8 -0
  123. package/dist/src/components/pipeline-results-workspace/pipeline-results-view-controls.d.ts.map +1 -0
  124. package/dist/src/components/pipeline-toolbar/index.d.ts +15 -0
  125. package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -0
  126. package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts +20 -0
  127. package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts.map +1 -0
  128. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts +21 -0
  129. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts.map +1 -0
  130. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts +13 -0
  131. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts.map +1 -0
  132. package/dist/src/components/pipeline-toolbar/pipeline-options/index.d.ts +4 -0
  133. package/dist/src/components/pipeline-toolbar/pipeline-options/index.d.ts.map +1 -0
  134. package/dist/src/components/pipeline-toolbar/pipeline-options/pipeline-collation.d.ts +24 -0
  135. package/dist/src/components/pipeline-toolbar/pipeline-options/pipeline-collation.d.ts.map +1 -0
  136. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts +11 -0
  137. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts.map +1 -0
  138. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts +14 -0
  139. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -0
  140. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts +19 -0
  141. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts.map +1 -0
  142. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-name.d.ts +9 -0
  143. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-name.d.ts.map +1 -0
  144. package/dist/src/components/resize-handle.d.ts +4 -0
  145. package/dist/src/components/resize-handle.d.ts.map +1 -0
  146. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts +12 -0
  147. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts.map +1 -0
  148. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts +12 -0
  149. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts.map +1 -0
  150. package/dist/src/components/saving-pipeline-modal/index.d.ts +3 -0
  151. package/dist/src/components/saving-pipeline-modal/index.d.ts.map +1 -0
  152. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts +22 -0
  153. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -0
  154. package/dist/src/components/settings/index.d.ts +3 -0
  155. package/dist/src/components/settings/index.d.ts.map +1 -0
  156. package/dist/src/components/settings/settings.d.ts +23 -0
  157. package/dist/src/components/settings/settings.d.ts.map +1 -0
  158. package/dist/src/components/stage/index.d.ts +3 -0
  159. package/dist/src/components/stage/index.d.ts.map +1 -0
  160. package/dist/src/components/stage/stage.d.ts +29 -0
  161. package/dist/src/components/stage/stage.d.ts.map +1 -0
  162. package/dist/src/components/stage-editor/index.d.ts +3 -0
  163. package/dist/src/components/stage-editor/index.d.ts.map +1 -0
  164. package/dist/src/components/stage-editor/stage-editor.d.ts +54 -0
  165. package/dist/src/components/stage-editor/stage-editor.d.ts.map +1 -0
  166. package/dist/src/components/stage-editor-toolbar/add-after-stage.d.ts +18 -0
  167. package/dist/src/components/stage-editor-toolbar/add-after-stage.d.ts.map +1 -0
  168. package/dist/src/components/stage-editor-toolbar/delete-stage.d.ts +18 -0
  169. package/dist/src/components/stage-editor-toolbar/delete-stage.d.ts.map +1 -0
  170. package/dist/src/components/stage-editor-toolbar/index.d.ts +3 -0
  171. package/dist/src/components/stage-editor-toolbar/index.d.ts.map +1 -0
  172. package/dist/src/components/stage-editor-toolbar/stage-collapser.d.ts +20 -0
  173. package/dist/src/components/stage-editor-toolbar/stage-collapser.d.ts.map +1 -0
  174. package/dist/src/components/stage-editor-toolbar/stage-editor-toolbar.d.ts +21 -0
  175. package/dist/src/components/stage-editor-toolbar/stage-editor-toolbar.d.ts.map +1 -0
  176. package/dist/src/components/stage-editor-toolbar/stage-grabber.d.ts +9 -0
  177. package/dist/src/components/stage-editor-toolbar/stage-grabber.d.ts.map +1 -0
  178. package/dist/src/components/stage-editor-toolbar/stage-operator-select.d.ts +20 -0
  179. package/dist/src/components/stage-editor-toolbar/stage-operator-select.d.ts.map +1 -0
  180. package/dist/src/components/stage-editor-toolbar/toggle-stage.d.ts +20 -0
  181. package/dist/src/components/stage-editor-toolbar/toggle-stage.d.ts.map +1 -0
  182. package/dist/src/components/stage-preview/index.d.ts +3 -0
  183. package/dist/src/components/stage-preview/index.d.ts.map +1 -0
  184. package/dist/src/components/stage-preview/stage-preview.d.ts +49 -0
  185. package/dist/src/components/stage-preview/stage-preview.d.ts.map +1 -0
  186. package/dist/src/components/stage-preview-toolbar/index.d.ts +3 -0
  187. package/dist/src/components/stage-preview-toolbar/index.d.ts.map +1 -0
  188. package/dist/src/components/stage-preview-toolbar/stage-preview-toolbar.d.ts +25 -0
  189. package/dist/src/components/stage-preview-toolbar/stage-preview-toolbar.d.ts.map +1 -0
  190. package/dist/src/constants.d.ts +4 -0
  191. package/dist/src/constants.d.ts.map +1 -0
  192. package/dist/src/index.d.ts +16 -0
  193. package/dist/src/index.d.ts.map +1 -0
  194. package/dist/src/modules/aggregation-workspace-id.d.ts +4 -0
  195. package/dist/src/modules/aggregation-workspace-id.d.ts.map +1 -0
  196. package/dist/src/modules/aggregation.d.ts +74 -0
  197. package/dist/src/modules/aggregation.d.ts.map +1 -0
  198. package/dist/src/modules/auto-preview.d.ts +13 -0
  199. package/dist/src/modules/auto-preview.d.ts.map +1 -0
  200. package/dist/src/modules/clone-pipeline.d.ts +5 -0
  201. package/dist/src/modules/clone-pipeline.d.ts.map +1 -0
  202. package/dist/src/modules/collation-string.d.ts +17 -0
  203. package/dist/src/modules/collation-string.d.ts.map +1 -0
  204. package/dist/src/modules/comments.d.ts +3 -0
  205. package/dist/src/modules/comments.d.ts.map +1 -0
  206. package/dist/src/modules/count-documents.d.ts +30 -0
  207. package/dist/src/modules/count-documents.d.ts.map +1 -0
  208. package/dist/src/modules/create-view/error.d.ts +7 -0
  209. package/dist/src/modules/create-view/error.d.ts.map +1 -0
  210. package/dist/src/modules/create-view/index.d.ts +21 -0
  211. package/dist/src/modules/create-view/index.d.ts.map +1 -0
  212. package/dist/src/modules/create-view/is-duplicating.d.ts +5 -0
  213. package/dist/src/modules/create-view/is-duplicating.d.ts.map +1 -0
  214. package/dist/src/modules/create-view/is-running.d.ts +5 -0
  215. package/dist/src/modules/create-view/is-running.d.ts.map +1 -0
  216. package/dist/src/modules/create-view/is-visible.d.ts +8 -0
  217. package/dist/src/modules/create-view/is-visible.d.ts.map +1 -0
  218. package/dist/src/modules/create-view/name.d.ts +5 -0
  219. package/dist/src/modules/create-view/name.d.ts.map +1 -0
  220. package/dist/src/modules/create-view/pipeline.d.ts +5 -0
  221. package/dist/src/modules/create-view/pipeline.d.ts.map +1 -0
  222. package/dist/src/modules/create-view/reset.d.ts +3 -0
  223. package/dist/src/modules/create-view/reset.d.ts.map +1 -0
  224. package/dist/src/modules/create-view/source.d.ts +5 -0
  225. package/dist/src/modules/create-view/source.d.ts.map +1 -0
  226. package/dist/src/modules/data-service.d.ts +12 -0
  227. package/dist/src/modules/data-service.d.ts.map +1 -0
  228. package/dist/src/modules/edit-view-name.d.ts +3 -0
  229. package/dist/src/modules/edit-view-name.d.ts.map +1 -0
  230. package/dist/src/modules/env.d.ts +3 -0
  231. package/dist/src/modules/env.d.ts.map +1 -0
  232. package/dist/src/modules/explain.d.ts +57 -0
  233. package/dist/src/modules/explain.d.ts.map +1 -0
  234. package/dist/src/modules/export-to-language.d.ts +2 -0
  235. package/dist/src/modules/export-to-language.d.ts.map +1 -0
  236. package/dist/src/modules/fields.d.ts +5 -0
  237. package/dist/src/modules/fields.d.ts.map +1 -0
  238. package/dist/src/modules/id.d.ts +7 -0
  239. package/dist/src/modules/id.d.ts.map +1 -0
  240. package/dist/src/modules/import-pipeline.d.ts +20 -0
  241. package/dist/src/modules/import-pipeline.d.ts.map +1 -0
  242. package/dist/src/modules/index.d.ts +74 -0
  243. package/dist/src/modules/index.d.ts.map +1 -0
  244. package/dist/src/modules/indexes.d.ts +22 -0
  245. package/dist/src/modules/indexes.d.ts.map +1 -0
  246. package/dist/src/modules/input-documents.d.ts +17 -0
  247. package/dist/src/modules/input-documents.d.ts.map +1 -0
  248. package/dist/src/modules/is-atlas-deployed.d.ts +3 -0
  249. package/dist/src/modules/is-atlas-deployed.d.ts.map +1 -0
  250. package/dist/src/modules/is-datalake.d.ts +6 -0
  251. package/dist/src/modules/is-datalake.d.ts.map +1 -0
  252. package/dist/src/modules/is-modified.d.ts +2 -0
  253. package/dist/src/modules/is-modified.d.ts.map +1 -0
  254. package/dist/src/modules/is-new-pipeline-confirm.d.ts +5 -0
  255. package/dist/src/modules/is-new-pipeline-confirm.d.ts.map +1 -0
  256. package/dist/src/modules/is-readonly.d.ts +3 -0
  257. package/dist/src/modules/is-readonly.d.ts.map +1 -0
  258. package/dist/src/modules/is-time-series.d.ts +3 -0
  259. package/dist/src/modules/is-time-series.d.ts.map +1 -0
  260. package/dist/src/modules/large-limit.d.ts +3 -0
  261. package/dist/src/modules/large-limit.d.ts.map +1 -0
  262. package/dist/src/modules/limit.d.ts +3 -0
  263. package/dist/src/modules/limit.d.ts.map +1 -0
  264. package/dist/src/modules/link.d.ts +2 -0
  265. package/dist/src/modules/link.d.ts.map +1 -0
  266. package/dist/src/modules/max-time-ms.d.ts +11 -0
  267. package/dist/src/modules/max-time-ms.d.ts.map +1 -0
  268. package/dist/src/modules/name.d.ts +3 -0
  269. package/dist/src/modules/name.d.ts.map +1 -0
  270. package/dist/src/modules/namespace.d.ts +3 -0
  271. package/dist/src/modules/namespace.d.ts.map +1 -0
  272. package/dist/src/modules/out-results-fn.d.ts +6 -0
  273. package/dist/src/modules/out-results-fn.d.ts.map +1 -0
  274. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +12 -0
  275. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -0
  276. package/dist/src/modules/pipeline-builder/index.d.ts +14 -0
  277. package/dist/src/modules/pipeline-builder/index.d.ts.map +1 -0
  278. package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts +42 -0
  279. package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts.map +1 -0
  280. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts +23 -0
  281. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -0
  282. package/dist/src/modules/pipeline-builder/pipeline-parser/index.d.ts +3 -0
  283. package/dist/src/modules/pipeline-builder/pipeline-parser/index.d.ts.map +1 -0
  284. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts +20 -0
  285. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts.map +1 -0
  286. package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts +29 -0
  287. package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts.map +1 -0
  288. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts +16 -0
  289. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -0
  290. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts +22 -0
  291. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -0
  292. package/dist/src/modules/pipeline-builder/stage-editor.d.ts +116 -0
  293. package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -0
  294. package/dist/src/modules/pipeline-builder/stage.d.ts +18 -0
  295. package/dist/src/modules/pipeline-builder/stage.d.ts.map +1 -0
  296. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +13 -0
  297. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -0
  298. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts +46 -0
  299. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -0
  300. package/dist/src/modules/projections.d.ts +4 -0
  301. package/dist/src/modules/projections.d.ts.map +1 -0
  302. package/dist/src/modules/saved-pipeline.d.ts +28 -0
  303. package/dist/src/modules/saved-pipeline.d.ts.map +1 -0
  304. package/dist/src/modules/saving-pipeline.d.ts +21 -0
  305. package/dist/src/modules/saving-pipeline.d.ts.map +1 -0
  306. package/dist/src/modules/server-version.d.ts +3 -0
  307. package/dist/src/modules/server-version.d.ts.map +1 -0
  308. package/dist/src/modules/settings.d.ts +33 -0
  309. package/dist/src/modules/settings.d.ts.map +1 -0
  310. package/dist/src/modules/source-name.d.ts +3 -0
  311. package/dist/src/modules/source-name.d.ts.map +1 -0
  312. package/dist/src/modules/update-view.d.ts +8 -0
  313. package/dist/src/modules/update-view.d.ts.map +1 -0
  314. package/dist/src/modules/workspace.d.ts +17 -0
  315. package/dist/src/modules/workspace.d.ts.map +1 -0
  316. package/dist/src/plugin.d.ts +24 -0
  317. package/dist/src/plugin.d.ts.map +1 -0
  318. package/dist/src/stores/create-view.d.ts +4 -0
  319. package/dist/src/stores/create-view.d.ts.map +1 -0
  320. package/dist/src/stores/duplicate-view.d.ts +3 -0
  321. package/dist/src/stores/duplicate-view.d.ts.map +1 -0
  322. package/dist/src/stores/index.d.ts +4 -0
  323. package/dist/src/stores/index.d.ts.map +1 -0
  324. package/dist/src/stores/store.d.ts +6 -0
  325. package/dist/src/stores/store.d.ts.map +1 -0
  326. package/dist/src/utils/cancellable-aggregation.d.ts +12 -0
  327. package/dist/src/utils/cancellable-aggregation.d.ts.map +1 -0
  328. package/dist/src/utils/configure-store.d.ts +5 -0
  329. package/dist/src/utils/configure-store.d.ts.map +1 -0
  330. package/dist/src/utils/get-directory.d.ts +2 -0
  331. package/dist/src/utils/get-directory.d.ts.map +1 -0
  332. package/dist/src/utils/is-action.d.ts +3 -0
  333. package/dist/src/utils/is-action.d.ts.map +1 -0
  334. package/dist/src/utils/pipeline-storage.d.ts +40 -0
  335. package/dist/src/utils/pipeline-storage.d.ts.map +1 -0
  336. package/dist/src/utils/stage.d.ts +17 -0
  337. package/dist/src/utils/stage.d.ts.map +1 -0
  338. package/package.json +38 -32
@@ -0,0 +1,28 @@
1
+ import type { AnyAction } from 'redux';
2
+ import type { PipelineBuilderThunkAction } from '.';
3
+ import type { StoredPipeline } from '../utils/pipeline-storage';
4
+ export declare const SET_SHOW_SAVED_PIPELINES: string;
5
+ export declare const SAVED_PIPELINE_ADD: string;
6
+ export declare const RESTORE_PIPELINE: string;
7
+ export declare type SavedPipelineState = {
8
+ pipelines: StoredPipeline[];
9
+ isLoaded: boolean;
10
+ isListVisible: boolean;
11
+ };
12
+ export declare const INITIAL_STATE: SavedPipelineState;
13
+ export default function reducer(state: SavedPipelineState | undefined, action: AnyAction): {
14
+ pipelines: any;
15
+ isLoaded: boolean;
16
+ isListVisible: boolean;
17
+ };
18
+ export declare const setShowSavedPipelines: (show: boolean) => PipelineBuilderThunkAction<void>;
19
+ export declare const savedPipelineAdd: (pipelines: StoredPipeline[]) => {
20
+ type: string;
21
+ pipelines: StoredPipeline[];
22
+ };
23
+ export declare const getSavedPipelines: () => PipelineBuilderThunkAction<void>;
24
+ export declare const updatePipelineList: () => PipelineBuilderThunkAction<void>;
25
+ export declare const deletePipeline: (pipelineId: string) => PipelineBuilderThunkAction<Promise<void>>;
26
+ export declare const openPipelineById: (id: string) => PipelineBuilderThunkAction<Promise<void>>;
27
+ export declare const saveCurrentPipeline: () => PipelineBuilderThunkAction<void>;
28
+ //# sourceMappingURL=saved-pipeline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"saved-pipeline.d.ts","sourceRoot":"","sources":["../../../src/modules/saved-pipeline.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAQhE,eAAO,MAAM,wBAAwB,QAAuB,CAAC;AAC7D,eAAO,MAAM,kBAAkB,QAAkB,CAAC;AAClD,eAAO,MAAM,gBAAgB,QAA+B,CAAC;AAE7D,oBAAY,kBAAkB,GAAG;IAC/B,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAI3B,CAAC;AAuBF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,gCAAgB,EAAE,MAAM,EAAE,SAAS;;;;EAGvE;AAED,eAAO,MAAM,qBAAqB,SACzB,OAAO,KAAG,2BAA2B,IAAI,CAS/C,CAAC;AAEJ,eAAO,MAAM,gBAAgB,cAAe,cAAc,EAAE;;;CAG1D,CAAC;AAEH,eAAO,MAAM,iBAAiB,QAAO,2BAA2B,IAAI,CAKjE,CAAC;AAKJ,eAAO,MAAM,kBAAkB,QAAO,2BAA2B,IAAI,CAclE,CAAC;AAKJ,eAAO,MAAM,cAAc,eACb,MAAM,KACjB,2BAA2B,QAAQ,IAAI,CAAC,CAK1C,CAAC;AAKF,eAAO,MAAM,gBAAgB,OACvB,MAAM,KACT,2BAA2B,QAAQ,IAAI,CAAC,CAiC1C,CAAC;AAKF,eAAO,MAAM,mBAAmB,QAAO,2BAA2B,IAAI,CAkDrE,CAAC"}
@@ -0,0 +1,21 @@
1
+ export default function reducer(state: Object | undefined, action: Object): any;
2
+ export const SAVING_PIPELINE_NAME_CHANGED: "aggregations/saving-pipeline/NAME_CHANGED";
3
+ export const SAVING_PIPELINE_APPLY: "aggregations/saving-pipeline/APPLY";
4
+ export const SAVING_PIPELINE_CANCEL: "aggregations/saving-pipeline/CANCEL";
5
+ export const SAVING_PIPELINE_OPEN: "aggregations/saving-pipeline/OPEN";
6
+ export namespace INITIAL_STATE {
7
+ const isOpen: boolean;
8
+ const name: string;
9
+ const isSaveAs: boolean;
10
+ }
11
+ export function savingPipelineNameChanged(name: string): Object;
12
+ export function savingPipelineApply(): Object;
13
+ export function savingPipelineCancel(): Object;
14
+ export function savingPipelineOpen({ name, isSaveAs }?: {
15
+ name?: string | undefined;
16
+ isSaveAs?: boolean | undefined;
17
+ }): import("redux").AnyAction;
18
+ export function openCreateView(): (dispatch: any, getState: any, { pipelineBuilder }: {
19
+ pipelineBuilder: any;
20
+ }) => void;
21
+ //# sourceMappingURL=saving-pipeline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"saving-pipeline.d.ts","sourceRoot":"","sources":["../../../src/modules/saving-pipeline.js"],"names":[],"mappings":"AA6BA,mEAJW,MAAM,GAEJ,GAAG,CAgCf;AAvDD,uFAAwF;AAExF,yEAA0E;AAE1E,2EAA4E;AAE5E,uEAAwE;;;;;;AA0DjE,yDAFM,MAAM,CAKjB;AAQK,uCAFM,MAAM,CAYlB;AAMM,wCAFM,MAAM,CAIjB;AAOK;;;IAFM,OAAO,OAAO,EAAE,SAAS,CAQrC;AAQM;;WAgBN"}
@@ -0,0 +1,3 @@
1
+ export default function reducer(state?: string): string;
2
+ export const INITIAL_STATE: "4.0.0";
3
+ //# sourceMappingURL=server-version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server-version.d.ts","sourceRoot":"","sources":["../../../src/modules/server-version.js"],"names":[],"mappings":"AAaA,wDAEC;AAZD,oCAAqC"}
@@ -0,0 +1,33 @@
1
+ import type { AnyAction, Reducer } from 'redux';
2
+ import type { PipelineBuilderThunkAction } from '.';
3
+ export declare const TOGGLE_IS_EXPANDED: string;
4
+ export declare const TOGGLE_COMMENT_MODE: string;
5
+ export declare const SET_SAMPLE_SIZE: string;
6
+ export declare const SET_LIMIT: string;
7
+ export declare const APPLY_SETTINGS: string;
8
+ declare type State = {
9
+ isExpanded: boolean;
10
+ isCommentMode: boolean;
11
+ isDirty: boolean;
12
+ sampleSize: number;
13
+ limit: number;
14
+ };
15
+ export declare const INITIAL_STATE: State;
16
+ declare const reducer: Reducer<State, AnyAction>;
17
+ export declare const toggleSettingsIsExpanded: () => {
18
+ type: string;
19
+ };
20
+ export declare const toggleSettingsIsCommentMode: () => {
21
+ type: string;
22
+ };
23
+ export declare const setSettingsSampleSize: (value: number) => {
24
+ type: string;
25
+ value: number;
26
+ };
27
+ export declare const setSettingsLimit: (value: number) => {
28
+ type: string;
29
+ value: number;
30
+ };
31
+ export declare const applySettings: () => PipelineBuilderThunkAction<void>;
32
+ export default reducer;
33
+ //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/modules/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAIpD,eAAO,MAAM,kBAAkB,QAAiC,CAAC;AAEjE,eAAO,MAAM,mBAAmB,QAAkC,CAAC;AAEnE,eAAO,MAAM,eAAe,QAA8B,CAAC;AAE3D,eAAO,MAAM,SAAS,QAAwB,CAAC;AAE/C,eAAO,MAAM,cAAc,QAA6B,CAAC;AASzD,aAAK,KAAK,GAAG;IACX,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CA6CtC,CAAA;AAED,eAAO,MAAM,wBAAwB;;CAEnC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;CAEtC,CAAC;AAEH,eAAO,MAAM,qBAAqB,UAAW,MAAM;;;CAGjD,CAAC;AAEH,eAAO,MAAM,gBAAgB,UAAW,MAAM;;;CAG5C,CAAC;AAOH,eAAO,MAAM,aAAa,QAAO,2BAA2B,IAAI,CAW/D,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ export default function reducer(state?: any): any;
2
+ export const INITIAL_STATE: null;
3
+ //# sourceMappingURL=source-name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-name.d.ts","sourceRoot":"","sources":["../../../src/modules/source-name.js"],"names":[],"mappings":"AAaA,wCALW,GAAG,GAGD,GAAG,CAIf;AAZD,iCAAkC"}
@@ -0,0 +1,8 @@
1
+ export default function reducer(state: null | undefined, action: any): any;
2
+ export const INITIAL_STATE: null;
3
+ export const ERROR_UPDATING_VIEW: "aggregations/update-view/ERROR_UPDATING_VIEW";
4
+ export const DISMISS_VIEW_UPDATE_ERROR: "aggregations/update-view/DISMISS_VIEW_UPDATE_ERROR";
5
+ export function updateViewErrorOccured(error: Error): Object;
6
+ export function dismissViewError(): Object;
7
+ export function updateView(): Function;
8
+ //# sourceMappingURL=update-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-view.d.ts","sourceRoot":"","sources":["../../../src/modules/update-view.js"],"names":[],"mappings":"AAqBA,2EAWC;AAnBD,iCAAkC;AAGlC,iFAAkF;AAGlF,6FAA8F;AAsBvF,8CAJI,KAAK,GAEH,MAAM,CAKjB;AAOK,oCAFM,MAAM,CAIjB;AAOK,uCAqDN"}
@@ -0,0 +1,17 @@
1
+ import type { AnyAction, Reducer } from 'redux';
2
+ import type { PipelineBuilderThunkAction } from '.';
3
+ export declare type Workspace = 'builder' | 'results';
4
+ export declare enum ActionTypes {
5
+ WorkspaceChanged = "compass-aggregations/workspaceChanged"
6
+ }
7
+ declare type WorkspaceChangedAction = {
8
+ type: ActionTypes.WorkspaceChanged;
9
+ view: Workspace;
10
+ };
11
+ export declare type Actions = WorkspaceChangedAction;
12
+ export declare type State = Workspace;
13
+ export declare const INITIAL_STATE: State;
14
+ declare const reducer: Reducer<State, AnyAction>;
15
+ export declare const editPipeline: () => PipelineBuilderThunkAction<void>;
16
+ export default reducer;
17
+ //# sourceMappingURL=workspace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../../src/modules/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAIpD,oBAAY,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9C,oBAAY,WAAW;IACrB,gBAAgB,0CAA0C;CAC3D;AAED,aAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;IACnC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,oBAAY,OAAO,GAAG,sBAAsB,CAAC;AAC7C,oBAAY,KAAK,GAAG,SAAS,CAAC;AAE9B,eAAO,MAAM,aAAa,EAAE,KAAiB,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAWtC,CAAC;AAEF,eAAO,MAAM,YAAY,QAAO,2BAA2B,IAAI,CAS9D,CAAC;AACF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,24 @@
1
+ export default Plugin;
2
+ export class Plugin extends React.Component<any, any, any> {
3
+ static displayName: string;
4
+ static propTypes: {
5
+ store: PropTypes.Validator<object>;
6
+ showExportButton: PropTypes.Requireable<boolean>;
7
+ showRunButton: PropTypes.Requireable<boolean>;
8
+ showExplainButton: PropTypes.Requireable<boolean>;
9
+ };
10
+ static defaultProps: {
11
+ showExportButton: boolean;
12
+ showRunButton: boolean;
13
+ showExplainButton: boolean;
14
+ };
15
+ constructor(props: any);
16
+ constructor(props: any, context: any);
17
+ render(): React.Component;
18
+ }
19
+ import configureStore from "./stores";
20
+ import React from "react";
21
+ import { Component } from "react";
22
+ import PropTypes from "prop-types";
23
+ export { configureStore };
24
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plugin.jsx"],"names":[],"mappings":";AAMA;IACE,2BAA0C;IAE1C;;;;;MAKE;IAEF;;;;MAIE;IAsBm0kB,wBAA8C;IAAA,sCAAyJ;IAf5glB,UAFa,eAAe,CAY3B;CACF"}
@@ -0,0 +1,4 @@
1
+ export function setDataProvider(store: Store, error: Error, provider: Object): void;
2
+ export default configureStore;
3
+ declare function configureStore(options?: {}): any;
4
+ //# sourceMappingURL=create-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-view.d.ts","sourceRoot":"","sources":["../../../src/stores/create-view.js"],"names":[],"mappings":"AAcO,qDAHI,KAAK,YACL,MAAM,QAIhB;;AAED,mDA8BC"}
@@ -0,0 +1,3 @@
1
+ export default store;
2
+ declare const store: any;
3
+ //# sourceMappingURL=duplicate-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duplicate-view.d.ts","sourceRoot":"","sources":["../../../src/stores/duplicate-view.js"],"names":[],"mappings":";AAQA,yBAA2D"}
@@ -0,0 +1,4 @@
1
+ export default configureStore;
2
+ import configureStore from "./store";
3
+ export { refreshInput, setFields, setIndexes } from "./store";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stores/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export function refreshInput(store: Store): void;
2
+ export function setFields(store: Store, fields: any[]): void;
3
+ export function setIndexes(store: any, indexes: any): void;
4
+ export default configureStore;
5
+ declare function configureStore(options?: Options): Store;
6
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.js"],"names":[],"mappings":"AAmBO,iDAEN;AAQM,6DAEN;AAEM,2DAMN;;AASD,0DA4HC"}
@@ -0,0 +1,12 @@
1
+ import type { AggregateOptions, Document } from 'mongodb';
2
+ import type { DataService } from 'mongodb-data-service';
3
+ export declare function aggregatePipeline({ dataService, signal, namespace, pipeline, options, skip, limit }: {
4
+ dataService: DataService;
5
+ signal: AbortSignal;
6
+ namespace: string;
7
+ pipeline: Document[];
8
+ options: AggregateOptions;
9
+ skip?: number;
10
+ limit?: number;
11
+ }): Promise<Document[]>;
12
+ //# sourceMappingURL=cancellable-aggregation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancellable-aggregation.d.ts","sourceRoot":"","sources":["../../../src/utils/cancellable-aggregation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAaxD,wBAAsB,iBAAiB,CAAC,EACtC,WAAW,EACX,MAAM,EACN,SAAS,EACT,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,KAAK,EACN,EAAE;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CAqCtB"}
@@ -0,0 +1,5 @@
1
+ export function configureStore(preloadedState?: {}): import("redux").Store<any, import("redux").Action<any>> & {
2
+ dispatch: any;
3
+ };
4
+ export function configureCreateViewStore(preloadedState?: {}): any;
5
+ //# sourceMappingURL=configure-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configure-store.d.ts","sourceRoot":"","sources":["../../../src/utils/configure-store.js"],"names":[],"mappings":"AAoBA;;EAiBC;AAID,mEAeC"}
@@ -0,0 +1,2 @@
1
+ export function getDirectory(): string;
2
+ //# sourceMappingURL=get-directory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-directory.d.ts","sourceRoot":"","sources":["../../../src/utils/get-directory.js"],"names":[],"mappings":"AAcO,uCAQN"}
@@ -0,0 +1,3 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare function isAction<A extends AnyAction>(action: AnyAction, type: A['type']): action is A;
3
+ //# sourceMappingURL=is-action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-action.d.ts","sourceRoot":"","sources":["../../../src/utils/is-action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,wBAAgB,QAAQ,CAAC,CAAC,SAAS,SAAS,EAC1C,MAAM,EAAE,SAAS,EACjB,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,GACd,MAAM,IAAI,CAAC,CAEb"}
@@ -0,0 +1,40 @@
1
+ export declare type StoredPipeline = {
2
+ id: string;
3
+ name: string;
4
+ namespace: string;
5
+ comments?: boolean;
6
+ autoPreview?: boolean;
7
+ collationString?: string;
8
+ pipeline?: {
9
+ stageOperator: string;
10
+ isEnabled: boolean;
11
+ stage: string;
12
+ }[];
13
+ host?: string | null;
14
+ pipelineText: string;
15
+ lastModified: number;
16
+ };
17
+ export declare class PipelineStorage {
18
+ loadAll(): Promise<StoredPipeline[]>;
19
+ load(id: string): Promise<StoredPipeline | null>;
20
+ _loadOne(filePath: string): Promise<StoredPipeline | null>;
21
+ _getFileData(filePath: string): Promise<unknown>;
22
+ updateAttributes(id: string, attributes: Partial<StoredPipeline>): Promise<{
23
+ id?: string | undefined;
24
+ name?: string | undefined;
25
+ namespace?: string | undefined;
26
+ comments?: boolean | undefined;
27
+ autoPreview?: boolean | undefined;
28
+ collationString?: string | undefined;
29
+ pipeline?: {
30
+ stageOperator: string;
31
+ isEnabled: boolean;
32
+ stage: string;
33
+ }[] | undefined;
34
+ host?: string | null | undefined;
35
+ pipelineText?: string | undefined;
36
+ lastModified?: number | undefined;
37
+ }>;
38
+ delete(id: string): Promise<void>;
39
+ }
40
+ //# sourceMappingURL=pipeline-storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipeline-storage.d.ts","sourceRoot":"","sources":["../../../src/utils/pipeline-storage.ts"],"names":[],"mappings":"AAUA,oBAAY,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE;QAAE,aAAa,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC1E,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAwCF,qBAAa,eAAe;IACpB,OAAO,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;IAWpC,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAIhD,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAqB1D,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAQhD,gBAAgB,CACpB,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,OAAO,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;IAyB/B,MAAM,CAAC,EAAE,EAAE,MAAM;CAIxB"}
@@ -0,0 +1,17 @@
1
+ export function isAtlasOnly(operatorEnv: any): any;
2
+ export function getStageOperator(stage: unknown): string | undefined;
3
+ export function getDestinationNamespaceFromStage(namespace: string, stage: import('mongodb').Document): string;
4
+ export function isOutputStage(stageOperator: string): boolean;
5
+ export function getStageInfo(namespace: string, stageOperator: string | undefined | null, stageValue: string | undefined | null): {
6
+ description?: string;
7
+ link?: string;
8
+ destination?: string;
9
+ };
10
+ export const OUT_STAGE_PREVIEW_TEXT: string;
11
+ export const MERGE_STAGE_PREVIEW_TEXT: string;
12
+ export function filterStageOperators({ serverVersion, env, isTimeSeries, sourceName, isReadonly, preferencesReadOnly }: Object): any[];
13
+ export function getLastStageOperator(pipeline: import('mongodb').Document[]): string;
14
+ export function isLastStageOutputStage(pipeline: import('mongodb').Document[]): boolean;
15
+ export function isMissingAtlasStageSupport(env: string, serverError: import('mongodb').MongoServerError | null): boolean;
16
+ export function findAtlasOperator(operators: string[]): string | undefined;
17
+ //# sourceMappingURL=stage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/utils/stage.js"],"names":[],"mappings":"AAmCA,mDAEC;AA+CD,wCAHW,OAAO,GACL,MAAM,GAAG,SAAS,CAI9B;AAcA,4DAJU,MAAM,SACN,OAAO,SAAS,EAAE,QAAQ,GACxB,MAAM,CA4BlB;AAaD,6CAHW,MAAM,GACJ,OAAO,CAInB;AAYD,wCALW,MAAM,iBACN,MAAM,GAAG,SAAS,GAAG,IAAI,cACzB,MAAM,GAAG,SAAS,GAAG,IAAI,GACvB;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAgCzE;AA1KD,4CAGkD;AAElD,8CAE4B;AAsCrB,wHARI,MAAM,SA4BhB;AA+GO,+CAHG,OAAO,SAAS,EAAE,QAAQ,EAAE,GAC1B,MAAM,CAKlB;AAMM,iDAHI,OAAO,SAAS,EAAE,QAAQ,EAAE,GAC1B,OAAO,CAInB;AAMO,gDAHG,MAAM,eACN,OAAO,SAAS,EAAE,gBAAgB,GAAG,IAAI,WAanD;AAMM,6CAFI,MAAM,EAAE,sBAIlB"}
package/package.json CHANGED
@@ -1,21 +1,24 @@
1
1
  {
2
2
  "name": "@mongodb-js/compass-aggregations",
3
3
  "productName": "Aggregations plugin",
4
- "version": "9.2.0",
4
+ "version": "9.4.0",
5
5
  "apiVersion": "3.0.0",
6
6
  "description": "Compass Aggregation Pipeline Builder",
7
7
  "main": "dist/index.js",
8
- "compass:main": "src/index.js",
8
+ "compass:main": "src/index.ts",
9
+ "types": "dist/src/index.d.ts",
9
10
  "exports": {
10
11
  "browser": "./dist/browser.js",
11
12
  "require": "./dist/index.js"
12
13
  },
13
14
  "compass:exports": {
14
- ".": "./src/index.js"
15
+ ".": "./src/index.ts"
15
16
  },
16
17
  "scripts": {
18
+ "bootstrap": "npm run compile",
17
19
  "prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
18
20
  "compile": "npm run webpack -- --mode production",
21
+ "postcompile": "tsc --emitDeclarationOnly",
19
22
  "prewebpack": "rimraf ./dist",
20
23
  "webpack": "webpack-compass",
21
24
  "analyze": "npm run webpack -- --mode production --analyze",
@@ -34,49 +37,50 @@
34
37
  },
35
38
  "license": "SSPL",
36
39
  "peerDependencies": {
37
- "@mongodb-js/compass-components": "^1.2.0",
38
- "@mongodb-js/compass-crud": "^13.2.0",
39
- "@mongodb-js/compass-logging": "^1.1.0",
40
+ "@mongodb-js/compass-components": "^1.4.0",
41
+ "@mongodb-js/compass-crud": "^13.4.0",
42
+ "@mongodb-js/compass-editor": "^0.3.0",
43
+ "@mongodb-js/compass-logging": "^1.1.1",
44
+ "@mongodb-js/compass-utils": "^0.1.2",
40
45
  "@mongodb-js/explain-plan-helper": "^1.0.1",
41
- "@mongodb-js/mongodb-redux-common": "^2.0.1",
46
+ "@mongodb-js/mongodb-constants": "^0.1.4",
47
+ "@mongodb-js/mongodb-redux-common": "^2.0.3",
42
48
  "bson": "^4.4.1",
43
- "hadron-document": "^8.0.1",
44
- "hadron-react-buttons": "^6.0.1",
45
- "hadron-react-components": "^6.2.0",
46
- "mongodb-ace-autocompleter": "^1.1.1",
49
+ "compass-preferences-model": "^2.4.0",
50
+ "hadron-document": "^8.0.2",
51
+ "hadron-react-buttons": "^6.0.2",
52
+ "hadron-react-components": "^6.4.0",
47
53
  "react": "^16.14.0"
48
54
  },
49
55
  "devDependencies": {
56
+ "@babel/generator": "^7.19.5",
57
+ "@babel/parser": "^7.19.4",
58
+ "@babel/types": "^7.19.4",
50
59
  "@electron/remote": "^2.0.8",
51
60
  "@mongodb-js/eslint-config-compass": "^1.0.1",
52
61
  "@mongodb-js/mocha-config-compass": "^1.0.1",
53
62
  "@mongodb-js/prettier-config-compass": "^1.0.0",
54
63
  "@mongodb-js/tsconfig-compass": "^1.0.1",
55
- "@mongodb-js/webpack-config-compass": "^1.0.2",
64
+ "@mongodb-js/webpack-config-compass": "^1.0.4",
56
65
  "@testing-library/react": "^12.1.4",
57
66
  "@testing-library/user-event": "^13.5.0",
58
- "@types/decomment": "^0.9.2",
59
- "@types/lodash.debounce": "^4.0.7",
60
- "@types/lodash.isempty": "^4.4.6",
67
+ "@types/lodash": "^4.14.188",
61
68
  "@types/semver": "^7.3.9",
62
- "acorn-loose": "^8.0.2",
63
- "astring": "^1.7.0",
64
69
  "chai": "^4.3.6",
65
70
  "classnames": "^2.2.6",
66
71
  "debug": "^4.2.0",
67
72
  "decomment": "^0.9.2",
68
73
  "depcheck": "^1.4.1",
74
+ "ejson-shell-parser": "^1.2.0",
69
75
  "electron": "^15.5.7",
70
76
  "enzyme": "^3.11.0",
71
77
  "eslint": "^7.25.0",
72
- "hadron-app-registry": "^9.0.1",
78
+ "hadron-app-registry": "^9.0.2",
73
79
  "is-electron-renderer": "^2.0.1",
74
- "lodash.debounce": "^4.0.8",
75
- "lodash.isempty": "^4.4.0",
76
- "lodash.isstring": "^4.0.1",
80
+ "lodash": "^4.17.21",
77
81
  "mocha": "^8.4.0",
78
82
  "mongodb": "^4.10.0",
79
- "mongodb-data-service": "^22.1.1",
83
+ "mongodb-data-service": "^22.3.0",
80
84
  "mongodb-ns": "^2.4.0",
81
85
  "mongodb-query-parser": "^2.4.6",
82
86
  "nyc": "^15.1.0",
@@ -84,7 +88,6 @@
84
88
  "re-resizable": "^6.9.0",
85
89
  "react-dom": "^16.14.0",
86
90
  "react-redux": "^8.0.2",
87
- "react-select-plus": "^1.2.0",
88
91
  "react-sortable-hoc": "^2.0.0",
89
92
  "redux": "^4.2.0",
90
93
  "redux-thunk": "^2.3.0",
@@ -94,16 +97,19 @@
94
97
  "xvfb-maybe": "^0.2.1"
95
98
  },
96
99
  "dependencies": {
97
- "@mongodb-js/compass-components": "^1.2.0",
98
- "@mongodb-js/compass-crud": "^13.2.0",
99
- "@mongodb-js/compass-logging": "^1.1.0",
100
+ "@mongodb-js/compass-components": "^1.4.0",
101
+ "@mongodb-js/compass-crud": "^13.4.0",
102
+ "@mongodb-js/compass-editor": "^0.3.0",
103
+ "@mongodb-js/compass-logging": "^1.1.1",
104
+ "@mongodb-js/compass-utils": "^0.1.2",
100
105
  "@mongodb-js/explain-plan-helper": "^1.0.1",
101
- "@mongodb-js/mongodb-redux-common": "^2.0.1",
106
+ "@mongodb-js/mongodb-constants": "^0.1.4",
107
+ "@mongodb-js/mongodb-redux-common": "^2.0.3",
102
108
  "bson": "^4.4.1",
103
- "hadron-document": "^8.0.1",
104
- "hadron-react-buttons": "^6.0.1",
105
- "hadron-react-components": "^6.2.0",
106
- "mongodb-ace-autocompleter": "^1.1.1",
109
+ "compass-preferences-model": "^2.4.0",
110
+ "hadron-document": "^8.0.2",
111
+ "hadron-react-buttons": "^6.0.2",
112
+ "hadron-react-components": "^6.4.0",
107
113
  "react": "^16.14.0"
108
114
  },
109
115
  "homepage": "https://github.com/mongodb-js/compass",
@@ -115,5 +121,5 @@
115
121
  "type": "git",
116
122
  "url": "https://github.com/mongodb-js/compass.git"
117
123
  },
118
- "gitHead": "775735842ab7675c6267fb09c22e61fc9b97cd6d"
124
+ "gitHead": "7f786ed13b999a5c0831af6fde545154890df956"
119
125
  }