@mongodb-js/compass-indexes 5.12.0 → 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/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 +21 -22
- 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
@@ -4,21 +4,6 @@ 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
|
-
|
22
7
|
/*! @preserve
|
23
8
|
* numeral.js
|
24
9
|
* version : 2.0.6
|
@@ -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;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;;;;;
|
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;;;;;AA8BD,wBAAgE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drop-index-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA6C1B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAKF,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,UAAU,EACV,KAAK,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,UAAU,GACX,EAAE,kBAAkB,eA4FpB;;;;;;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drop-index-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA6C1B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAKF,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,UAAU,EACV,KAAK,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,UAAU,GACX,EAAE,kBAAkB,eA4FpB;;;;;;AAyBD,wBAA8D"}
|
@@ -1,10 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type AppRegistry from 'hadron-app-registry';
|
3
|
-
import type { IndexDefinition, SortColumn, SortDirection } from '../../modules/indexes';
|
3
|
+
import type { IndexDefinition, SortColumn, SortDirection } from '../../modules/regular-indexes';
|
4
4
|
type IndexesProps = {
|
5
5
|
indexes: IndexDefinition[];
|
6
6
|
isWritable: boolean;
|
7
|
-
isReadonly: boolean;
|
8
7
|
isReadonlyView: boolean;
|
9
8
|
description?: string;
|
10
9
|
error: string | null;
|
@@ -17,6 +16,7 @@ type IndexesProps = {
|
|
17
16
|
onHideIndex: (name: string) => void;
|
18
17
|
onUnhideIndex: (name: string) => void;
|
19
18
|
readOnly?: boolean;
|
19
|
+
isAtlasSearchSupported: boolean;
|
20
20
|
};
|
21
21
|
export declare const Indexes: React.FunctionComponent<IndexesProps>;
|
22
22
|
declare const _default: import("react-redux").ConnectedComponent<(props: Omit<IndexesProps & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes/indexes.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes/indexes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAUnD,OAAO,KAAK,EACV,eAAe,EACf,UAAU,EACV,aAAa,EACd,MAAM,+BAA+B,CAAC;AAgBvC,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,gBAAgB,EAAE,WAAW,CAAC;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IAClE,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC;AAMF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,YAAY,CA8DzD,CAAC;;;;;;;;;;;AA8BF,wBAGiD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
@@ -1,14 +1,24 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
|
3
|
-
type
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
2
|
+
type SortDirection = 'asc' | 'desc';
|
3
|
+
type IndexInfo = {
|
4
|
+
key: string;
|
5
|
+
'data-testid': string;
|
6
|
+
fields: {
|
7
|
+
key?: string;
|
8
|
+
'data-testid': string;
|
9
|
+
children: React.ReactNode;
|
10
|
+
}[];
|
11
|
+
actions?: React.ReactNode;
|
12
|
+
details?: React.ReactNode;
|
11
13
|
};
|
12
|
-
export
|
14
|
+
export type IndexesTableProps<Column extends string> = {
|
15
|
+
['data-testid']: string;
|
16
|
+
['aria-label']: string;
|
17
|
+
columns: readonly Column[];
|
18
|
+
data: IndexInfo[];
|
19
|
+
canModifyIndex?: boolean;
|
20
|
+
onSortTable: (column: Column, direction: SortDirection) => void;
|
21
|
+
};
|
22
|
+
export declare function IndexesTable<Column extends string>({ ['data-testid']: dataTestId, ['aria-label']: ariaLabel, columns: sortColumns, canModifyIndex, data, onSortTable, }: IndexesTableProps<Column>): JSX.Element;
|
13
23
|
export {};
|
14
24
|
//# sourceMappingURL=indexes-table.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"indexes-table.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/indexes-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"indexes-table.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/indexes-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAc1D,KAAK,aAAa,GAAG,KAAK,GAAG,MAAM,CAAC;AA2DpC,KAAK,SAAS,GAAG;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE;QACN,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,aAAa,EAAE,MAAM,CAAC;QACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;KAC3B,EAAE,CAAC;IACJ,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,MAAM,SAAS,MAAM,IAAI;IACrD,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IACxB,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;CACjE,CAAC;AAEF,wBAAgB,YAAY,CAAC,MAAM,SAAS,MAAM,EAAE,EAClD,CAAC,aAAa,CAAC,EAAE,UAAU,EAC3B,CAAC,YAAY,CAAC,EAAE,SAAS,EACzB,OAAO,EAAE,WAAW,EACpB,cAAc,EACd,IAAI,EACJ,WAAW,GACZ,EAAE,iBAAiB,CAAC,MAAM,CAAC,eAmI3B"}
|
@@ -1,17 +1,27 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type AppRegistry from 'hadron-app-registry';
|
3
|
+
export type IndexView = 'regular-indexes' | 'search-indexes';
|
3
4
|
type IndexesToolbarProps = {
|
4
5
|
errorMessage: string | null;
|
5
|
-
isReadonly: boolean;
|
6
6
|
isReadonlyView: boolean;
|
7
7
|
isWritable: boolean;
|
8
8
|
hasTooManyIndexes: boolean;
|
9
9
|
localAppRegistry: AppRegistry;
|
10
10
|
isRefreshing: boolean;
|
11
11
|
writeStateDescription?: string;
|
12
|
+
isAtlasSearchSupported: boolean;
|
12
13
|
onRefreshIndexes: () => void;
|
14
|
+
onChangeIndexView: (newView: IndexView) => void;
|
13
15
|
readOnly?: boolean;
|
14
16
|
};
|
15
17
|
export declare const IndexesToolbar: React.FunctionComponent<IndexesToolbarProps>;
|
18
|
+
type CreateIndexButtonProps = {
|
19
|
+
isSearchManagementActive: boolean;
|
20
|
+
isAtlasSearchSupported: boolean;
|
21
|
+
isWritable: boolean;
|
22
|
+
onClickCreateIndex: () => void;
|
23
|
+
onClickCreateAtlasSearchIndex: () => void;
|
24
|
+
};
|
25
|
+
export declare const CreateIndexButton: React.FunctionComponent<CreateIndexButtonProps>;
|
16
26
|
export {};
|
17
27
|
//# sourceMappingURL=indexes-toolbar.d.ts.map
|
@@ -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;
|
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;AAiB3C,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AA2BnD,MAAM,MAAM,SAAS,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;AAE7D,KAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,WAAW,CAAC;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;IAChC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,CAAC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAgJvE,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,wBAAwB,EAAE,OAAO,CAAC;IAClC,sBAAsB,EAAE,OAAO,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,6BAA6B,EAAE,MAAM,IAAI,CAAC;CAC3C,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CACrD,sBAAsB,CAkDvB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"badge-with-icon-link.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/index-actions.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,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,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type { IndexDefinition } from '../../modules/indexes';
|
2
|
+
import type { IndexDefinition } from '../../modules/regular-indexes';
|
3
3
|
export declare const getPropertyTooltip: (property: string | undefined, extra: IndexDefinition['extra']) => string | null;
|
4
4
|
type PropertyFieldProps = {
|
5
5
|
extra: IndexDefinition['extra'];
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"property-field.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/property-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAkBrE,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"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { IndexDefinition, SortColumn, SortDirection } from '../../modules/regular-indexes';
|
3
|
+
type RegularIndexesTableProps = {
|
4
|
+
indexes: IndexDefinition[];
|
5
|
+
canModifyIndex: boolean;
|
6
|
+
serverVersion: string;
|
7
|
+
onDeleteIndex: (index: IndexDefinition) => void;
|
8
|
+
onHideIndex: (name: string) => void;
|
9
|
+
onUnhideIndex: (name: string) => void;
|
10
|
+
onSortTable: (column: SortColumn, direction: SortDirection) => void;
|
11
|
+
};
|
12
|
+
export declare const RegularIndexesTable: React.FunctionComponent<RegularIndexesTableProps>;
|
13
|
+
export {};
|
14
|
+
//# sourceMappingURL=regular-indexes-table.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"regular-indexes-table.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/regular-indexes-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EACV,eAAe,EACf,UAAU,EACV,aAAa,EACd,MAAM,+BAA+B,CAAC;AAEvC,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,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;IACtC,WAAW,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,iBAAiB,CACvD,wBAAwB,CA6EzB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"size-field.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-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,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type { IndexDefinition } from '../../modules/indexes';
|
2
|
+
import type { IndexDefinition } from '../../modules/regular-indexes';
|
3
3
|
export declare const canRenderTooltip: (type: IndexDefinition['type']) => boolean;
|
4
4
|
type TypeFieldProps = {
|
5
5
|
type: IndexDefinition['type'];
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"type-field.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/type-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGrE,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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"usage-field.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-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"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { AnyAction } from 'redux';
|
2
|
+
export declare enum ActionTypes {
|
3
|
+
HandleError = "indexes/create-index/HandleError",
|
4
|
+
ClearError = "indexes/create-index/ClearError"
|
5
|
+
}
|
6
|
+
type HandleErrorAction = {
|
7
|
+
type: ActionTypes.HandleError;
|
8
|
+
error: string;
|
9
|
+
};
|
10
|
+
type ClearErrorAction = {
|
11
|
+
type: ActionTypes.ClearError;
|
12
|
+
};
|
13
|
+
type State = string | null;
|
14
|
+
export declare const INITIAL_STATE: State;
|
15
|
+
export default function reducer(state: State | undefined, action: AnyAction): State;
|
16
|
+
export declare const handleError: (error: string) => HandleErrorAction;
|
17
|
+
export declare const clearError: () => ClearErrorAction;
|
18
|
+
export {};
|
19
|
+
//# sourceMappingURL=error.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,oBAAY,WAAW;IACrB,WAAW,qCAAqC;IAChD,UAAU,oCAAoC;CAC/C;AAED,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC;CAC9B,CAAC;AAEF,KAAK,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;AAE3B,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,MAAM,KAAG,iBAG1C,CAAC;AAEH,eAAO,MAAM,UAAU,QAAO,gBAE5B,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { Dispatch } from 'redux';
|
2
2
|
import type { IndexField } from '../create-index/fields';
|
3
3
|
declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
4
|
-
dataService: import("
|
4
|
+
dataService: import("../../stores/store").IndexesDataService | null;
|
5
5
|
appRegistry: unknown;
|
6
6
|
namespace: string;
|
7
7
|
serverVersion: string;
|
@@ -11,32 +11,37 @@ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
|
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 const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
|
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
|
export type RootState = ReturnType<typeof reducer>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/options.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/options.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAIrC,eAAO,MAAM,qCAAqC,EAAE,WAAW,EAG9D,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEV,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,OAAO,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG;KAC3B,CAAC,IAAI,WAAW,GAAG,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,UAAU,GAAG,CAAC,GAAG,KAAK;CAC7E,CAAC,WAAW,CAAC,CAAC;AAEf,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;AAEjE,KAAK,KAAK,GAAG;KACV,CAAC,IAAI,WAAW,GAAG;QAClB,OAAO,EAAE,OAAO,CAAC;KAClB,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,UAAU,GAC7C;QAAE,KAAK,EAAE,OAAO,CAAA;KAAE,GAClB;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CACvB,CAAC;AAEF,KAAK,cAAc,CAAC,CAAC,SAAS,WAAW,IACvC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC;AAElE,aAAK,OAAO;IACV,YAAY,+CAA+C;IAC3D,mBAAmB,uDAAuD;CAC3E;AAED,KAAK,kBAAkB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IAC7D,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;CAC1B,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,SAAS,WAAW,EAChD,UAAU,EAAE,CAAC,EACb,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,GAC1B,kBAAkB,CAAC,CAAC,CAAC,CAEvB;AAED,KAAK,yBAAyB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IACpE,IAAI,EAAE,OAAO,CAAC,mBAAmB,CAAC;IAClC,IAAI,EAAE,CAAC,CAAC;IACR,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,WAAW,EACvD,UAAU,EAAE,CAAC,EACb,OAAO,EAAE,OAAO,GACf,yBAAyB,CAAC,CAAC,CAAC,CAE9B;AAED,eAAO,MAAM,aAAa,OAOhB,CAAC;AAEX,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CA+B3B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import type {
|
1
|
+
import type { IndexesDataService } from '../stores/store';
|
2
2
|
export declare enum ActionTypes {
|
3
3
|
DataServiceConnected = "indexes/data-service/DATA_SERVICE_CONNECTED"
|
4
4
|
}
|
5
5
|
type DataServiceConnectedAction = {
|
6
6
|
type: ActionTypes.DataServiceConnected;
|
7
|
-
dataService:
|
7
|
+
dataService: IndexesDataService;
|
8
8
|
};
|
9
|
-
type State =
|
9
|
+
type State = IndexesDataService | null;
|
10
10
|
export default function reducer(state: State | undefined, action: DataServiceConnectedAction): State;
|
11
|
-
export declare const dataServiceConnected: (dataService:
|
11
|
+
export declare const dataServiceConnected: (dataService: IndexesDataService) => {
|
12
12
|
type: ActionTypes;
|
13
|
-
dataService:
|
13
|
+
dataService: IndexesDataService;
|
14
14
|
};
|
15
15
|
export {};
|
16
16
|
//# sourceMappingURL=data-service.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"data-service.d.ts","sourceRoot":"","sources":["../../../src/modules/data-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"data-service.d.ts","sourceRoot":"","sources":["../../../src/modules/data-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,oBAAY,WAAW;IACrB,oBAAoB,gDAAgD;CACrE;AAED,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,WAAW,CAAC,oBAAoB,CAAC;IACvC,WAAW,EAAE,kBAAkB,CAAC;CACjC,CAAC;AAEF,KAAK,KAAK,GAAG,kBAAkB,GAAG,IAAI,CAAC;AAIvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgB,EACrB,MAAM,EAAE,0BAA0B,SAMnC;AAED,eAAO,MAAM,oBAAoB,gBAAiB,kBAAkB;;;CAGlE,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export const GET_DESCRIPTION: string;
|
2
2
|
export const INITIAL_STATE: "Topology type not yet discovered.";
|
3
3
|
export default reducer;
|
4
|
-
export function getDescription(description: string):
|
4
|
+
export function getDescription(description: string): import('redux').AnyAction;
|
5
5
|
declare function reducer(state: boolean | undefined, action: string): any;
|
6
6
|
//# sourceMappingURL=description.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../src/modules/description.js"],"names":[],"mappings":"AAQA,qCAAuE;AAKvE,gEAAiE;;AAuB1D,qDAFM,
|
1
|
+
{"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../src/modules/description.js"],"names":[],"mappings":"AAQA,qCAAuE;AAKvE,gEAAiE;;AAuB1D,qDAFM,OAAO,OAAO,EAAE,SAAS,CAKpC;AAlBF,0EAKC"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { AnyAction } from 'redux';
|
2
|
+
export declare enum ActionTypes {
|
3
|
+
HandleError = "indexes/create-index/HandleError",
|
4
|
+
ClearError = "indexes/create-index/ClearError"
|
5
|
+
}
|
6
|
+
type HandleErrorAction = {
|
7
|
+
type: ActionTypes.HandleError;
|
8
|
+
error: string;
|
9
|
+
};
|
10
|
+
type ClearErrorAction = {
|
11
|
+
type: ActionTypes.ClearError;
|
12
|
+
};
|
13
|
+
type State = string | null;
|
14
|
+
export declare const INITIAL_STATE: State;
|
15
|
+
export default function reducer(state: State | undefined, action: AnyAction): State;
|
16
|
+
export declare const handleError: (error: string) => HandleErrorAction;
|
17
|
+
export declare const clearError: () => ClearErrorAction;
|
18
|
+
export {};
|
19
|
+
//# sourceMappingURL=error.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../src/modules/drop-index/error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,oBAAY,WAAW;IACrB,WAAW,qCAAqC;IAChD,UAAU,oCAAoC;CAC/C;AAED,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC;CAC9B,CAAC;AAEF,KAAK,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;AAE3B,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,MAAM,KAAG,iBAG1C,CAAC;AAEH,eAAO,MAAM,UAAU,QAAO,gBAE5B,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { AnyAction, Dispatch } from 'redux';
|
2
2
|
declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
3
|
-
dataService: import("
|
3
|
+
dataService: import("../../stores/store").IndexesDataService | null;
|
4
4
|
appRegistry: unknown;
|
5
5
|
isVisible: any;
|
6
6
|
inProgress: any;
|
@@ -11,7 +11,7 @@ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
|
11
11
|
}>, import("redux").Action<any>>;
|
12
12
|
export type RootState = ReturnType<typeof reducer>;
|
13
13
|
declare const rootReducer: (state: RootState, action: AnyAction) => import("redux").CombinedState<{
|
14
|
-
dataService: import("
|
14
|
+
dataService: import("../../stores/store").IndexesDataService | null;
|
15
15
|
appRegistry: unknown;
|
16
16
|
isVisible: any;
|
17
17
|
inProgress: any;
|
@@ -1,21 +1,18 @@
|
|
1
|
-
import type { AnyAction } from 'redux';
|
1
|
+
import type { Action, AnyAction } from 'redux';
|
2
|
+
import type { ThunkAction, ThunkDispatch } from 'redux-thunk';
|
2
3
|
declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
3
|
-
indexes: import("./indexes").IndexDefinition[];
|
4
4
|
isWritable: boolean;
|
5
|
-
isReadonly: boolean;
|
6
5
|
isReadonlyView: boolean;
|
7
6
|
description: any;
|
8
7
|
appRegistry: unknown;
|
9
|
-
dataService: import("
|
10
|
-
sortOrder: import("./indexes").SortDirection;
|
11
|
-
sortColumn: "Name and Definition" | "Type" | "Size" | "Usage" | "Properties";
|
12
|
-
error: string | null;
|
8
|
+
dataService: import("../stores/store").IndexesDataService | null;
|
13
9
|
serverVersion: string;
|
14
10
|
namespace: string;
|
15
|
-
|
16
|
-
|
17
|
-
}>,
|
11
|
+
regularIndexes: import("./regular-indexes").State;
|
12
|
+
searchIndexes: import("./search-indexes").State;
|
13
|
+
}>, Action<any>>;
|
18
14
|
export type RootState = ReturnType<typeof reducer>;
|
19
|
-
|
20
|
-
export
|
15
|
+
export type IndexesThunkDispatch<A extends AnyAction> = ThunkDispatch<RootState, unknown, A>;
|
16
|
+
export type IndexesThunkAction<R, A extends Action = AnyAction> = ThunkAction<R, RootState, unknown, A>;
|
17
|
+
export default reducer;
|
21
18
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAU/C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE9D,QAAA,MAAM,OAAO;;;;;;;;;;gBAUX,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AACnD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,SAAS,IAAI,aAAa,CACnE,SAAS,EACT,OAAO,EACP,CAAC,CACF,CAAC;AACF,MAAM,MAAM,kBAAkB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,SAAS,IAAI,WAAW,CAC3E,CAAC,EACD,SAAS,EACT,OAAO,EACP,CAAC,CACF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export default function reducer(state: boolean | undefined, action: any): boolean;
|
2
2
|
export const READONLY_VIEW_CHANGED: "indexes/is-readonly-view/READONLY_VIEW_CHANGED";
|
3
3
|
export const INITIAL_STATE: false;
|
4
|
-
export function readonlyViewChanged(isReadonlyView: boolean):
|
4
|
+
export function readonlyViewChanged(isReadonlyView: boolean): import('redux').AnyAction;
|
5
5
|
//# sourceMappingURL=is-readonly-view.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"is-readonly-view.d.ts","sourceRoot":"","sources":["../../../src/modules/is-readonly-view.js"],"names":[],"mappings":"AAkBA,kFAKC;AApBD,qFACmD;AAKnD,kCAAmC;AAuB5B,8DAFM,
|
1
|
+
{"version":3,"file":"is-readonly-view.d.ts","sourceRoot":"","sources":["../../../src/modules/is-readonly-view.js"],"names":[],"mappings":"AAkBA,kFAKC;AApBD,qFACmD;AAKnD,kCAAmC;AAuB5B,8DAFM,OAAO,OAAO,EAAE,SAAS,CAKpC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export const WRITE_STATE_CHANGED: string;
|
2
2
|
export const INITIAL_STATE: true;
|
3
3
|
export default reducer;
|
4
|
-
export function writeStateChanged(isWritable: boolean):
|
4
|
+
export function writeStateChanged(isWritable: boolean): import('redux').AnyAction;
|
5
5
|
declare function reducer(state: boolean | undefined, action: Object): boolean;
|
6
6
|
//# sourceMappingURL=is-writable.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"is-writable.d.ts","sourceRoot":"","sources":["../../../src/modules/is-writable.js"],"names":[],"mappings":"AAQA,yCAA+E;AAK/E,iCAAkC;;AAyB3B,wDAFM,
|
1
|
+
{"version":3,"file":"is-writable.d.ts","sourceRoot":"","sources":["../../../src/modules/is-writable.js"],"names":[],"mappings":"AAQA,yCAA+E;AAK/E,iCAAkC;;AAyB3B,wDAFM,OAAO,OAAO,EAAE,SAAS,CAKpC;AAlBF,6DAJW,MAAM,WAShB"}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import type { IndexDefinition as _IndexDefinition } from 'mongodb-data-service';
|
2
|
+
import type { AnyAction } from 'redux';
|
3
|
+
import type { CreateIndexSpec } from './create-index';
|
4
|
+
import type { IndexesThunkAction } from '.';
|
5
|
+
export type SortColumn = keyof typeof sortColumnToProps;
|
6
|
+
export type SortDirection = 'asc' | 'desc';
|
7
|
+
declare const sortColumnToProps: {
|
8
|
+
readonly 'Name and Definition': "name";
|
9
|
+
readonly Type: "type";
|
10
|
+
readonly Size: "size";
|
11
|
+
readonly Usage: "usageCount";
|
12
|
+
readonly Properties: "properties";
|
13
|
+
};
|
14
|
+
export type IndexDefinition = Omit<_IndexDefinition, 'type' | 'cardinality' | 'properties' | 'version'> & Partial<_IndexDefinition>;
|
15
|
+
export type InProgressIndex = {
|
16
|
+
id: string;
|
17
|
+
key: CreateIndexSpec;
|
18
|
+
fields: {
|
19
|
+
field: string;
|
20
|
+
value: string | number;
|
21
|
+
}[];
|
22
|
+
name: string;
|
23
|
+
ns: string;
|
24
|
+
size: number;
|
25
|
+
relativeSize: number;
|
26
|
+
usageCount: number;
|
27
|
+
extra: {
|
28
|
+
status: 'inprogress' | 'failed';
|
29
|
+
error?: string;
|
30
|
+
};
|
31
|
+
};
|
32
|
+
export declare enum ActionTypes {
|
33
|
+
IndexesAdded = "indexes/regular-indexes/IndexesAdded",
|
34
|
+
IndexesSorted = "indexes/regular-indexes/IndexesSorted",
|
35
|
+
SetIsRefreshing = "indexes/regular-indexes/SetIsRefreshing",
|
36
|
+
SetError = "indexes/regular-indexes/SetError",
|
37
|
+
InProgressIndexAdded = "indexes/regular-indexes/InProgressIndexAdded",
|
38
|
+
InProgressIndexRemoved = "indexes/regular-indexes/InProgressIndexRemoved",
|
39
|
+
InProgressIndexFailed = "indexes/regular-indexes/InProgressIndexFailed"
|
40
|
+
}
|
41
|
+
type IndexesAddedAction = {
|
42
|
+
type: ActionTypes.IndexesAdded;
|
43
|
+
indexes: IndexDefinition[];
|
44
|
+
};
|
45
|
+
type IndexesSortedAction = {
|
46
|
+
type: ActionTypes.IndexesSorted;
|
47
|
+
indexes: IndexDefinition[];
|
48
|
+
sortOrder: SortDirection;
|
49
|
+
sortColumn: SortColumn;
|
50
|
+
};
|
51
|
+
type SetIsRefreshingAction = {
|
52
|
+
type: ActionTypes.SetIsRefreshing;
|
53
|
+
isRefreshing: boolean;
|
54
|
+
};
|
55
|
+
type SetErrorAction = {
|
56
|
+
type: ActionTypes.SetError;
|
57
|
+
error: string | null;
|
58
|
+
};
|
59
|
+
type InProgressIndexAddedAction = {
|
60
|
+
type: ActionTypes.InProgressIndexAdded;
|
61
|
+
index: InProgressIndex;
|
62
|
+
};
|
63
|
+
type InProgressIndexRemovedAction = {
|
64
|
+
type: ActionTypes.InProgressIndexRemoved;
|
65
|
+
id: string;
|
66
|
+
};
|
67
|
+
type InProgressIndexFailedAction = {
|
68
|
+
type: ActionTypes.InProgressIndexFailed;
|
69
|
+
id: string;
|
70
|
+
error: string;
|
71
|
+
};
|
72
|
+
type RegularIndexesActions = IndexesAddedAction | IndexesSortedAction | SetIsRefreshingAction | SetErrorAction | InProgressIndexAddedAction | InProgressIndexRemovedAction | InProgressIndexFailedAction;
|
73
|
+
export type State = {
|
74
|
+
indexes: IndexDefinition[];
|
75
|
+
sortOrder: SortDirection;
|
76
|
+
sortColumn: SortColumn;
|
77
|
+
isRefreshing: boolean;
|
78
|
+
inProgressIndexes: InProgressIndex[];
|
79
|
+
error: string | null;
|
80
|
+
};
|
81
|
+
export declare const INITIAL_STATE: State;
|
82
|
+
export default function reducer(state: State | undefined, action: AnyAction): State;
|
83
|
+
export declare const setIndexes: (indexes: IndexDefinition[]) => IndexesAddedAction;
|
84
|
+
export declare const setError: (error: string | null) => SetErrorAction;
|
85
|
+
export declare const fetchIndexes: () => IndexesThunkAction<Promise<void>, RegularIndexesActions>;
|
86
|
+
export declare const sortIndexes: (column: SortColumn, order: SortDirection) => IndexesThunkAction<void, IndexesSortedAction>;
|
87
|
+
export declare const refreshIndexes: () => IndexesThunkAction<void>;
|
88
|
+
export declare const inProgressIndexAdded: (inProgressIndex: InProgressIndex) => InProgressIndexAddedAction;
|
89
|
+
export declare const inProgressIndexRemoved: (inProgressIndexId: string) => InProgressIndexRemovedAction;
|
90
|
+
export declare const inProgressIndexFailed: ({ inProgressIndexId, error, }: {
|
91
|
+
inProgressIndexId: string;
|
92
|
+
error: string;
|
93
|
+
}) => InProgressIndexFailedAction;
|
94
|
+
export declare const dropFailedIndex: (id: string) => IndexesThunkAction<void>;
|
95
|
+
export declare const hideIndex: (indexName: string) => IndexesThunkAction<Promise<void>>;
|
96
|
+
export declare const unhideIndex: (indexName: string) => IndexesThunkAction<Promise<void>>;
|
97
|
+
export {};
|
98
|
+
//# sourceMappingURL=regular-indexes.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"regular-indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/regular-indexes.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import type { AnyAction } from 'redux';
|
2
|
+
export declare enum SearchIndexesStatuses {
|
3
|
+
NOT_AVAILABLE = "NOT_AVAILABLE",
|
4
|
+
PENDING = "PENDING",
|
5
|
+
READY = "READY",
|
6
|
+
REFRESHING = "REFRESHING"
|
7
|
+
}
|
8
|
+
type SearchIndexesStatus = keyof typeof SearchIndexesStatuses;
|
9
|
+
export declare enum ActionTypes {
|
10
|
+
SetStatus = "indexes/regular-indexes/SetStatus"
|
11
|
+
}
|
12
|
+
type SetStatusAction = {
|
13
|
+
type: ActionTypes.SetStatus;
|
14
|
+
status: SearchIndexesStatus;
|
15
|
+
};
|
16
|
+
export type State = {
|
17
|
+
status: SearchIndexesStatus;
|
18
|
+
};
|
19
|
+
export declare const INITIAL_STATE: State;
|
20
|
+
export default function reducer(state: State | undefined, action: AnyAction): State;
|
21
|
+
export declare const setStatus: (status: SearchIndexesStatus) => SetStatusAction;
|
22
|
+
export {};
|
23
|
+
//# sourceMappingURL=search-indexes.d.ts.map
|
@@ -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"}
|