@mongodb-js/compass-indexes 5.19.1 → 5.20.1
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.
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts.map +1 -1
- package/dist/src/modules/search-indexes.d.ts +3 -6
- package/dist/src/modules/search-indexes.d.ts.map +1 -1
- package/dist/src/stores/index.d.ts +0 -1
- package/dist/src/stores/index.d.ts.map +1 -1
- package/package.json +26 -26
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"indexes-toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-toolbar/indexes-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AA2B3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AA2B1D,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,CAAC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IAEhD,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;IAEhC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,
|
1
|
+
{"version":3,"file":"indexes-toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-toolbar/indexes-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AA2B3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AA2B1D,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,CAAC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IAEhD,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;IAEhC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAqJvE,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,wBAAwB,EAAE,OAAO,CAAC;IAClC,sBAAsB,EAAE,OAAO,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,mBAAmB,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CACrD,sBAAsB,CAkDvB,CAAC;;;;;;;;;;;;;;;AAyBF,wBAGwD"}
|
@@ -84,12 +84,9 @@ export declare const updateIndex: (indexName: string, indexDefinition: Document)
|
|
84
84
|
export declare const refreshSearchIndexes: () => IndexesThunkAction<Promise<void>>;
|
85
85
|
export declare const pollSearchIndexes: () => IndexesThunkAction<void>;
|
86
86
|
export declare const sortSearchIndexes: (column: SearchSortColumn, direction: SortDirection) => IndexesThunkAction<void, SearchIndexesSortedAction>;
|
87
|
-
export declare const showConfirmation: (props: {
|
88
|
-
|
89
|
-
|
90
|
-
buttonText?: string | undefined;
|
91
|
-
variant?: import("@mongodb-js/compass-components").ConfirmationModalVariant | undefined;
|
92
|
-
requiredInputText?: string | undefined;
|
87
|
+
export declare const showConfirmation: (props: Partial<Pick<import("@leafygreen-ui/confirmation-modal/dist/ConfirmationModal/types").ConfirmationModalProps, "title" | "buttonText" | "variant" | "requiredInputText">> & {
|
88
|
+
description?: import("react").ReactNode;
|
89
|
+
'data-testid'?: string | undefined;
|
93
90
|
}) => Promise<boolean>;
|
94
91
|
export declare const dropSearchIndex: (name: string) => IndexesThunkAction<Promise<void>>;
|
95
92
|
export declare const runAggregateSearchIndex: (name: string) => IndexesThunkAction<void>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"search-indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/search-indexes.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAOxC,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,GAAG,CAAC;AAE3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAKxD,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAE9D,QAAA,MAAM,iBAAiB;;;CAGb,CAAC;AAEX,oBAAY,qBAAqB;IAI/B,aAAa,kBAAkB;IAI/B,SAAS,cAAc;IAIvB,KAAK,UAAU;IAIf,QAAQ,aAAa;IAIrB,UAAU,eAAe;IAIzB,OAAO,YAAY;IAInB,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAWrE,oBAAY,WAAW;IACrB,S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QAAO,mBAAmB,QAAQ,IAAI,CAAC,CAYvE,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,mBAAmB,IAAI,CAI3D,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACpB,gBAAgB,aACb,aAAa,KACvB,mBAAmB,IAAI,EAAE,yBAAyB,CAepD,CAAC;AAIF,eAAO,MAAM,gBAAgB;;;sBAAwB,CAAC;AACtD,eAAO,MAAM,eAAe,SACpB,MAAM,KACX,mBAAmB,QAAQ,IAAI,CAAC,CAyClC,CAAC;AAEF,eAAO,MAAM,uBAAuB,SAC5B,MAAM,KACX,mBAAmB,IAAI,CAyBzB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stores/index.js"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stores/index.js"],"names":[],"mappings":";2BAA2B,SAAS"}
|
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.
|
5
|
+
"version": "5.20.1",
|
6
6
|
"author": {
|
7
7
|
"name": "MongoDB Inc",
|
8
8
|
"email": "compass@mongodb.com"
|
@@ -53,58 +53,58 @@
|
|
53
53
|
"test-watch": "npm run test -- --watch",
|
54
54
|
"test-ci": "npm run test-cov",
|
55
55
|
"test-ci-electron": "npm run test-electron",
|
56
|
-
"reformat": "npm run
|
56
|
+
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
|
57
57
|
},
|
58
58
|
"peerDependencies": {
|
59
|
-
"@mongodb-js/compass-components": "^1.
|
60
|
-
"@mongodb-js/compass-editor": "^0.
|
61
|
-
"@mongodb-js/compass-logging": "^1.2.
|
59
|
+
"@mongodb-js/compass-components": "^1.20.0",
|
60
|
+
"@mongodb-js/compass-editor": "^0.19.0",
|
61
|
+
"@mongodb-js/compass-logging": "^1.2.7",
|
62
62
|
"@mongodb-js/mongodb-constants": "^0.8.7",
|
63
|
-
"@mongodb-js/mongodb-redux-common": "^2.0.
|
64
|
-
"bson": "^6.
|
65
|
-
"compass-preferences-model": "^2.
|
63
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.17",
|
64
|
+
"bson": "^6.2.0",
|
65
|
+
"compass-preferences-model": "^2.16.0",
|
66
66
|
"react": "^17.0.2"
|
67
67
|
},
|
68
68
|
"devDependencies": {
|
69
|
-
"@mongodb-js/eslint-config-compass": "^1.0.
|
70
|
-
"@mongodb-js/mocha-config-compass": "^1.3.
|
69
|
+
"@mongodb-js/eslint-config-compass": "^1.0.12",
|
70
|
+
"@mongodb-js/mocha-config-compass": "^1.3.3",
|
71
71
|
"@mongodb-js/prettier-config-compass": "^1.0.1",
|
72
72
|
"@mongodb-js/tsconfig-compass": "^1.0.3",
|
73
|
-
"@mongodb-js/webpack-config-compass": "^1.2.
|
73
|
+
"@mongodb-js/webpack-config-compass": "^1.2.6",
|
74
74
|
"@testing-library/react": "^12.1.4",
|
75
75
|
"@testing-library/user-event": "^13.5.0",
|
76
76
|
"chai": "^4.2.0",
|
77
77
|
"depcheck": "^1.4.1",
|
78
|
-
"ejson-shell-parser": "^
|
79
|
-
"electron": "^25.9.
|
78
|
+
"ejson-shell-parser": "^2.0.0",
|
79
|
+
"electron": "^25.9.7",
|
80
80
|
"enzyme": "^3.11.0",
|
81
81
|
"eslint": "^7.25.0",
|
82
|
-
"hadron-app-registry": "^9.
|
82
|
+
"hadron-app-registry": "^9.1.1",
|
83
83
|
"lodash": "^4.17.21",
|
84
84
|
"mocha": "^10.2.0",
|
85
|
-
"mongodb": "^6.
|
86
|
-
"mongodb-data-service": "^22.
|
87
|
-
"mongodb-query-parser": "^
|
85
|
+
"mongodb": "^6.3.0",
|
86
|
+
"mongodb-data-service": "^22.16.1",
|
87
|
+
"mongodb-query-parser": "^4.0.0",
|
88
88
|
"numeral": "^2.0.6",
|
89
89
|
"nyc": "^15.1.0",
|
90
90
|
"prop-types": "^15.7.2",
|
91
91
|
"react": "^17.0.2",
|
92
92
|
"react-dom": "^17.0.2",
|
93
|
-
"react-redux": "^8.
|
93
|
+
"react-redux": "^8.1.3",
|
94
94
|
"redux": "^4.2.1",
|
95
|
-
"redux-thunk": "^2.4.
|
95
|
+
"redux-thunk": "^2.4.2",
|
96
96
|
"semver": "^5.4.1",
|
97
97
|
"sinon": "^9.2.3",
|
98
98
|
"xvfb-maybe": "^0.2.1"
|
99
99
|
},
|
100
100
|
"dependencies": {
|
101
|
-
"@mongodb-js/compass-components": "^1.
|
102
|
-
"@mongodb-js/compass-editor": "^0.
|
103
|
-
"@mongodb-js/compass-logging": "^1.2.
|
101
|
+
"@mongodb-js/compass-components": "^1.20.0",
|
102
|
+
"@mongodb-js/compass-editor": "^0.19.0",
|
103
|
+
"@mongodb-js/compass-logging": "^1.2.7",
|
104
104
|
"@mongodb-js/mongodb-constants": "^0.8.7",
|
105
|
-
"@mongodb-js/mongodb-redux-common": "^2.0.
|
106
|
-
"bson": "^6.
|
107
|
-
"compass-preferences-model": "^2.
|
105
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.17",
|
106
|
+
"bson": "^6.2.0",
|
107
|
+
"compass-preferences-model": "^2.16.0"
|
108
108
|
},
|
109
|
-
"gitHead": "
|
109
|
+
"gitHead": "a39a661edf19844c3d6dd82f0954527504e8d85e"
|
110
110
|
}
|