@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,10 @@
1
+ /// <reference types="react" />
2
+ declare function CreateIndexActions({ error, clearError, inProgress, createIndex, closeCreateIndexModal, }: {
3
+ error: string | null;
4
+ clearError: () => void;
5
+ inProgress: boolean;
6
+ createIndex: () => void;
7
+ closeCreateIndexModal: () => void;
8
+ }): JSX.Element;
9
+ export default CreateIndexActions;
10
+ //# sourceMappingURL=create-index-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-index-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-actions/create-index-actions.tsx"],"names":[],"mappings":";AAoBA,iBAAS,kBAAkB,CAAC,EAC1B,KAAK,EACL,UAAU,EACV,UAAU,EACV,WAAW,EACX,qBAAqB,GACtB,EAAE;IACD,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,eAoEA;AAED,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import CreateIndexActions from './create-index-actions';
2
+ export default CreateIndexActions;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AAExD,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import type { IndexField } from '../modules/create-index/fields';
3
+ export declare type CreateIndexFieldsProps = {
4
+ fields: IndexField[];
5
+ schemaFields: string[];
6
+ serverVersion: string;
7
+ isRemovable: boolean;
8
+ newIndexField: string | null;
9
+ addField: () => void;
10
+ createNewIndexField: (newField: string) => void;
11
+ removeField: (idx: number) => void;
12
+ updateFieldName: (idx: number, name: string) => void;
13
+ updateFieldType: (idx: number, fType: string) => void;
14
+ };
15
+ declare function CreateIndexFields({ fields, newIndexField, serverVersion, schemaFields, addField, createNewIndexField, removeField, updateFieldName, updateFieldType, }: CreateIndexFieldsProps): React.ReactElement;
16
+ export { CreateIndexFields };
17
+ //# sourceMappingURL=create-index-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-index-fields.d.ts","sourceRoot":"","sources":["../../../src/components/create-index-fields.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAapD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAgCjE,oBAAY,sBAAsB,GAAG;IACnC,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,mBAAmB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD,CAAC;AAEF,iBAAS,iBAAiB,CAAC,EACzB,MAAM,EACN,aAAa,EACb,aAAa,EACb,YAAY,EACZ,QAAQ,EACR,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,eAAe,GAChB,EAAE,sBAAsB,GAAG,KAAK,CAAC,YAAY,CA6F7C;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare type ColumnstoreProjection = {
3
+ useColumnstoreProjection: boolean;
4
+ toggleUseColumnstoreProjection: (useColumnstoreProjection: boolean) => void;
5
+ columnstoreProjection?: string;
6
+ columnstoreProjectionChanged: (columnstoreProjection: string) => void;
7
+ };
8
+ declare const ColumnstoreProjectionCollapsibleFieldSet: ({ useColumnstoreProjection, toggleUseColumnstoreProjection, columnstoreProjection, columnstoreProjectionChanged, }: ColumnstoreProjection) => JSX.Element;
9
+ export default ColumnstoreProjectionCollapsibleFieldSet;
10
+ //# sourceMappingURL=columnstore-projection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"columnstore-projection.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/columnstore-projection.tsx"],"names":[],"mappings":";AAIA,aAAK,qBAAqB,GAAG;IAC3B,wBAAwB,EAAE,OAAO,CAAC;IAClC,8BAA8B,EAAE,CAAC,wBAAwB,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5E,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,4BAA4B,EAAE,CAAC,qBAAqB,EAAE,MAAM,KAAK,IAAI,CAAC;CACvE,CAAC;AAEF,QAAA,MAAM,wCAAwC,uHAK3C,qBAAqB,gBAmBvB,CAAC;AAEF,eAAe,wCAAwC,CAAC"}
@@ -0,0 +1,47 @@
1
+ /// <reference types="react" />
2
+ declare type IndexField = {
3
+ name: string;
4
+ type: string;
5
+ };
6
+ declare type CreateIndexFormProps = {
7
+ fields: IndexField[];
8
+ newIndexField: string | null;
9
+ schemaFields: string[];
10
+ isUnique: boolean;
11
+ isSparse: boolean;
12
+ useIndexName: boolean;
13
+ useTtl: boolean;
14
+ usePartialFilterExpression: boolean;
15
+ useCustomCollation: boolean;
16
+ useWildcardProjection: boolean;
17
+ useColumnstoreProjection: boolean;
18
+ name: string;
19
+ ttl?: string;
20
+ partialFilterExpression?: string;
21
+ wildcardProjection: string;
22
+ collationString?: string;
23
+ columnstoreProjection: string;
24
+ serverVersion: string;
25
+ toggleIsUnique: (isUnique: boolean) => void;
26
+ toggleIsSparse: (isSparse: boolean) => void;
27
+ toggleUseIndexName: (useIndexName: boolean) => void;
28
+ toggleUseTtl: (useTtl: boolean) => void;
29
+ toggleUsePartialFilterExpression: (usePartialFilterExpression: boolean) => void;
30
+ toggleUseWildcardProjection: (useWildcardProjection: boolean) => void;
31
+ toggleUseCustomCollation: (useCustomCollation: boolean) => void;
32
+ toggleUseColumnstoreProjection: (useColumnstoreProjection: boolean) => void;
33
+ nameChanged: (name: string) => void;
34
+ ttlChanged: (ttl: string) => void;
35
+ partialFilterExpressionChanged: (partialFilterExpression: string) => void;
36
+ wildcardProjectionChanged: (wildcardProjection: string) => void;
37
+ collationStringChanged: (collationString: string) => void;
38
+ columnstoreProjectionChanged: (columnstoreProjection: string) => void;
39
+ updateFieldName: (idx: number, name: string) => void;
40
+ updateFieldType: (idx: number, fType: string) => void;
41
+ addField: () => void;
42
+ removeField: (idx: number) => void;
43
+ createNewIndexField: (newField: string) => void;
44
+ };
45
+ declare function CreateIndexForm({ fields, newIndexField, schemaFields, isUnique, isSparse, useIndexName, useTtl, usePartialFilterExpression, useCustomCollation, useWildcardProjection, useColumnstoreProjection, name, ttl, partialFilterExpression, wildcardProjection, collationString, columnstoreProjection, serverVersion, toggleIsUnique, toggleIsSparse, toggleUseIndexName, toggleUseTtl, toggleUsePartialFilterExpression, toggleUseWildcardProjection, toggleUseCustomCollation, toggleUseColumnstoreProjection, nameChanged, ttlChanged, partialFilterExpressionChanged, wildcardProjectionChanged, collationStringChanged, columnstoreProjectionChanged, updateFieldName, updateFieldType, addField, removeField, createNewIndexField, }: CreateIndexFormProps): JSX.Element;
46
+ export { CreateIndexForm };
47
+ //# sourceMappingURL=create-index-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-index-form.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/create-index-form.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare type CustomCollation = {
3
+ useCustomCollation: boolean;
4
+ toggleUseCustomCollation: (useCustomCollation: boolean) => void;
5
+ collationString?: string;
6
+ collationStringChanged: (collationString: string) => void;
7
+ };
8
+ declare const CustomCollationCollapsibleFieldSet: ({ useCustomCollation, toggleUseCustomCollation, collationString, collationStringChanged, }: CustomCollation) => JSX.Element;
9
+ export default CustomCollationCollapsibleFieldSet;
10
+ //# sourceMappingURL=custom-collation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-collation.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/custom-collation.tsx"],"names":[],"mappings":";AAIA,aAAK,eAAe,GAAG;IACrB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,wBAAwB,EAAE,CAAC,kBAAkB,EAAE,OAAO,KAAK,IAAI,CAAC;IAChE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3D,CAAC;AAEF,QAAA,MAAM,kCAAkC,+FAKrC,eAAe,gBAmBjB,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare type IndexName = {
3
+ indexName: string;
4
+ nameChanged: (indexName: string) => void;
5
+ useIndexName: boolean;
6
+ toggleUseIndexName: (useIndexName: boolean) => void;
7
+ };
8
+ declare const IndexNameCollapsibleFieldSet: ({ indexName, nameChanged, useIndexName, toggleUseIndexName, }: IndexName) => JSX.Element;
9
+ export default IndexNameCollapsibleFieldSet;
10
+ //# sourceMappingURL=index-name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-name.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/index-name.tsx"],"names":[],"mappings":";AAGA,aAAK,SAAS,GAAG;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF,QAAA,MAAM,4BAA4B,kEAK/B,SAAS,gBAoBX,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare type PartialFilter = {
3
+ usePartialFilterExpression: boolean;
4
+ toggleUsePartialFilterExpression: (usePartialFilterExpression: boolean) => void;
5
+ partialFilterExpression?: string;
6
+ partialFilterExpressionChanged: (partialFilterExpression: string) => void;
7
+ };
8
+ declare const PartialFilterCollapsibleFieldSet: ({ usePartialFilterExpression, toggleUsePartialFilterExpression, partialFilterExpression, partialFilterExpressionChanged, }: PartialFilter) => JSX.Element;
9
+ export default PartialFilterCollapsibleFieldSet;
10
+ //# sourceMappingURL=partial-filter-expression.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"partial-filter-expression.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/partial-filter-expression.tsx"],"names":[],"mappings":";AAIA,aAAK,aAAa,GAAG;IACnB,0BAA0B,EAAE,OAAO,CAAC;IACpC,gCAAgC,EAAE,CAChC,0BAA0B,EAAE,OAAO,KAChC,IAAI,CAAC;IACV,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,8BAA8B,EAAE,CAAC,uBAAuB,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3E,CAAC;AAEF,QAAA,MAAM,gCAAgC,+HAKnC,aAAa,gBAmBf,CAAC;AAEF,eAAe,gCAAgC,CAAC"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare type SparseIndex = {
3
+ isSparse: boolean;
4
+ toggleIsSparse: (isSparse: boolean) => void;
5
+ };
6
+ declare const SparseIndexCheckbox: ({ isSparse, toggleIsSparse }: SparseIndex) => JSX.Element;
7
+ export default SparseIndexCheckbox;
8
+ //# sourceMappingURL=sparse-index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sparse-index.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/sparse-index.tsx"],"names":[],"mappings":";AASA,aAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAAC;AASF,QAAA,MAAM,mBAAmB,iCAAkC,WAAW,gBAoBrE,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare type TTL = {
3
+ useTtl: boolean;
4
+ toggleUseTtl: (useTtl: boolean) => void;
5
+ ttl?: string;
6
+ ttlChanged: (ttl: string) => void;
7
+ };
8
+ declare const TTLCollapsibleFieldSet: ({ useTtl, toggleUseTtl, ttl, ttlChanged, }: TTL) => JSX.Element;
9
+ export default TTLCollapsibleFieldSet;
10
+ //# sourceMappingURL=ttl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ttl.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/ttl.tsx"],"names":[],"mappings":";AAGA,aAAK,GAAG,GAAG;IACT,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,QAAA,MAAM,sBAAsB,+CAKzB,GAAG,gBAmBL,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare type UniqueIndex = {
3
+ isUnique: boolean;
4
+ toggleIsUnique: (isUnique: boolean) => void;
5
+ };
6
+ declare const UniqueIndexCheckbox: ({ isUnique, toggleIsUnique }: UniqueIndex) => JSX.Element;
7
+ export default UniqueIndexCheckbox;
8
+ //# sourceMappingURL=unique-index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unique-index.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/unique-index.tsx"],"names":[],"mappings":";AAOA,aAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAAC;AAEF,QAAA,MAAM,mBAAmB,iCAAkC,WAAW,gBAoBrE,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare type WildcardProjection = {
3
+ useWildcardProjection: boolean;
4
+ toggleUseWildcardProjection: (useWildcardProjection: boolean) => void;
5
+ wildcardProjection?: string;
6
+ wildcardProjectionChanged: (wildcardProjection: string) => void;
7
+ };
8
+ declare const WildcardProjectionCollapsibleFieldSet: ({ useWildcardProjection, toggleUseWildcardProjection, wildcardProjection, wildcardProjectionChanged, }: WildcardProjection) => JSX.Element;
9
+ export default WildcardProjectionCollapsibleFieldSet;
10
+ //# sourceMappingURL=wildcard-projection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wildcard-projection.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/wildcard-projection.tsx"],"names":[],"mappings":";AAIA,aAAK,kBAAkB,GAAG;IACxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,2BAA2B,EAAE,CAAC,qBAAqB,EAAE,OAAO,KAAK,IAAI,CAAC;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yBAAyB,EAAE,CAAC,kBAAkB,EAAE,MAAM,KAAK,IAAI,CAAC;CACjE,CAAC;AAEF,QAAA,MAAM,qCAAqC,2GAKxC,kBAAkB,gBAmBpB,CAAC;AAEF,eAAe,qCAAqC,CAAC"}
@@ -0,0 +1,63 @@
1
+ import React from 'react';
2
+ import { CreateIndexForm } from '../create-index-form/create-index-form';
3
+ declare function CreateIndexModal({ isVisible, namespace, error, clearError, inProgress, createIndex, closeCreateIndexModal, ...props }: React.ComponentProps<typeof CreateIndexForm> & {
4
+ isVisible: boolean;
5
+ namespace: string;
6
+ error: string | null;
7
+ clearError: () => void;
8
+ inProgress: boolean;
9
+ createIndex: () => void;
10
+ closeCreateIndexModal: () => void;
11
+ }): JSX.Element;
12
+ declare const _default: import("react-redux").ConnectedComponent<typeof CreateIndexModal, Omit<{
13
+ fields: {
14
+ name: string;
15
+ type: string;
16
+ }[];
17
+ newIndexField: string | null;
18
+ schemaFields: string[];
19
+ isUnique: boolean;
20
+ isSparse: boolean;
21
+ useIndexName: boolean;
22
+ useTtl: boolean;
23
+ usePartialFilterExpression: boolean;
24
+ useCustomCollation: boolean;
25
+ useWildcardProjection: boolean;
26
+ useColumnstoreProjection: boolean;
27
+ name: string;
28
+ ttl?: string | undefined;
29
+ partialFilterExpression?: string | undefined;
30
+ wildcardProjection: string;
31
+ collationString?: string | undefined;
32
+ columnstoreProjection: string;
33
+ serverVersion: string;
34
+ toggleIsUnique: (isUnique: boolean) => void;
35
+ toggleIsSparse: (isSparse: boolean) => void;
36
+ toggleUseIndexName: (useIndexName: boolean) => void;
37
+ toggleUseTtl: (useTtl: boolean) => void;
38
+ toggleUsePartialFilterExpression: (usePartialFilterExpression: boolean) => void;
39
+ toggleUseWildcardProjection: (useWildcardProjection: boolean) => void;
40
+ toggleUseCustomCollation: (useCustomCollation: boolean) => void;
41
+ toggleUseColumnstoreProjection: (useColumnstoreProjection: boolean) => void;
42
+ nameChanged: (name: string) => void;
43
+ ttlChanged: (ttl: string) => void;
44
+ partialFilterExpressionChanged: (partialFilterExpression: string) => void;
45
+ wildcardProjectionChanged: (wildcardProjection: string) => void;
46
+ collationStringChanged: (collationString: string) => void;
47
+ columnstoreProjectionChanged: (columnstoreProjection: string) => void;
48
+ updateFieldName: (idx: number, name: string) => void;
49
+ updateFieldType: (idx: number, fType: string) => void;
50
+ addField: () => void;
51
+ removeField: (idx: number) => void;
52
+ createNewIndexField: (newField: string) => void;
53
+ } & {
54
+ isVisible: boolean;
55
+ namespace: string;
56
+ error: string | null;
57
+ clearError: () => void;
58
+ inProgress: boolean;
59
+ createIndex: () => void;
60
+ closeCreateIndexModal: () => void;
61
+ }, "schemaFields" | "inProgress" | "useCustomCollation" | "useIndexName" | "isVisible" | "collationString" | "isUnique" | "useTtl" | "useWildcardProjection" | "useColumnstoreProjection" | "usePartialFilterExpression" | "ttl" | "wildcardProjection" | "columnstoreProjection" | "partialFilterExpression" | "name" | "namespace" | "error" | "serverVersion" | "fields" | "newIndexField" | "isSparse" | "addField" | "createNewIndexField" | "removeField" | "updateFieldName" | "updateFieldType" | "toggleIsUnique" | "toggleUseTtl" | "ttlChanged" | "toggleUsePartialFilterExpression" | "partialFilterExpressionChanged" | "toggleUseCustomCollation" | "collationStringChanged" | "toggleUseWildcardProjection" | "wildcardProjectionChanged" | "toggleUseColumnstoreProjection" | "columnstoreProjectionChanged" | "nameChanged" | "toggleUseIndexName" | "toggleIsSparse" | "clearError" | "createIndex" | "closeCreateIndexModal"> & import("react-redux").ConnectProps>;
62
+ export default _default;
63
+ //# sourceMappingURL=create-index-modal.d.ts.map
@@ -0,0 +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;AAsC3C,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AA6BzE,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,eAqCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8ED,wBAAgE"}
@@ -0,0 +1,3 @@
1
+ import CreateIndexModal from './create-index-modal';
2
+ export default CreateIndexModal;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AACpD,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ export declare type DropIndexFormProps = {
3
+ isVisible: boolean;
4
+ inProgress: boolean;
5
+ error?: string | null;
6
+ name: string;
7
+ confirmName: string;
8
+ toggleIsVisible: (isVisible: boolean) => void;
9
+ toggleInProgress: () => void;
10
+ changeConfirmName: (name: string) => void;
11
+ resetForm: () => void;
12
+ dropIndex: (name: string) => void;
13
+ clearError: () => void;
14
+ };
15
+ export declare function DropIndexModal({ isVisible, inProgress, error, name, confirmName, toggleIsVisible, changeConfirmName, resetForm, dropIndex, clearError, }: DropIndexFormProps): JSX.Element;
16
+ declare const _default: import("react-redux").ConnectedComponent<typeof DropIndexModal, Omit<DropIndexFormProps, "inProgress" | "isVisible" | "name" | "error" | "clearError" | "confirmName" | "toggleIsVisible" | "changeConfirmName" | "resetForm" | "dropIndex"> & import("react-redux").ConnectProps>;
17
+ export default _default;
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drop-index-modal/index.tsx"],"names":[],"mappings":";AA4CA,oBAAY,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,eAiFpB;;AA0BD,wBAA8D"}
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import type AppRegistry from 'hadron-app-registry';
3
+ import type { IndexDefinition, SortColumn, SortDirection } from '../../modules/indexes';
4
+ declare type IndexesProps = {
5
+ indexes: IndexDefinition[];
6
+ isWritable: boolean;
7
+ isReadonly: boolean;
8
+ isReadonlyView: boolean;
9
+ description?: string;
10
+ error: string | null;
11
+ localAppRegistry: AppRegistry;
12
+ isRefreshing: boolean;
13
+ sortIndexes: (name: SortColumn, direction: SortDirection) => void;
14
+ refreshIndexes: () => void;
15
+ dropFailedIndex: (id: string) => void;
16
+ readOnly?: boolean;
17
+ };
18
+ export declare const Indexes: React.FunctionComponent<IndexesProps>;
19
+ declare const _default: import("react-redux").ConnectedComponent<(props: Omit<IndexesProps & {
20
+ children?: React.ReactNode;
21
+ }, "readOnly"> & Partial<Pick<IndexesProps & {
22
+ children?: React.ReactNode;
23
+ }, "readOnly">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>, Omit<Omit<IndexesProps & {
24
+ children?: React.ReactNode;
25
+ }, "readOnly"> & Partial<Pick<IndexesProps & {
26
+ children?: React.ReactNode;
27
+ }, "readOnly">>, "indexes" | "isWritable" | "isReadonlyView" | "description" | "isReadonly" | "error" | "isRefreshing" | "localAppRegistry" | "sortIndexes" | "refreshIndexes" | "dropFailedIndex"> & import("react-redux").ConnectProps>;
28
+ export default _default;
29
+ //# sourceMappingURL=indexes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes/indexes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAKnD,OAAO,KAAK,EACV,eAAe,EACf,UAAU,EACV,aAAa,EACd,MAAM,uBAAuB,CAAC;AAgB/B,aAAK,YAAY,GAAG;IAClB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,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,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,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,YAAY,CAkDzD,CAAC;;;;;;;;;;AA4BF,wBAGiD"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ declare type BadgeWithIconLinkProps = {
3
+ text: string;
4
+ link: string;
5
+ };
6
+ declare const BadgeWithIconLink: React.FunctionComponent<BadgeWithIconLinkProps>;
7
+ export default BadgeWithIconLink;
8
+ //# sourceMappingURL=badge-with-icon-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge-with-icon-link.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/badge-with-icon-link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA4B1B,aAAK,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,9 @@
1
+ import React from 'react';
2
+ import type { IndexDefinition } from '../../modules/indexes';
3
+ declare type IndexActionsProps = {
4
+ index: IndexDefinition;
5
+ onDeleteIndex: (index: IndexDefinition) => void;
6
+ };
7
+ declare const IndexActions: React.FunctionComponent<IndexActionsProps>;
8
+ export default IndexActions;
9
+ //# sourceMappingURL=index-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/index-actions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,aAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,eAAe,CAAC;IACvB,aAAa,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;CACjD,CAAC;AAIF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CA+B5D,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { IndexDefinition, SortColumn, SortDirection } from '../../modules/indexes';
3
+ declare type IndexesTableProps = {
4
+ indexes: IndexDefinition[];
5
+ canDeleteIndex: boolean;
6
+ scrollHeight: number;
7
+ onSortTable: (column: SortColumn, direction: SortDirection) => void;
8
+ onDeleteIndex: (index: IndexDefinition) => void;
9
+ };
10
+ export declare const IndexesTable: React.FunctionComponent<IndexesTableProps>;
11
+ export {};
12
+ //# sourceMappingURL=indexes-table.d.ts.map
@@ -0,0 +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;AAiB1D,OAAO,KAAK,EACV,eAAe,EACf,UAAU,EACV,aAAa,EACd,MAAM,uBAAuB,CAAC;AAmD/B,aAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IACpE,aAAa,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAyGnE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { IndexDefinition } from '../../modules/indexes';
3
+ declare type NameFieldProps = {
4
+ name: string;
5
+ keys: ReturnType<IndexDefinition['fields']['serialize']>;
6
+ };
7
+ declare const NameField: React.FunctionComponent<NameFieldProps>;
8
+ export default NameField;
9
+ //# sourceMappingURL=name-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"name-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/name-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAgB7D,aAAK,cAAc,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,UAAU,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;CAC1D,CAAC;AAEF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAmBtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { IndexDefinition } from '../../modules/indexes';
3
+ export declare const getPropertyTooltip: (property: IndexDefinition['properties'][0], extra: IndexDefinition['extra']) => string | null;
4
+ declare type PropertyFieldProps = {
5
+ darkMode?: boolean;
6
+ extra: IndexDefinition['extra'];
7
+ properties: IndexDefinition['properties'];
8
+ cardinality: IndexDefinition['cardinality'];
9
+ };
10
+ declare const _default: React.ComponentType<PropertyFieldProps>;
11
+ export default _default;
12
+ //# sourceMappingURL=property-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"property-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/property-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAiB7D,eAAO,MAAM,kBAAkB,aACnB,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SACnC,eAAe,CAAC,OAAO,CAAC,KAC9B,MAAM,GAAG,IAMX,CAAC;AA0CF,aAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,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;;AAuCF,wBAAwC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ declare type SizeFieldProps = {
3
+ size: number;
4
+ relativeSize: number;
5
+ };
6
+ export declare const formatSize: (size: number) => string;
7
+ export declare const getSizeTooltip: (relativeSize: number) => string;
8
+ declare const SizeField: React.FunctionComponent<SizeFieldProps>;
9
+ export default SizeField;
10
+ //# sourceMappingURL=size-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"size-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/size-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,aAAK,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 { IndexDefinition } from '../../modules/indexes';
3
+ export declare const canRenderTooltip: (type: IndexDefinition['type']) => boolean;
4
+ declare type TypeFieldProps = {
5
+ type: IndexDefinition['type'];
6
+ extra: IndexDefinition['extra'];
7
+ };
8
+ export declare const IndexTypeTooltip: React.FunctionComponent<{
9
+ extra: IndexDefinition['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/indexes-table/type-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,eAAO,MAAM,gBAAgB,SAAU,eAAe,CAAC,MAAM,CAAC,YAE7D,CAAC;AAEF,aAAK,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,9 @@
1
+ import React from 'react';
2
+ export declare const getUsageTooltip: (usage?: number) => string;
3
+ declare type UsageFieldProps = {
4
+ usage?: number;
5
+ since?: Date;
6
+ };
7
+ declare const UsageField: React.FunctionComponent<UsageFieldProps>;
8
+ export default UsageField;
9
+ //# sourceMappingURL=usage-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/usage-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,eAAe,WAAY,MAAM,KAAG,MAIhD,CAAC;AAEF,aAAK,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,16 @@
1
+ import React from 'react';
2
+ import type AppRegistry from 'hadron-app-registry';
3
+ declare type IndexesToolbarProps = {
4
+ errorMessage: string | null;
5
+ isReadonly: boolean;
6
+ isReadonlyView: boolean;
7
+ isWritable: boolean;
8
+ localAppRegistry: AppRegistry;
9
+ isRefreshing: boolean;
10
+ writeStateDescription?: string;
11
+ onRefreshIndexes: () => void;
12
+ readOnly?: boolean;
13
+ };
14
+ export declare const IndexesToolbar: React.FunctionComponent<IndexesToolbarProps>;
15
+ export {};
16
+ //# sourceMappingURL=indexes-toolbar.d.ts.map
@@ -0,0 +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;AAY3C,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAsBnD,aAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,WAAW,CAAC;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAgFvE,CAAC"}
@@ -0,0 +1,14 @@
1
+ export default CreateIndexPlugin;
2
+ declare class CreateIndexPlugin extends React.Component<any, any, any> {
3
+ static displayName: string;
4
+ static propTypes: {
5
+ store: PropTypes.Validator<object>;
6
+ };
7
+ constructor(props: any);
8
+ constructor(props: any, context: any);
9
+ render(): React.Component;
10
+ }
11
+ import React from "react";
12
+ import { Component } from "react";
13
+ import PropTypes from "prop-types";
14
+ //# sourceMappingURL=create-index-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-index-plugin.d.ts","sourceRoot":"","sources":["../../src/create-index-plugin.jsx"],"names":[],"mappings":";AAKA;IACE,2BAAyC;IACzC;;MAEE;IAiB+vlB,wBAA8C;IAAA,sCAAyJ;IAVx8lB,UAFa,eAAe,CAQ3B;CACF"}
@@ -0,0 +1,14 @@
1
+ export default DropIndexPlugin;
2
+ declare class DropIndexPlugin extends React.Component<any, any, any> {
3
+ static displayName: string;
4
+ static propTypes: {
5
+ store: PropTypes.Validator<object>;
6
+ };
7
+ constructor(props: any);
8
+ constructor(props: any, context: any);
9
+ render(): React.Component;
10
+ }
11
+ import React from "react";
12
+ import { Component } from "react";
13
+ import PropTypes from "prop-types";
14
+ //# sourceMappingURL=drop-index-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drop-index-plugin.d.ts","sourceRoot":"","sources":["../../src/drop-index-plugin.jsx"],"names":[],"mappings":";AAKA;IACE,2BAAuC;IACvC;;MAEE;IAiB2wlB,wBAA8C;IAAA,sCAAyJ;IAVp9lB,UAFa,eAAe,CAQ3B;CACF"}
@@ -0,0 +1,9 @@
1
+ import type AppRegistry from 'hadron-app-registry';
2
+ import IndexesPlugin from './plugin';
3
+ import configureStore from './stores';
4
+ declare function activate(appRegistry: AppRegistry): void;
5
+ declare function deactivate(appRegistry: AppRegistry): void;
6
+ export default IndexesPlugin;
7
+ export { activate, deactivate, configureStore };
8
+ export { default as metadata } from '../package.json';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAEnD,OAAO,aAAa,MAAM,UAAU,CAAC;AAGrC,OAAO,cAAc,MAAM,UAAU,CAAC;AA2CtC,iBAAS,QAAQ,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAIhD;AAMD,iBAAS,UAAU,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAIlD;AAED,eAAe,aAAa,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const COLLATION_STRING_CHANGED = "indexes/create-indexes/collation-string/COLLATION_STRING_CHANGED";
3
+ export declare const INITIAL_STATE = "";
4
+ export default function reducer(state: string | undefined, action: AnyAction): string;
5
+ export declare const collationStringChanged: (collationString: string) => AnyAction;
6
+ //# sourceMappingURL=collation-string.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collation-string.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/collation-string.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,wBAAwB,qEAC+B,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,sBAAsB,oBAAqB,MAAM,KAAG,SAEhE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { AnyAction } from 'redux';
2
+ export declare const COLUMNSTORE_PROJECTION_CHANGED = "indexes/create-index/columnstore-projection/COLUMNSTORE_PROJECTION_CHANGED";
3
+ export declare const INITIAL_STATE = "";
4
+ export default function reducer(state: string | undefined, action: AnyAction): string;
5
+ export declare const columnstoreProjectionChanged: (columnstoreProjection: string) => AnyAction;
6
+ //# sourceMappingURL=columnstore-projection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"columnstore-projection.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/columnstore-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,eAAO,MAAM,8BAA8B,+EACmC,CAAC;AAK/E,eAAO,MAAM,aAAa,KAAK,CAAC;AAUhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAgB,EACrB,MAAM,EAAE,SAAS,GAChB,MAAM,CAKR;AASD,eAAO,MAAM,4BAA4B,0BAChB,MAAM,KAC5B,SAGD,CAAC"}