@mongodb-js/compass-indexes 5.12.0 → 5.14.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 +10 -25
- 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 +32 -5
- 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 +3 -3
- package/dist/src/components/regular-indexes-table/index-actions.d.ts.map +1 -0
- package/dist/src/components/regular-indexes-table/property-field.d.ts +11 -0
- 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 +29 -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/regular-indexes-table/type-field.d.ts +13 -0
- 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/components/search-indexes-modals/create-search-index-modal.d.ts +17 -0
- package/dist/src/components/search-indexes-modals/create-search-index-modal.d.ts.map +1 -0
- package/dist/src/components/search-indexes-modals/index.d.ts +2 -0
- package/dist/src/components/search-indexes-modals/index.d.ts.map +1 -0
- package/dist/src/components/search-indexes-table/search-index-actions.d.ts +9 -0
- package/dist/src/components/search-indexes-table/search-index-actions.d.ts.map +1 -0
- package/dist/src/components/search-indexes-table/search-indexes-table.d.ts +27 -0
- package/dist/src/components/search-indexes-table/search-indexes-table.d.ts.map +1 -0
- package/dist/src/components/search-indexes-table/zero-graphic.d.ts +4 -0
- package/dist/src/components/search-indexes-table/zero-graphic.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 +10 -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 +96 -0
- package/dist/src/modules/regular-indexes.d.ts.map +1 -0
- package/dist/src/modules/search-indexes.d.ts +97 -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 -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 +0 -11
- 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 +0 -13
- 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,31 +1,16 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type
|
3
|
-
import type {
|
2
|
+
import type { State as RegularIndexesState } from '../../modules/regular-indexes';
|
3
|
+
import type { State as SearchIndexesState } from '../../modules/search-indexes';
|
4
4
|
type IndexesProps = {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
localAppRegistry: AppRegistry;
|
12
|
-
isRefreshing: boolean;
|
13
|
-
serverVersion: string;
|
14
|
-
sortIndexes: (name: SortColumn, direction: SortDirection) => void;
|
15
|
-
refreshIndexes: () => void;
|
16
|
-
dropFailedIndex: (id: string) => void;
|
17
|
-
onHideIndex: (name: string) => void;
|
18
|
-
onUnhideIndex: (name: string) => void;
|
19
|
-
readOnly?: boolean;
|
5
|
+
isReadonlyView?: boolean;
|
6
|
+
regularIndexes: Pick<RegularIndexesState, 'indexes' | 'error' | 'isRefreshing'>;
|
7
|
+
searchIndexes: Pick<SearchIndexesState, 'indexes' | 'error' | 'status'>;
|
8
|
+
refreshRegularIndexes: () => void;
|
9
|
+
refreshSearchIndexes: () => void;
|
10
|
+
onClickCreateAtlasSearchIndex: () => void;
|
20
11
|
};
|
21
|
-
export declare
|
22
|
-
declare const _default: import("react-redux").ConnectedComponent<
|
23
|
-
children?: React.ReactNode;
|
24
|
-
}, "readOnly"> & Partial<Pick<IndexesProps & {
|
25
|
-
children?: React.ReactNode;
|
26
|
-
}, "readOnly">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>, {
|
27
|
-
children?: React.ReactNode;
|
28
|
-
readOnly?: boolean | undefined;
|
12
|
+
export declare function Indexes({ isReadonlyView, regularIndexes, searchIndexes, refreshRegularIndexes, refreshSearchIndexes, onClickCreateAtlasSearchIndex, }: IndexesProps): JSX.Element;
|
13
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof Indexes, {
|
29
14
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
30
15
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
31
16
|
}>;
|
@@ -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,KAA2C,MAAM,OAAO,CAAC;AAahE,OAAO,KAAK,EAAE,KAAK,IAAI,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EAAE,KAAK,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAkBhF,KAAK,YAAY,GAAG;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,IAAI,CAClB,mBAAmB,EACnB,SAAS,GAAG,OAAO,GAAG,cAAc,CACrC,CAAC;IACF,aAAa,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC,CAAC;IACxE,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,6BAA6B,EAAE,MAAM,IAAI,CAAC;CAC3C,CAAC;AASF,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,6BAA6B,GAC9B,EAAE,YAAY,eA8Dd;;;;;AAkBD,wBAAuD"}
|
@@ -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
|
-
import type {
|
3
|
-
type
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
2
|
+
import type { SortDirection } from '../../modules';
|
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,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AA2DnD,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,44 @@
|
|
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
|
-
|
6
|
+
hasTooManyIndexes: boolean;
|
7
|
+
isRefreshing: boolean;
|
8
|
+
onRefreshIndexes: () => void;
|
9
|
+
onChangeIndexView: (newView: IndexView) => void;
|
10
|
+
onClickCreateAtlasSearchIndex: () => void;
|
6
11
|
isReadonlyView: boolean;
|
7
12
|
isWritable: boolean;
|
8
|
-
hasTooManyIndexes: boolean;
|
9
13
|
localAppRegistry: AppRegistry;
|
10
|
-
isRefreshing: boolean;
|
11
14
|
writeStateDescription?: string;
|
12
|
-
|
15
|
+
isAtlasSearchSupported: boolean;
|
13
16
|
readOnly?: boolean;
|
14
17
|
};
|
15
18
|
export declare const IndexesToolbar: React.FunctionComponent<IndexesToolbarProps>;
|
16
|
-
|
19
|
+
type CreateIndexButtonProps = {
|
20
|
+
isSearchManagementActive: boolean;
|
21
|
+
isAtlasSearchSupported: boolean;
|
22
|
+
isWritable: boolean;
|
23
|
+
onClickCreateIndex: () => void;
|
24
|
+
onClickCreateAtlasSearchIndex: () => void;
|
25
|
+
};
|
26
|
+
export declare const CreateIndexButton: React.FunctionComponent<CreateIndexButtonProps>;
|
27
|
+
declare const _default: import("react-redux").ConnectedComponent<(props: Omit<IndexesToolbarProps & {
|
28
|
+
children?: React.ReactNode;
|
29
|
+
}, "readOnly"> & Partial<Pick<IndexesToolbarProps & {
|
30
|
+
children?: React.ReactNode;
|
31
|
+
}, "readOnly">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>, {
|
32
|
+
children?: React.ReactNode;
|
33
|
+
errorMessage: string | null;
|
34
|
+
readOnly?: boolean | undefined;
|
35
|
+
isRefreshing: boolean;
|
36
|
+
hasTooManyIndexes: boolean;
|
37
|
+
onRefreshIndexes: () => void;
|
38
|
+
onChangeIndexView: (newView: IndexView) => void;
|
39
|
+
onClickCreateAtlasSearchIndex: () => void;
|
40
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
41
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
42
|
+
}>;
|
43
|
+
export default _default;
|
17
44
|
//# 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;AAE3C,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AA+CnD,MAAM,MAAM,SAAS,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;AAE7D,KAAK,mBAAmB,GAAG;IAEzB,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;IAChD,6BAA6B,EAAE,MAAM,IAAI,CAAC;IAE1C,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,WAAW,CAAC;IAC9B,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,CAuJvE,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;;;;;;;;;;;;;;;;;AAqBF,wBAGwD"}
|
@@ -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"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type {
|
2
|
+
import type { RegularIndex } from '../../modules/regular-indexes';
|
3
3
|
type IndexActionsProps = {
|
4
|
-
index:
|
4
|
+
index: RegularIndex;
|
5
5
|
serverVersion: string;
|
6
|
-
onDeleteIndex: (index:
|
6
|
+
onDeleteIndex: (index: RegularIndex) => void;
|
7
7
|
onHideIndex: (name: string) => void;
|
8
8
|
onUnhideIndex: (name: string) => void;
|
9
9
|
};
|
@@ -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,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,YAAY,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,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"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { RegularIndex } from '../../modules/regular-indexes';
|
3
|
+
export declare const getPropertyTooltip: (property: string | undefined, extra: RegularIndex['extra']) => string | null;
|
4
|
+
type PropertyFieldProps = {
|
5
|
+
extra: RegularIndex['extra'];
|
6
|
+
properties: RegularIndex['properties'];
|
7
|
+
cardinality: RegularIndex['cardinality'];
|
8
|
+
};
|
9
|
+
declare const PropertyField: React.FunctionComponent<PropertyFieldProps>;
|
10
|
+
export default PropertyField;
|
11
|
+
//# sourceMappingURL=property-field.d.ts.map
|
@@ -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,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAkBlE,eAAO,MAAM,kBAAkB,aACnB,MAAM,GAAG,SAAS,SACrB,YAAY,CAAC,OAAO,CAAC,KAC3B,MAAM,GAAG,IAMX,CAAC;AA2CF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IAC7B,UAAU,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;IACvC,WAAW,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;CAC1C,CAAC;AAIF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CA0C9D,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type AppRegistry from 'hadron-app-registry';
|
3
|
+
import { type RegularIndex, type RegularSortColumn } from '../../modules/regular-indexes';
|
4
|
+
import type { SortDirection } from '../../modules';
|
5
|
+
type RegularIndexesTableProps = {
|
6
|
+
indexes: RegularIndex[];
|
7
|
+
serverVersion: string;
|
8
|
+
isWritable?: boolean;
|
9
|
+
dropFailedIndex: (name: string) => void;
|
10
|
+
onHideIndex: (name: string) => void;
|
11
|
+
onUnhideIndex: (name: string) => void;
|
12
|
+
onSortTable: (column: RegularSortColumn, direction: SortDirection) => void;
|
13
|
+
localAppRegistry: AppRegistry;
|
14
|
+
readOnly?: boolean;
|
15
|
+
error?: string | null;
|
16
|
+
};
|
17
|
+
export declare const RegularIndexesTable: React.FunctionComponent<RegularIndexesTableProps>;
|
18
|
+
declare const _default: import("react-redux").ConnectedComponent<(props: Omit<RegularIndexesTableProps & {
|
19
|
+
children?: React.ReactNode;
|
20
|
+
}, "readOnly"> & Partial<Pick<RegularIndexesTableProps & {
|
21
|
+
children?: React.ReactNode;
|
22
|
+
}, "readOnly">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>, {
|
23
|
+
children?: React.ReactNode;
|
24
|
+
readOnly?: boolean | undefined;
|
25
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
26
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
27
|
+
}>;
|
28
|
+
export default _default;
|
29
|
+
//# 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;AAE1B,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAqBnD,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACvB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,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,iBAAiB,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3E,gBAAgB,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,iBAAiB,CACvD,wBAAwB,CAoGzB,CAAC;;;;;;;;;;;AAsBF,wBAG6D"}
|
@@ -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"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { RegularIndex } from '../../modules/regular-indexes';
|
3
|
+
export declare const canRenderTooltip: (type: RegularIndex['type']) => boolean;
|
4
|
+
type TypeFieldProps = {
|
5
|
+
type: RegularIndex['type'];
|
6
|
+
extra: RegularIndex['extra'];
|
7
|
+
};
|
8
|
+
export declare const IndexTypeTooltip: React.FunctionComponent<{
|
9
|
+
extra: RegularIndex['extra'];
|
10
|
+
}>;
|
11
|
+
declare const TypeField: React.FunctionComponent<TypeFieldProps>;
|
12
|
+
export default TypeField;
|
13
|
+
//# sourceMappingURL=type-field.d.ts.map
|
@@ -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,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAGlE,eAAO,MAAM,gBAAgB,SAAU,YAAY,CAAC,MAAM,CAAC,YAE1D,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC3B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACrD,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;CAC9B,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,17 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { Document } from 'mongodb';
|
3
|
+
export declare const DEFAULT_INDEX_DEFINITION = "{\n \"mappings\": {\n \"dynamic\": true\n }\n}";
|
4
|
+
type CreateSearchIndexModalProps = {
|
5
|
+
isModalOpen: boolean;
|
6
|
+
isBusy: boolean;
|
7
|
+
error?: string;
|
8
|
+
saveIndex: (indexName: string, indexDefinition: Document) => void;
|
9
|
+
closeModal: () => void;
|
10
|
+
};
|
11
|
+
export declare const CreateSearchIndexModal: React.FunctionComponent<CreateSearchIndexModalProps>;
|
12
|
+
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<CreateSearchIndexModalProps>, {
|
13
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
14
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
15
|
+
}>;
|
16
|
+
export default _default;
|
17
|
+
//# sourceMappingURL=create-search-index-modal.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"create-search-index-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-modals/create-search-index-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAwBrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAaxC,eAAO,MAAM,wBAAwB,wDAInC,CAAC;AAiBH,KAAK,2BAA2B,GAAG;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,KAAK,IAAI,CAAC;IAClE,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,iBAAiB,CAC1D,2BAA2B,CAmH5B,CAAC;;;;;AAaF,wBAAsE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-modals/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,6BAA6B,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { SearchIndex } from 'mongodb-data-service';
|
3
|
+
type IndexActionsProps = {
|
4
|
+
index: SearchIndex;
|
5
|
+
onDropIndex: (name: string) => void;
|
6
|
+
};
|
7
|
+
declare const IndexActions: React.FunctionComponent<IndexActionsProps>;
|
8
|
+
export default IndexActions;
|
9
|
+
//# sourceMappingURL=search-index-actions.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"search-index-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-table/search-index-actions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,WAAW,CAAC;IACnB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC,CAAC;AAIF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAgC5D,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { SearchIndex } from 'mongodb-data-service';
|
3
|
+
import type { SearchSortColumn } from '../../modules/search-indexes';
|
4
|
+
import type { SearchIndexesStatus } from '../../modules/search-indexes';
|
5
|
+
import type { SortDirection } from '../../modules';
|
6
|
+
type SearchIndexesTableProps = {
|
7
|
+
indexes: SearchIndex[];
|
8
|
+
isWritable?: boolean;
|
9
|
+
readOnly?: boolean;
|
10
|
+
onSortTable: (column: SearchSortColumn, direction: SortDirection) => void;
|
11
|
+
onDropIndex: (name: string) => void;
|
12
|
+
openCreateModal: () => void;
|
13
|
+
status: SearchIndexesStatus;
|
14
|
+
};
|
15
|
+
export declare const SearchIndexesTable: React.FunctionComponent<SearchIndexesTableProps>;
|
16
|
+
declare const _default: import("react-redux").ConnectedComponent<(props: Omit<SearchIndexesTableProps & {
|
17
|
+
children?: React.ReactNode;
|
18
|
+
}, "readOnly"> & Partial<Pick<SearchIndexesTableProps & {
|
19
|
+
children?: React.ReactNode;
|
20
|
+
}, "readOnly">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>, {
|
21
|
+
children?: React.ReactNode;
|
22
|
+
readOnly?: boolean | undefined;
|
23
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
24
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
25
|
+
}>;
|
26
|
+
export default _default;
|
27
|
+
//# sourceMappingURL=search-indexes-table.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"search-indexes-table.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-table/search-indexes-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AAa3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAMrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,aAAa,EAAa,MAAM,eAAe,CAAC;AAM9D,KAAK,uBAAuB,GAAG;IAC7B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1E,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAgHF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CACtD,uBAAuB,CAgExB,CAAC;;;;;;;;;;;AAcF,wBAG4D"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"zero-graphic.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-table/zero-graphic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,iBA8BxB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,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,19 @@
|
|
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>>;
|
14
|
+
export type SortDirection = 'asc' | 'desc';
|
18
15
|
export type RootState = ReturnType<typeof reducer>;
|
19
|
-
|
20
|
-
export
|
16
|
+
export type IndexesThunkDispatch<A extends AnyAction> = ThunkDispatch<RootState, unknown, A>;
|
17
|
+
export type IndexesThunkAction<R, A extends Action = AnyAction> = ThunkAction<R, RootState, unknown, A>;
|
18
|
+
export default reducer;
|
21
19
|
//# sourceMappingURL=index.d.ts.map
|