@gen3/core 0.10.89 → 0.10.92

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 (92) hide show
  1. package/dist/cjs/index.js +3375 -2491
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/constants.d.ts +1 -0
  4. package/dist/dts/constants.d.ts.map +1 -1
  5. package/dist/dts/features/authz/authzMappingSlice.d.ts +132 -1
  6. package/dist/dts/features/authz/authzMappingSlice.d.ts.map +1 -1
  7. package/dist/dts/features/authz/index.d.ts +3 -3
  8. package/dist/dts/features/authz/index.d.ts.map +1 -1
  9. package/dist/dts/features/authz/types.d.ts +1 -0
  10. package/dist/dts/features/authz/types.d.ts.map +1 -1
  11. package/dist/dts/features/dataLibrary/index.d.ts +3 -4
  12. package/dist/dts/features/dataLibrary/index.d.ts.map +1 -1
  13. package/dist/dts/features/dataLibrary/storage/APIStorageService.d.ts +26 -0
  14. package/dist/dts/features/dataLibrary/storage/APIStorageService.d.ts.map +1 -0
  15. package/dist/dts/features/dataLibrary/storage/CachedAPIStorageService.d.ts +16 -0
  16. package/dist/dts/features/dataLibrary/storage/CachedAPIStorageService.d.ts.map +1 -0
  17. package/dist/dts/features/dataLibrary/storage/DataLibraryStorageService.d.ts +16 -0
  18. package/dist/dts/features/dataLibrary/storage/DataLibraryStorageService.d.ts.map +1 -0
  19. package/dist/dts/features/dataLibrary/storage/LocalStorageService.d.ts +15 -0
  20. package/dist/dts/features/dataLibrary/storage/LocalStorageService.d.ts.map +1 -0
  21. package/dist/dts/features/dataLibrary/storage/RTKQ_APIStorageService.d.ts +1 -0
  22. package/dist/dts/features/dataLibrary/storage/RTKQ_APIStorageService.d.ts.map +1 -0
  23. package/dist/dts/features/dataLibrary/storage/tests/ApiService.unit.test.d.ts +2 -0
  24. package/dist/dts/features/dataLibrary/storage/tests/ApiService.unit.test.d.ts.map +1 -0
  25. package/dist/dts/features/dataLibrary/storage/tests/LocalStorageService.unit.test.d.ts +2 -0
  26. package/dist/dts/features/dataLibrary/storage/tests/LocalStorageService.unit.test.d.ts.map +1 -0
  27. package/dist/dts/features/dataLibrary/storage/tests/data.d.ts +132 -0
  28. package/dist/dts/features/dataLibrary/storage/tests/data.d.ts.map +1 -0
  29. package/dist/dts/features/dataLibrary/storage/types.d.ts +19 -0
  30. package/dist/dts/features/dataLibrary/storage/types.d.ts.map +1 -0
  31. package/dist/dts/features/dataLibrary/tests/utils.unit.test.d.ts +2 -0
  32. package/dist/dts/features/dataLibrary/tests/utils.unit.test.d.ts.map +1 -0
  33. package/dist/dts/features/dataLibrary/types.d.ts +60 -32
  34. package/dist/dts/features/dataLibrary/types.d.ts.map +1 -1
  35. package/dist/dts/features/dataLibrary/useDataLibrary.d.ts +17 -10
  36. package/dist/dts/features/dataLibrary/useDataLibrary.d.ts.map +1 -1
  37. package/dist/dts/features/dataLibrary/utils.d.ts +30 -3
  38. package/dist/dts/features/dataLibrary/utils.d.ts.map +1 -1
  39. package/dist/dts/features/guppy/guppyApi.d.ts.map +1 -1
  40. package/dist/dts/features/guppy/guppySlice.d.ts +1 -0
  41. package/dist/dts/features/guppy/guppySlice.d.ts.map +1 -1
  42. package/dist/dts/features/guppy/index.d.ts +2 -2
  43. package/dist/dts/features/guppy/index.d.ts.map +1 -1
  44. package/dist/dts/features/guppy/utils.d.ts +0 -1
  45. package/dist/dts/features/guppy/utils.d.ts.map +1 -1
  46. package/dist/dts/features/manifest/index.d.ts +2 -0
  47. package/dist/dts/features/manifest/index.d.ts.map +1 -0
  48. package/dist/dts/features/manifest/manifestApi.d.ts +1418 -0
  49. package/dist/dts/features/manifest/manifestApi.d.ts.map +1 -0
  50. package/dist/dts/features/manifest/types.d.ts +2 -0
  51. package/dist/dts/features/manifest/types.d.ts.map +1 -0
  52. package/dist/dts/features/metadata/index.d.ts +2 -1
  53. package/dist/dts/features/metadata/index.d.ts.map +1 -1
  54. package/dist/dts/features/metadata/utils.d.ts +2 -0
  55. package/dist/dts/features/metadata/utils.d.ts.map +1 -0
  56. package/dist/dts/features/submission/authMappingUtils.d.ts +6 -5
  57. package/dist/dts/features/submission/authMappingUtils.d.ts.map +1 -1
  58. package/dist/dts/features/user/hooks.d.ts +9 -7
  59. package/dist/dts/features/user/hooks.d.ts.map +1 -1
  60. package/dist/dts/features/user/index.d.ts +2 -1
  61. package/dist/dts/features/user/index.d.ts.map +1 -1
  62. package/dist/dts/features/user/test/queryWTSFederatedLoginStatus.test.d.ts +2 -0
  63. package/dist/dts/features/user/test/queryWTSFederatedLoginStatus.test.d.ts.map +1 -0
  64. package/dist/dts/features/user/userSliceRTK.d.ts +108 -12
  65. package/dist/dts/features/user/userSliceRTK.d.ts.map +1 -1
  66. package/dist/dts/features/user/utils.d.ts +8 -0
  67. package/dist/dts/features/user/utils.d.ts.map +1 -1
  68. package/dist/dts/hooks.d.ts +0 -2
  69. package/dist/dts/hooks.d.ts.map +1 -1
  70. package/dist/dts/index.d.ts +13 -12
  71. package/dist/dts/index.d.ts.map +1 -1
  72. package/dist/dts/reducers.d.ts +0 -2
  73. package/dist/dts/reducers.d.ts.map +1 -1
  74. package/dist/dts/store.d.ts +0 -4
  75. package/dist/dts/store.d.ts.map +1 -1
  76. package/dist/dts/types/index.d.ts +11 -1
  77. package/dist/dts/types/index.d.ts.map +1 -1
  78. package/dist/dts/utils/extractvalues.d.ts.map +1 -1
  79. package/dist/dts/utils/fetch.d.ts +9 -2
  80. package/dist/dts/utils/fetch.d.ts.map +1 -1
  81. package/dist/dts/utils/index.d.ts +2 -2
  82. package/dist/dts/utils/index.d.ts.map +1 -1
  83. package/dist/esm/index.js +3353 -2486
  84. package/dist/esm/index.js.map +1 -1
  85. package/dist/index.d.ts +3730 -2749
  86. package/package.json +4 -3
  87. package/dist/dts/features/dataLibrary/dataLibraryApi.d.ts +0 -1086
  88. package/dist/dts/features/dataLibrary/dataLibraryApi.d.ts.map +0 -1
  89. package/dist/dts/features/dataLibrary/dataLibraryIndexDB.d.ts +0 -35
  90. package/dist/dts/features/dataLibrary/dataLibraryIndexDB.d.ts.map +0 -1
  91. package/dist/dts/features/dataLibrary/dataLibrarySelectionSlice.d.ts +0 -31
  92. package/dist/dts/features/dataLibrary/dataLibrarySelectionSlice.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataLibraryApi.d.ts","sourceRoot":"","sources":["../../../../src/features/dataLibrary/dataLibraryApi.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,EACR,eAAe,EAEhB,MAAM,SAAS,CAAC;AAKjB,eAAO,MAAM,eAAe,2eAE1B,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;8JAkFzB,CAAC;AAEH,eAAO,MACL,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAC1B,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAC3B,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAC7B,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACjC,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAChC,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAC/B,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAChB,CAAC"}
