@gen3/core 0.10.93 → 0.10.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +386 -122
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/constants.d.ts +1 -0
- package/dist/dts/constants.d.ts.map +1 -1
- package/dist/dts/features/cohort/cohortSlice.d.ts +152 -77
- package/dist/dts/features/cohort/cohortSlice.d.ts.map +1 -1
- package/dist/dts/features/cohort/index.d.ts +2 -2
- package/dist/dts/features/cohort/index.d.ts.map +1 -1
- package/dist/dts/features/cohort/reducers.d.ts +2 -2
- package/dist/dts/features/cohort/utils.d.ts +2 -0
- package/dist/dts/features/cohort/utils.d.ts.map +1 -0
- package/dist/dts/features/filters/filters.d.ts +17 -0
- package/dist/dts/features/filters/filters.d.ts.map +1 -1
- package/dist/dts/features/filters/index.d.ts +2 -2
- package/dist/dts/features/filters/index.d.ts.map +1 -1
- package/dist/dts/features/filters/tests/filters.unit.test.d.ts +2 -0
- package/dist/dts/features/filters/tests/filters.unit.test.d.ts.map +1 -0
- package/dist/dts/features/gen3Apps/Gen3AppRTKQ.d.ts +4 -8
- package/dist/dts/features/gen3Apps/Gen3AppRTKQ.d.ts.map +1 -1
- package/dist/dts/features/guppy/guppySlice.d.ts +3 -1
- package/dist/dts/features/guppy/guppySlice.d.ts.map +1 -1
- package/dist/dts/features/guppy/index.d.ts +2 -0
- package/dist/dts/features/guppy/index.d.ts.map +1 -1
- package/dist/dts/features/guppy/processing.d.ts +20 -0
- package/dist/dts/features/guppy/processing.d.ts.map +1 -0
- package/dist/dts/features/guppy/tests/processing.unit.test.d.ts +2 -0
- package/dist/dts/features/guppy/tests/processing.unit.test.d.ts.map +1 -0
- package/dist/dts/features/requestor/index.d.ts +2 -0
- package/dist/dts/features/requestor/index.d.ts.map +1 -0
- package/dist/dts/features/requestor/requestorSlice.d.ts +298 -0
- package/dist/dts/features/requestor/requestorSlice.d.ts.map +1 -0
- package/dist/dts/features/user/index.d.ts +2 -2
- package/dist/dts/features/user/index.d.ts.map +1 -1
- package/dist/dts/features/user/userSliceRTK.d.ts +171 -4
- package/dist/dts/features/user/userSliceRTK.d.ts.map +1 -1
- package/dist/dts/hooks.d.ts +2 -2
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/reducers.d.ts +3 -3
- package/dist/dts/store.d.ts +4 -4
- package/dist/dts/types/index.d.ts +12 -6
- package/dist/dts/types/index.d.ts.map +1 -1
- package/dist/dts/utils/extractvalues.d.ts +1 -4
- package/dist/dts/utils/extractvalues.d.ts.map +1 -1
- package/dist/dts/utils/fetch.d.ts +1 -1
- package/dist/dts/utils/fetch.d.ts.map +1 -1
- package/dist/esm/index.js +371 -124
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +5459 -4916
- package/package.json +3 -3
package/dist/dts/store.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare const setupCoreStore: (preloadedState?: Partial<CoreState>) => im
|
|
|
26
26
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
27
27
|
};
|
|
28
28
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
29
|
-
cohort: import("./features/cohort/cohortSlice").
|
|
29
|
+
cohort: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortSlice").CurrentCohortState;
|
|
30
30
|
};
|
|
31
31
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
32
32
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -59,7 +59,7 @@ export declare const setupCoreStore: (preloadedState?: Partial<CoreState>) => im
|
|
|
59
59
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
60
60
|
};
|
|
61
61
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
62
|
-
cohort: import("./features/cohort/cohortSlice").
|
|
62
|
+
cohort: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortSlice").CurrentCohortState;
|
|
63
63
|
};
|
|
64
64
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
65
65
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -93,7 +93,7 @@ export declare const coreStore: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
93
93
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
94
94
|
};
|
|
95
95
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
96
|
-
cohort: import("./features/cohort/cohortSlice").
|
|
96
|
+
cohort: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortSlice").CurrentCohortState;
|
|
97
97
|
};
|
|
98
98
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
99
99
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -126,7 +126,7 @@ export declare const coreStore: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
126
126
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
127
127
|
};
|
|
128
128
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
129
|
-
cohort: import("./features/cohort/cohortSlice").
|
|
129
|
+
cohort: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortSlice").CurrentCohortState;
|
|
130
130
|
};
|
|
131
131
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
132
132
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FetchBaseQueryError } from '@reduxjs/toolkit/query';
|
|
2
|
-
export type JSONValue = string | number | boolean |
|
|
3
|
-
export
|
|
4
|
-
[
|
|
5
|
-
}
|
|
6
|
-
export type JSONArray =
|
|
2
|
+
export type JSONValue = string | number | boolean | null | JSONArray | JSONObject;
|
|
3
|
+
export interface JSONObject {
|
|
4
|
+
[key: string]: JSONValue;
|
|
5
|
+
}
|
|
6
|
+
export type JSONArray = JSONValue[];
|
|
7
7
|
export declare const isHistogramRangeData: (key: any) => key is [number, number];
|
|
8
8
|
export declare const isJSONObject: (data: any) => data is JSONObject;
|
|
9
|
-
export declare const isJSONValue: (data:
|
|
9
|
+
export declare const isJSONValue: (data: unknown) => data is JSONValue;
|
|
10
10
|
export declare const isJSONValueArray: (data: JSONValue) => data is JSONArray;
|
|
11
11
|
export interface HistogramData {
|
|
12
12
|
key: string | [number, number];
|
|
@@ -53,6 +53,12 @@ export declare function isHttpStatusError(error: unknown): error is HttpError;
|
|
|
53
53
|
*/
|
|
54
54
|
export declare function isFetchParseError(error: unknown): error is ParsingError;
|
|
55
55
|
export type AggregationsData = Record<string, HistogramDataArray>;
|
|
56
|
+
/**
|
|
57
|
+
* Represents the results of a guppy aggregation query
|
|
58
|
+
*/
|
|
59
|
+
export interface GuppyAggregationsResponse {
|
|
60
|
+
_aggregation: Record<string, AggregationsData>;
|
|
61
|
+
}
|
|
56
62
|
/**
|
|
57
63
|
* Represents a manifest item.
|
|
58
64
|
* @interface ManifestItem
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,MAAM,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS,GACT,UAAU,CAAC;AAEf,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAED,MAAM,MAAM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AA0B,GAAI,MAAM,GAAG,KAAG,OAItD,CAAC;AAEF;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,mBAAmB,CAE9B;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAO9B;AAED,UAAU,YAAY;IACpB,MAAM,EAAE,eAAe,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;CACf;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,SAAS,CAOpE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,YAAY,CAQvE;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;CAChD;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
+
import { JSONObject } from '../types';
|
|
1
2
|
type JsonPathMapping = {
|
|
2
3
|
[key: string]: string;
|
|
3
4
|
};
|
|
4
|
-
export interface JSONObject {
|
|
5
|
-
[k: string]: JSONValue;
|
|
6
|
-
}
|
|
7
|
-
export type JSONValue = string | number | boolean | JSONValue[] | JSONObject;
|
|
8
5
|
export declare const extractValuesFromObject: (jsonPathMappings: JsonPathMapping, obj: JSONObject) => JSONObject;
|
|
9
6
|
export {};
|
|
10
7
|
//# sourceMappingURL=extractvalues.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extractvalues.d.ts","sourceRoot":"","sources":["../../../src/utils/extractvalues.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extractvalues.d.ts","sourceRoot":"","sources":["../../../src/utils/extractvalues.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,UAAU,CAAC;AAEjD,KAAK,eAAe,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAEjD,eAAO,MAAM,uBAAuB,GAClC,kBAAkB,eAAe,EACjC,KAAK,UAAU,KACd,UAmBF,CAAC"}
|
|
@@ -39,6 +39,6 @@ export declare const fetchFencePresignedURL: ({ guid, method, onAbort, signal, }
|
|
|
39
39
|
*
|
|
40
40
|
* @throws {HTTPError} Throws an error if the HTTP response status indicates a failure.
|
|
41
41
|
*/
|
|
42
|
-
export declare const fetchJSONDataFromURL: <T = unknown>(url: string, requiresCSRF?: boolean, method?: HttpMethod, body?: unknown, signal?: AbortSignal) => Promise<
|
|
42
|
+
export declare const fetchJSONDataFromURL: <T = unknown>(url: string, requiresCSRF?: boolean, method?: HttpMethod, body?: unknown, signal?: AbortSignal) => Promise<T | null>;
|
|
43
43
|
export {};
|
|
44
44
|
//# sourceMappingURL=fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/utils/fetch.ts"],"names":[],"mappings":"AAKA,oBAAY,UAAU;IACpB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB;AAMD,eAAO,MAAM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