@mongodb-js/compass-indexes 0.0.0-next-b308d1e92f7e65f426e7cdde2c630c5eb26cd4e1 → 0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682
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/index.js.LICENSE.txt +15 -0
- package/dist/src/components/create-index-fields.d.ts +1 -3
- package/dist/src/components/create-index-fields.d.ts.map +1 -1
- package/dist/src/components/create-index-form/create-index-form.d.ts +1 -3
- package/dist/src/components/create-index-form/create-index-form.d.ts.map +1 -1
- package/dist/src/components/create-index-modal/create-index-modal.d.ts.map +1 -1
- package/dist/src/modules/create-index/fields.d.ts.map +1 -1
- package/dist/src/modules/create-index/index.d.ts +0 -1
- package/dist/src/modules/create-index/index.d.ts.map +1 -1
- package/dist/src/stores/create-index.d.ts +0 -1
- package/dist/src/stores/create-index.d.ts.map +1 -1
- package/package.json +17 -18
- package/dist/src/modules/create-index/new-index-field.d.ts +0 -15
- package/dist/src/modules/create-index/new-index-field.d.ts.map +0 -1
@@ -4,6 +4,21 @@ object-assign
|
|
4
4
|
@license MIT
|
5
5
|
*/
|
6
6
|
|
7
|
+
/*! *****************************************************************************
|
8
|
+
Copyright (c) Microsoft Corporation.
|
9
|
+
|
10
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
11
|
+
purpose with or without fee is hereby granted.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
14
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
15
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
16
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
17
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
18
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
19
|
+
PERFORMANCE OF THIS SOFTWARE.
|
20
|
+
***************************************************************************** */
|
21
|
+
|
7
22
|
/*! @preserve
|
8
23
|
* numeral.js
|
9
24
|
* version : 2.0.6
|
@@ -5,13 +5,11 @@ export type CreateIndexFieldsProps = {
|
|
5
5
|
schemaFields: string[];
|
6
6
|
serverVersion: string;
|
7
7
|
isRemovable: boolean;
|
8
|
-
newIndexField: string | null;
|
9
8
|
addField: () => void;
|
10
|
-
createNewIndexField: (newField: string) => void;
|
11
9
|
removeField: (idx: number) => void;
|
12
10
|
updateFieldName: (idx: number, name: string) => void;
|
13
11
|
updateFieldType: (idx: number, fType: string) => void;
|
14
12
|
};
|
15
|
-
declare function CreateIndexFields({ fields,
|
13
|
+
declare function CreateIndexFields({ fields, serverVersion, schemaFields, addField, removeField, updateFieldName, updateFieldType, }: CreateIndexFieldsProps): React.ReactElement;
|
16
14
|
export { CreateIndexFields };
|
17
15
|
//# sourceMappingURL=create-index-fields.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-index-fields.d.ts","sourceRoot":"","sources":["../../../src/components/create-index-fields.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAcpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AA+BjE,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,
|
1
|
+
{"version":3,"file":"create-index-fields.d.ts","sourceRoot":"","sources":["../../../src/components/create-index-fields.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAcpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AA+BjE,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD,CAAC;AAEF,iBAAS,iBAAiB,CAAC,EACzB,MAAM,EACN,aAAa,EACb,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,eAAe,EACf,eAAe,GAChB,EAAE,sBAAsB,GAAG,KAAK,CAAC,YAAY,CAiG7C;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
@@ -5,15 +5,13 @@ type IndexField = {
|
|
5
5
|
};
|
6
6
|
type CreateIndexFormProps = {
|
7
7
|
fields: IndexField[];
|
8
|
-
newIndexField: string | null;
|
9
8
|
schemaFields: string[];
|
10
9
|
serverVersion: string;
|
11
10
|
updateFieldName: (idx: number, name: string) => void;
|
12
11
|
updateFieldType: (idx: number, fType: string) => void;
|
13
12
|
addField: () => void;
|
14
13
|
removeField: (idx: number) => void;
|
15
|
-
createNewIndexField: (newField: string) => void;
|
16
14
|
};
|
17
|
-
declare function CreateIndexForm({ fields,
|
15
|
+
declare function CreateIndexForm({ fields, schemaFields, serverVersion, updateFieldName, updateFieldType, addField, removeField, }: CreateIndexFormProps): JSX.Element;
|
18
16
|
export { CreateIndexForm };
|
19
17
|
//# sourceMappingURL=create-index-form.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-index-form.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/create-index-form.tsx"],"names":[],"mappings":";AAoBA,KAAK,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,
|
1
|
+
{"version":3,"file":"create-index-form.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/create-index-form.tsx"],"names":[],"mappings":";AAoBA,KAAK,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB,aAAa,EAAE,MAAM,CAAC;IAEtB,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,MAAM,EACN,YAAY,EAEZ,aAAa,EAEb,eAAe,EACf,eAAe,EACf,QAAQ,EACR,WAAW,GACZ,EAAE,oBAAoB,eA0CtB;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-index-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-modal/create-index-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"create-index-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-modal/create-index-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAmB3C,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAIzE,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,SAAS,EACT,KAAK,EACL,UAAU,EACV,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,GAAG;IAChD,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,qBAAqB,EAAE,MAAM,IAAI,CAAC;CACnC,eA6CA;;;;;AA+BD,wBAAgE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,eAAO,MAAM,SAAS,0CAA0C,CAAC;AACjE,eAAO,MAAM,iBAAiB,kDACmB,CAAC;AAClD,eAAO,MAAM,YAAY,6CAA6C,CAAC;AACvE,eAAO,MAAM,aAAa,8CAA8C,CAAC;AAEzE,MAAM,MAAM,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAKxD,eAAO,MAAM,aAAa;;;GAA2B,CAAC;AAUtD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK;;;eAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,UAAU,EAAE,CAyBd;AAED,eAAO,MAAM,QAAQ;;CAEnB,CAAC;AAEH,eAAO,MAAM,WAAW,QAAS,MAAM;;;CAGrC,CAAC;AAEH,eAAO,MAAM,eAAe,QAAS,MAAM,SAAS,MAAM;;;;CAIxD,CAAC;AAEH,eAAO,MAAM,YAAY,WAAY,UAAU,EAAE;;;CAG/C,CAAC;AAEH,eAAO,MAAM,eAAe,QAAS,MAAM,QAAQ,MAAM,gBACrC,QAAQ,YAAY,MAAM,SAAS,SAoBtD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAatC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAatC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAgBzD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAoBX,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC,CAAC;AAEF,eAAe,OAAO,CAAC;AAEvB,eAAO,MAAM,qBAAqB,mBACd,QAAQ,SAK3B,CAAC;AA2CF,eAAO,MAAM,WAAW,mBACE,QAAQ,YAAY,MAAM,SAAS,kBAiK5D,CAAC"}
|
@@ -8,7 +8,6 @@ declare function configureStore(options?: {}): import("redux").Store<import("red
|
|
8
8
|
inProgress: any;
|
9
9
|
isVisible: any;
|
10
10
|
fields: import("../modules/create-index/fields").IndexField[];
|
11
|
-
newIndexField: string | null;
|
12
11
|
schemaFields: string[];
|
13
12
|
error: string | null;
|
14
13
|
options: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-index.d.ts","sourceRoot":"","sources":["../../../src/stores/create-index.js"],"names":[],"mappings":"AAwBO,uCAJI,MAAM,SACN,MAAM,YACN,MAAM,QAQhB;;AAED
|
1
|
+
{"version":3,"file":"create-index.d.ts","sourceRoot":"","sources":["../../../src/stores/create-index.js"],"names":[],"mappings":"AAwBO,uCAJI,MAAM,SACN,MAAM,YACN,MAAM,QAQhB;;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDC"}
|
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": "0.0.0-next-
|
5
|
+
"version": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
6
6
|
"author": {
|
7
7
|
"name": "MongoDB Inc",
|
8
8
|
"email": "compass@mongodb.com"
|
@@ -56,20 +56,20 @@
|
|
56
56
|
"reformat": "npm run prettier -- --write . && npm run eslint . --fix"
|
57
57
|
},
|
58
58
|
"peerDependencies": {
|
59
|
-
"@mongodb-js/compass-components": "^1.
|
60
|
-
"@mongodb-js/compass-editor": "^0.
|
59
|
+
"@mongodb-js/compass-components": "^1.10.0",
|
60
|
+
"@mongodb-js/compass-editor": "^0.9.0",
|
61
61
|
"@mongodb-js/compass-logging": "^1.1.6",
|
62
62
|
"@mongodb-js/mongodb-redux-common": "^2.0.8",
|
63
63
|
"bson": "^5.2.0",
|
64
|
-
"compass-preferences-model": "^2.
|
64
|
+
"compass-preferences-model": "^2.10.0",
|
65
65
|
"react": "^17.0.2"
|
66
66
|
},
|
67
67
|
"devDependencies": {
|
68
|
-
"@mongodb-js/eslint-config-compass": "0.0.0-next-
|
69
|
-
"@mongodb-js/mocha-config-compass": "0.0.0-next-
|
70
|
-
"@mongodb-js/prettier-config-compass": "0.0.0-next-
|
71
|
-
"@mongodb-js/tsconfig-compass": "0.0.0-next-
|
72
|
-
"@mongodb-js/webpack-config-compass": "0.0.0-next-
|
68
|
+
"@mongodb-js/eslint-config-compass": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
69
|
+
"@mongodb-js/mocha-config-compass": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
70
|
+
"@mongodb-js/prettier-config-compass": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
71
|
+
"@mongodb-js/tsconfig-compass": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
72
|
+
"@mongodb-js/webpack-config-compass": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
73
73
|
"@testing-library/react": "^12.1.4",
|
74
74
|
"@testing-library/user-event": "^13.5.0",
|
75
75
|
"chai": "^4.2.0",
|
@@ -78,12 +78,11 @@
|
|
78
78
|
"electron": "^22.3.12",
|
79
79
|
"enzyme": "^3.11.0",
|
80
80
|
"eslint": "^7.25.0",
|
81
|
-
"hadron-app-registry": "0.0.0-next-
|
81
|
+
"hadron-app-registry": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
82
82
|
"lodash.clonedeep": "^4.5.0",
|
83
|
-
"lodash.contains": "^2.4.3",
|
84
83
|
"mocha": "^10.2.0",
|
85
84
|
"mongodb": "^5.5.0",
|
86
|
-
"mongodb-data-service": "0.0.0-next-
|
85
|
+
"mongodb-data-service": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
87
86
|
"mongodb-query-parser": "^2.5.0",
|
88
87
|
"numeral": "^2.0.6",
|
89
88
|
"nyc": "^15.1.0",
|
@@ -99,12 +98,12 @@
|
|
99
98
|
"xvfb-maybe": "^0.2.1"
|
100
99
|
},
|
101
100
|
"dependencies": {
|
102
|
-
"@mongodb-js/compass-components": "0.0.0-next-
|
103
|
-
"@mongodb-js/compass-editor": "0.0.0-next-
|
104
|
-
"@mongodb-js/compass-logging": "0.0.0-next-
|
105
|
-
"@mongodb-js/mongodb-redux-common": "0.0.0-next-
|
101
|
+
"@mongodb-js/compass-components": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
102
|
+
"@mongodb-js/compass-editor": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
103
|
+
"@mongodb-js/compass-logging": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
104
|
+
"@mongodb-js/mongodb-redux-common": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682",
|
106
105
|
"bson": "^5.2.0",
|
107
|
-
"compass-preferences-model": "0.0.0-next-
|
106
|
+
"compass-preferences-model": "0.0.0-next-e35a108a54700c3d0f1f8d937fe870db23cb1682"
|
108
107
|
},
|
109
|
-
"gitHead": "
|
108
|
+
"gitHead": "e35a108a54700c3d0f1f8d937fe870db23cb1682"
|
110
109
|
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import type { AnyAction } from 'redux';
|
2
|
-
export declare const INITIAL_STATE: string | null;
|
3
|
-
export declare enum ActionTypes {
|
4
|
-
createNewIndexField = "indexes/create-index/name/CREATE_NEW_INDEX_FIELD",
|
5
|
-
clearNewIndexField = "indexes/create-index/name/CLEAR_NEW_INDEX_FIELD"
|
6
|
-
}
|
7
|
-
export default function reducer(state: string | null | undefined, action: AnyAction): string | null;
|
8
|
-
export declare const createNewIndexField: (newField: string) => {
|
9
|
-
type: ActionTypes;
|
10
|
-
newField: string;
|
11
|
-
};
|
12
|
-
export declare const clearNewIndexField: () => {
|
13
|
-
type: ActionTypes;
|
14
|
-
};
|
15
|
-
//# sourceMappingURL=new-index-field.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"new-index-field.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/new-index-field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,aAAa,EAAE,MAAM,GAAG,IAAW,CAAC;AAEjD,oBAAY,WAAW;IACrB,mBAAmB,qDAAqD;IACxE,kBAAkB,oDAAoD;CACvE;AAUD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,2BAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,MAAM,GAAG,IAAI,CAWf;AASD,eAAO,MAAM,mBAAmB,aAAc,MAAM;;;CAGlD,CAAC;AAOH,eAAO,MAAM,kBAAkB;;CAE7B,CAAC"}
|