@mongodb-js/compass-indexes 5.3.0 → 5.4.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.
Files changed (151) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/src/components/create-index-actions/create-index-actions.d.ts +10 -0
  4. package/dist/src/components/create-index-actions/create-index-actions.d.ts.map +1 -0
  5. package/dist/src/components/create-index-actions/index.d.ts +3 -0
  6. package/dist/src/components/create-index-actions/index.d.ts.map +1 -0
  7. package/dist/src/components/create-index-fields.d.ts +17 -0
  8. package/dist/src/components/create-index-fields.d.ts.map +1 -0
  9. package/dist/src/components/create-index-form/columnstore-projection.d.ts +10 -0
  10. package/dist/src/components/create-index-form/columnstore-projection.d.ts.map +1 -0
  11. package/dist/src/components/create-index-form/create-index-form.d.ts +47 -0
  12. package/dist/src/components/create-index-form/create-index-form.d.ts.map +1 -0
  13. package/dist/src/components/create-index-form/custom-collation.d.ts +10 -0
  14. package/dist/src/components/create-index-form/custom-collation.d.ts.map +1 -0
  15. package/dist/src/components/create-index-form/index-name.d.ts +10 -0
  16. package/dist/src/components/create-index-form/index-name.d.ts.map +1 -0
  17. package/dist/src/components/create-index-form/partial-filter-expression.d.ts +10 -0
  18. package/dist/src/components/create-index-form/partial-filter-expression.d.ts.map +1 -0
  19. package/dist/src/components/create-index-form/sparse-index.d.ts +8 -0
  20. package/dist/src/components/create-index-form/sparse-index.d.ts.map +1 -0
  21. package/dist/src/components/create-index-form/ttl.d.ts +10 -0
  22. package/dist/src/components/create-index-form/ttl.d.ts.map +1 -0
  23. package/dist/src/components/create-index-form/unique-index.d.ts +8 -0
  24. package/dist/src/components/create-index-form/unique-index.d.ts.map +1 -0
  25. package/dist/src/components/create-index-form/wildcard-projection.d.ts +10 -0
  26. package/dist/src/components/create-index-form/wildcard-projection.d.ts.map +1 -0
  27. package/dist/src/components/create-index-modal/create-index-modal.d.ts +63 -0
  28. package/dist/src/components/create-index-modal/create-index-modal.d.ts.map +1 -0
  29. package/dist/src/components/create-index-modal/index.d.ts +3 -0
  30. package/dist/src/components/create-index-modal/index.d.ts.map +1 -0
  31. package/dist/src/components/drop-index-modal/index.d.ts +18 -0
  32. package/dist/src/components/drop-index-modal/index.d.ts.map +1 -0
  33. package/dist/src/components/indexes/indexes.d.ts +29 -0
  34. package/dist/src/components/indexes/indexes.d.ts.map +1 -0
  35. package/dist/src/components/indexes-table/badge-with-icon-link.d.ts +8 -0
  36. package/dist/src/components/indexes-table/badge-with-icon-link.d.ts.map +1 -0
  37. package/dist/src/components/indexes-table/index-actions.d.ts +9 -0
  38. package/dist/src/components/indexes-table/index-actions.d.ts.map +1 -0
  39. package/dist/src/components/indexes-table/indexes-table.d.ts +12 -0
  40. package/dist/src/components/indexes-table/indexes-table.d.ts.map +1 -0
  41. package/dist/src/components/indexes-table/name-field.d.ts +9 -0
  42. package/dist/src/components/indexes-table/name-field.d.ts.map +1 -0
  43. package/dist/src/components/indexes-table/property-field.d.ts +12 -0
  44. package/dist/src/components/indexes-table/property-field.d.ts.map +1 -0
  45. package/dist/src/components/indexes-table/size-field.d.ts +10 -0
  46. package/dist/src/components/indexes-table/size-field.d.ts.map +1 -0
  47. package/dist/src/components/indexes-table/type-field.d.ts +13 -0
  48. package/dist/src/components/indexes-table/type-field.d.ts.map +1 -0
  49. package/dist/src/components/indexes-table/usage-field.d.ts +9 -0
  50. package/dist/src/components/indexes-table/usage-field.d.ts.map +1 -0
  51. package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts +16 -0
  52. package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts.map +1 -0
  53. package/dist/src/create-index-plugin.d.ts +14 -0
  54. package/dist/src/create-index-plugin.d.ts.map +1 -0
  55. package/dist/src/drop-index-plugin.d.ts +14 -0
  56. package/dist/src/drop-index-plugin.d.ts.map +1 -0
  57. package/dist/src/index.d.ts +9 -0
  58. package/dist/src/index.d.ts.map +1 -0
  59. package/dist/src/modules/create-index/collation-string.d.ts +6 -0
  60. package/dist/src/modules/create-index/collation-string.d.ts.map +1 -0
  61. package/dist/src/modules/create-index/columnstore-projection.d.ts +6 -0
  62. package/dist/src/modules/create-index/columnstore-projection.d.ts.map +1 -0
  63. package/dist/src/modules/create-index/fields.d.ts +36 -0
  64. package/dist/src/modules/create-index/fields.d.ts.map +1 -0
  65. package/dist/src/modules/create-index/index.d.ts +37 -0
  66. package/dist/src/modules/create-index/index.d.ts.map +1 -0
  67. package/dist/src/modules/create-index/is-sparse.d.ts +13 -0
  68. package/dist/src/modules/create-index/is-sparse.d.ts.map +1 -0
  69. package/dist/src/modules/create-index/is-unique.d.ts +9 -0
  70. package/dist/src/modules/create-index/is-unique.d.ts.map +1 -0
  71. package/dist/src/modules/create-index/name.d.ts +9 -0
  72. package/dist/src/modules/create-index/name.d.ts.map +1 -0
  73. package/dist/src/modules/create-index/new-index-field.d.ts +15 -0
  74. package/dist/src/modules/create-index/new-index-field.d.ts.map +1 -0
  75. package/dist/src/modules/create-index/partial-filter-expression.d.ts +9 -0
  76. package/dist/src/modules/create-index/partial-filter-expression.d.ts.map +1 -0
  77. package/dist/src/modules/create-index/schema-fields.d.ts +9 -0
  78. package/dist/src/modules/create-index/schema-fields.d.ts.map +1 -0
  79. package/dist/src/modules/create-index/ttl.d.ts +9 -0
  80. package/dist/src/modules/create-index/ttl.d.ts.map +1 -0
  81. package/dist/src/modules/create-index/use-columnstore-projection.d.ts +9 -0
  82. package/dist/src/modules/create-index/use-columnstore-projection.d.ts.map +1 -0
  83. package/dist/src/modules/create-index/use-custom-collation.d.ts +9 -0
  84. package/dist/src/modules/create-index/use-custom-collation.d.ts.map +1 -0
  85. package/dist/src/modules/create-index/use-index-name.d.ts +9 -0
  86. package/dist/src/modules/create-index/use-index-name.d.ts.map +1 -0
  87. package/dist/src/modules/create-index/use-partial-filter-expression.d.ts +9 -0
  88. package/dist/src/modules/create-index/use-partial-filter-expression.d.ts.map +1 -0
  89. package/dist/src/modules/create-index/use-ttl.d.ts +9 -0
  90. package/dist/src/modules/create-index/use-ttl.d.ts.map +1 -0
  91. package/dist/src/modules/create-index/use-wildcard-projection.d.ts +9 -0
  92. package/dist/src/modules/create-index/use-wildcard-projection.d.ts.map +1 -0
  93. package/dist/src/modules/create-index/wildcard-projection.d.ts +6 -0
  94. package/dist/src/modules/create-index/wildcard-projection.d.ts.map +1 -0
  95. package/dist/src/modules/data-service.d.ts +16 -0
  96. package/dist/src/modules/data-service.d.ts.map +1 -0
  97. package/dist/src/modules/description.d.ts +6 -0
  98. package/dist/src/modules/description.d.ts.map +1 -0
  99. package/dist/src/modules/drop-index/confirm-name.d.ts +9 -0
  100. package/dist/src/modules/drop-index/confirm-name.d.ts.map +1 -0
  101. package/dist/src/modules/drop-index/index.d.ts +25 -0
  102. package/dist/src/modules/drop-index/index.d.ts.map +1 -0
  103. package/dist/src/modules/drop-index/name.d.ts +9 -0
  104. package/dist/src/modules/drop-index/name.d.ts.map +1 -0
  105. package/dist/src/modules/error.d.ts +21 -0
  106. package/dist/src/modules/error.d.ts.map +1 -0
  107. package/dist/src/modules/in-progress-indexes.d.ts +37 -0
  108. package/dist/src/modules/in-progress-indexes.d.ts.map +1 -0
  109. package/dist/src/modules/in-progress.d.ts +9 -0
  110. package/dist/src/modules/in-progress.d.ts.map +1 -0
  111. package/dist/src/modules/index.d.ts +21 -0
  112. package/dist/src/modules/index.d.ts.map +1 -0
  113. package/dist/src/modules/indexes.d.ts +56 -0
  114. package/dist/src/modules/indexes.d.ts.map +1 -0
  115. package/dist/src/modules/is-readonly-view.d.ts +5 -0
  116. package/dist/src/modules/is-readonly-view.d.ts.map +1 -0
  117. package/dist/src/modules/is-readonly.d.ts +3 -0
  118. package/dist/src/modules/is-readonly.d.ts.map +1 -0
  119. package/dist/src/modules/is-refreshing.d.ts +19 -0
  120. package/dist/src/modules/is-refreshing.d.ts.map +1 -0
  121. package/dist/src/modules/is-visible.d.ts +9 -0
  122. package/dist/src/modules/is-visible.d.ts.map +1 -0
  123. package/dist/src/modules/is-writable.d.ts +6 -0
  124. package/dist/src/modules/is-writable.d.ts.map +1 -0
  125. package/dist/src/modules/link.d.ts +2 -0
  126. package/dist/src/modules/link.d.ts.map +1 -0
  127. package/dist/src/modules/namespace.d.ts +5 -0
  128. package/dist/src/modules/namespace.d.ts.map +1 -0
  129. package/dist/src/modules/reset-form.d.ts +5 -0
  130. package/dist/src/modules/reset-form.d.ts.map +1 -0
  131. package/dist/src/modules/server-version.d.ts +11 -0
  132. package/dist/src/modules/server-version.d.ts.map +1 -0
  133. package/dist/src/modules/sort-column.d.ts +6 -0
  134. package/dist/src/modules/sort-column.d.ts.map +1 -0
  135. package/dist/src/modules/sort-order.d.ts +6 -0
  136. package/dist/src/modules/sort-order.d.ts.map +1 -0
  137. package/dist/src/plugin.d.ts +14 -0
  138. package/dist/src/plugin.d.ts.map +1 -0
  139. package/dist/src/stores/create-index.d.ts +4 -0
  140. package/dist/src/stores/create-index.d.ts.map +1 -0
  141. package/dist/src/stores/drop-index.d.ts +4 -0
  142. package/dist/src/stores/drop-index.d.ts.map +1 -0
  143. package/dist/src/stores/index.d.ts +5 -0
  144. package/dist/src/stores/index.d.ts.map +1 -0
  145. package/dist/src/stores/store.d.ts +4 -0
  146. package/dist/src/stores/store.d.ts.map +1 -0
  147. package/dist/src/utils/has-columnstore-indexes-support.d.ts +2 -0
  148. package/dist/src/utils/has-columnstore-indexes-support.d.ts.map +1 -0
  149. package/dist/src/utils/index-link-helper.d.ts +23 -0
  150. package/dist/src/utils/index-link-helper.d.ts.map +1 -0
  151. package/package.json +18 -13
