@mongodb-js/compass-indexes 5.14.0 → 5.15.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 (50) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/src/components/create-index-actions/create-index-actions.d.ts +0 -1
  4. package/dist/src/components/create-index-actions/create-index-actions.d.ts.map +1 -1
  5. package/dist/src/components/create-index-form/create-index-form.d.ts +0 -1
  6. package/dist/src/components/create-index-form/create-index-form.d.ts.map +1 -1
  7. package/dist/src/components/create-index-modal/create-index-modal.d.ts.map +1 -1
  8. package/dist/src/components/indexes/indexes.d.ts +3 -2
  9. package/dist/src/components/indexes/indexes.d.ts.map +1 -1
  10. package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts +6 -8
  11. package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts.map +1 -1
  12. package/dist/src/components/regular-indexes-table/index-actions.d.ts +1 -1
  13. package/dist/src/components/regular-indexes-table/index-actions.d.ts.map +1 -1
  14. package/dist/src/components/regular-indexes-table/regular-indexes-table.d.ts +1 -3
  15. package/dist/src/components/regular-indexes-table/regular-indexes-table.d.ts.map +1 -1
  16. package/dist/src/components/regular-indexes-table/usage-field.d.ts.map +1 -1
  17. package/dist/src/components/search-index-template-dropdown/index.d.ts +9 -0
  18. package/dist/src/components/search-index-template-dropdown/index.d.ts.map +1 -0
  19. package/dist/src/components/search-indexes-modals/base-search-index-modal.d.ts +17 -0
  20. package/dist/src/components/search-indexes-modals/base-search-index-modal.d.ts.map +1 -0
  21. package/dist/src/components/search-indexes-modals/create-search-index-modal.d.ts +6 -4
  22. package/dist/src/components/search-indexes-modals/create-search-index-modal.d.ts.map +1 -1
  23. package/dist/src/components/search-indexes-modals/index.d.ts +1 -0
  24. package/dist/src/components/search-indexes-modals/index.d.ts.map +1 -1
  25. package/dist/src/components/search-indexes-modals/update-search-index-modal.d.ts +20 -0
  26. package/dist/src/components/search-indexes-modals/update-search-index-modal.d.ts.map +1 -0
  27. package/dist/src/components/search-indexes-table/search-index-actions.d.ts +2 -0
  28. package/dist/src/components/search-indexes-table/search-index-actions.d.ts.map +1 -1
  29. package/dist/src/components/search-indexes-table/search-indexes-table.d.ts +3 -0
  30. package/dist/src/components/search-indexes-table/search-indexes-table.d.ts.map +1 -1
  31. package/dist/src/modules/create-index/index.d.ts.map +1 -1
  32. package/dist/src/modules/create-index/options.d.ts +0 -1
  33. package/dist/src/modules/create-index/options.d.ts.map +1 -1
  34. package/dist/src/modules/drop-index/index.d.ts.map +1 -1
  35. package/dist/src/modules/fields.d.ts +18 -0
  36. package/dist/src/modules/fields.d.ts.map +1 -0
  37. package/dist/src/modules/index-view.d.ts +16 -0
  38. package/dist/src/modules/index-view.d.ts.map +1 -0
  39. package/dist/src/modules/index.d.ts +16 -4
  40. package/dist/src/modules/index.d.ts.map +1 -1
  41. package/dist/src/modules/regular-indexes.d.ts +2 -1
  42. package/dist/src/modules/regular-indexes.d.ts.map +1 -1
  43. package/dist/src/modules/search-indexes.d.ts +35 -35
  44. package/dist/src/modules/search-indexes.d.ts.map +1 -1
  45. package/dist/src/stores/create-index.d.ts.map +1 -1
  46. package/dist/src/stores/store.d.ts +13 -3
  47. package/dist/src/stores/store.d.ts.map +1 -1
  48. package/dist/src/utils/modal-descriptions.d.ts +0 -1
  49. package/dist/src/utils/modal-descriptions.d.ts.map +1 -1
  50. package/package.json +18 -16
