@mongodb-js/compass-indexes 5.6.0 → 5.8.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 (71) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/src/components/create-index-fields.d.ts +1 -1
  4. package/dist/src/components/create-index-fields.d.ts.map +1 -1
  5. package/dist/src/components/create-index-form/checkbox-input.d.ts +1 -1
  6. package/dist/src/components/create-index-form/checkbox-input.d.ts.map +1 -1
  7. package/dist/src/components/create-index-form/collapsible-input.d.ts +1 -1
  8. package/dist/src/components/create-index-form/collapsible-input.d.ts.map +1 -1
  9. package/dist/src/components/create-index-form/create-index-form.d.ts +2 -2
  10. package/dist/src/components/create-index-form/create-index-form.d.ts.map +1 -1
  11. package/dist/src/components/create-index-modal/create-index-modal.d.ts.map +1 -1
  12. package/dist/src/components/drop-index-modal/index.d.ts +1 -1
  13. package/dist/src/components/drop-index-modal/index.d.ts.map +1 -1
  14. package/dist/src/components/indexes/indexes.d.ts +1 -1
  15. package/dist/src/components/indexes/indexes.d.ts.map +1 -1
  16. package/dist/src/components/indexes-table/badge-with-icon-link.d.ts +1 -1
  17. package/dist/src/components/indexes-table/badge-with-icon-link.d.ts.map +1 -1
  18. package/dist/src/components/indexes-table/index-actions.d.ts +1 -1
  19. package/dist/src/components/indexes-table/index-actions.d.ts.map +1 -1
  20. package/dist/src/components/indexes-table/indexes-table.d.ts +1 -1
  21. package/dist/src/components/indexes-table/indexes-table.d.ts.map +1 -1
  22. package/dist/src/components/indexes-table/property-field.d.ts +2 -2
  23. package/dist/src/components/indexes-table/property-field.d.ts.map +1 -1
  24. package/dist/src/components/indexes-table/size-field.d.ts +1 -1
  25. package/dist/src/components/indexes-table/size-field.d.ts.map +1 -1
  26. package/dist/src/components/indexes-table/type-field.d.ts +1 -1
  27. package/dist/src/components/indexes-table/type-field.d.ts.map +1 -1
  28. package/dist/src/components/indexes-table/usage-field.d.ts +1 -1
  29. package/dist/src/components/indexes-table/usage-field.d.ts.map +1 -1
  30. package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts +1 -1
  31. package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts.map +1 -1
  32. package/dist/src/create-index-plugin.d.ts +3 -3
  33. package/dist/src/create-index-plugin.d.ts.map +1 -1
  34. package/dist/src/drop-index-plugin.d.ts +3 -3
  35. package/dist/src/drop-index-plugin.d.ts.map +1 -1
  36. package/dist/src/modules/create-index/fields.d.ts +1 -1
  37. package/dist/src/modules/create-index/fields.d.ts.map +1 -1
  38. package/dist/src/modules/create-index/index.d.ts +14 -14
  39. package/dist/src/modules/create-index/index.d.ts.map +1 -1
  40. package/dist/src/modules/create-index/options.d.ts +7 -7
  41. package/dist/src/modules/create-index/options.d.ts.map +1 -1
  42. package/dist/src/modules/data-service.d.ts +2 -2
  43. package/dist/src/modules/data-service.d.ts.map +1 -1
  44. package/dist/src/modules/drop-index/index.d.ts +2 -2
  45. package/dist/src/modules/drop-index/index.d.ts.map +1 -1
  46. package/dist/src/modules/error.d.ts +5 -5
  47. package/dist/src/modules/error.d.ts.map +1 -1
  48. package/dist/src/modules/in-progress-indexes.d.ts +11 -7
  49. package/dist/src/modules/in-progress-indexes.d.ts.map +1 -1
  50. package/dist/src/modules/index.d.ts +2 -2
  51. package/dist/src/modules/index.d.ts.map +1 -1
  52. package/dist/src/modules/indexes.d.ts +10 -27
  53. package/dist/src/modules/indexes.d.ts.map +1 -1
  54. package/dist/src/modules/is-refreshing.d.ts +4 -4
  55. package/dist/src/modules/is-refreshing.d.ts.map +1 -1
  56. package/dist/src/modules/server-version.d.ts +2 -2
  57. package/dist/src/modules/server-version.d.ts.map +1 -1
  58. package/dist/src/modules/sort-column.d.ts +1 -1
  59. package/dist/src/modules/sort-column.d.ts.map +1 -1
  60. package/dist/src/modules/sort-order.d.ts +1 -1
  61. package/dist/src/modules/sort-order.d.ts.map +1 -1
  62. package/dist/src/plugin.d.ts +3 -3
  63. package/dist/src/plugin.d.ts.map +1 -1
  64. package/dist/src/stores/create-index.d.ts +11 -11
  65. package/dist/src/stores/index.d.ts +2 -2
  66. package/dist/src/stores/index.d.ts.map +1 -1
  67. package/dist/src/utils/index-link-helper.d.ts +1 -23
  68. package/dist/src/utils/index-link-helper.d.ts.map +1 -1
  69. package/package.json +20 -22
  70. package/dist/src/modules/link.d.ts +0 -2
  71. package/dist/src/modules/link.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IndexField } from '../modules/create-index/fields';