@@ -0,0 +1,36 @@
1
+ import type { AnyAction, Dispatch } from 'redux';
2
+ import type { RootState } from '../create-index';
3
+ export declare const ADD_FIELD = "indexes/create-index/fields/ADD_FIELD";
4
+ export declare const UPDATE_FIELD_TYPE = "indexes/create-index/fields/UPDATE_FIELD_TYPE";
5
+ export declare const REMOVE_FIELD = "indexes/create-index/fields/REMOVE_FIELD";
6
+ export declare const CHANGE_FIELDS = "indexes/create-index/fields/CHANGE_FIELDS";
7
+ export declare type IndexField = {
8
+ name: string;
9
+ type: string;
10
+ };
11
+ export declare const INITIAL_STATE: {
12
+ name: string;
13
+ type: string;
14
+ }[];
15
+ export default function reducer(state: {
16
+ name: string;
17
+ type: string;
18
+ }[] | undefined, action: AnyAction): IndexField[];
19
+ export declare const addField: () => {
20
+ type: string;
21
+ };
22
+ export declare const removeField: (idx: number) => {
23
+ type: string;
24
+ idx: number;
25
+ };
26
+ export declare const updateFieldType: (idx: number, fType: string) => {
27
+ type: string;
28
+ idx: number;
29
+ fType: string;
30
+ };
31
+ export declare const changeFields: (fields: IndexField[]) => {
32
+ type: string;
33
+ fields: IndexField[];
34
+ };
35
+ export declare const updateFieldName: (idx: number, name: string) => (dispatch: Dispatch, getState: () => RootState) => void;
36
+ //# sourceMappingURL=fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAOjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,eAAO,MAAM,SAAS,0CAA0C,CAAC;AACjE,eAAO,MAAM,iBAAiB,kDACmB,CAAC;AAClD,eAAO,MAAM,YAAY,6CAA6C,CAAC;AACvE,eAAO,MAAM,aAAa,8CAA8C,CAAC;AAEzE,oBAAY,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAKxD,eAAO,MAAM,aAAa;;;GAA2B,CAAC;AAUtD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK;;;eAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,UAAU,EAAE,CAsBd;AAED,eAAO,MAAM,QAAQ;;CAEnB,CAAC;AAEH,eAAO,MAAM,WAAW,QAAS,MAAM;;;CAGrC,CAAC;AAEH,eAAO,MAAM,eAAe,QAAS,MAAM,SAAS,MAAM;;;;CAIxD,CAAC;AAEH,eAAO,MAAM,YAAY,WAAY,UAAU,EAAE;;;CAG/C,CAAC;AAEH,eAAO,MAAM,eAAe,QAAS,MAAM,QAAQ,MAAM,gBACrC,QAAQ,YAAY,MAAM,SAAS,SA2BtD,CAAC"}
@@ -0,0 +1,37 @@
1
+ import type { AnyAction, Dispatch } from 'redux';
2
+ import type { IndexField } from '../create-index/fields';
3
+ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
4
+ dataService: import("mongodb-data-service").DataService | null;
5
+ appRegistry: unknown;
6
+ collationString: string;
7
+ fields: IndexField[];
8
+ inProgress: any;
9
+ useCustomCollation: boolean;
10
+ useIndexName: boolean;
11
+ schemaFields: string[];
12
+ newIndexField: string | null;
13
+ isVisible: any;
14
+ error: string | null;
15
+ isUnique: boolean;
16
+ useTtl: boolean;
17
+ useWildcardProjection: boolean;
18
+ useColumnstoreProjection: boolean;
19
+ usePartialFilterExpression: boolean;
20
+ ttl: string;
21
+ wildcardProjection: string;
22
+ columnstoreProjection: string;
23
+ partialFilterExpression: string;
24
+ name: string;
25
+ namespace: string;
26
+ serverVersion: string;
27
+ isSparse: boolean;
28
+ }>, import("redux").Action<any>>;
29
+ export declare type RootState = ReturnType<typeof reducer>;
30
+ export declare type CreateIndexSpec = {
31
+ [key: string]: string | number;
32
+ };
33
+ declare const rootReducer: (state: RootState, action: AnyAction) => RootState;
34
+ export default rootReducer;
35
+ export declare const closeCreateIndexModal: () => (dispatch: Dispatch) => void;
36
+ export declare const createIndex: () => (dispatch: Dispatch, getState: () => RootState) => void;
37
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAkCjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AA+CzD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;gCAyBX,CAAC;AAEH,oBAAY,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAEnD,oBAAY,eAAe,GAAG;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC,CAAC;AAUF,QAAA,MAAM,WAAW,UAAW,SAAS,UAAU,SAAS,KAAG,SA0B1D,CAAC;AAEF,eAAe,WAAW,CAAC;AAE3B,eAAO,MAAM,qBAAqB,mBACd,QAAQ,SAK3B,CAAC;AAyCF,eAAO,MAAM,WAAW,mBACJ,QAAQ,YAAY,MAAM,SAAS,SA4ItD,CAAC"}
@@ -0,0 +1,13 @@
1
+ declare enum ActionTypes {
2
+ ToggleIsSparse = "indexes/create-indexes/is-sparse/ToggleIsSparse"
3
+ }
4
+ declare type ToggleIsSparseAction = {
5
+ type: ActionTypes.ToggleIsSparse;
6
+ isSparse: boolean;
7
+ };
8
+ declare type State = boolean;
9
+ export declare const INITIAL_STATE: State;
10
+ export default function reducer(state: boolean | undefined, action: ToggleIsSparseAction): boolean;
11
+ export declare const toggleIsSparse: (isSparse: boolean) => ToggleIsSparseAction;
12
+ export {};
13
+ //# sourceMappingURL=is-sparse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-sparse.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/is-sparse.ts"],"names":[],"mappings":"AAAA,aAAK,WAAW;IACd,cAAc,oDAAoD;CACnE;AAED,aAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,WAAW,CAAC,cAAc,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,aAAK,KAAK,GAAG,OAAO,CAAC;AAErB,eAAO,MAAM,aAAa,EAAE,KAAa,CAAC;AAE1C,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,qBAAuB,EAC5B,MAAM,EAAE,oBAAoB,GAC3B,OAAO,CAKT;AAED,eAAO,MAAM,cAAc,aAAc,OAAO,KAAG,oBAGjD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const TOGGLE_IS_UNIQUE = "indexes/create-indexes/is-unique/TOGGLE_IS_UNIQUE";
3
+ export declare const INITIAL_STATE = false;
4
+ export default function reducer(state: boolean | undefined, action: AnyAction): boolean;
5
+ export declare const toggleIsUnique: (isUnique: boolean) => {
6
+ type: string;
7
+ isUnique: boolean;
8
+ };
9
+ //# sourceMappingURL=is-unique.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-unique.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/is-unique.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,gBAAgB,sDACwB,CAAC;AAKtD,eAAO,MAAM,aAAa,QAAQ,CAAC;AAUnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,qBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,OAAO,CAKT;AASD,eAAO,MAAM,cAAc,aAAc,OAAO;;;CAG9C,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const NAME_CHANGED = "indexes/create-index/name/NAME_CHANGED";
3
+ export declare const INITIAL_STATE = "";
4
+ export default function reducer(state: string | undefined, action: AnyAction): string;
5
+ export declare const nameChanged: (name: string) => {
6
+ type: string;
7
+ name: string;
8
+ };
9
+ //# sourceMappingURL=name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"name.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,YAAY,2CAA2C,CAAC;AAKrE,eAAO,MAAM,aAAa,KAAK,CAAC;AAUhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,MAAM,CAKR;AASD,eAAO,MAAM,WAAW,SAAU,MAAM;;;CAGtC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const INITIAL_STATE: string | null;
3
+ export declare enum ActionTypes {
4
+ createNewIndexField = "indexes/create-index/name/CREATE_NEW_INDEX_FIELD",
5
+ clearNewIndexField = "indexes/create-index/name/CLEAR_NEW_INDEX_FIELD"
6
+ }
7
+ export default function reducer(state: string | null | undefined, action: AnyAction): string | null;
8
+ export declare const createNewIndexField: (newField: string) => {
9
+ type: ActionTypes;
10
+ newField: string;
11
+ };
12
+ export declare const clearNewIndexField: () => {
13
+ type: ActionTypes;
14
+ };
15
+ //# sourceMappingURL=new-index-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new-index-field.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/new-index-field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,aAAa,EAAE,MAAM,GAAG,IAAW,CAAC;AAEjD,oBAAY,WAAW;IACrB,mBAAmB,qDAAqD;IACxE,kBAAkB,oDAAoD;CACvE;AAUD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,2BAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,MAAM,GAAG,IAAI,CAQf;AASD,eAAO,MAAM,mBAAmB,aAAc,MAAM;;;CAGlD,CAAC;AAOH,eAAO,MAAM,kBAAkB;;CAE7B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const PARTIAL_FILTER_EXPRESSION_CHANGED = "indexes/create-index/partial-filter-expression/PARTIAL_FILTER_EXPRESSION_CHANGED";
3
+ export declare const INITIAL_STATE = "";
4
+ export default function reducer(state: string | undefined, action: AnyAction): string;
5
+ export declare const partialFilterExpressionChanged: (partialFilterExpression: string) => {
6
+ type: string;
7
+ partialFilterExpression: string;
8
+ };
9
+ //# sourceMappingURL=partial-filter-expression.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"partial-filter-expression.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/partial-filter-expression.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,iCAAiC,qFACsC,CAAC;AAKrF,eAAO,MAAM,aAAa,KAAK,CAAC;AAUhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,MAAM,CAKR;AASD,eAAO,MAAM,8BAA8B,4BAChB,MAAM;;;CAI/B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const CHANGE_SCHEMA_FIELDS = "indexes/create-index/schema-fields/CHANGE_SCHEMA_FIELDS";
3
+ export declare const INITIAL_STATE: string[];
4
+ export default function reducer(state: string[] | undefined, action: AnyAction): string[];
5
+ export declare const changeSchemaFields: (schemaFields: string[]) => {
6
+ type: string;
7
+ schemaFields: string[];
8
+ };
9
+ //# sourceMappingURL=schema-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-fields.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/schema-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,oBAAoB,4DAC0B,CAAC;AAK5D,eAAO,MAAM,aAAa,EAAE,MAAM,EAAO,CAAC;AAU1C,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,sBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,MAAM,EAAE,CAKV;AASD,eAAO,MAAM,kBAAkB,iBAAkB,MAAM,EAAE;;;CAGvD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const TTL_CHANGED = "indexes/create-index/ttl/TTL_CHANGED";
3
+ export declare const INITIAL_STATE = "";
4
+ export default function reducer(state: string | undefined, action: AnyAction): string;
5
+ export declare const ttlChanged: (ttl: string) => {
6
+ type: string;
7
+ ttl: string;
8
+ };
9
+ //# sourceMappingURL=ttl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ttl.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/ttl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,WAAW,yCAAyC,CAAC;AAKlE,eAAO,MAAM,aAAa,KAAK,CAAC;AAUhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,MAAM,CAKR;AASD,eAAO,MAAM,UAAU,QAAS,MAAM;;;CAGpC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const TOGGLE_USE_COLUMNSTORE_PROJECTION = "indexes/create-indexes/use-columnstore/TOGGLE_USE_COLUMNSTORE_PROJECTION";
3
+ export declare const INITIAL_STATE = false;
4
+ export default function reducer(state: boolean | undefined, action: AnyAction): boolean;
5
+ export declare const toggleUseColumnstoreProjection: (useColumnstoreProjection: boolean) => {
6
+ type: string;
7
+ useColumnstoreProjection: boolean;
8
+ };
9
+ //# sourceMappingURL=use-columnstore-projection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-columnstore-projection.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/use-columnstore-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,iCAAiC,6EAC8B,CAAC;AAK7E,eAAO,MAAM,aAAa,QAAQ,CAAC;AAUnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,qBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,OAAO,CAKT;AASD,eAAO,MAAM,8BAA8B,6BACf,OAAO;;;CAIjC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const TOGGLE_USE_CUSTOM_COLLATION = "indexes/create-index/use-custom-collation/TOGGLE_USE_CUSTOM_COLLATION";
3
+ export declare const INITIAL_STATE = false;
4
+ export default function reducer(state: boolean | undefined, action: AnyAction): boolean;
5
+ export declare const toggleUseCustomCollation: (useCustomCollation: boolean) => {
6
+ type: string;
7
+ useCustomCollation: boolean;
8
+ };
9
+ //# sourceMappingURL=use-custom-collation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-custom-collation.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/use-custom-collation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,2BAA2B,0EACiC,CAAC;AAK1E,eAAO,MAAM,aAAa,QAAQ,CAAC;AAUnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,qBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,OAAO,CAKT;AASD,eAAO,MAAM,wBAAwB,uBAAwB,OAAO;;;CAGlE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const TOGGLE_USE_INDEX_NAME = "indexes/create-indexes/use-index-name/TOGGLE_USE_INDEX_NAME";
3
+ export declare const INITIAL_STATE = false;
4
+ export default function reducer(state: boolean | undefined, action: AnyAction): boolean;
5
+ export declare const toggleUseIndexName: (useIndexName: boolean) => {
6
+ type: string;
7
+ useIndexName: boolean;
8
+ };
9
+ //# sourceMappingURL=use-index-name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-index-name.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/use-index-name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,qBAAqB,gEAC6B,CAAC;AAKhE,eAAO,MAAM,aAAa,QAAQ,CAAC;AAUnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,qBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,OAAO,CAKT;AASD,eAAO,MAAM,kBAAkB,iBAAkB,OAAO;;;CAGtD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const TOGGLE_USE_PARTIAL_FILTER_EXPRESSION = "indexes/create-indexes/use-partial_filter_expression/TOGGLE_USE_PARTIAL_FILTER_EXPRESSION";
3
+ export declare const INITIAL_STATE = false;
4
+ export default function reducer(state: boolean | undefined, action: AnyAction): boolean;
5
+ export declare const toggleUsePartialFilterExpression: (usePartialFilterExpression: boolean) => {
6
+ type: string;
7
+ usePartialFilterExpression: boolean;
8
+ };
9
+ //# sourceMappingURL=use-partial-filter-expression.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-partial-filter-expression.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/use-partial-filter-expression.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,oCAAoC,8FAC4C,CAAC;AAK9F,eAAO,MAAM,aAAa,QAAQ,CAAC;AAUnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,qBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,OAAO,CAKT;AASD,eAAO,MAAM,gCAAgC,+BACf,OAAO;;;CAInC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const TOGGLE_USE_TTL = "indexes/create-indexes/use-ttl/TOGGLE_USE_TTL";
3
+ export declare const INITIAL_STATE = false;
4
+ export default function reducer(state: boolean | undefined, action: AnyAction): boolean;
5
+ export declare const toggleUseTtl: (useTtl: boolean) => {
6
+ type: string;
7
+ useTtl: boolean;
8
+ };
9
+ //# sourceMappingURL=use-ttl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-ttl.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/use-ttl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,cAAc,kDAAkD,CAAC;AAK9E,eAAO,MAAM,aAAa,QAAQ,CAAC;AAUnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,qBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,OAAO,CAKT;AASD,eAAO,MAAM,YAAY,WAAY,OAAO;;;CAG1C,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const TOGGLE_USE_WILDCARD_PROJECTION = "indexes/create-indexes/use-wildcard-projection/TOGGLE_USE_WILDCARD_PROJECTION";
3
+ export declare const INITIAL_STATE = false;
4
+ export default function reducer(state: boolean | undefined, action: AnyAction): boolean;
5
+ export declare const toggleUseWildcardProjection: (useWildcardProjection: boolean) => {
6
+ type: string;
7
+ useWildcardProjection: boolean;
8
+ };
9
+ //# sourceMappingURL=use-wildcard-projection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-wildcard-projection.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/use-wildcard-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,8BAA8B,kFACsC,CAAC;AAKlF,eAAO,MAAM,aAAa,QAAQ,CAAC;AAUnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,qBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,OAAO,CAKT;AASD,eAAO,MAAM,2BAA2B,0BACf,OAAO;;;CAI9B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const WILDCARD_PROJECTION_CHANGED = "indexes/create-index/wildcard-projection/WILDCARD_PROJECTION_CHANGED";
3
+ export declare const INITIAL_STATE = "";
4
+ export default function reducer(state: string | undefined, action: AnyAction): string;
5
+ export declare const wildcardProjectionChanged: (wildcardProjection: string) => AnyAction;
6
+ //# sourceMappingURL=wildcard-projection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wildcard-projection.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/wildcard-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,2BAA2B,yEACgC,CAAC;AAKzE,eAAO,MAAM,aAAa,KAAK,CAAC;AAUhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,MAAM,CAKR;AASD,eAAO,MAAM,yBAAyB,uBAChB,MAAM,KACzB,SAGD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { DataService } from 'mongodb-data-service';
2
+ export declare enum ActionTypes {
3
+ DataServiceConnected = "indexes/data-service/DATA_SERVICE_CONNECTED"
4
+ }
5
+ declare type DataServiceConnectedAction = {
6
+ type: ActionTypes.DataServiceConnected;
7
+ dataService: DataService;
8
+ };
9
+ declare type State = DataService | null;
10
+ export default function reducer(state: State | undefined, action: DataServiceConnectedAction): State;
11
+ export declare const dataServiceConnected: (dataService: DataService) => {
12
+ type: ActionTypes;
13
+ dataService: DataService;
14
+ };
15
+ export {};
16
+ //# sourceMappingURL=data-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-service.d.ts","sourceRoot":"","sources":["../../../src/modules/data-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,oBAAY,WAAW;IACrB,oBAAoB,gDAAgD;CACrE;AAED,aAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,WAAW,CAAC,oBAAoB,CAAC;IACvC,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF,aAAK,KAAK,GAAG,WAAW,GAAG,IAAI,CAAC;AAIhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAgB,EACrB,MAAM,EAAE,0BAA0B,SAMnC;AAED,eAAO,MAAM,oBAAoB,gBAAiB,WAAW;;;CAG3D,CAAC"}
@@ -0,0 +1,6 @@
1
+ export const GET_DESCRIPTION: string;
2
+ export const INITIAL_STATE: "Topology type not yet discovered.";
3
+ export default reducer;
4
+ export function getDescription(description: string): Object;
5
+ declare function reducer(state: boolean | undefined, action: string): any;
6
+ //# sourceMappingURL=description.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../src/modules/description.js"],"names":[],"mappings":"AAQA,qCAAuE;AAKvE,gEAAiE;;AAuB1D,qDAFM,MAAM,CAKjB;AAlBF,0EAKC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const CHANGE_CONFIRM_NAME = "indexes/drop-index/confirm-name/CHANGE_CONFIRM_NAME";
3
+ export declare const INITIAL_STATE = "";
4
+ export default function reducer(state: string | undefined, action: AnyAction): string;
5
+ export declare const changeConfirmName: (name: string) => {
6
+ type: string;
7
+ name: string;
8
+ };
9
+ //# sourceMappingURL=confirm-name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"confirm-name.d.ts","sourceRoot":"","sources":["../../../../src/modules/drop-index/confirm-name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,mBAAmB,wDACuB,CAAC;AAKxD,eAAO,MAAM,aAAa,KAAK,CAAC;AAUhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,MAAM,CAKR;AASD,eAAO,MAAM,iBAAiB,SAAU,MAAM;;;CAG5C,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type { AnyAction, Dispatch } from 'redux';
2
+ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
3
+ dataService: import("mongodb-data-service").DataService | null;
4
+ appRegistry: unknown;
5
+ isVisible: any;
6
+ inProgress: any;
7
+ error: string | null;
8
+ name: string;
9
+ confirmName: string;
10
+ namespace: string;
11
+ }>, import("redux").Action<any>>;
12
+ export declare type RootState = ReturnType<typeof reducer>;
13
+ declare const rootReducer: (state: RootState, action: AnyAction) => import("redux").CombinedState<{
14
+ dataService: import("mongodb-data-service").DataService | null;
15
+ appRegistry: unknown;
16
+ isVisible: any;
17
+ inProgress: any;
18
+ error: string | null;
19
+ name: string;
20
+ confirmName: string;
21
+ namespace: string;
22
+ }>;
23
+ export default rootReducer;
24
+ export declare const dropIndex: (indexName: string) => (dispatch: Dispatch, getState: () => RootState) => void;
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/drop-index/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAgCjD,QAAA,MAAM,OAAO;;;;;;;;;gCASX,CAAC;AAEH,oBAAY,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAUnD,QAAA,MAAM,WAAW,UAAW,SAAS,UAAU,SAAS;;;;;;;;;EAYvD,CAAC;AAEF,eAAe,WAAW,CAAC;AAQ3B,eAAO,MAAM,SAAS,cAAe,MAAM,gBACvB,QAAQ,YAAY,MAAM,SAAS,SAmBtD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const NAME_CHANGED = "indexes/drop-index/name/NAME_CHANGED";
3
+ export declare const INITIAL_STATE = "";
4
+ export default function reducer(state: string | undefined, action: AnyAction): string;
5
+ export declare const nameChanged: (name: string) => {
6
+ type: string;
7
+ name: string;
8
+ };
9
+ //# sourceMappingURL=name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"name.d.ts","sourceRoot":"","sources":["../../../../src/modules/drop-index/name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,YAAY,yCAAyC,CAAC;AAKnE,eAAO,MAAM,aAAa,KAAK,CAAC;AAUhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,MAAM,CAKR;AASD,eAAO,MAAM,WAAW,SAAU,MAAM;;;CAGtC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { AnyError } from 'mongodb';
2
+ export declare type IndexesError = AnyError | string | null | undefined;
3
+ export declare enum ActionTypes {
4
+ HandleError = "indexes/error/HANDLE_ERROR",
5
+ ClearError = "indexes/error/CLEAR_ERROR"
6
+ }
7
+ export declare type HandleErrorAction = {
8
+ type: ActionTypes.HandleError;
9
+ error: IndexesError;
10
+ };
11
+ declare type ClearErrorAction = {
12
+ type: ActionTypes.ClearError;
13
+ };
14
+ export declare type Actions = HandleErrorAction | ClearErrorAction;
15
+ declare type State = string | null;
16
+ export declare const INITIAL_STATE: State;
17
+ export default function reducer(state: State | undefined, action: Actions): State;
18
+ export declare const handleError: (error: IndexesError) => HandleErrorAction;
19
+ export declare const clearError: () => ClearErrorAction;
20
+ export {};
21
+ //# sourceMappingURL=error.d.ts.map
@@ -0,0 +1 @@
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,oBAAY,YAAY,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAEhE,oBAAY,WAAW;IACrB,WAAW,+BAA+B;IAC1C,UAAU,8BAA8B;CACzC;AAED,oBAAY,iBAAiB,GAAG;IAC9B,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;IAC9B,KAAK,EAAE,YAAY,CAAC;CACrB,CAAC;AAEF,aAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC;CAC9B,CAAC;AAEF,oBAAY,OAAO,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;AAE3D,aAAK,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;AAC3B,eAAO,MAAM,aAAa,EAAE,KAAY,CAAC;AAEzC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,mBAAuB,EAAE,MAAM,EAAE,OAAO,SAO5E;AAED,eAAO,MAAM,WAAW,UAAW,YAAY,KAAG,iBAGhD,CAAC;AAEH,eAAO,MAAM,UAAU,QAAO,gBAE5B,CAAC"}
@@ -0,0 +1,37 @@
1
+ import type { AnyAction } from 'redux';
2
+ import type { CreateIndexSpec } from './create-index';
3
+ import type { IndexFieldsDefinition } from './indexes';
4
+ export declare const IN_PROGRESS_INDEXES_ADDED = "indexes/in-progress-indexes/IN_PROGRESS_INDEXES_ADDED";
5
+ export declare const IN_PROGRESS_INDEXES_REMOVED = "indexes/in-progress-indexes/IN_PROGRESS_INDEXES_REMOVED";
6
+ export declare const IN_PROGRESS_INDEXES_FAILED = "indexes/in-progress-indexes/IN_PROGRESS_INDEXES_FAILED";
7
+ export declare type InProgressIndex = {
8
+ id: string;
9
+ status: 'inprogress' | 'failed';
10
+ key: CreateIndexSpec;
11
+ fields: IndexFieldsDefinition[];
12
+ name: string;
13
+ ns: string;
14
+ size: number;
15
+ relativeSize: number;
16
+ usageCount: number;
17
+ error?: string;
18
+ };
19
+ export declare const INITIAL_STATE: never[];
20
+ export default function reducer(state: never[] | undefined, action: AnyAction): any[];
21
+ export declare const inProgressIndexAdded: (inProgressIndex: InProgressIndex) => {
22
+ type: string;
23
+ inProgressIndex: InProgressIndex;
24
+ };
25
+ export declare const inProgressIndexRemoved: (inProgressIndexId: string) => {
26
+ type: string;
27
+ inProgressIndexId: string;
28
+ };
29
+ export declare const inProgressIndexFailed: ({ inProgressIndexId, error, }: {
30
+ inProgressIndexId: string;
31
+ error: string;
32
+ }) => {
33
+ type: string;
34
+ inProgressIndexId: string;
35
+ error: string;
36
+ };
37
+ //# sourceMappingURL=in-progress-indexes.d.ts.map
@@ -0,0 +1 @@
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;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAKvD,eAAO,MAAM,yBAAyB,0DACmB,CAAC;AAK1D,eAAO,MAAM,2BAA2B,4DACmB,CAAC;AAK5D,eAAO,MAAM,0BAA0B,2DACmB,CAAC;AAE3D,oBAAY,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,YAAY,GAAG,QAAQ,CAAC;IAChC,GAAG,EAAE,eAAe,CAAC;IACrB,MAAM,EAAE,qBAAqB,EAAE,CAAC;IAChC,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,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAKF,eAAO,MAAM,aAAa,SAAK,CAAC;AAUhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,qBAAgB,EAAE,MAAM,EAAE,SAAS,SAsBvE;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"}
@@ -0,0 +1,9 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const TOGGLE_IN_PROGRESS = "indexes/in-progress/TOGGLE_IN_PROGRESS";
3
+ export declare const INITIAL_STATE = false;
4
+ export default function reducer(state: boolean | undefined, action: AnyAction): any;
5
+ export declare const toggleInProgress: (inProgress: boolean) => {
6
+ type: string;
7
+ inProgress: boolean;
8
+ };
9
+ //# sourceMappingURL=in-progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"in-progress.d.ts","sourceRoot":"","sources":["../../../src/modules/in-progress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,kBAAkB,2CAA2C,CAAC;AAK3E,eAAO,MAAM,aAAa,QAAQ,CAAC;AAUnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,qBAAgB,EAAE,MAAM,EAAE,SAAS,OAKvE;AASD,eAAO,MAAM,gBAAgB,eAAgB,OAAO;;;CAGlD,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { AnyAction } from 'redux';
2
+ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
3
+ indexes: import("./indexes").IndexDefinition[];
4
+ isWritable: boolean;
5
+ isReadonly: boolean;
6
+ isReadonlyView: boolean;
7
+ description: any;
8
+ appRegistry: unknown;
9
+ dataService: import("mongodb-data-service").DataService | null;
10
+ sortOrder: import("./indexes").SortDirection;
11
+ sortColumn: "Name and Definition" | "Type" | "Size" | "Usage" | "Properties";
12
+ error: string | null;
13
+ serverVersion: string;
14
+ namespace: string;
15
+ isRefreshing: boolean;
16
+ inProgressIndexes: never;
17
+ }>, import("redux").Action<any>>;
18
+ export declare type RootState = ReturnType<typeof reducer>;
19
+ declare const rootReducer: (state: RootState, action: AnyAction) => RootState;
20
+ export default rootReducer;
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;AAmCvC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;gCAeX,CAAC;AAEH,oBAAY,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAEnD,QAAA,MAAM,WAAW,UAAW,SAAS,UAAU,SAAS,KAAG,SAkB1D,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,56 @@
1
+ import type { ThunkAction } from 'redux-thunk';
2
+ import type { AnyAction } from 'redux';
3
+ import type { RootState } from './index';
4
+ import type { HandleErrorAction } from './error';
5
+ import type { RefreshFinishedAction } from './is-refreshing';
6
+ export declare type SortColumn = keyof typeof sortColumnToProps;
7
+ export declare type SortDirection = 'asc' | 'desc';
8
+ declare const sortColumnToProps: {
9
+ readonly 'Name and Definition': "name";
10
+ readonly Type: "type";
11
+ readonly Size: "size";
12
+ readonly Usage: "usageCount";
13
+ readonly Properties: "properties";
14
+ };
15
+ export declare type IndexFieldsDefinition = {
16
+ field: string;
17
+ value: number | string;
18
+ };
19
+ export declare type IndexDefinition = {
20
+ name: string;
21
+ fields: {
22
+ serialize: () => IndexFieldsDefinition[];
23
+ };
24
+ type: 'geo' | 'hashed' | 'text' | 'wildcard' | 'clustered' | 'columnstore';
25
+ cardinality: 'single' | 'compound';
26
+ properties: ('unique' | 'sparse' | 'partial' | 'ttl' | 'collation')[];
27
+ extra: Record<string, string | number | Record<string, any>>;
28
+ size: number;
29
+ relativeSize: number;
30
+ usageCount: number;
31
+ usageSince?: Date;
32
+ };
33
+ export declare enum ActionTypes {
34
+ LoadIndexes = "indexes/indexes/LOAD_INDEXES",
35
+ SortIndexes = "indexes/indexes/SORT_INDEXES"
36
+ }
37
+ declare type LoadIndexesAction = {
38
+ type: ActionTypes.LoadIndexes;
39
+ indexes: IndexDefinition[];
40
+ };
41
+ export declare type SortIndexesAction = {
42
+ type: ActionTypes.SortIndexes;
43
+ indexes: IndexDefinition[];
44
+ column: SortColumn;
45
+ order: SortDirection;
46
+ };
47
+ declare type Actions = LoadIndexesAction | SortIndexesAction;
48
+ declare type State = IndexDefinition[];
49
+ export declare const INITIAL_STATE: State;
50
+ export default function reducer(state: State | undefined, action: Actions): State;
51
+ export declare const loadIndexes: (indexes: IndexDefinition[]) => LoadIndexesAction;
52
+ export declare const sortIndexes: (column: SortColumn, order: SortDirection) => ThunkAction<void, RootState, void, SortIndexesAction>;
53
+ export declare const fetchIndexes: () => ThunkAction<void, RootState, void, LoadIndexesAction | RefreshFinishedAction | HandleErrorAction>;
54
+ export declare const dropFailedIndex: (id: string) => ThunkAction<void, RootState, void, AnyAction>;
55
+ export {};
56
+ //# sourceMappingURL=indexes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/indexes.ts"],"names":[],"mappings":"AAGA,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;AAS7D,oBAAY,UAAU,GAAG,MAAM,OAAO,iBAAiB,CAAC;AACxD,oBAAY,aAAa,GAAG,KAAK,GAAG,MAAM,CAAC;AAC3C,QAAA,MAAM,iBAAiB;;;;;;CAMb,CAAC;AAEX,oBAAY,qBAAqB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE9E,oBAAY,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QACN,SAAS,EAAE,MAAM,qBAAqB,EAAE,CAAC;KAC1C,CAAC;IACF,IAAI,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,aAAa,CAAC;IAC3E,WAAW,EAAE,QAAQ,GAAG,UAAU,CAAC;IACnC,UAAU,EAAE,CAAC,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,KAAK,GAAG,WAAW,CAAC,EAAE,CAAC;IACtE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAC7D,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB,CAAC;AAEF,oBAAY,WAAW;IACrB,WAAW,iCAAiC;IAC5C,WAAW,iCAAiC;CAC7C;AAED,aAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;IAC9B,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B,CAAC;AAEF,oBAAY,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,aAAK,OAAO,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;AACrD,aAAK,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,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,iBAAiB,GAAG,qBAAqB,GAAG,iBAAiB,CAyC9D,CAAC;AAqDF,eAAO,MAAM,eAAe,OACtB,MAAM,KACT,YAAY,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,CAK9C,CAAC"}
@@ -0,0 +1,5 @@
1
+ export default function reducer(state: boolean | undefined, action: any): boolean;
2
+ export const READONLY_VIEW_CHANGED: "indexes/is-readonly-view/READONLY_VIEW_CHANGED";
3
+ export const INITIAL_STATE: false;
4
+ export function readonlyViewChanged(isReadonlyView: boolean): Object;
5
+ //# sourceMappingURL=is-readonly-view.d.ts.map
@@ -0,0 +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,MAAM,CAKjB"}
@@ -0,0 +1,3 @@
1
+ export declare const INITIAL_STATE = false;
2
+ export default function reducer(state?: boolean): boolean;
3
+ //# sourceMappingURL=is-readonly.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,19 @@
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
+ declare type RefreshStartedAction = {
8
+ type: ActionTypes.RefreshStarted;
9
+ };
10
+ export declare type RefreshFinishedAction = {
11
+ type: ActionTypes.RefreshFinished;
12
+ };
13
+ declare type Actions = RefreshStartedAction | RefreshFinishedAction;
14
+ declare 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
@@ -0,0 +1 @@
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,aAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,WAAW,CAAC,cAAc,CAAC;CAClC,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IAClC,IAAI,EAAE,WAAW,CAAC,eAAe,CAAC;CACnC,CAAC;AAEF,aAAK,OAAO,GAAG,oBAAoB,GAAG,qBAAqB,CAAC;AAE5D,aAAK,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"}