@gen3/core 0.11.21 → 0.11.22
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 +1902 -1364
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/cohort/cohortManagerSelector.d.ts +193 -0
- package/dist/dts/features/cohort/cohortManagerSelector.d.ts.map +1 -0
- package/dist/dts/features/cohort/cohortManagerSlice.d.ts +112 -0
- package/dist/dts/features/cohort/cohortManagerSlice.d.ts.map +1 -0
- package/dist/dts/features/cohort/index.d.ts +9 -6
- 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/storage/CohortStorage.d.ts +70 -0
- package/dist/dts/features/cohort/storage/CohortStorage.d.ts.map +1 -0
- package/dist/dts/features/cohort/tests/cohortManager.unit.test.d.ts +2 -0
- package/dist/dts/features/cohort/tests/cohortManager.unit.test.d.ts.map +1 -0
- package/dist/dts/features/cohort/types.d.ts +28 -0
- package/dist/dts/features/cohort/types.d.ts.map +1 -1
- package/dist/dts/features/cohort/utils.d.ts +3 -0
- package/dist/dts/features/cohort/utils.d.ts.map +1 -1
- package/dist/dts/features/dataLibrary/index.d.ts +3 -2
- package/dist/dts/features/dataLibrary/index.d.ts.map +1 -1
- package/dist/dts/features/dataLibrary/storage/LocalStorageService.d.ts +1 -1
- package/dist/dts/features/dataLibrary/storage/LocalStorageService.d.ts.map +1 -1
- package/dist/dts/features/dataLibrary/utils.d.ts +1 -2
- package/dist/dts/features/dataLibrary/utils.d.ts.map +1 -1
- package/dist/dts/features/facets/index.d.ts +2 -0
- package/dist/dts/features/facets/index.d.ts.map +1 -0
- package/dist/dts/features/facets/types.d.ts +20 -0
- package/dist/dts/features/facets/types.d.ts.map +1 -0
- package/dist/dts/features/filters/index.d.ts +1 -2
- package/dist/dts/features/filters/index.d.ts.map +1 -1
- package/dist/dts/features/filters/types.d.ts +4 -6
- package/dist/dts/features/filters/types.d.ts.map +1 -1
- package/dist/dts/features/user/userSliceRTK.d.ts +3 -3
- package/dist/dts/hooks.d.ts +4 -4
- package/dist/dts/index.d.ts +2 -1
- 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/utils/index.d.ts +4 -3
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/time.d.ts +1 -0
- package/dist/dts/utils/time.d.ts.map +1 -1
- package/dist/esm/index.js +1885 -1362
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +265 -58
- package/package.json +2 -2
- package/dist/dts/features/cohort/cohortSlice.d.ts +0 -204
- package/dist/dts/features/cohort/cohortSlice.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as redux from 'redux';
|
|
2
2
|
import { Action, Reducer as Reducer$1, Store } from 'redux';
|
|
3
3
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
4
|
-
import { Middleware, Reducer, EntityState,
|
|
4
|
+
import { Middleware, Reducer, EntityState, UnknownAction, Dispatch } from '@reduxjs/toolkit';
|
|
5
5
|
import * as redux_thunk from 'redux-thunk';
|
|
6
6
|
import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
|
|
7
7
|
import { FetchBaseQueryError, QueryStatus } from '@reduxjs/toolkit/query';
|
|
@@ -2546,8 +2546,8 @@ interface FilterSet {
|
|
|
2546
2546
|
readonly mode: 'and' | 'or';
|
|
2547
2547
|
}
|
|
2548
2548
|
declare const isFilterSet: (input: any) => input is FilterSet;
|
|
2549
|
-
declare
|
|
2550
|
-
declare
|
|
2549
|
+
declare const isUnion: (value: unknown) => value is Union;
|
|
2550
|
+
declare const isIntersection: (value: unknown) => value is Intersection;
|
|
2551
2551
|
declare const isOperandsType: (operation: Operation) => operation is OperandsType;
|
|
2552
2552
|
interface OperationHandler<T> {
|
|
2553
2553
|
handleEquals: (op: Equals) => T;
|
|
@@ -2580,12 +2580,10 @@ type HistogramBucket = {
|
|
|
2580
2580
|
key: string | [number, number];
|
|
2581
2581
|
count: number;
|
|
2582
2582
|
};
|
|
2583
|
-
interface AllowableRange {
|
|
2584
|
-
readonly minimum?: number;
|
|
2585
|
-
readonly maximum?: number;
|
|
2586
|
-
}
|
|
2587
2583
|
type IndexedFilterSet = Record<string, FilterSet>;
|
|
2584
|
+
declare const isIndexedFilterSetEmpty: (filters: IndexedFilterSet) => boolean;
|
|
2588
2585
|
type UnionOrIntersection = Union | Intersection;
|
|
2586
|
+
declare const EmptyFilterSet: FilterSet;
|
|
2589
2587
|
|
|
2590
2588
|
type OperatorWithFieldAndArrayOfOperands = Includes | Excludes | ExcludeIfAny;
|
|
2591
2589
|
declare const isOperationWithField: (operation: OperationWithField | Operation) => operation is OperationWithField;
|
|
@@ -2598,6 +2596,10 @@ declare const handleOperation: <T>(handler: OperationHandler<T>, op: Operation)
|
|
|
2598
2596
|
* @param fs - FilterSet to test
|
|
2599
2597
|
*/
|
|
2600
2598
|
declare const isFilterEmpty: (fs: FilterSet) => boolean;
|
|
2599
|
+
interface FilterGroup {
|
|
2600
|
+
readonly filterIndex: number;
|
|
2601
|
+
readonly filter: FilterSet;
|
|
2602
|
+
}
|
|
2601
2603
|
interface GQLEqual {
|
|
2602
2604
|
'=': {
|
|
2603
2605
|
[key: string]: string | number;
|
|
@@ -2689,8 +2691,81 @@ interface GQLNestedFilter {
|
|
|
2689
2691
|
nested: NestedContents;
|
|
2690
2692
|
}
|
|
2691
2693
|
type GQLFilter = GQLEqual | GQLNotEqual | GQLLessThan | GQLLessThanOrEquals | GQLGreaterThan | GQLGreaterThanOrEquals | GQLIncludes | GQLExcludes | GQLExcludeIfAny | GQLIntersection | GQLUnion | GQLExists | GQLMissing | GQLNestedFilter;
|
|
2694
|
+
declare class ToGqlHandler implements OperationHandler<GQLFilter> {
|
|
2695
|
+
handleEquals: (op: Equals) => GQLEqual;
|
|
2696
|
+
handleNotEquals: (op: NotEquals) => GQLNotEqual;
|
|
2697
|
+
handleLessThan: (op: LessThan) => GQLLessThan;
|
|
2698
|
+
handleLessThanOrEquals: (op: LessThanOrEquals) => GQLLessThanOrEquals;
|
|
2699
|
+
handleGreaterThan: (op: GreaterThan) => GQLGreaterThan;
|
|
2700
|
+
handleGreaterThanOrEquals: (op: GreaterThanOrEquals) => GQLGreaterThanOrEquals;
|
|
2701
|
+
handleIncludes: (op: Includes) => GQLIncludes;
|
|
2702
|
+
handleExcludes: (op: Excludes) => GQLExcludes;
|
|
2703
|
+
handleExcludeIfAny: (op: ExcludeIfAny) => GQLExcludeIfAny;
|
|
2704
|
+
handleIntersection: (op: Intersection) => GQLIntersection;
|
|
2705
|
+
handleUnion: (op: Union) => GQLUnion;
|
|
2706
|
+
handleMissing: (op: Missing) => GQLMissing;
|
|
2707
|
+
handleExists: (op: Exists) => GQLExists;
|
|
2708
|
+
handleNestedFilter: (op: NestedFilter) => GQLNestedFilter;
|
|
2709
|
+
}
|
|
2692
2710
|
declare const convertFilterToGqlFilter: (filter: Operation) => GQLFilter;
|
|
2693
2711
|
declare const convertFilterSetToGqlFilter: (fs: FilterSet, toplevelOp?: "and" | "or") => GQLFilter;
|
|
2712
|
+
interface GqlOperationHandler<T> {
|
|
2713
|
+
handleEquals: (op: GQLEqual) => T;
|
|
2714
|
+
handleNotEquals: (op: GQLNotEqual) => T;
|
|
2715
|
+
handleLessThan: (op: GQLLessThan) => T;
|
|
2716
|
+
handleLessThanOrEquals: (op: GQLLessThanOrEquals) => T;
|
|
2717
|
+
handleGreaterThan: (op: GQLGreaterThan) => T;
|
|
2718
|
+
handleGreaterThanOrEquals: (op: GQLGreaterThanOrEquals) => T;
|
|
2719
|
+
handleIncludes: (op: GQLIncludes) => T;
|
|
2720
|
+
handleExcludes: (op: GQLExcludes) => T;
|
|
2721
|
+
handleExcludeIfAny: (op: GQLExcludeIfAny) => T;
|
|
2722
|
+
handleIntersection: (op: GQLIntersection) => T;
|
|
2723
|
+
handleUnion: (op: GQLUnion) => T;
|
|
2724
|
+
handleNestedFilter: (op: GQLNestedFilter) => T;
|
|
2725
|
+
handleExists: (op: GQLExists) => T;
|
|
2726
|
+
handleMissing: (op: GQLMissing) => T;
|
|
2727
|
+
}
|
|
2728
|
+
declare const handleGqlOperation: <T>(handler: GqlOperationHandler<T>, op: GQLFilter) => T;
|
|
2729
|
+
declare const convertGqlFilterToFilter: (gqlFilter: GQLFilter) => Operation;
|
|
2730
|
+
/**
|
|
2731
|
+
* Extract the operand values, if operands themselves have values, otherwise undefined.
|
|
2732
|
+
*/
|
|
2733
|
+
declare class ValueExtractorHandler implements OperationHandler<FilterValue> {
|
|
2734
|
+
handleEquals: (op: Equals) => string | number;
|
|
2735
|
+
handleNotEquals: (op: NotEquals) => string | number;
|
|
2736
|
+
handleIncludes: (op: Includes) => ReadonlyArray<string | number>;
|
|
2737
|
+
handleExcludes: (op: Excludes) => ReadonlyArray<string | number>;
|
|
2738
|
+
handleExcludeIfAny: (op: ExcludeIfAny) => ReadonlyArray<string | number>;
|
|
2739
|
+
handleGreaterThanOrEquals: (op: GreaterThanOrEquals) => string | number;
|
|
2740
|
+
handleGreaterThan: (op: GreaterThan) => string | number;
|
|
2741
|
+
handleLessThan: (op: LessThan) => string | number;
|
|
2742
|
+
handleLessThanOrEquals: (op: LessThanOrEquals) => string | number;
|
|
2743
|
+
handleIntersection: (op: Intersection) => undefined;
|
|
2744
|
+
handleUnion: (op: Union) => undefined;
|
|
2745
|
+
handleNestedFilter: (op: NestedFilter) => undefined;
|
|
2746
|
+
handleExists: (op: Exists) => undefined;
|
|
2747
|
+
handleMissing: (op: Missing) => undefined;
|
|
2748
|
+
}
|
|
2749
|
+
/**
|
|
2750
|
+
* Extract the operand values, if operands themselves have values, otherwise undefined.
|
|
2751
|
+
*/
|
|
2752
|
+
declare class EnumValueExtractorHandler implements OperationHandler<EnumFilterValue | undefined> {
|
|
2753
|
+
handleEquals: (_: Equals) => undefined;
|
|
2754
|
+
handleNotEquals: (_: NotEquals) => undefined;
|
|
2755
|
+
handleIncludes: (op: Includes) => ReadonlyArray<string | number>;
|
|
2756
|
+
handleExcludes: (op: Excludes) => ReadonlyArray<string | number>;
|
|
2757
|
+
handleExcludeIfAny: (op: ExcludeIfAny) => ReadonlyArray<string | number>;
|
|
2758
|
+
handleGreaterThanOrEquals: (_: GreaterThanOrEquals) => undefined;
|
|
2759
|
+
handleGreaterThan: (_: GreaterThan) => undefined;
|
|
2760
|
+
handleLessThan: (op: LessThan) => undefined;
|
|
2761
|
+
handleLessThanOrEquals: (op: LessThanOrEquals) => undefined;
|
|
2762
|
+
handleIntersection: (op: Intersection) => undefined;
|
|
2763
|
+
handleUnion: (op: Union) => undefined;
|
|
2764
|
+
handleNestedFilter: (op: NestedFilter) => EnumFilterValue | undefined;
|
|
2765
|
+
handleExists: (op: Exists) => undefined;
|
|
2766
|
+
handleMissing: (op: Missing) => undefined;
|
|
2767
|
+
}
|
|
2768
|
+
declare const appendFilterToOperation: (filter: Intersection | Union | undefined, addition: Intersection | Union | undefined) => Intersection | Union;
|
|
2694
2769
|
declare const filterSetToOperation: (fs: FilterSet | undefined) => Operation | undefined;
|
|
2695
2770
|
|
|
2696
2771
|
declare const trimFirstFieldNameToTitle: (fieldName: string, trim?: boolean) => string;
|
|
@@ -5722,7 +5797,7 @@ declare const setupCoreStore: (preloadedState?: Partial<CoreState>) => _reduxjs_
|
|
|
5722
5797
|
[x: string]: Record<string, CombineMode>;
|
|
5723
5798
|
};
|
|
5724
5799
|
sharedFilters: SharedFiltersState;
|
|
5725
|
-
|
|
5800
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
5726
5801
|
};
|
|
5727
5802
|
activeWorkspace: WorkspaceState;
|
|
5728
5803
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -5755,7 +5830,7 @@ declare const setupCoreStore: (preloadedState?: Partial<CoreState>) => _reduxjs_
|
|
|
5755
5830
|
[x: string]: Record<string, CombineMode>;
|
|
5756
5831
|
};
|
|
5757
5832
|
sharedFilters: SharedFiltersState;
|
|
5758
|
-
|
|
5833
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
5759
5834
|
};
|
|
5760
5835
|
activeWorkspace: WorkspaceState;
|
|
5761
5836
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -5789,7 +5864,7 @@ declare const coreStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
5789
5864
|
[x: string]: Record<string, CombineMode>;
|
|
5790
5865
|
};
|
|
5791
5866
|
sharedFilters: SharedFiltersState;
|
|
5792
|
-
|
|
5867
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
5793
5868
|
};
|
|
5794
5869
|
activeWorkspace: WorkspaceState;
|
|
5795
5870
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -5822,7 +5897,7 @@ declare const coreStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
5822
5897
|
[x: string]: Record<string, CombineMode>;
|
|
5823
5898
|
};
|
|
5824
5899
|
sharedFilters: SharedFiltersState;
|
|
5825
|
-
|
|
5900
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
5826
5901
|
};
|
|
5827
5902
|
activeWorkspace: WorkspaceState;
|
|
5828
5903
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -6476,9 +6551,12 @@ declare const useGetFederatedLoginStatus: ({ selectedFiles, }: FederatedLoginSta
|
|
|
6476
6551
|
declare const getFederatedLoginStatus: (selectedFiles: ReadonlyArray<FileMetadata>) => Promise<ExternalLoginStatus>;
|
|
6477
6552
|
|
|
6478
6553
|
type CombineMode = 'and' | 'or';
|
|
6479
|
-
|
|
6480
6554
|
type CohortId = string;
|
|
6481
6555
|
type CountsData = Record<string, number>;
|
|
6556
|
+
interface StorageEntity<T> {
|
|
6557
|
+
id: T;
|
|
6558
|
+
name: string;
|
|
6559
|
+
}
|
|
6482
6560
|
/**
|
|
6483
6561
|
* A Cohort is a collection of filters that can be used to query the GDC API.
|
|
6484
6562
|
* The cohort interface is used to manage the cohort state in the redux-toolkit entity adapter.
|
|
@@ -6488,21 +6566,21 @@ type CountsData = Record<string, number>;
|
|
|
6488
6566
|
* @property name - the name of the cohort
|
|
6489
6567
|
* @property filters - the filters for the cohort
|
|
6490
6568
|
* @property modified - flag indicating if the cohort has been modified
|
|
6491
|
-
* @property
|
|
6569
|
+
* @property modifiedDatetime - the last time the cohort was modified
|
|
6492
6570
|
* @property saved - flag indicating if the cohort has been saved
|
|
6493
6571
|
* @category Cohort
|
|
6494
6572
|
*/
|
|
6495
|
-
interface Cohort {
|
|
6496
|
-
id: CohortId;
|
|
6497
|
-
name: string;
|
|
6573
|
+
interface Cohort extends StorageEntity<CohortId> {
|
|
6498
6574
|
filters: IndexedFilterSet;
|
|
6499
6575
|
modified?: boolean;
|
|
6500
|
-
|
|
6576
|
+
createdDatetime: string;
|
|
6577
|
+
modifiedDatetime: string;
|
|
6501
6578
|
saved?: boolean;
|
|
6502
6579
|
counts?: CountsData;
|
|
6503
6580
|
}
|
|
6581
|
+
|
|
6504
6582
|
interface CurrentCohortState {
|
|
6505
|
-
|
|
6583
|
+
currentCohortId: string;
|
|
6506
6584
|
message?: string[];
|
|
6507
6585
|
}
|
|
6508
6586
|
interface UpdateFilterParams {
|
|
@@ -6524,16 +6602,148 @@ interface RemoveFilterParams {
|
|
|
6524
6602
|
interface ClearAllFilterParams {
|
|
6525
6603
|
index: string;
|
|
6526
6604
|
}
|
|
6605
|
+
interface CreateCohortParams {
|
|
6606
|
+
name?: string;
|
|
6607
|
+
filters?: IndexedFilterSet;
|
|
6608
|
+
}
|
|
6609
|
+
interface UpdateCohortNameParams {
|
|
6610
|
+
id: string;
|
|
6611
|
+
name: string;
|
|
6612
|
+
}
|
|
6613
|
+
declare const createNewCohort: _reduxjs_toolkit.ActionCreatorWithPayload<CreateCohortParams, "cohort/createNewCohort">;
|
|
6527
6614
|
declare const updateCohortFilter: _reduxjs_toolkit.ActionCreatorWithPayload<UpdateFilterParams, "cohort/updateCohortFilter">;
|
|
6528
6615
|
declare const setCohortFilter: _reduxjs_toolkit.ActionCreatorWithPayload<SetFilterParams, "cohort/setCohortFilter">;
|
|
6529
6616
|
declare const setCohortIndexFilters: _reduxjs_toolkit.ActionCreatorWithPayload<SetAllIndexFiltersParams, "cohort/setCohortIndexFilters">;
|
|
6617
|
+
declare const duplicateCohort: _reduxjs_toolkit.ActionCreatorWithoutPayload<"cohort/duplicateCohort">;
|
|
6530
6618
|
declare const removeCohortFilter: _reduxjs_toolkit.ActionCreatorWithPayload<RemoveFilterParams, "cohort/removeCohortFilter">;
|
|
6531
6619
|
declare const clearCohortFilters: _reduxjs_toolkit.ActionCreatorWithPayload<ClearAllFilterParams, "cohort/clearCohortFilters">;
|
|
6532
6620
|
declare const removeCohort: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
6533
6621
|
shouldShowMessage?: boolean;
|
|
6534
|
-
id
|
|
6622
|
+
id: string;
|
|
6535
6623
|
}, "cohort/removeCohort">;
|
|
6536
|
-
declare const
|
|
6624
|
+
declare const setCurrentCohortId: _reduxjs_toolkit.ActionCreatorWithPayload<string, "cohort/setCurrentCohortId">;
|
|
6625
|
+
declare const updateCohortName: _reduxjs_toolkit.ActionCreatorWithPayload<UpdateCohortNameParams, "cohort/updateCohortName">;
|
|
6626
|
+
declare const setCohortList: _reduxjs_toolkit.ActionCreatorWithPayload<Cohort[], "cohort/setCohortList">;
|
|
6627
|
+
declare const cohortReducer: redux.Reducer<EntityState<Cohort, string> & CurrentCohortState>;
|
|
6628
|
+
|
|
6629
|
+
declare const toggleCohortBuilderCategoryFilter: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
6630
|
+
index: string;
|
|
6631
|
+
field: string;
|
|
6632
|
+
expanded: boolean;
|
|
6633
|
+
}, "CohortBuilder/filterExpand/toggleCohortBuilderCategoryFilter">;
|
|
6634
|
+
declare const toggleCohortBuilderAllFilters: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
6635
|
+
index: string;
|
|
6636
|
+
expand: boolean;
|
|
6637
|
+
}, "CohortBuilder/filterExpand/toggleCohortBuilderAllFilters">;
|
|
6638
|
+
declare const selectCohortFilterExpanded: (state: CoreState, index: string, field: string) => boolean;
|
|
6639
|
+
declare const selectAllCohortFiltersCollapsed: (state: CoreState, index: string) => boolean;
|
|
6640
|
+
|
|
6641
|
+
declare const setCohortFilterCombineMode: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
6642
|
+
index: string;
|
|
6643
|
+
field: string;
|
|
6644
|
+
mode: CombineMode;
|
|
6645
|
+
}, "CohortBuilder/filterCombineMode/setCohortFilterCombineMode">;
|
|
6646
|
+
declare const selectCohortFilterCombineMode: (state: CoreState, index: string, field: string) => CombineMode;
|
|
6647
|
+
|
|
6648
|
+
interface CohortStorageReturnStatus<T> extends StorageOperationResults {
|
|
6649
|
+
data?: T;
|
|
6650
|
+
}
|
|
6651
|
+
interface CohortStorageConfig {
|
|
6652
|
+
databaseName: string;
|
|
6653
|
+
storeName: string;
|
|
6654
|
+
schemaVersion?: number;
|
|
6655
|
+
}
|
|
6656
|
+
declare class CohortStorage<T extends StorageEntity<K>, K extends string | number = string> {
|
|
6657
|
+
private readonly databaseName;
|
|
6658
|
+
private readonly storeName;
|
|
6659
|
+
private readonly schemaVersion;
|
|
6660
|
+
constructor(config: CohortStorageConfig);
|
|
6661
|
+
private getDb;
|
|
6662
|
+
/**
|
|
6663
|
+
* Save a single cohort to the database
|
|
6664
|
+
*/
|
|
6665
|
+
saveCohort(cohort: T): Promise<StorageOperationResults>;
|
|
6666
|
+
/**
|
|
6667
|
+
* Save multiple cohorts in a single transaction (bulk operation)
|
|
6668
|
+
*/
|
|
6669
|
+
saveCohorts(cohorts: T[]): Promise<StorageOperationResults>;
|
|
6670
|
+
/**
|
|
6671
|
+
* Get a specific cohort by ID
|
|
6672
|
+
*/
|
|
6673
|
+
getCohort(id: K): Promise<CohortStorageReturnStatus<T>>;
|
|
6674
|
+
/**
|
|
6675
|
+
* Get all cohorts from the database
|
|
6676
|
+
*/
|
|
6677
|
+
getAllCohorts(): Promise<CohortStorageReturnStatus<Record<K, T>>>;
|
|
6678
|
+
/**
|
|
6679
|
+
* Search cohorts by name (case-insensitive partial match)
|
|
6680
|
+
*/
|
|
6681
|
+
searchCohortsByName(searchTerm: string): Promise<CohortStorageReturnStatus<Record<K, T>>>;
|
|
6682
|
+
/**
|
|
6683
|
+
* Count total number of cohorts
|
|
6684
|
+
*/
|
|
6685
|
+
getCohortCount(): Promise<CohortStorageReturnStatus<number>>;
|
|
6686
|
+
/**
|
|
6687
|
+
* Update an existing cohort (full replacement)
|
|
6688
|
+
*/
|
|
6689
|
+
updateCohort(cohort: T): Promise<StorageOperationResults>;
|
|
6690
|
+
/**
|
|
6691
|
+
* Delete a specific cohort by ID
|
|
6692
|
+
*/
|
|
6693
|
+
deleteCohort(id: K): Promise<StorageOperationResults>;
|
|
6694
|
+
/**
|
|
6695
|
+
* Delete all cohorts from the database
|
|
6696
|
+
*/
|
|
6697
|
+
deleteAllCohorts(): Promise<StorageOperationResults>;
|
|
6698
|
+
/**
|
|
6699
|
+
* Check if a cohort exists
|
|
6700
|
+
*/
|
|
6701
|
+
cohortExists(id: K): Promise<CohortStorageReturnStatus<boolean>>;
|
|
6702
|
+
/**
|
|
6703
|
+
* Export all cohorts as JSON
|
|
6704
|
+
*/
|
|
6705
|
+
exportCohorts(): Promise<CohortStorageReturnStatus<Record<K, T>>>;
|
|
6706
|
+
/**
|
|
6707
|
+
* Import cohorts from JSON data
|
|
6708
|
+
*/
|
|
6709
|
+
importCohorts(cohorts: T[], overwrite?: boolean): Promise<void | CohortStorageReturnStatus<T>>;
|
|
6710
|
+
/**
|
|
6711
|
+
* Close the database connection
|
|
6712
|
+
*/
|
|
6713
|
+
close(): Promise<void>;
|
|
6714
|
+
}
|
|
6715
|
+
|
|
6716
|
+
declare const selectAllCohorts: (state: {
|
|
6717
|
+
[x: string]: any;
|
|
6718
|
+
gen3Services: any;
|
|
6719
|
+
user: Gen3UserState;
|
|
6720
|
+
gen3Apps: Gen3AppsState;
|
|
6721
|
+
drsHostnames: Record<string, string>;
|
|
6722
|
+
modals: ModalState;
|
|
6723
|
+
cohorts: {
|
|
6724
|
+
filtersExpanded: {
|
|
6725
|
+
[x: string]: Record<string, boolean>;
|
|
6726
|
+
};
|
|
6727
|
+
filtersCombineMode: {
|
|
6728
|
+
[x: string]: Record<string, CombineMode>;
|
|
6729
|
+
};
|
|
6730
|
+
sharedFilters: SharedFiltersState;
|
|
6731
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
6732
|
+
};
|
|
6733
|
+
activeWorkspace: WorkspaceState;
|
|
6734
|
+
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
6735
|
+
fetchUserDetails: _reduxjs_toolkit_query.QueryDefinition<void, ({ endpoint }: any, { getState }: _reduxjs_toolkit_query.BaseQueryApi) => Promise<{
|
|
6736
|
+
data: {};
|
|
6737
|
+
} | {
|
|
6738
|
+
data: Gen3FenceResponse<unknown>;
|
|
6739
|
+
}>, never, UserAuthResponse, "userAuthApi", Gen3FenceResponse<unknown> | {}>;
|
|
6740
|
+
getCSRF: _reduxjs_toolkit_query.QueryDefinition<void, ({ endpoint }: any, { getState }: _reduxjs_toolkit_query.BaseQueryApi) => Promise<{
|
|
6741
|
+
data: {};
|
|
6742
|
+
} | {
|
|
6743
|
+
data: Gen3FenceResponse<unknown>;
|
|
6744
|
+
}>, never, CSRFToken, "userAuthApi", Gen3FenceResponse<unknown> | {}>;
|
|
6745
|
+
}, never, "userAuthApi">;
|
|
6746
|
+
}) => Cohort[];
|
|
6537
6747
|
declare const selectCohortFilters: (state: CoreState) => IndexedFilterSet;
|
|
6538
6748
|
declare const selectCurrentCohortFilters: (state: CoreState) => IndexedFilterSet;
|
|
6539
6749
|
declare const selectCurrentCohortId: (state: CoreState) => CohortId;
|
|
@@ -6547,11 +6757,6 @@ declare const selectCurrentCohortName: (state: CoreState) => string;
|
|
|
6547
6757
|
* @param name name of the filter to select
|
|
6548
6758
|
*/
|
|
6549
6759
|
declare const selectIndexedFilterByName: (state: CoreState, index: string, name: string) => Operation | undefined;
|
|
6550
|
-
/**
|
|
6551
|
-
* a thunk to optionally create a caseSet when switching cohorts.
|
|
6552
|
-
* Note the assumption if the caseset member has ids then the caseset has previously been created.
|
|
6553
|
-
*/
|
|
6554
|
-
declare const setActiveCohort: (cohortId: string) => ThunkAction<void, CoreState, undefined, UnknownAction>;
|
|
6555
6760
|
/**
|
|
6556
6761
|
* Returns all the cohorts in the state
|
|
6557
6762
|
* @param state - the CoreState
|
|
@@ -6583,27 +6788,10 @@ declare const selectCurrentCohortSaved: (state: CoreState) => boolean | undefine
|
|
|
6583
6788
|
* @param index which cohort index to select from
|
|
6584
6789
|
*/
|
|
6585
6790
|
declare const selectIndexFilters: (state: CoreState, index: string) => FilterSet;
|
|
6586
|
-
declare const setActiveCohortList: (cohorts?: Cohort[]) => ThunkAction<void, CoreState, undefined, UnknownAction>;
|
|
6587
|
-
declare const cohortReducer: redux.Reducer<EntityState<Cohort, string> & CurrentCohortState>;
|
|
6588
|
-
|
|
6589
|
-
declare const toggleCohortBuilderCategoryFilter: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
6590
|
-
index: string;
|
|
6591
|
-
field: string;
|
|
6592
|
-
expanded: boolean;
|
|
6593
|
-
}, "CohortBuilder/filterExpand/toggleCohortBuilderCategoryFilter">;
|
|
6594
|
-
declare const toggleCohortBuilderAllFilters: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
6595
|
-
index: string;
|
|
6596
|
-
expand: boolean;
|
|
6597
|
-
}, "CohortBuilder/filterExpand/toggleCohortBuilderAllFilters">;
|
|
6598
|
-
declare const selectCohortFilterExpanded: (state: CoreState, index: string, field: string) => boolean;
|
|
6599
|
-
declare const selectAllCohortFiltersCollapsed: (state: CoreState, index: string) => boolean;
|
|
6600
6791
|
|
|
6601
|
-
declare const
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
mode: CombineMode;
|
|
6605
|
-
}, "CohortBuilder/filterCombineMode/setCohortFilterCombineMode">;
|
|
6606
|
-
declare const selectCohortFilterCombineMode: (state: CoreState, index: string, field: string) => CombineMode;
|
|
6792
|
+
declare const defaultCohortNameGenerator: () => string;
|
|
6793
|
+
declare const isNameUnique: <T extends CohortId = CohortId>(entities: Array<StorageEntity<T>>, name: string, excludeId?: T) => boolean;
|
|
6794
|
+
declare const generateUniqueName: <T extends CohortId = CohortId>(entities: Array<StorageEntity<T>>, baseName: string) => string;
|
|
6607
6795
|
|
|
6608
6796
|
interface CSRFToken {
|
|
6609
6797
|
readonly csrfToken: string;
|
|
@@ -7830,7 +8018,7 @@ declare const selectCSRFToken: ((state: _reduxjs_toolkit_query.RootState<{
|
|
|
7830
8018
|
[x: string]: Record<string, CombineMode>;
|
|
7831
8019
|
};
|
|
7832
8020
|
sharedFilters: SharedFiltersState;
|
|
7833
|
-
|
|
8021
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
7834
8022
|
};
|
|
7835
8023
|
activeWorkspace: WorkspaceState;
|
|
7836
8024
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -8116,7 +8304,7 @@ declare const selectHeadersWithCSRFToken: ((state: _reduxjs_toolkit_query.RootSt
|
|
|
8116
8304
|
[x: string]: Record<string, CombineMode>;
|
|
8117
8305
|
};
|
|
8118
8306
|
sharedFilters: SharedFiltersState;
|
|
8119
|
-
|
|
8307
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
8120
8308
|
};
|
|
8121
8309
|
activeWorkspace: WorkspaceState;
|
|
8122
8310
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -8207,7 +8395,7 @@ declare const selectHeadersWithCSRFToken: ((state: _reduxjs_toolkit_query.RootSt
|
|
|
8207
8395
|
[x: string]: Record<string, CombineMode>;
|
|
8208
8396
|
};
|
|
8209
8397
|
sharedFilters: SharedFiltersState;
|
|
8210
|
-
|
|
8398
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
8211
8399
|
};
|
|
8212
8400
|
activeWorkspace: WorkspaceState;
|
|
8213
8401
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -8502,7 +8690,7 @@ declare const rootReducer: redux.Reducer<{
|
|
|
8502
8690
|
[x: string]: Record<string, CombineMode>;
|
|
8503
8691
|
};
|
|
8504
8692
|
sharedFilters: SharedFiltersState;
|
|
8505
|
-
|
|
8693
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
8506
8694
|
};
|
|
8507
8695
|
activeWorkspace: WorkspaceState;
|
|
8508
8696
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -8532,7 +8720,7 @@ declare const rootReducer: redux.Reducer<{
|
|
|
8532
8720
|
[x: string]: Record<string, CombineMode>;
|
|
8533
8721
|
};
|
|
8534
8722
|
sharedFilters: SharedFiltersState;
|
|
8535
|
-
|
|
8723
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
8536
8724
|
} | Partial<{
|
|
8537
8725
|
filtersExpanded: {
|
|
8538
8726
|
[x: string]: Record<string, boolean>;
|
|
@@ -8541,7 +8729,7 @@ declare const rootReducer: redux.Reducer<{
|
|
|
8541
8729
|
[x: string]: Record<string, CombineMode>;
|
|
8542
8730
|
} | undefined;
|
|
8543
8731
|
sharedFilters: SharedFiltersState | undefined;
|
|
8544
|
-
|
|
8732
|
+
cohortManager: (_reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState) | undefined;
|
|
8545
8733
|
}> | undefined;
|
|
8546
8734
|
activeWorkspace: WorkspaceState | undefined;
|
|
8547
8735
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -8581,7 +8769,7 @@ declare const useCoreSelector: react_redux.UseSelector<{
|
|
|
8581
8769
|
[x: string]: Record<string, CombineMode>;
|
|
8582
8770
|
};
|
|
8583
8771
|
sharedFilters: SharedFiltersState;
|
|
8584
|
-
|
|
8772
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
8585
8773
|
};
|
|
8586
8774
|
activeWorkspace: WorkspaceState;
|
|
8587
8775
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -8612,7 +8800,7 @@ declare const useCoreDispatch: react_redux.UseDispatch<redux_thunk.ThunkDispatch
|
|
|
8612
8800
|
[x: string]: Record<string, CombineMode>;
|
|
8613
8801
|
};
|
|
8614
8802
|
sharedFilters: SharedFiltersState;
|
|
8615
|
-
|
|
8803
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
8616
8804
|
};
|
|
8617
8805
|
activeWorkspace: WorkspaceState;
|
|
8618
8806
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -8645,7 +8833,7 @@ declare const useCoreStore: react_redux.UseStore<_reduxjs_toolkit.EnhancedStore<
|
|
|
8645
8833
|
[x: string]: Record<string, CombineMode>;
|
|
8646
8834
|
};
|
|
8647
8835
|
sharedFilters: SharedFiltersState;
|
|
8648
|
-
|
|
8836
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
8649
8837
|
};
|
|
8650
8838
|
activeWorkspace: WorkspaceState;
|
|
8651
8839
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -8678,7 +8866,7 @@ declare const useCoreStore: react_redux.UseStore<_reduxjs_toolkit.EnhancedStore<
|
|
|
8678
8866
|
[x: string]: Record<string, CombineMode>;
|
|
8679
8867
|
};
|
|
8680
8868
|
sharedFilters: SharedFiltersState;
|
|
8681
|
-
|
|
8869
|
+
cohortManager: _reduxjs_toolkit.EntityState<Cohort, string> & CurrentCohortState;
|
|
8682
8870
|
};
|
|
8683
8871
|
activeWorkspace: WorkspaceState;
|
|
8684
8872
|
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
@@ -8756,6 +8944,7 @@ declare const fetchJSONDataFromURL: <T = unknown>(url: string, requiresCSRF?: bo
|
|
|
8756
8944
|
|
|
8757
8945
|
declare const getCurrentTimestamp: () => number;
|
|
8758
8946
|
declare const isTimeGreaterThan: (startTime: number, minutes: number) => boolean;
|
|
8947
|
+
declare const getTimestamp: () => string;
|
|
8759
8948
|
|
|
8760
8949
|
/**
|
|
8761
8950
|
* Converts HistogramData to HistogramDataAsStringKey by ensuring the key is a string.
|
|
@@ -9359,7 +9548,6 @@ declare const buildListItemsGroupedByDataset: (listData: LibraryListItemsAPI) =>
|
|
|
9359
9548
|
* @return {number} The total number of items in the DataList.
|
|
9360
9549
|
*/
|
|
9361
9550
|
declare const getNumberOfItemsInDatalist: (dataList: Datalist) => number;
|
|
9362
|
-
declare const getTimestamp: () => string;
|
|
9363
9551
|
declare const extractIndexFromDataLibraryCohort: (query: JSONObject) => string | null;
|
|
9364
9552
|
/**
|
|
9365
9553
|
* Takes a list of file items from anb array of manifest entries
|
|
@@ -9375,6 +9563,25 @@ type DRSHostnameMap = Record<string, string>;
|
|
|
9375
9563
|
declare const drsHostnamesReducer: redux.Reducer<Record<string, string>>;
|
|
9376
9564
|
declare const setDRSHostnames: _reduxjs_toolkit.ActionCreatorWithPayload<DRSHostnameMap, "drsResolver/setDRSHostnames">;
|
|
9377
9565
|
|
|
9566
|
+
type FacetType = 'enum' | 'exact' | 'range' | 'age' | 'year' | 'years' | 'days' | 'percent' | 'datetime' | 'toggle' | 'multiselect' | 'upload';
|
|
9567
|
+
interface AllowableRange {
|
|
9568
|
+
readonly minimum: number;
|
|
9569
|
+
readonly maximum: number;
|
|
9570
|
+
}
|
|
9571
|
+
interface FacetDefinition {
|
|
9572
|
+
readonly description?: string;
|
|
9573
|
+
readonly field: string;
|
|
9574
|
+
readonly dataField?: string;
|
|
9575
|
+
readonly index: string;
|
|
9576
|
+
readonly type: FacetType;
|
|
9577
|
+
readonly range?: AllowableRange;
|
|
9578
|
+
readonly hasData?: boolean;
|
|
9579
|
+
readonly label?: string;
|
|
9580
|
+
readonly sharedWithIndices?: Array<IndexAndField>;
|
|
9581
|
+
readonly moveValuesToBottom?: Array<string>;
|
|
9582
|
+
readonly excludeValues?: Array<string>;
|
|
9583
|
+
}
|
|
9584
|
+
|
|
9378
9585
|
/**
|
|
9379
9586
|
* Creates a base class core API for building other API endpoints on top of.
|
|
9380
9587
|
* @param reducerPath - The root key name that the other slices will be derived from
|
|
@@ -16845,5 +17052,5 @@ declare const isWorkspaceRunningOrStopping: (status: WorkspaceStatus) => status
|
|
|
16845
17052
|
declare const coreCreateApi: CreateApi<keyof ApiModules<any, any, any, any>>;
|
|
16846
17053
|
//# sourceMappingURL=coreCreateApi.d.ts.map
|
|
16847
17054
|
|
|
16848
|
-
export { Accessibility, CoreProvider, DataLibraryStoreMode, EmptyWorkspaceStatusResponse, GEN3_API, GEN3_AUTHZ_API, GEN3_COMMONS_NAME, GEN3_CROSSWALK_API, GEN3_DOMAIN, GEN3_DOWNLOADS_ENDPOINT, GEN3_FENCE_API, GEN3_GUPPY_API, GEN3_MANIFEST_API, GEN3_MDS_API, GEN3_REDIRECT_URL, GEN3_SOWER_API, GEN3_SUBMISSION_API, GEN3_WORKSPACE_API, HTTPError, HTTPErrorMessages, HttpMethod, MissingServiceConfigurationError, Modals, PodConditionType, PodStatus, RequestedWorkspaceStatus, WorkspaceStatus,
|
|
16849
|
-
export type { APIKey, AdditionalDataItem, AggregationResponse, AggregationsData, AiSearchResponse, AllowableRange, AppDataSelectorResponse, AuthZAccess, AuthzMapping, BaseGuppyDataRequest, CSRFToken, Cohort, CohortItem, CombineMode, Comparison, CoreDataSelector, CoreDataSelectorResponse, CoreDataValueSelector, CoreDispatch, CoreState, CoreStore, CrosswalkEntry, CrosswalkInfo, DataFetchingHook, DataFetchingResult, DataFetchingStatus, DataLibrary, DataLibraryAPI, DataLibraryAPIResponse, DataLibraryDataset, DataListUpdate, DataSetMembers, DataStatus, Datalist, DatalistAPI, DatalistAsAPIItems, DatalistBase, DatalistWithIdAPI, DatasetOrCohort, DownloadFromGuppyParams, EnumFilterValue, Equals, ExcludeIfAny, Excludes, Exists, ExportDatasetFields, ExternalProvider, FacetBucket, FetchDataActionCreator, FetchError, FetchRequest, FileItem, FileItemAPI, FilterSet, FilterValue, GQLEqual, GQLExcludeIfAny, GQLExcludes, GQLExists, GQLFilter, GQLGreaterThan, GQLGreaterThanOrEquals, GQLIncludes, GQLIntersection, GQLLessThan, GQLLessThanOrEquals, GQLMissing, GQLNestedFilter, GQLNotEqual, GQLRange, GQLUnion, Gen3FenceCredentials, Gen3FenceResponse, Gen3LoginProvider, Gen3Response, Gen3User, GraphQLQuery, GreaterThan, GreaterThanOrEquals, GuppyActionFunction, GuppyActionFunctionParams, GuppyActionParams, GuppyAggregationData, GuppyAggregationsResponse, GuppyDownloadActionFunctionParams, GuppyDownloadDataParams, HistogramBucket, HistogramData, HistogramDataArray, HistogramDataAsStringKey, HistogramDataCollection, HttpError, Includes, IndexAndField, IndexedFilterSet, IndexedMetadataFilters, Intersection, ItemValue, JSONArray, JSONObject, JSONValue, JWTSessionStatus, LessThan, LessThanOrEquals, LibraryListItemsAPI, LibraryListItemsGroupedByDataset, ListItem, LoginStatus, ManifestItem, MetadataPaginationParams, MetadataRequestParams, MetadataResponse, Missing, NameUrl, NamedURL, NestedFilter, NotEquals, Operation, OperationHandler, OperationWithField, OperatorWithFieldAndArrayOfOperands, PayModel, Project, ProjectDetailsParams, ProjectDetailsQueryResponse, ProjectDetailsResponse, ProjectResponse, ProjectsListRequestParams, RangeFilterValue, RawDataAndTotalCountsParams, RemoteSupportConfiguration, RemoteSupportRequestAction, RequestListQuery, RequestQueryBody, RequestorResponse, ResourceAuthzMapping, ServiceAndMethod, SetFilterValue, SharedFieldMapping, SortOption, StorageOperationResults, SubmissionDocument, SubmissionGraphqlParams, SubmissionGraphqlResponse, SubmissionInfo, TablePageOffsetProps, Union, UnionOrIntersection, UnknownJson, UpdateDataLibraryListParams, UseAppDataHook, UseAppDataResponse, UseCoreDataHook, UseCoreDataResponse, UserProfile, WorkspaceContainerState, WorkspaceId, WorkspaceInfo, WorkspaceInfoResponse, WorkspaceOptions, WorkspaceOptionsResponse, WorkspacePayModelResponse, WorkspacePodCondition, WorkspaceStatusResponse, guppyApiResponse, guppyApiSliceRequest, guppyFetchError };
|
|
17055
|
+
export { Accessibility, CohortStorage, CoreProvider, DataLibraryStoreMode, EmptyFilterSet, EmptyWorkspaceStatusResponse, EnumValueExtractorHandler, GEN3_API, GEN3_AUTHZ_API, GEN3_COMMONS_NAME, GEN3_CROSSWALK_API, GEN3_DOMAIN, GEN3_DOWNLOADS_ENDPOINT, GEN3_FENCE_API, GEN3_GUPPY_API, GEN3_MANIFEST_API, GEN3_MDS_API, GEN3_REDIRECT_URL, GEN3_SOWER_API, GEN3_SUBMISSION_API, GEN3_WORKSPACE_API, HTTPError, HTTPErrorMessages, HttpMethod, MissingServiceConfigurationError, Modals, PodConditionType, PodStatus, RequestedWorkspaceStatus, ToGqlHandler, ValueExtractorHandler, WorkspaceStatus, appendFilterToOperation, buildGetAggregationQuery, buildListItemsGroupedByDataset, calculatePercentageAsNumber, calculatePercentageAsString, clearActiveWorkspaceId, clearCohortFilters, cohortReducer, convertFilterSetToGqlFilter, convertFilterToGqlFilter, convertGqlFilterToFilter, convertToHistogramDataAsStringKey, convertToQueryString, coreCreateApi, coreStore, createAppApiForRTKQ, createAppStore, createGen3App, createGen3AppWithOwnStore, createNewCohort, createUseCoreDataHook, defaultCohortNameGenerator, downloadFromGuppyToBlob, downloadJSONDataFromGuppy, drsHostnamesReducer, duplicateCohort, extractEnumFilterValue, extractFieldNameFromFullFieldName, extractFileDatasetsInRecords, extractFilterValue, extractIndexAndFieldNameFromFullFieldName, extractIndexFromDataLibraryCohort, extractIndexFromFullFieldName, fetchFence, fetchFencePresignedURL, fetchJSONDataFromURL, fetchJson, fetchUserState, fieldNameToTitle, filterSetToOperation, gen3Api, generateUniqueName, getCurrentTimestamp, getFederatedLoginStatus, getGen3AppId, getNumberOfItemsInDatalist, getRemoteSupportServiceRegistry, getTimestamp, graphQLAPI, graphQLWithTags, groupSharedFields, guppyAPISliceMiddleware, guppyApi, guppyApiReducer, guppyApiSliceReducerPath, handleGqlOperation, handleOperation, hideModal, histogramQueryStrForEachField, isAdditionalDataItem, isArray, isAuthenticated, isCohortItem, isDataLibraryAPIResponse, isDatalistAPI, isErrorWithMessage, isFetchBaseQueryError, isFetchError, isFetchParseError, isFileItem, isFilterEmpty, isFilterSet, isGQLIntersection, isGQLUnion, isGuppyAggregationData, isHistogramData, isHistogramDataAArray, isHistogramDataAnEnum, isHistogramDataArray, isHistogramDataArrayARange, isHistogramDataArrayAnEnum, isHistogramDataCollection, isHistogramRangeData, isHttpStatusError, isIndexedFilterSetEmpty, isIntersection, isJSONObject, isJSONValue, isJSONValueArray, isNameUnique, isNotDefined, isObject, isOperandsType, isOperationWithField, isOperatorWithFieldAndArrayOfOperands, isPending, isProgramUrl, isRootUrl, isString, isTimeGreaterThan, isUnion, isWorkspaceActive, isWorkspaceRunningOrStopping, listifyMethodsFromMapping, logoutFence, manifestApi, manifestTags, nestedHistogramQueryStrForEachField, prepareUrl, prependIndexToFieldName, processHistogramResponse, projectCodeFromResourcePath, queryMultipleMDSRecords, rawDataQueryStrForEachField, registerDefaultRemoteSupport, removeCohort, removeCohortFilter, requestorApi, resetUserState, resourcePathFromProjectID, roundHistogramResponse, selectActiveWorkspaceId, selectActiveWorkspaceStatus, selectAllCohortFiltersCollapsed, selectAllCohorts, selectAuthzMappingData, selectAvailableCohorts, selectCSRFToken, selectCSRFTokenData, selectCohortFilterCombineMode, selectCohortFilterExpanded, selectCohortFilters, selectCurrentCohort, selectCurrentCohortFilters, selectCurrentCohortId, selectCurrentCohortModified, selectCurrentCohortName, selectCurrentCohortSaved, selectCurrentMessage, selectCurrentModal, selectGen3AppByName, selectGen3AppMetadataByName, selectHeadersWithCSRFToken, selectIndexFilters, selectIndexedFilterByName, selectPaymodelStatus, selectRequestedWorkspaceStatus, selectRequestedWorkspaceStatusTimestamp, selectSharedFilters, selectSharedFiltersForFields, selectShouldShareFilters, selectUser, selectUserAuthStatus, selectUserData, selectUserDetails, selectUserLoginStatus, selectWorkspaceStatus, selectWorkspaceStatusFromService, setActiveWorkspace, setActiveWorkspaceId, setActiveWorkspaceStatus, setCohortFilter, setCohortFilterCombineMode, setCohortIndexFilters, setCohortList, setCurrentCohortId, setDRSHostnames, setRequestedWorkspaceStatus, setSharedFilters, setShouldShareFilters, setupCoreStore, showModal, submissionApi, toggleCohortBuilderAllFilters, toggleCohortBuilderCategoryFilter, trimFirstFieldNameToTitle, updateCohortFilter, updateCohortName, useAddCohortManifestMutation, useAddFileManifestMutation, useAddMetadataManifestMutation, useAddNewCredentialMutation, useAskQuestionMutation, useAuthorizeFromCredentialsMutation, useCoreDispatch, useCoreSelector, useCoreStore, useCreateAuthzResourceMutation, useCreateRequestMutation, useDataLibrary, useDownloadFromGuppyMutation, useFetchUserDetailsQuery, useGeneralGQLQuery, useGetAISearchStatusQuery, useGetAISearchVersionQuery, useGetAccessibleDataQuery, useGetActivePayModelQuery, useGetAggMDSQuery, useGetAggsNoFilterSelfQuery, useGetAggsQuery, useGetAllFieldsForTypeQuery, useGetArrayTypes, useGetAuthzMappingsQuery, useGetAuthzResourcesQuery, useGetCSRFQuery, useGetCohortManifestQuery, useGetCountsQuery, useGetCredentialsQuery, useGetCrosswalkDataQuery, useGetDataQuery, useGetDictionaryQuery, useGetDownloadQuery, useGetExternalLoginsQuery, useGetFederatedLoginStatus, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGetFileFromManifestQuery, useGetFileManifestQuery, useGetIndexAggMDSQuery, useGetIndexFields, useGetJWKKeysQuery, useGetLoginProvidersQuery, useGetMDSQuery, useGetManifestServiceStatusQuery, useGetMetadataByIdQuery, useGetMetadataFromManifestQuery, useGetMetadataManifestQuery, useGetProjectsDetailsQuery, useGetProjectsQuery, useGetRawDataAndTotalCountsQuery, useGetSharedFieldsForIndexQuery, useGetSowerJobListQuery, useGetSowerJobStatusQuery, useGetSowerOutputQuery, useGetSowerServiceStatusQuery, useGetStatus, useGetSubAggsQuery, useGetSubmissionGraphQLQuery, useGetSubmissionsQuery, useGetTagsQuery, useGetWorkspaceOptionsQuery, useGetWorkspacePayModelsQuery, useGetWorkspaceStatusQuery, useGraphQLQuery, useIsExternalConnectedQuery, useIsUserLoggedIn, useLaunchWorkspaceMutation, useLazyFetchUserDetailsQuery, useLazyGeneralGQLQuery, useLazyGetAggsNoFilterSelfQuery, useLazyGetAggsQuery, useLazyGetAuthzMappingsQuery, useLazyGetAuthzResourcesQuery, useLazyGetCSRFQuery, useLazyGetCrosswalkDataQuery, useLazyGetDownloadQuery, useLazyGetExternalLoginsQuery, useLazyGetManifestServiceStatusQuery, useLazyGetProjectsQuery, useLazyGetSowerJobListQuery, useLazyGetSubmissionGraphQLQuery, useLazyIsExternalConnectedQuery, useLazyRequestQuery, usePrevious, useRemoveCredentialMutation, useRequestByIdQuery, useRequestQuery, useRequestorStatusQuery, useSetCurrentPayModelMutation, useSubmitSowerJobMutation, useTerminateWorkspaceMutation, useUserAuth, useUserRequestQuery, userHasCreateOrUpdateOnAnyProject, userHasDataUpload, userHasMethodForServiceOnProject, userHasMethodForServiceOnResource, userHasMethodOnAnyProject, userHasSheepdogProgramAdmin, userHasSheepdogProjectAdmin };
|
|
17056
|
+
export type { APIKey, AdditionalDataItem, AggregationResponse, AggregationsData, AiSearchResponse, AllowableRange, AppDataSelectorResponse, AuthZAccess, AuthzMapping, BaseGuppyDataRequest, CSRFToken, Cohort, CohortId, CohortItem, CombineMode, Comparison, CoreDataSelector, CoreDataSelectorResponse, CoreDataValueSelector, CoreDispatch, CoreState, CoreStore, CrosswalkEntry, CrosswalkInfo, DataFetchingHook, DataFetchingResult, DataFetchingStatus, DataLibrary, DataLibraryAPI, DataLibraryAPIResponse, DataLibraryDataset, DataListUpdate, DataSetMembers, DataStatus, Datalist, DatalistAPI, DatalistAsAPIItems, DatalistBase, DatalistWithIdAPI, DatasetOrCohort, DownloadFromGuppyParams, EnumFilterValue, Equals, ExcludeIfAny, Excludes, Exists, ExportDatasetFields, ExternalProvider, FacetBucket, FacetDefinition, FacetType, FetchDataActionCreator, FetchError, FetchRequest, FileItem, FileItemAPI, FilterGroup, FilterSet, FilterValue, GQLEqual, GQLExcludeIfAny, GQLExcludes, GQLExists, GQLFilter, GQLGreaterThan, GQLGreaterThanOrEquals, GQLIncludes, GQLIntersection, GQLLessThan, GQLLessThanOrEquals, GQLMissing, GQLNestedFilter, GQLNotEqual, GQLRange, GQLUnion, Gen3FenceCredentials, Gen3FenceResponse, Gen3LoginProvider, Gen3Response, Gen3User, GqlOperationHandler, GraphQLQuery, GreaterThan, GreaterThanOrEquals, GuppyActionFunction, GuppyActionFunctionParams, GuppyActionParams, GuppyAggregationData, GuppyAggregationsResponse, GuppyDownloadActionFunctionParams, GuppyDownloadDataParams, HistogramBucket, HistogramData, HistogramDataArray, HistogramDataAsStringKey, HistogramDataCollection, HttpError, Includes, IndexAndField, IndexedFilterSet, IndexedMetadataFilters, Intersection, ItemValue, JSONArray, JSONObject, JSONValue, JWTSessionStatus, LessThan, LessThanOrEquals, LibraryListItemsAPI, LibraryListItemsGroupedByDataset, ListItem, LoginStatus, ManifestItem, MetadataPaginationParams, MetadataRequestParams, MetadataResponse, Missing, NameUrl, NamedURL, NestedFilter, NotEquals, NumericFromTo, Operation, OperationHandler, OperationWithField, OperatorWithFieldAndArrayOfOperands, PayModel, Project, ProjectDetailsParams, ProjectDetailsQueryResponse, ProjectDetailsResponse, ProjectResponse, ProjectsListRequestParams, RangeFilterValue, RawDataAndTotalCountsParams, RemoteSupportConfiguration, RemoteSupportRequestAction, RequestListQuery, RequestQueryBody, RequestorResponse, ResourceAuthzMapping, ServiceAndMethod, SetFilterValue, SharedFieldMapping, SortOption, StorageEntity, StorageOperationResults, SubmissionDocument, SubmissionGraphqlParams, SubmissionGraphqlResponse, SubmissionInfo, TablePageOffsetProps, Union, UnionOrIntersection, UnknownJson, UpdateDataLibraryListParams, UseAppDataHook, UseAppDataResponse, UseCoreDataHook, UseCoreDataResponse, UserProfile, WorkspaceContainerState, WorkspaceId, WorkspaceInfo, WorkspaceInfoResponse, WorkspaceOptions, WorkspaceOptionsResponse, WorkspacePayModelResponse, WorkspacePodCondition, WorkspaceStatusResponse, guppyApiResponse, guppyApiSliceRequest, guppyFetchError };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gen3/core",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.22",
|
|
4
4
|
"author": "CTDS",
|
|
5
5
|
"description": "Core module for Gen3.2. Packages provides an interface for interacting with the gen3 API, various types, and a redux store for managing state.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"files": [
|
|
69
69
|
"dist"
|
|
70
70
|
],
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "66787b1278e5ff5389db7d954a39b4a54c470bc3"
|
|
72
72
|
}
|