@mongodb-js/compass-indexes 5.11.1 → 5.13.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.
- package/dist/browser.js +1 -1
- package/dist/browser.js.LICENSE.txt +0 -15
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +0 -15
- package/dist/src/components/create-index-modal/create-index-modal.d.ts.map +1 -1
- package/dist/src/components/drop-index-modal/index.d.ts.map +1 -1
- package/dist/src/components/indexes/indexes.d.ts +2 -2
- package/dist/src/components/indexes/indexes.d.ts.map +1 -1
- package/dist/src/components/indexes-table/index.d.ts +2 -0
- package/dist/src/components/indexes-table/index.d.ts.map +1 -0
- package/dist/src/components/indexes-table/indexes-table.d.ts +20 -10
- package/dist/src/components/indexes-table/indexes-table.d.ts.map +1 -1
- package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts +11 -1
- package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts.map +1 -1
- package/dist/src/components/regular-indexes-table/badge-with-icon-link.d.ts.map +1 -0
- package/dist/src/components/{indexes-table → regular-indexes-table}/index-actions.d.ts +1 -1
- package/dist/src/components/regular-indexes-table/index-actions.d.ts.map +1 -0
- package/dist/src/components/{indexes-table → regular-indexes-table}/property-field.d.ts +1 -1
- package/dist/src/components/regular-indexes-table/property-field.d.ts.map +1 -0
- package/dist/src/components/regular-indexes-table/regular-indexes-table.d.ts +14 -0
- package/dist/src/components/regular-indexes-table/regular-indexes-table.d.ts.map +1 -0
- package/dist/src/components/regular-indexes-table/size-field.d.ts.map +1 -0
- package/dist/src/components/{indexes-table → regular-indexes-table}/type-field.d.ts +1 -1
- package/dist/src/components/regular-indexes-table/type-field.d.ts.map +1 -0
- package/dist/src/components/regular-indexes-table/usage-field.d.ts.map +1 -0
- package/dist/src/modules/create-index/error.d.ts +19 -0
- package/dist/src/modules/create-index/error.d.ts.map +1 -0
- package/dist/src/modules/create-index/index.d.ts +12 -12
- package/dist/src/modules/create-index/index.d.ts.map +1 -1
- package/dist/src/modules/create-index/options.d.ts.map +1 -1
- package/dist/src/modules/data-service.d.ts +5 -5
- package/dist/src/modules/data-service.d.ts.map +1 -1
- package/dist/src/modules/description.d.ts +1 -1
- package/dist/src/modules/description.d.ts.map +1 -1
- package/dist/src/modules/drop-index/error.d.ts +19 -0
- package/dist/src/modules/drop-index/error.d.ts.map +1 -0
- package/dist/src/modules/drop-index/index.d.ts +2 -2
- package/dist/src/modules/index.d.ts +9 -12
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/modules/is-readonly-view.d.ts +1 -1
- package/dist/src/modules/is-readonly-view.d.ts.map +1 -1
- package/dist/src/modules/is-writable.d.ts +1 -1
- package/dist/src/modules/is-writable.d.ts.map +1 -1
- package/dist/src/modules/regular-indexes.d.ts +98 -0
- package/dist/src/modules/regular-indexes.d.ts.map +1 -0
- package/dist/src/modules/search-indexes.d.ts +23 -0
- package/dist/src/modules/search-indexes.d.ts.map +1 -0
- package/dist/src/stores/create-index.d.ts +12 -12
- package/dist/src/stores/index.d.ts +0 -1
- package/dist/src/stores/index.d.ts.map +1 -1
- package/dist/src/stores/store.d.ts +27 -2
- package/dist/src/stores/store.d.ts.map +1 -1
- package/dist/src/utils/is-action.d.ts +3 -0
- package/dist/src/utils/is-action.d.ts.map +1 -0
- package/package.json +22 -23
- package/dist/src/components/indexes-table/badge-with-icon-link.d.ts.map +0 -1
- package/dist/src/components/indexes-table/index-actions.d.ts.map +0 -1
- package/dist/src/components/indexes-table/property-field.d.ts.map +0 -1
- package/dist/src/components/indexes-table/size-field.d.ts.map +0 -1
- package/dist/src/components/indexes-table/type-field.d.ts.map +0 -1
- package/dist/src/components/indexes-table/usage-field.d.ts.map +0 -1
- package/dist/src/modules/error.d.ts +0 -22
- package/dist/src/modules/error.d.ts.map +0 -1
- package/dist/src/modules/in-progress-indexes.d.ts +0 -41
- package/dist/src/modules/in-progress-indexes.d.ts.map +0 -1
- package/dist/src/modules/indexes.d.ts +0 -43
- package/dist/src/modules/indexes.d.ts.map +0 -1
- package/dist/src/modules/is-readonly.d.ts +0 -3
- package/dist/src/modules/is-readonly.d.ts.map +0 -1
- package/dist/src/modules/is-refreshing.d.ts +0 -19
- package/dist/src/modules/is-refreshing.d.ts.map +0 -1
- package/dist/src/modules/sort-column.d.ts +0 -6
- package/dist/src/modules/sort-column.d.ts.map +0 -1
- package/dist/src/modules/sort-order.d.ts +0 -6
- package/dist/src/modules/sort-order.d.ts.map +0 -1
- /package/dist/src/components/{indexes-table → regular-indexes-table}/badge-with-icon-link.d.ts +0 -0
- /package/dist/src/components/{indexes-table → regular-indexes-table}/size-field.d.ts +0 -0
- /package/dist/src/components/{indexes-table → regular-indexes-table}/usage-field.d.ts +0 -0
@@ -0,0 +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;AAGvC,oBAAY,qBAAqB;IAI/B,aAAa,kBAAkB;IAI/B,OAAO,YAAY;IAInB,KAAK,UAAU;IAIf,UAAU,eAAe;CAC1B;AAED,KAAK,mBAAmB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAE9D,oBAAY,WAAW;IACrB,SAAS,sCAAsC;CAChD;AAED,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,WAAW,CAAC,SAAS,CAAC;IAC5B,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IAClB,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAE3B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,mBAAgB,EAAE,MAAM,EAAE,SAAS,SASvE;AAED,eAAO,MAAM,SAAS,WAAY,mBAAmB,KAAG,eAGtD,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
export function setDataProvider(store: Object, error: Object, provider: Object): void;
|
2
2
|
export default configureStore;
|
3
3
|
declare function configureStore(options?: {}): import("redux").Store<import("redux").EmptyObject & {
|
4
|
-
dataService: import("
|
4
|
+
dataService: import("./store").IndexesDataService | null;
|
5
5
|
appRegistry: unknown;
|
6
6
|
namespace: string;
|
7
7
|
serverVersion: string;
|
@@ -11,32 +11,37 @@ declare function configureStore(options?: {}): import("redux").Store<import("red
|
|
11
11
|
schemaFields: string[];
|
12
12
|
error: string | null;
|
13
13
|
options: {
|
14
|
+
name: {
|
15
|
+
enabled: boolean;
|
16
|
+
} & {
|
17
|
+
value: string;
|
18
|
+
};
|
14
19
|
unique: {
|
15
20
|
enabled: boolean;
|
16
21
|
} & {
|
17
22
|
value: boolean;
|
18
23
|
};
|
19
|
-
|
24
|
+
sparse: {
|
20
25
|
enabled: boolean;
|
21
26
|
} & {
|
22
|
-
value:
|
27
|
+
value: boolean;
|
23
28
|
};
|
24
|
-
|
29
|
+
collation: {
|
25
30
|
enabled: boolean;
|
26
31
|
} & {
|
27
32
|
value: string;
|
28
33
|
};
|
29
|
-
|
34
|
+
expireAfterSeconds: {
|
30
35
|
enabled: boolean;
|
31
36
|
} & {
|
32
37
|
value: string;
|
33
38
|
};
|
34
|
-
|
39
|
+
partialFilterExpression: {
|
35
40
|
enabled: boolean;
|
36
41
|
} & {
|
37
42
|
value: string;
|
38
43
|
};
|
39
|
-
|
44
|
+
wildcardProjection: {
|
40
45
|
enabled: boolean;
|
41
46
|
} & {
|
42
47
|
value: string;
|
@@ -46,11 +51,6 @@ declare function configureStore(options?: {}): import("redux").Store<import("red
|
|
46
51
|
} & {
|
47
52
|
value: string;
|
48
53
|
};
|
49
|
-
sparse: {
|
50
|
-
enabled: boolean;
|
51
|
-
} & {
|
52
|
-
value: boolean;
|
53
|
-
};
|
54
54
|
};
|
55
55
|
}, import("redux").Action<any>> & {
|
56
56
|
dispatch: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stores/index.js"],"names":[],"mappings":";;2BAAgD,SAAS
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stores/index.js"],"names":[],"mappings":";;2BAAgD,SAAS"}
|
@@ -1,4 +1,29 @@
|
|
1
|
-
|
1
|
+
import type { DataService } from 'mongodb-data-service';
|
2
|
+
import type AppRegistry from 'hadron-app-registry';
|
3
|
+
export type IndexesDataService = Pick<DataService, 'indexes' | 'isConnected' | 'updateCollection' | 'createIndex' | 'dropIndex'>;
|
4
|
+
export type ConfigureStoreOptions = {
|
5
|
+
dataProvider: {
|
6
|
+
dataProvider?: IndexesDataService;
|
7
|
+
};
|
8
|
+
namespace: string;
|
9
|
+
localAppRegistry: AppRegistry;
|
10
|
+
globalAppRegistry: AppRegistry;
|
11
|
+
serverVersion: string;
|
12
|
+
isReadonly: boolean;
|
13
|
+
isSearchIndexesSupported: boolean;
|
14
|
+
};
|
15
|
+
declare const configureStore: (options: ConfigureStoreOptions) => import("redux").Store<import("redux").EmptyObject & {
|
16
|
+
isWritable: boolean;
|
17
|
+
isReadonlyView: boolean;
|
18
|
+
description: any;
|
19
|
+
appRegistry: unknown;
|
20
|
+
dataService: IndexesDataService | null;
|
21
|
+
serverVersion: string;
|
22
|
+
namespace: string;
|
23
|
+
regularIndexes: import("../modules/regular-indexes").State;
|
24
|
+
searchIndexes: import("../modules/search-indexes").State;
|
25
|
+
}, import("redux").Action<any>> & {
|
26
|
+
dispatch: import("redux-thunk").ThunkDispatch<any, {}, import("redux").AnyAction>;
|
27
|
+
};
|
2
28
|
export default configureStore;
|
3
|
-
declare function configureStore(options?: {}): any;
|
4
29
|
//# sourceMappingURL=store.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,WAAW,EACX,SAAS,GAAG,aAAa,GAAG,kBAAkB,GAAG,aAAa,GAAG,WAAW,CAC7E,CAAC;AACF,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;;;;;;;;;;;;CAiFrD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
@@ -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"}
|
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.13.0",
|
6
6
|
"author": {
|
7
7
|
"name": "MongoDB Inc",
|
8
8
|
"email": "compass@mongodb.com"
|
@@ -56,34 +56,33 @@
|
|
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.
|
61
|
-
"@mongodb-js/compass-logging": "^1.1.
|
62
|
-
"@mongodb-js/mongodb-redux-common": "^2.0.
|
63
|
-
"bson": "^
|
64
|
-
"compass-preferences-model": "^2.
|
59
|
+
"@mongodb-js/compass-components": "^1.13.0",
|
60
|
+
"@mongodb-js/compass-editor": "^0.12.0",
|
61
|
+
"@mongodb-js/compass-logging": "^1.1.9",
|
62
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.11",
|
63
|
+
"bson": "^6.0.0",
|
64
|
+
"compass-preferences-model": "^2.13.0",
|
65
65
|
"react": "^17.0.2"
|
66
66
|
},
|
67
67
|
"devDependencies": {
|
68
|
-
"@mongodb-js/eslint-config-compass": "^1.0.
|
69
|
-
"@mongodb-js/mocha-config-compass": "^1.
|
68
|
+
"@mongodb-js/eslint-config-compass": "^1.0.9",
|
69
|
+
"@mongodb-js/mocha-config-compass": "^1.3.1",
|
70
70
|
"@mongodb-js/prettier-config-compass": "^1.0.1",
|
71
71
|
"@mongodb-js/tsconfig-compass": "^1.0.3",
|
72
|
-
"@mongodb-js/webpack-config-compass": "^1.1.
|
72
|
+
"@mongodb-js/webpack-config-compass": "^1.1.3",
|
73
73
|
"@testing-library/react": "^12.1.4",
|
74
74
|
"@testing-library/user-event": "^13.5.0",
|
75
75
|
"chai": "^4.2.0",
|
76
|
-
"debug": "^4.2.0",
|
77
76
|
"depcheck": "^1.4.1",
|
78
|
-
"electron": "^
|
77
|
+
"electron": "^24.8.2",
|
79
78
|
"enzyme": "^3.11.0",
|
80
79
|
"eslint": "^7.25.0",
|
81
|
-
"hadron-app-registry": "^9.0.
|
80
|
+
"hadron-app-registry": "^9.0.10",
|
82
81
|
"lodash": "^4.17.21",
|
83
82
|
"mocha": "^10.2.0",
|
84
|
-
"mongodb": "^
|
85
|
-
"mongodb-data-service": "^22.
|
86
|
-
"mongodb-query-parser": "^
|
83
|
+
"mongodb": "^6.0.0",
|
84
|
+
"mongodb-data-service": "^22.10.0",
|
85
|
+
"mongodb-query-parser": "^3.1.3",
|
87
86
|
"numeral": "^2.0.6",
|
88
87
|
"nyc": "^15.1.0",
|
89
88
|
"prop-types": "^15.7.2",
|
@@ -97,12 +96,12 @@
|
|
97
96
|
"xvfb-maybe": "^0.2.1"
|
98
97
|
},
|
99
98
|
"dependencies": {
|
100
|
-
"@mongodb-js/compass-components": "^1.
|
101
|
-
"@mongodb-js/compass-editor": "^0.
|
102
|
-
"@mongodb-js/compass-logging": "^1.1.
|
103
|
-
"@mongodb-js/mongodb-redux-common": "^2.0.
|
104
|
-
"bson": "^
|
105
|
-
"compass-preferences-model": "^2.
|
99
|
+
"@mongodb-js/compass-components": "^1.13.0",
|
100
|
+
"@mongodb-js/compass-editor": "^0.12.0",
|
101
|
+
"@mongodb-js/compass-logging": "^1.1.9",
|
102
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.11",
|
103
|
+
"bson": "^6.0.0",
|
104
|
+
"compass-preferences-model": "^2.13.0"
|
106
105
|
},
|
107
|
-
"gitHead": "
|
106
|
+
"gitHead": "75b346b5f8c4bc9252af65ae3c65b97c6cc47d00"
|
108
107
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"badge-with-icon-link.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/badge-with-icon-link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA4B1B,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAqBtE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/index-actions.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,eAAe,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAChD,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;AAcF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAyD5D,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"property-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/property-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAkB7D,eAAO,MAAM,kBAAkB,aACnB,MAAM,GAAG,SAAS,SACrB,eAAe,CAAC,OAAO,CAAC,KAC9B,MAAM,GAAG,IAMX,CAAC;AA2CF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAChC,UAAU,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAC1C,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;CAC7C,CAAC;AAIF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CA0C9D,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"size-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/size-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,SAAU,MAAM,WAGtC,CAAC;AAEF,eAAO,MAAM,cAAc,iBAAkB,MAAM,KAAG,MAErD,CAAC;AAEF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAgBtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"type-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/type-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,eAAO,MAAM,gBAAgB,SAAU,eAAe,CAAC,MAAM,CAAC,YAE7D,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACrD,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;CACjC,CAeA,CAAC;AAEF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAkBtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"usage-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/usage-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,eAAe,WAAY,MAAM,KAAG,MAIhD,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,IAAI,CAAC;CACd,CAAC;AAGF,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAoBxD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import type { AnyError } from 'mongodb';
|
2
|
-
import type { AnyAction } from 'redux';
|
3
|
-
export type IndexesError = AnyError | string | null | undefined;
|
4
|
-
export declare enum ActionTypes {
|
5
|
-
HandleError = "indexes/error/HANDLE_ERROR",
|
6
|
-
ClearError = "indexes/error/CLEAR_ERROR"
|
7
|
-
}
|
8
|
-
export type HandleErrorAction = {
|
9
|
-
type: ActionTypes.HandleError;
|
10
|
-
error: IndexesError;
|
11
|
-
};
|
12
|
-
type ClearErrorAction = {
|
13
|
-
type: ActionTypes.ClearError;
|
14
|
-
};
|
15
|
-
export type Actions = HandleErrorAction | ClearErrorAction;
|
16
|
-
type State = string | null;
|
17
|
-
export declare const INITIAL_STATE: State;
|
18
|
-
export default function reducer(state: State | undefined, action: AnyAction): State;
|
19
|
-
export declare const handleError: (error: IndexesError) => HandleErrorAction;
|
20
|
-
export declare const clearError: () => ClearErrorAction;
|
21
|
-
export {};
|
22
|
-
//# sourceMappingURL=error.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../src/modules/error.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAEhE,oBAAY,WAAW;IACrB,WAAW,+BAA+B;IAC1C,UAAU,8BAA8B;CACzC;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;IAC9B,KAAK,EAAE,YAAY,CAAC;CACrB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;AAE3D,KAAK,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;AAC3B,eAAO,MAAM,aAAa,EAAE,KAAY,CAAC;AAEzC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAuB,EAC5B,MAAM,EAAE,SAAS,SAYlB;AAED,eAAO,MAAM,WAAW,UAAW,YAAY,KAAG,iBAGhD,CAAC;AAEH,eAAO,MAAM,UAAU,QAAO,gBAE5B,CAAC"}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
import type { AnyAction } from 'redux';
|
2
|
-
import type { CreateIndexSpec } from './create-index';
|
3
|
-
export declare const IN_PROGRESS_INDEXES_ADDED = "indexes/in-progress-indexes/IN_PROGRESS_INDEXES_ADDED";
|
4
|
-
export declare const IN_PROGRESS_INDEXES_REMOVED = "indexes/in-progress-indexes/IN_PROGRESS_INDEXES_REMOVED";
|
5
|
-
export declare const IN_PROGRESS_INDEXES_FAILED = "indexes/in-progress-indexes/IN_PROGRESS_INDEXES_FAILED";
|
6
|
-
export type InProgressIndex = {
|
7
|
-
id: string;
|
8
|
-
key: CreateIndexSpec;
|
9
|
-
fields: {
|
10
|
-
field: string;
|
11
|
-
value: string | number;
|
12
|
-
}[];
|
13
|
-
name: string;
|
14
|
-
ns: string;
|
15
|
-
size: number;
|
16
|
-
relativeSize: number;
|
17
|
-
usageCount: number;
|
18
|
-
extra: {
|
19
|
-
status: 'inprogress' | 'failed';
|
20
|
-
error?: string;
|
21
|
-
};
|
22
|
-
};
|
23
|
-
export declare const INITIAL_STATE: InProgressIndex[];
|
24
|
-
export default function reducer(state: InProgressIndex[] | undefined, action: AnyAction): any[];
|
25
|
-
export declare const inProgressIndexAdded: (inProgressIndex: InProgressIndex) => {
|
26
|
-
type: string;
|
27
|
-
inProgressIndex: InProgressIndex;
|
28
|
-
};
|
29
|
-
export declare const inProgressIndexRemoved: (inProgressIndexId: string) => {
|
30
|
-
type: string;
|
31
|
-
inProgressIndexId: string;
|
32
|
-
};
|
33
|
-
export declare const inProgressIndexFailed: ({ inProgressIndexId, error, }: {
|
34
|
-
inProgressIndexId: string;
|
35
|
-
error: string;
|
36
|
-
}) => {
|
37
|
-
type: string;
|
38
|
-
inProgressIndexId: string;
|
39
|
-
error: string;
|
40
|
-
};
|
41
|
-
//# sourceMappingURL=in-progress-indexes.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"in-progress-indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/in-progress-indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAKtD,eAAO,MAAM,yBAAyB,0DACmB,CAAC;AAK1D,eAAO,MAAM,2BAA2B,4DACmB,CAAC;AAK5D,eAAO,MAAM,0BAA0B,2DACmB,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,eAAe,CAAC;IACrB,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,EAAE,CAAC;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE;QACL,MAAM,EAAE,YAAY,GAAG,QAAQ,CAAC;QAChC,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CAAC;AAKF,eAAO,MAAM,aAAa,EAAE,eAAe,EAAO,CAAC;AAUnD,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,+BAAgB,EAAE,MAAM,EAAE,SAAS,SAyBvE;AASD,eAAO,MAAM,oBAAoB,oBAAqB,eAAe;;;CAGnE,CAAC;AASH,eAAO,MAAM,sBAAsB,sBAAuB,MAAM;;;CAG9D,CAAC;AAUH,eAAO,MAAM,qBAAqB;uBAIb,MAAM;WAClB,MAAM;;;;;CAKb,CAAC"}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import type { IndexDefinition as _IndexDefinition } from 'mongodb-data-service';
|
2
|
-
import type { ThunkAction } from 'redux-thunk';
|
3
|
-
import type { AnyAction } from 'redux';
|
4
|
-
import type { RootState } from './index';
|
5
|
-
import type { HandleErrorAction } from './error';
|
6
|
-
import type { RefreshFinishedAction } from './is-refreshing';
|
7
|
-
export type SortColumn = keyof typeof sortColumnToProps;
|
8
|
-
export type SortDirection = 'asc' | 'desc';
|
9
|
-
declare const sortColumnToProps: {
|
10
|
-
readonly 'Name and Definition': "name";
|
11
|
-
readonly Type: "type";
|
12
|
-
readonly Size: "size";
|
13
|
-
readonly Usage: "usageCount";
|
14
|
-
readonly Properties: "properties";
|
15
|
-
};
|
16
|
-
export type IndexDefinition = Omit<_IndexDefinition, 'type' | 'cardinality' | 'properties' | 'version'> & Partial<_IndexDefinition>;
|
17
|
-
export type IndexFieldsDefinition = _IndexDefinition['fields'];
|
18
|
-
export declare enum ActionTypes {
|
19
|
-
LoadIndexes = "indexes/indexes/LOAD_INDEXES",
|
20
|
-
SortIndexes = "indexes/indexes/SORT_INDEXES"
|
21
|
-
}
|
22
|
-
type LoadIndexesAction = {
|
23
|
-
type: ActionTypes.LoadIndexes;
|
24
|
-
indexes: IndexDefinition[];
|
25
|
-
};
|
26
|
-
export type SortIndexesAction = {
|
27
|
-
type: ActionTypes.SortIndexes;
|
28
|
-
indexes: IndexDefinition[];
|
29
|
-
column: SortColumn;
|
30
|
-
order: SortDirection;
|
31
|
-
};
|
32
|
-
type Actions = LoadIndexesAction | SortIndexesAction;
|
33
|
-
type State = IndexDefinition[];
|
34
|
-
export declare const INITIAL_STATE: State;
|
35
|
-
export default function reducer(state: State | undefined, action: Actions): State;
|
36
|
-
export declare const loadIndexes: (indexes: IndexDefinition[]) => LoadIndexesAction;
|
37
|
-
export declare const sortIndexes: (column: SortColumn, order: SortDirection) => ThunkAction<void, RootState, void, SortIndexesAction>;
|
38
|
-
export declare const fetchIndexes: () => ThunkAction<Promise<void>, RootState, void, LoadIndexesAction | RefreshFinishedAction | HandleErrorAction>;
|
39
|
-
export declare const dropFailedIndex: (id: string) => ThunkAction<void, RootState, void, AnyAction>;
|
40
|
-
export declare const hideIndex: (indexName: string) => ThunkAction<Promise<void>, RootState, void, AnyAction>;
|
41
|
-
export declare const unhideIndex: (indexName: string) => ThunkAction<Promise<void>, RootState, void, AnyAction>;
|
42
|
-
export {};
|
43
|
-
//# sourceMappingURL=indexes.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/indexes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,aAAa,CAAC;AAG9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,SAAS,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAgB7D,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAExD,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,CAAC;AAE3C,QAAA,MAAM,iBAAiB;;;;;;CAMb,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,gBAAgB,EAChB,MAAM,GAAG,aAAa,GAAG,YAAY,GAAG,SAAS,CAClD,GACC,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAE5B,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;AAE/D,oBAAY,WAAW;IACrB,WAAW,iCAAiC;IAC5C,WAAW,iCAAiC;CAC7C;AAED,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;IAC9B,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;IAC9B,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AAEF,KAAK,OAAO,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;AACrD,KAAK,KAAK,GAAG,eAAe,EAAE,CAAC;AAE/B,eAAO,MAAM,aAAa,EAAE,KAAU,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,mBAAuB,EAAE,MAAM,EAAE,OAAO,SAU5E;AAED,eAAO,MAAM,WAAW,YAAa,eAAe,EAAE,KAAG,iBAGvD,CAAC;AAEH,eAAO,MAAM,WAAW,WACd,UAAU,SACX,aAAa,KACnB,YAAY,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,iBAAiB,CAUtD,CAAC;AAeF,eAAO,MAAM,YAAY,QAAO,YAC9B,QAAQ,IAAI,CAAC,EACb,SAAS,EACT,IAAI,EACJ,iBAAiB,GAAG,qBAAqB,GAAG,iBAAiB,CAuC9D,CAAC;AAmEF,eAAO,MAAM,eAAe,OACtB,MAAM,KACT,YAAY,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,CAK9C,CAAC;AAEF,eAAO,MAAM,SAAS,cACT,MAAM,KAChB,YAAY,QAAQ,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,CA8BvD,CAAC;AAEF,eAAO,MAAM,WAAW,cACX,MAAM,KAChB,YAAY,QAAQ,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,CA8BvD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"is-readonly.d.ts","sourceRoot":"","sources":["../../../src/modules/is-readonly.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,QAAQ,CAAC;AAUnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,UAAgB,WAEpD"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import type { ThunkAction } from 'redux-thunk';
|
2
|
-
import type { RootState } from './index';
|
3
|
-
export declare enum ActionTypes {
|
4
|
-
RefreshStarted = "indexes/is-refreshing/RefreshStarted",
|
5
|
-
RefreshFinished = "indexes/is-refreshing/RefreshFinished"
|
6
|
-
}
|
7
|
-
type RefreshStartedAction = {
|
8
|
-
type: ActionTypes.RefreshStarted;
|
9
|
-
};
|
10
|
-
export type RefreshFinishedAction = {
|
11
|
-
type: ActionTypes.RefreshFinished;
|
12
|
-
};
|
13
|
-
type Actions = RefreshStartedAction | RefreshFinishedAction;
|
14
|
-
type State = boolean;
|
15
|
-
export declare const INITIAL_STATE: State;
|
16
|
-
export default function reducer(state: boolean | undefined, action: Actions): boolean;
|
17
|
-
export declare const refreshIndexes: () => ThunkAction<void, RootState, void, Actions>;
|
18
|
-
export {};
|
19
|
-
//# sourceMappingURL=is-refreshing.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"is-refreshing.d.ts","sourceRoot":"","sources":["../../../src/modules/is-refreshing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,oBAAY,WAAW;IACrB,cAAc,yCAAyC;IACvD,eAAe,0CAA0C;CAC1D;AAED,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,WAAW,CAAC,cAAc,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,WAAW,CAAC,eAAe,CAAC;CACnC,CAAC;AAEF,KAAK,OAAO,GAAG,oBAAoB,GAAG,qBAAqB,CAAC;AAE5D,KAAK,KAAK,GAAG,OAAO,CAAC;AAErB,eAAO,MAAM,aAAa,EAAE,KAAa,CAAC;AAE1C,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,qBAAgB,EAAE,MAAM,EAAE,OAAO,WAQrE;AAED,eAAO,MAAM,cAAc,QAAO,YAChC,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,OAAO,CAQR,CAAC"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { SortColumn, SortIndexesAction } from './indexes';
|
2
|
-
type State = SortColumn;
|
3
|
-
export declare const INITIAL_STATE: State;
|
4
|
-
export default function reducer(state: "Name and Definition" | "Type" | "Size" | "Usage" | "Properties" | undefined, action: Pick<SortIndexesAction, 'type' | 'column'>): "Name and Definition" | "Type" | "Size" | "Usage" | "Properties";
|
5
|
-
export {};
|
6
|
-
//# sourceMappingURL=sort-column.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"sort-column.d.ts","sourceRoot":"","sources":["../../../src/modules/sort-column.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE/D,KAAK,KAAK,GAAG,UAAU,CAAC;AAExB,eAAO,MAAM,aAAa,EAAE,KAA6B,CAAC;AAE1D,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,8EAAgB,EACrB,MAAM,EAAE,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,QAAQ,CAAC,oEAMnD"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { SortDirection, SortIndexesAction } from './indexes';
|
2
|
-
type State = SortDirection;
|
3
|
-
export declare const INITIAL_STATE: State;
|
4
|
-
export default function reducer(state: SortDirection | undefined, action: Pick<SortIndexesAction, 'type' | 'order'>): SortDirection;
|
5
|
-
export {};
|
6
|
-
//# sourceMappingURL=sort-order.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"sort-order.d.ts","sourceRoot":"","sources":["../../../src/modules/sort-order.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAElE,KAAK,KAAK,GAAG,aAAa,CAAC;AAE3B,eAAO,MAAM,aAAa,EAAE,KAAa,CAAC;AAE1C,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,2BAAgB,EACrB,MAAM,EAAE,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,iBAMlD"}
|
/package/dist/src/components/{indexes-table → regular-indexes-table}/badge-with-icon-link.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|