3
- export declare type CreateIndexFieldsProps = {
3
+ export type CreateIndexFieldsProps = {
4
4
  fields: IndexField[];
5
5
  schemaFields: string[];
6
6
  serverVersion: string;
@@ -1 +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;AAcpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AA+BjE,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,CA2G7C;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
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;AAcpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AA+BjE,MAAM,MAAM,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,CA2G7C;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { CheckboxOptions } from '../../modules/create-index/options';
3
- declare type CheckboxInputProps = {
3
+ type CheckboxInputProps = {
4
4
  name: CheckboxOptions;
5
5
  label: string;
6
6
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox-input.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/checkbox-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAI1E,aAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CACxD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAwBrE,CAAC;;;;;;;AAEF,wBASiB"}
1
+ {"version":3,"file":"checkbox-input.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/checkbox-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAI1E,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CACxD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAwBrE,CAAC;;;;;;;AAEF,wBASiB"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { InputOptions } from '../../modules/create-index/options';
3
- declare type CollapsibleInputProps = {
3
+ type CollapsibleInputProps = {
4
4
  name: InputOptions;
5
5
  type: 'text' | 'code' | 'number';
6
6
  label: React.ReactElement | string;
@@ -1 +1 @@
1
- {"version":3,"file":"collapsible-input.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/collapsible-input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAOvE,aAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;IACjC,KAAK,EAAE,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC;IACnC,WAAW,EAAE,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CACpD,qBAAqB,CA2DtB,CAAC;;;;;;;AAEF,wBAgBoB"}
1
+ {"version":3,"file":"collapsible-input.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/collapsible-input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAOvE,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;IACjC,KAAK,EAAE,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC;IACnC,WAAW,EAAE,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CACpD,qBAAqB,CA0DtB,CAAC;;;;;;;AAEF,wBAgBoB"}
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- declare type IndexField = {
2
+ type IndexField = {
3
3
  name: string;
4
4
  type: string;
5
5
  };
6
- declare type CreateIndexFormProps = {
6
+ type CreateIndexFormProps = {
7
7
  fields: IndexField[];
8
8
  newIndexField: string | null;
9
9
  schemaFields: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"create-index-form.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/create-index-form.tsx"],"names":[],"mappings":";AAoBA,aAAK,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,aAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB,aAAa,EAAE,MAAM,CAAC;IAEtB,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;IACtD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,mBAAmB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACjD,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,MAAM,EACN,aAAa,EACb,YAAY,EAEZ,aAAa,EAEb,eAAe,EACf,eAAe,EACf,QAAQ,EACR,WAAW,EACX,mBAAmB,GACpB,EAAE,oBAAoB,eA4CtB;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"create-index-form.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/create-index-form.tsx"],"names":[],"mappings":";AAoBA,KAAK,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB,aAAa,EAAE,MAAM,CAAC;IAEtB,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;IACtD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,mBAAmB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACjD,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,MAAM,EACN,aAAa,EACb,YAAY,EAEZ,aAAa,EAEb,eAAe,EACf,eAAe,EACf,QAAQ,EACR,WAAW,EACX,mBAAmB,GACpB,EAAE,oBAAoB,eA4CtB;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -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;AAwB3C,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;;;;;AAoCD,wBAAgE"}
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;AAuB3C,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;;;;;AAmCD,wBAAgE"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type DropIndexFormProps = {
2
+ export type DropIndexFormProps = {
3
3
  isVisible: boolean;
4
4
  inProgress: boolean;
5
5
  error?: string | null;
@@ -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,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,eA4FpB;;;;;;AA0BD,wBAA8D"}
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;;;;;;AA0BD,wBAA8D"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type AppRegistry from 'hadron-app-registry';
3
3
  import type { IndexDefinition, SortColumn, SortDirection } from '../../modules/indexes';
4
- declare type IndexesProps = {
4
+ type IndexesProps = {
5
5
  indexes: IndexDefinition[];
6
6
  isWritable: boolean;
7
7
  isReadonly: boolean;
@@ -1 +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,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C;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"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type BadgeWithIconLinkProps = {
2
+ type BadgeWithIconLinkProps = {
3
3
  text: string;
4
4
  link: string;
5
5
  };
@@ -1 +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"}
1
+ {"version":3,"file":"badge-with-icon-link.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/badge-with-icon-link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA4B1B,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAqBtE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IndexDefinition } from '../../modules/indexes';
3
- declare type IndexActionsProps = {
3
+ type IndexActionsProps = {
4
4
  index: IndexDefinition;
5
5
  onDeleteIndex: (index: IndexDefinition) => void;
6
6
  };
@@ -1 +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"}
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,KAAK,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"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IndexDefinition, SortColumn, SortDirection } from '../../modules/indexes';
3
- declare type IndexesTableProps = {
3
+ type IndexesTableProps = {
4
4
  indexes: IndexDefinition[];
5
5
  canDeleteIndex: boolean;
6
6
  scrollHeight: number;
@@ -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;AAiB1D,OAAO,KAAK,EACV,eAAe,EACf,UAAU,EACV,aAAa,EACd,MAAM,uBAAuB,CAAC;AAkD/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,CA+GnE,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;AAiB1D,OAAO,KAAK,EACV,eAAe,EACf,UAAU,EACV,aAAa,EACd,MAAM,uBAAuB,CAAC;AAkD/B,KAAK,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,CA+GnE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
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 = {
3
+ export declare const getPropertyTooltip: (property: string | undefined, extra: IndexDefinition['extra']) => string | null;
4
+ type PropertyFieldProps = {
5
5
  extra: IndexDefinition['extra'];
6
6
  properties: IndexDefinition['properties'];
7
7
  cardinality: IndexDefinition['cardinality'];
@@ -1 +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;AAkB7D,eAAO,MAAM,kBAAkB,aACnB,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SACnC,eAAe,CAAC,OAAO,CAAC,KAC9B,MAAM,GAAG,IAMX,CAAC;AA2CF,aAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAChC,UAAU,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAC1C,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;CAC7C,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAoC9D,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"property-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/property-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAkB7D,eAAO,MAAM,kBAAkB,aACnB,MAAM,GAAG,SAAS,SACrB,eAAe,CAAC,OAAO,CAAC,KAC9B,MAAM,GAAG,IAMX,CAAC;AA2CF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAChC,UAAU,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAC1C,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;CAC7C,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAoC9D,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type SizeFieldProps = {
2
+ type SizeFieldProps = {
3
3
  size: number;
4
4
  relativeSize: number;
5
5
  };
@@ -1 +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"}
1
+ {"version":3,"file":"size-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/size-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,SAAU,MAAM,WAGtC,CAAC;AAEF,eAAO,MAAM,cAAc,iBAAkB,MAAM,KAAG,MAErD,CAAC;AAEF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAgBtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { IndexDefinition } from '../../modules/indexes';
3
3
  export declare const canRenderTooltip: (type: IndexDefinition['type']) => boolean;
4
- declare type TypeFieldProps = {
4
+ type TypeFieldProps = {
5
5
  type: IndexDefinition['type'];
6
6
  extra: IndexDefinition['extra'];
7
7
  };
@@ -1 +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"}
1
+ {"version":3,"file":"type-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/type-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,eAAO,MAAM,gBAAgB,SAAU,eAAe,CAAC,MAAM,CAAC,YAE7D,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACrD,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;CACjC,CAeA,CAAC;AAEF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAkBtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const getUsageTooltip: (usage?: number) => string;
3
- declare type UsageFieldProps = {
3
+ type UsageFieldProps = {
4
4
  usage?: number;
5
5
  since?: Date;
6
6
  };
@@ -1 +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"}
1
+ {"version":3,"file":"usage-field.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/usage-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,eAAe,WAAY,MAAM,KAAG,MAIhD,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,IAAI,CAAC;CACd,CAAC;AAGF,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAoBxD,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type AppRegistry from 'hadron-app-registry';
3
- declare type IndexesToolbarProps = {
3
+ type IndexesToolbarProps = {
4
4
  errorMessage: string | null;
5
5
  isReadonly: boolean;
6
6
  isReadonlyView: boolean;
@@ -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;AAY3C,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAqBnD,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,CAoFvE,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;AAY3C,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAqBnD,KAAK,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,CAoFvE,CAAC"}
@@ -8,7 +8,7 @@ declare class CreateIndexPlugin extends React.Component<any, any, any> {
8
8
  constructor(props: any, context: any);
9
9
  render(): React.Component;
10
10
  }
11
- import React from "react";
12
- import { Component } from "react";
13
- import PropTypes from "prop-types";
11
+ import React from 'react';
12
+ import { Component } from 'react';
13
+ import PropTypes from 'prop-types';
14
14
  //# sourceMappingURL=create-index-plugin.d.ts.map
@@ -1 +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"}
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;kBAvBgC,OAAO;0BAAP,OAAO;sBAElB,YAAY"}
@@ -8,7 +8,7 @@ declare class DropIndexPlugin extends React.Component<any, any, any> {
8
8
  constructor(props: any, context: any);
9
9
  render(): React.Component;
10
10
  }
11
- import React from "react";
12
- import { Component } from "react";
13
- import PropTypes from "prop-types";
11
+ import React from 'react';
12
+ import { Component } from 'react';
13
+ import PropTypes from 'prop-types';
14
14
  //# sourceMappingURL=drop-index-plugin.d.ts.map
@@ -1 +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"}
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;kBAvBgC,OAAO;0BAAP,OAAO;sBAElB,YAAY"}
@@ -4,7 +4,7 @@ export declare const ADD_FIELD = "indexes/create-index/fields/ADD_FIELD";
4
4
  export declare const UPDATE_FIELD_TYPE = "indexes/create-index/fields/UPDATE_FIELD_TYPE";
5
5
  export declare const REMOVE_FIELD = "indexes/create-index/fields/REMOVE_FIELD";
6
6
  export declare const CHANGE_FIELDS = "indexes/create-index/fields/CHANGE_FIELDS";
7
- export declare type IndexField = {
7
+ export type IndexField = {
8
8
  name: string;
9
9
  type: string;
10
10
  };
@@ -1 +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;AAGjD,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,CAyBd;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"}
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;AAGjD,eAAO,MAAM,SAAS,0CAA0C,CAAC;AACjE,eAAO,MAAM,iBAAiB,kDACmB,CAAC;AAClD,eAAO,MAAM,YAAY,6CAA6C,CAAC;AACvE,eAAO,MAAM,aAAa,8CAA8C,CAAC;AAEzE,MAAM,MAAM,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,CAyBd;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"}
@@ -12,22 +12,12 @@ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
12
12
  schemaFields: string[];
13
13
  error: string | null;
14
14
  options: {
15
- name: {
16
- enabled: boolean;
17
- } & {
18
- value: string;
19
- };
20
15
  unique: {
21
16
  enabled: boolean;
22
17
  } & {
23
18
  value: boolean;
24
19
  };
25
- sparse: {
26
- enabled: boolean;
27
- } & {
28
- value: boolean;
29
- };
30
- collation: {
20
+ name: {
31
21
  enabled: boolean;
32
22
  } & {
33
23
  value: string;
@@ -47,18 +37,28 @@ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
47
37
  } & {
48
38
  value: string;
49
39
  };
40
+ collation: {
41
+ enabled: boolean;
42
+ } & {
43
+ value: string;
44
+ };
50
45
  columnstoreProjection: {
51
46
  enabled: boolean;
52
47
  } & {
53
48
  value: string;
54
49
  };
50
+ sparse: {
51
+ enabled: boolean;
52
+ } & {
53
+ value: boolean;
54
+ };
55
55
  };
56
56
  }>, import("redux").Action<any>>;
57
- export declare type RootState = ReturnType<typeof reducer>;
58
- export declare type CreateIndexSpec = {
57
+ export type RootState = ReturnType<typeof reducer>;
58
+ export type CreateIndexSpec = {
59
59
  [key: string]: string | number;
60
60
  };
61
61
  export default reducer;
62
62
  export declare const closeCreateIndexModal: () => (dispatch: Dispatch) => void;
63
- export declare const createIndex: () => (dispatch: Dispatch, getState: () => RootState) => void;
63
+ export declare const createIndex: () => (dispatch: Dispatch, getState: () => RootState) => Promise<void>;
64
64
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAatC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAiBzD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAqBX,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;AAEF,eAAe,OAAO,CAAC;AAEvB,eAAO,MAAM,qBAAqB,mBACd,QAAQ,SAK3B,CAAC;AAyCF,eAAO,MAAM,WAAW,mBACJ,QAAQ,YAAY,MAAM,SAAS,SAuKtD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAatC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAiBzD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAqBX,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC,CAAC;AAEF,eAAe,OAAO,CAAC;AAEvB,eAAO,MAAM,qBAAqB,mBACd,QAAQ,SAK3B,CAAC;AA2CF,eAAO,MAAM,WAAW,mBACE,QAAQ,YAAY,MAAM,SAAS,kBAiK5D,CAAC"}
@@ -55,12 +55,12 @@ export declare const OPTIONS: {
55
55
  readonly description: "Sparse indexes only contain entries for documents that have the indexed field, even if the index field contains a null value. The index skips over any document that is missing the indexed field.";
56
56
  };
57
57
  };
58
- export declare type OptionNames = keyof typeof OPTIONS;
59
- export declare type CheckboxOptions = {
58
+ export type OptionNames = keyof typeof OPTIONS;
59
+ export type CheckboxOptions = {
60
60
  [k in OptionNames]: typeof OPTIONS[k]['type'] extends 'checkbox' ? k : never;
61
61
  }[OptionNames];
62
- export declare type InputOptions = Exclude<OptionNames, CheckboxOptions>;
63
- declare type State = {
62
+ export type InputOptions = Exclude<OptionNames, CheckboxOptions>;
63
+ type State = {
64
64
  [k in OptionNames]: {
65
65
  enabled: boolean;
66
66
  } & (typeof OPTIONS[k]['type'] extends 'checkbox' ? {
@@ -69,18 +69,18 @@ declare type State = {
69
69
  value: string;
70
70
  });
71
71
  };
72
- declare type ValueForOption<O extends OptionNames> = typeof OPTIONS[O]['type'] extends 'checkbox' ? boolean : string;
72
+ type ValueForOption<O extends OptionNames> = typeof OPTIONS[O]['type'] extends 'checkbox' ? boolean : string;
73
73
  declare enum Actions {
74
74
  ChangeOption = "compass-indexes/create-index/change-option",
75
75
  ChangeOptionEnabled = "compass-indexes/create-index/change-option-enabled"
76
76
  }
77
- declare type ChangeOptionAction<O extends OptionNames = OptionNames> = {
77
+ type ChangeOptionAction<O extends OptionNames = OptionNames> = {
78
78
  type: Actions.ChangeOption;
79
79
  name: O;
80
80
  value: ValueForOption<O>;
81
81
  };
82
82
  export declare function changeOption<O extends OptionNames>(optionName: O, newValue: ValueForOption<O>): ChangeOptionAction<O>;
83
- declare type ChangeOptionEnabledAction<O extends OptionNames = OptionNames> = {
83
+ type ChangeOptionEnabledAction<O extends OptionNames = OptionNames> = {
84
84
  type: Actions.ChangeOptionEnabled;
85
85
  name: O;
86
86
  enabled: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/options.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAa,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhD,eAAO,MAAM,qCAAqC,EAAE,WAAW,EAG9D,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEV,CAAC;AAEX,oBAAY,WAAW,GAAG,MAAM,OAAO,OAAO,CAAC;AAE/C,oBAAY,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,oBAAY,YAAY,GAAG,OAAO,CAAC,WAAW,EAAE,eAAe,CAAC,CA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K,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;AASX,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CA+B3B,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -2,11 +2,11 @@ import type { DataService } from 'mongodb-data-service';
2
2
  export declare enum ActionTypes {
3
3
  DataServiceConnected = "indexes/data-service/DATA_SERVICE_CONNECTED"
4
4
  }
5
- declare type DataServiceConnectedAction = {
5
+ type DataServiceConnectedAction = {
6
6
  type: ActionTypes.DataServiceConnected;
7
7
  dataService: DataService;
8
8
  };
9
- declare type State = DataService | null;
9
+ type State = DataService | null;
10
10
  export default function reducer(state: State | undefined, action: DataServiceConnectedAction): State;
11
11
  export declare const dataServiceConnected: (dataService: DataService) => {
12
12
  type: ActionTypes;
@@ -1 +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"}
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,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,WAAW,CAAC,oBAAoB,CAAC;IACvC,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF,KAAK,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"}
@@ -9,7 +9,7 @@ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
9
9
  confirmName: string;
10
10
  namespace: string;
11
11
  }>, import("redux").Action<any>>;
12
- export declare type RootState = ReturnType<typeof reducer>;
12
+ export type RootState = ReturnType<typeof reducer>;
13
13
  declare const rootReducer: (state: RootState, action: AnyAction) => import("redux").CombinedState<{
14
14
  dataService: import("mongodb-data-service").DataService | null;
15
15
  appRegistry: unknown;
@@ -21,5 +21,5 @@ declare const rootReducer: (state: RootState, action: AnyAction) => import("redu
21
21
  namespace: string;
22
22
  }>;
23
23
  export default rootReducer;
24
- export declare const dropIndex: (indexName: string) => (dispatch: Dispatch, getState: () => RootState) => void;
24
+ export declare const dropIndex: (indexName: string) => (dispatch: Dispatch, getState: () => RootState) => Promise<void>;
25
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
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,MAAM,MAAM,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,gBACjB,QAAQ,YAAY,MAAM,SAAS,kBAkB5D,CAAC"}
@@ -1,19 +1,19 @@
1
1
  import type { AnyError } from 'mongodb';
2
2
  import type { AnyAction } from 'redux';
3
- export declare type IndexesError = AnyError | string | null | undefined;
3
+ export type IndexesError = AnyError | string | null | undefined;
4
4
  export declare enum ActionTypes {
5
5
  HandleError = "indexes/error/HANDLE_ERROR",
6
6
  ClearError = "indexes/error/CLEAR_ERROR"
7
7
  }
8
- export declare type HandleErrorAction = {
8
+ export type HandleErrorAction = {
9
9
  type: ActionTypes.HandleError;
10
10
  error: IndexesError;
11
11
  };
12
- declare type ClearErrorAction = {
12
+ type ClearErrorAction = {
13
13
  type: ActionTypes.ClearError;
14
14
  };
15
- export declare type Actions = HandleErrorAction | ClearErrorAction;
16
- declare type State = string | null;
15
+ export type Actions = HandleErrorAction | ClearErrorAction;
16
+ type State = string | null;
17
17
  export declare const INITIAL_STATE: State;
18
18
  export default function reducer(state: State | undefined, action: AnyAction): State;
19
19
  export declare const handleError: (error: IndexesError) => HandleErrorAction;
@@ -1 +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,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,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,CAC7B,KAAK,mBAAuB,EAC5B,MAAM,EAAE,SAAS,SAYlB;AAED,eAAO,MAAM,WAAW,UAAW,YAAY,KAAG,iBAGhD,CAAC;AAEH,eAAO,MAAM,UAAU,QAAO,gBAE5B,CAAC"}
1
+ {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../src/modules/error.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAEhE,oBAAY,WAAW;IACrB,WAAW,+BAA+B;IAC1C,UAAU,8BAA8B;CACzC;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;IAC9B,KAAK,EAAE,YAAY,CAAC;CACrB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;AAE3D,KAAK,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;AAC3B,eAAO,MAAM,aAAa,EAAE,KAAY,CAAC;AAEzC,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,mBAAuB,EAC5B,MAAM,EAAE,SAAS,SAYlB;AAED,eAAO,MAAM,WAAW,UAAW,YAAY,KAAG,iBAGhD,CAAC;AAEH,eAAO,MAAM,UAAU,QAAO,gBAE5B,CAAC"}
@@ -1,23 +1,27 @@
1
1
  import type { AnyAction } from 'redux';
2
2
  import type { CreateIndexSpec } from './create-index';
3
- import type { IndexFieldsDefinition } from './indexes';
4
3
  export declare const IN_PROGRESS_INDEXES_ADDED = "indexes/in-progress-indexes/IN_PROGRESS_INDEXES_ADDED";
5
4
  export declare const IN_PROGRESS_INDEXES_REMOVED = "indexes/in-progress-indexes/IN_PROGRESS_INDEXES_REMOVED";
6
5
  export declare const IN_PROGRESS_INDEXES_FAILED = "indexes/in-progress-indexes/IN_PROGRESS_INDEXES_FAILED";
7
- export declare type InProgressIndex = {
6
+ export type InProgressIndex = {
8
7
  id: string;
9
- status: 'inprogress' | 'failed';
10
8
  key: CreateIndexSpec;
11
- fields: IndexFieldsDefinition[];
9
+ fields: {
10
+ field: string;
11
+ value: string | number;
12
+ }[];
12
13
  name: string;
13
14
  ns: string;
14
15
  size: number;
15
16
  relativeSize: number;
16
17
  usageCount: number;
17
- error?: string;
18
+ extra: {
19
+ status: 'inprogress' | 'failed';
20
+ error?: string;
21
+ };
18
22
  };
19
- export declare const INITIAL_STATE: never[];
20
- export default function reducer(state: never[] | undefined, action: AnyAction): any[];
23
+ export declare const INITIAL_STATE: InProgressIndex[];
24
+ export default function reducer(state: InProgressIndex[] | undefined, action: AnyAction): any[];
21
25
  export declare const inProgressIndexAdded: (inProgressIndex: InProgressIndex) => {
22
26
  type: string;
23
27
  inProgressIndex: InProgressIndex;
@@ -1 +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,C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yBvE;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"}
@@ -13,9 +13,9 @@ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
13
13
  serverVersion: string;
14
14
  namespace: string;
15
15
  isRefreshing: boolean;
16
- inProgressIndexes: never;
16
+ inProgressIndexes: any[];
17
17
  }>, import("redux").Action<any>>;
18
- export declare type RootState = ReturnType<typeof reducer>;
18
+ export type RootState = ReturnType<typeof reducer>;
19
19
  declare const rootReducer: (state: RootState, action: AnyAction) => RootState;
20
20
  export default rootReducer;
21
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;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"}
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,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAEnD,QAAA,MAAM,WAAW,UAAW,SAAS,UAAU,SAAS,KAAG,SAkB1D,CAAC;AAEF,eAAe,WAAW,CAAC"}