@@ -1,35 +0,0 @@
1
- import { type Datalist, LoadAllListData } from './types';
2
- interface ReturnStatus {
3
- isError?: true;
4
- status?: string;
5
- lists?: Record<string, Datalist>;
6
- }
7
- /**
8
- * Deletes all lists in the database.
9
- *
10
- * @async
11
- * @returns {Promise<ReturnStatus>} A promise that resolves to the status of the operation.
12
- */
13
- export declare const deleteAllIndexDB: () => Promise<ReturnStatus>;
14
- /**
15
- * Deletes a list from the database.
16
- *
17
- * @async
18
- * @param {string} id - The unique identifier of the list to delete.
19
- * @returns {Promise<ReturnStatus>} The status of the deletion operation.
20
- * @throws {Error} If the list with the provided id does not exist.
21
- */
22
- export declare const deleteListIndexDB: (id: string) => Promise<ReturnStatus>;
23
- export declare const deleteAll: () => Promise<{
24
- status: string;
25
- isError?: undefined;
26
- } | {
27
- isError: boolean;
28
- status: string;
29
- }>;
30
- export declare const addListToDataLibraryIndexDB: (body?: Partial<Datalist>) => Promise<ReturnStatus>;
31
- export declare const updateListIndexDB: (id: string, list: Datalist) => Promise<ReturnStatus>;
32
- export declare const addAllListIndexDB: (data: LoadAllListData) => Promise<ReturnStatus>;
33
- export declare const getDataLibraryListIndexDB: (id?: string) => Promise<ReturnStatus>;
34
- export {};
35
- //# sourceMappingURL=dataLibraryIndexDB.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataLibraryIndexDB.d.ts","sourceRoot":"","sources":["../../../../src/features/dataLibrary/dataLibraryIndexDB.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAmB,eAAe,EAAE,MAAM,SAAS,CAAC;AAQ1E,UAAU,YAAY;IACpB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CAClC;AAYD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,QAAa,OAAO,CAAC,YAAY,CAM7D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAAU,IAAI,MAAM,KAAG,OAAO,CAAC,YAAY,CAiBxE,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;EAUrB,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,OAAO,OAAO,CAAC,QAAQ,CAAC,KACvB,OAAO,CAAC,YAAY,CAwBtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,IAAI,MAAM,EACV,MAAM,QAAQ,KAEb,OAAO,CAAC,YAAY,CAkCtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,MAAM,eAAe,KACpB,OAAO,CAAC,YAAY,CAkCtB,CAAC;AASF,eAAO,MAAM,yBAAyB,GACpC,KAAK,MAAM,KACV,OAAO,CAAC,YAAY,CAmDtB,CAAC"}
@@ -1,31 +0,0 @@
1
- type DataLibrarySelectionState = Record<string, Array<string>>;
2
- interface UpdateSelectionParams {
3
- listId: string;
4
- itemIds: string[];
5
- }
6
- export declare const setDataLibraryListSelection: import("@reduxjs/toolkit").ActionCreatorWithPayload<UpdateSelectionParams, "dataLibrary/setDataLibraryListSelection">, clearDataLibrarySelection: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"dataLibrary/clearDataLibrarySelection">;
7
- export declare const dataLibrarySelectionReducer: import("redux").Reducer<{}>;
8
- export declare const selectDataLibrary: (state: DataLibrarySelectionState) => string[];
9
- export declare const selectRootObjectDataLibrary: ((state: any, rootObjectId: any) => string | never[]) & {
10
- clearCache: () => void;
11
- resultsCount: () => number;
12
- resetResultsCount: () => void;
13
- } & {
14
- resultFunc: (resultFuncArgs_0: string[], resultFuncArgs_1: any) => string | never[];
15
- memoizedResultFunc: ((resultFuncArgs_0: string[], resultFuncArgs_1: any) => string | never[]) & {
16
- clearCache: () => void;
17
- resultsCount: () => number;
18
- resetResultsCount: () => void;
19
- };
20
- lastResult: () => string | never[];
21
- dependencies: [(state: DataLibrarySelectionState) => string[], (_: any, rootObjectId: any) => any];
22
- recomputations: () => number;
23
- resetRecomputations: () => void;
24
- dependencyRecomputations: () => number;
25
- resetDependencyRecomputations: () => void;
26
- } & {
27
- argsMemoize: typeof import("reselect").weakMapMemoize;
28
- memoize: typeof import("reselect").weakMapMemoize;
29
- };
30
- export {};
31
- //# sourceMappingURL=dataLibrarySelectionSlice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataLibrarySelectionSlice.d.ts","sourceRoot":"","sources":["../../../../src/features/dataLibrary/dataLibrarySelectionSlice.ts"],"names":[],"mappings":"AAQA,KAAK,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AAE/D,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAmBD,eAAO,MAAQ,2BAA2B,yHAAE,yBAAyB,iGAC3C,CAAC;AAE3B,eAAO,MAAM,2BAA2B,6BAA2B,CAAC;AAGpE,eAAO,MAAM,iBAAiB,GAAI,OAAO,yBAAyB,aACtC,CAAC;AAG7B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;2BAJC,yBAAyB;;;;;;;;CAOjE,CAAC"}