@@ -15,15 +15,25 @@ export type ConfigureStoreOptions = {
15
15
  declare const configureStore: (options: ConfigureStoreOptions) => import("redux").Store<import("redux").EmptyObject & {
16
16
  isWritable: boolean;
17
17
  isReadonlyView: boolean;
18
+ indexView: import("../modules/index-view").IndexView;
18
19
  description: any;
19
- appRegistry: unknown;
20
20
  dataService: IndexesDataService | null;
21
21
  serverVersion: string;
22
22
  namespace: string;
23
23
  regularIndexes: import("../modules/regular-indexes").State;
24
24
  searchIndexes: import("../modules/search-indexes").State;
25
- }, import("redux").Action<any>> & {
26
- dispatch: import("redux-thunk").ThunkDispatch<any, {}, import("redux").AnyAction>;
25
+ fields: import("../modules/fields").Field[];
26
+ }, import("redux").AnyAction | {
27
+ type: import("../modules/data-service").ActionTypes;
28
+ dataService: IndexesDataService;
29
+ } | {
30
+ type: string;
31
+ version: string;
32
+ }> & {
33
+ dispatch: import("redux-thunk").ThunkDispatch<any, {
34
+ localAppRegistry: AppRegistry;
35
+ globalAppRegistry: AppRegistry;
36
+ }, import("redux").AnyAction>;
27
37
  };
28
38
  export default configureStore;
29
39
  //# sourceMappingURL=store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,WAAW,EACT,SAAS,GACT,aAAa,GACb,kBAAkB,GAClB,aAAa,GACb,WAAW,GACX,kBAAkB,GAClB,mBAAmB,GACnB,mBAAmB,GACnB,iBAAiB,CACpB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE;QACZ,YAAY,CAAC,EAAE,kBAAkB,CAAC;KACnC,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,WAAW,CAAC;IAC9B,iBAAiB,EAAE,WAAW,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,wBAAwB,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,QAAA,MAAM,cAAc,YAAa,qBAAqB;;;;;;;;;;;;CAkFrD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAInD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,WAAW,EACT,SAAS,GACT,aAAa,GACb,kBAAkB,GAClB,aAAa,GACb,WAAW,GACX,kBAAkB,GAClB,mBAAmB,GACnB,mBAAmB,GACnB,iBAAiB,CACpB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE;QACZ,YAAY,CAAC,EAAE,kBAAkB,CAAC;KACnC,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,WAAW,CAAC;IAC9B,iBAAiB,EAAE,WAAW,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,wBAAwB,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,QAAA,MAAM,cAAc,YAAa,qBAAqB;;;;;;;;;;;;;;;;;;;;;;CA2FrD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const hideModalDescription: (indexName: string) => JSX.Element;
3
2
  export declare const unhideModalDescription: (indexName: string) => JSX.Element;
4
3
  //# sourceMappingURL=modal-descriptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal-descriptions.d.ts","sourceRoot":"","sources":["../../../src/utils/modal-descriptions.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,oBAAoB,cAAe,MAAM,gBAMrD,CAAC;AAEF,eAAO,MAAM,sBAAsB,cAAe,MAAM,gBAMvD,CAAC"}
1
+ {"version":3,"file":"modal-descriptions.d.ts","sourceRoot":"","sources":["../../../src/utils/modal-descriptions.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,cAAe,MAAM,gBAMrD,CAAC;AAEF,eAAO,MAAM,sBAAsB,cAAe,MAAM,gBAMvD,CAAC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@mongodb-js/compass-indexes",
3
3
  "productName": "Compass Indexes plugin",
4
4
  "description": "Collection index management for Compass",
5
- "version": "5.14.0",
5
+ "version": "5.15.0",
6
6
  "author": {
7
7
  "name": "MongoDB Inc",
8
8
  "email": "compass@mongodb.com"
@@ -56,12 +56,13 @@
56
56
  "reformat": "npm run prettier -- --write . && npm run eslint . --fix"
57
57
  },
58
58
  "peerDependencies": {
59
- "@mongodb-js/compass-components": "^1.14.0",
60
- "@mongodb-js/compass-editor": "^0.13.0",
61
- "@mongodb-js/compass-logging": "^1.2.0",
62
- "@mongodb-js/mongodb-redux-common": "^2.0.11",
59
+ "@mongodb-js/compass-components": "^1.15.0",
60
+ "@mongodb-js/compass-editor": "^0.14.0",
61
+ "@mongodb-js/compass-logging": "^1.2.1",
62
+ "@mongodb-js/mongodb-constants": "^0.8.4",
63
+ "@mongodb-js/mongodb-redux-common": "^2.0.12",
63
64
  "bson": "^6.0.0",
64
- "compass-preferences-model": "^2.14.0",
65
+ "compass-preferences-model": "^2.15.0",
65
66
  "react": "^17.0.2"
66
67
  },
67
68
  "devDependencies": {
@@ -69,20 +70,20 @@
69
70
  "@mongodb-js/mocha-config-compass": "^1.3.1",
70
71
  "@mongodb-js/prettier-config-compass": "^1.0.1",
71
72
  "@mongodb-js/tsconfig-compass": "^1.0.3",
72
- "@mongodb-js/webpack-config-compass": "^1.2.0",
73
+ "@mongodb-js/webpack-config-compass": "^1.2.1",
73
74
  "@testing-library/react": "^12.1.4",
74
75
  "@testing-library/user-event": "^13.5.0",
75
76
  "chai": "^4.2.0",
76
77
  "depcheck": "^1.4.1",
77
78
  "ejson-shell-parser": "^1.2.4",
78
- "electron": "^26.2.1",
79
+ "electron": "^26.2.2",
79
80
  "enzyme": "^3.11.0",
80
81
  "eslint": "^7.25.0",
81
- "hadron-app-registry": "^9.0.10",
82
+ "hadron-app-registry": "^9.0.11",
82
83
  "lodash": "^4.17.21",
83
84
  "mocha": "^10.2.0",
84
85
  "mongodb": "^6.0.0",
85
- "mongodb-data-service": "^22.11.0",
86
+ "mongodb-data-service": "^22.12.0",
86
87
  "mongodb-query-parser": "^3.1.3",
87
88
  "numeral": "^2.0.6",
88
89
  "nyc": "^15.1.0",
@@ -97,12 +98,13 @@
97
98
  "xvfb-maybe": "^0.2.1"
98
99
  },
99
100
  "dependencies": {
100
- "@mongodb-js/compass-components": "^1.14.0",
101
- "@mongodb-js/compass-editor": "^0.13.0",
102
- "@mongodb-js/compass-logging": "^1.2.0",
103
- "@mongodb-js/mongodb-redux-common": "^2.0.11",
101
+ "@mongodb-js/compass-components": "^1.15.0",
102
+ "@mongodb-js/compass-editor": "^0.14.0",
103
+ "@mongodb-js/compass-logging": "^1.2.1",
104
+ "@mongodb-js/mongodb-constants": "^0.8.4",
105
+ "@mongodb-js/mongodb-redux-common": "^2.0.12",
104
106
  "bson": "^6.0.0",
105
- "compass-preferences-model": "^2.14.0"
107
+ "compass-preferences-model": "^2.15.0"
106
108
  },
107
- "gitHead": "146534300cc62674da9089cc7f8ebade832b359f"
109
+ "gitHead": "2f5b80f5e4a015e576e9fe4b069271c92e688a05"
108
110
  }