@gen3/core 0.10.47 → 0.10.49

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 (35) hide show
  1. package/dist/cjs/index.js +198 -63
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/features/aiSearch/aiSearchSlice.d.ts +430 -6
  4. package/dist/dts/features/app/store.d.ts +3 -1
  5. package/dist/dts/features/authz/authzMappingSlice.d.ts +331 -61
  6. package/dist/dts/features/cohort/cohortSlice.d.ts +6 -6
  7. package/dist/dts/features/download/downloadStatusApi.d.ts +269 -5
  8. package/dist/dts/features/fence/credentialsApi.d.ts +619 -7
  9. package/dist/dts/features/fence/fenceApi.d.ts +136 -4
  10. package/dist/dts/features/fence/jwtApi.d.ts +136 -4
  11. package/dist/dts/features/gen3/gen3Api.d.ts +1 -1
  12. package/dist/dts/features/gen3Apps/Gen3App.d.ts +10 -9
  13. package/dist/dts/features/gen3Apps/Gen3AppRTKQ.d.ts +18 -0
  14. package/dist/dts/features/gen3Apps/constants.d.ts +1 -0
  15. package/dist/dts/features/gen3Apps/gen3AppsSlice.d.ts +2 -2
  16. package/dist/dts/features/gen3Apps/index.d.ts +4 -3
  17. package/dist/dts/features/graphQL/graphQLSlice.d.ts +137 -5
  18. package/dist/dts/features/guppy/guppyApi.d.ts +2 -2
  19. package/dist/dts/features/guppy/guppyDownloadSlice.d.ts +164 -4
  20. package/dist/dts/features/guppy/guppySlice.d.ts +2012 -15
  21. package/dist/dts/features/metadata/metadataSlice.d.ts +930 -9
  22. package/dist/dts/features/submission/submissionApi.d.ts +920 -2
  23. package/dist/dts/features/user/externalLoginsSlice.d.ts +527 -5
  24. package/dist/dts/features/user/hooks.d.ts +1 -1
  25. package/dist/dts/features/user/userSliceRTK.d.ts +1386 -189
  26. package/dist/dts/features/workspace/workspacesSlice.d.ts +402 -6
  27. package/dist/dts/hooks.d.ts +26 -13
  28. package/dist/dts/reducers.d.ts +25 -5
  29. package/dist/dts/store.d.ts +25 -34
  30. package/dist/esm/index.js +177 -61
  31. package/dist/esm/index.js.map +1 -1
  32. package/dist/index.d.ts +8788 -912
  33. package/package.json +4 -3
  34. package/dist/dts/api.d.ts +0 -8
  35. package/dist/dts/features/dataLibrary/types.d.ts +0 -4
package/dist/esm/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { createSelector, createAsyncThunk, createSlice, combineReducers, configureStore } from '@reduxjs/toolkit';
2
- import { buildCreateApi, coreModule, reactHooksModule } from '@reduxjs/toolkit/query/react';
3
- import React, { useRef, useEffect } from 'react';
4
- import { createSelectorHook, createDispatchHook, createStoreHook, Provider } from 'react-redux';
5
- import { fetchBaseQuery } from '@reduxjs/toolkit/dist/query/react';
2
+ import { createApi, fetchBaseQuery, buildCreateApi, coreModule, reactHooksModule } from '@reduxjs/toolkit/query/react';
6
3
  import { getCookie } from 'cookies-next';
7
4
  import { QueryStatus, setupListeners } from '@reduxjs/toolkit/query';
5
+ import * as React from 'react';
6
+ import React__default, { useRef, useEffect } from 'react';
7
+ import { useSelector, useDispatch, Provider, createSelectorHook, createDispatchHook, createStoreHook } from 'react-redux';
8
8
  import { isEqual } from 'lodash';
9
9
  import Queue from 'queue';
10
10
  import { JSONPath } from 'jsonpath-plus';
11
11
  import { v5 } from 'uuid';
12
- import 'redux-persist';
12
+ import { FLUSH, REHYDRATE, PAUSE, PERSIST, PURGE, REGISTER } from 'redux-persist';
13
13
  import { CookiesProvider } from 'react-cookie';
14
14
  import useSWR from 'swr';
15
15
  import { flatten } from 'flat';
@@ -42,30 +42,6 @@ const FILE_DELIMITERS = {
42
42
  csv: ','
43
43
  };
44
44
 
45
- // From here down is react-related code. If we wanted to create a UI-agnotic core,
46
- // we could need to move the following code and the provider into a new workspace,
47
- // such as core-react.
48
- /**
49
- * The initial context is never used in practice. A little casting voodoo to satisfy TS.
50
- *
51
- * Note: Should the action type be AnyAction (from redux) or PayloadAction (from redux-toolkit)?
52
- * If we are creating all of our actions through RTK, then PayloadAction might be the
53
- * correct opinionated type.
54
- */ const CoreContext = React.createContext(undefined);
55
- const useCoreSelector = createSelectorHook(CoreContext);
56
- const useCoreDispatch = createDispatchHook(CoreContext);
57
- const useCoreStore = createStoreHook(CoreContext);
58
-
59
- /**
60
- * Creates a custom Redux Toolkit core API
61
- * See: https://redux-toolkit.js.org/rtk-query/usage/customizing-create-api
62
- * @returns: created core API.
63
- */ const coreCreateApi = buildCreateApi(coreModule(), reactHooksModule({
64
- useSelector: useCoreSelector,
65
- useStore: useCoreStore,
66
- useDispatch: useCoreDispatch
67
- }));
68
-
69
45
  /**
70
46
  * Template for fence error response dict
71
47
  * @returns: An error dict response from a RESTFUL API request
@@ -99,7 +75,7 @@ const useCoreStore = createStoreHook(CoreContext);
99
75
  });
100
76
  };
101
77
 
102
- const userAuthApi = coreCreateApi({
78
+ const userAuthApi = createApi({
103
79
  reducerPath: 'userAuthApi',
104
80
  refetchOnMountOrArgChange: 1800,
105
81
  refetchOnReconnect: true,
@@ -196,7 +172,7 @@ const selectHeadersWithCSRFToken = createSelector([
196
172
  * @param baseQuery: - The template query which the slices will addon to
197
173
  * @param endpoints - Base API endpoints that should exist in every slice
198
174
  * @returns: The generated base API
199
- */ const gen3Api = coreCreateApi({
175
+ */ const gen3Api = createApi({
200
176
  reducerPath: 'gen3Services',
201
177
  baseQuery: fetchBaseQuery({
202
178
  baseUrl: `${GEN3_API}`,
@@ -336,6 +312,18 @@ const credentialsWithTags = gen3Api.enhanceEndpoints({
336
312
  });
337
313
  const { useGetJWKKeysQuery } = jwtApi;
338
314
 
315
+ // From here down is react-related code. If we wanted to create a UI-agnotic core,
316
+ // we could need to move the following code and the provider into a new workspace,
317
+ // such as core-react.
318
+ /**
319
+ * The initial context is never used in practice. A little casting voodoo to satisfy TS.
320
+ *
321
+ * Note: Should the action type be AnyAction (from redux) or PayloadAction (from redux-toolkit)?
322
+ * If we are creating all of our actions through RTK, then PayloadAction might be the
323
+ * correct opinionated type.
324
+ */ const useCoreSelector = useSelector.withTypes();
325
+ const useCoreDispatch = useDispatch.withTypes();
326
+
339
327
  const usePrevious = (value)=>{
340
328
  const ref = useRef();
341
329
  useEffect(()=>{
@@ -590,8 +578,8 @@ const slice$2 = createSlice({
590
578
  initialState: initialState$2,
591
579
  reducers: {
592
580
  addGen3AppMetadata: (state, action)=>{
593
- const { id, requiredEntityTypes } = action.payload;
594
- state.gen3Apps[id] = {
581
+ const { name, requiredEntityTypes } = action.payload;
582
+ state.gen3Apps[name] = {
595
583
  ...action.payload,
596
584
  // need to turn a ReadonlyArray into a mutable array for immer's WritableDraft
597
585
  requiredEntityTypes: [
@@ -603,8 +591,8 @@ const slice$2 = createSlice({
603
591
  });
604
592
  const gen3AppReducer = slice$2.reducer;
605
593
  const { addGen3AppMetadata } = slice$2.actions;
606
- const selectGen3AppMetadataById = (state, appId)=>state.gen3Apps.gen3Apps[appId];
607
- const selectGen3AppById = (appId)=>lookupGen3App(appId); // TODO: memoize this selector
594
+ const selectGen3AppMetadataByName = (state, appName)=>state.gen3Apps.gen3Apps[appName];
595
+ const selectGen3AppByName = (appName)=>lookupGen3App(appName); // TODO: memoize this selector
608
596
 
609
597
  const initialState$1 = {};
610
598
  // TODO: document what this does
@@ -731,8 +719,7 @@ const cohortsAdapter = createEntityAdapter<Cohort>({
731
719
  }
732
720
  };
733
721
  }
734
- },
735
- extraReducers: {}
722
+ }
736
723
  });
737
724
  // Filter actions: addFilter, removeFilter, updateFilter
738
725
  const { updateCohortFilter, removeCohortFilter, clearCohortFilters } = cohortSlice.actions;
@@ -766,7 +753,7 @@ const cohortReducer = cohortSlice.reducer;
766
753
  /**
767
754
  * Creates a base class core API for guppy API calls.
768
755
  * @returns: guppy core API with guppyAPIFetch base query
769
- */ const guppyApi = coreCreateApi({
756
+ */ const guppyApi = createApi({
770
757
  reducerPath: 'guppy',
771
758
  // TODO: refactor to use fetchBaseQuery
772
759
  baseQuery: async (query, api)=>{
@@ -830,9 +817,8 @@ const coreStore = configureStore({
830
817
  setupListeners(coreStore.dispatch);
831
818
 
832
819
  const CoreProvider = ({ children })=>{
833
- return /*#__PURE__*/ React.createElement(Provider, {
834
- store: coreStore,
835
- context: CoreContext
820
+ return /*#__PURE__*/ React__default.createElement(Provider, {
821
+ store: coreStore
836
822
  }, children);
837
823
  };
838
824
 
@@ -997,12 +983,13 @@ const { useGetAggMDSQuery, useGetMDSQuery, useGetTagsQuery, useGetDataQuery, use
997
983
 
998
984
  // using a random uuid v4 as the namespace
999
985
  const GEN3_APP_NAMESPACE = '7bfaa818-c69c-457e-8d87-413cf60c25f0';
986
+
1000
987
  const getGen3AppId = (name, version)=>{
1001
988
  const nameVersion = `${name}::${version}`;
1002
989
  return v5(nameVersion, GEN3_APP_NAMESPACE);
1003
990
  };
1004
991
  /**
1005
- * TODO: can't tell what anything in this directory is doing.
992
+ * Creates a Gen3App that is dynamically loaded
1006
993
  */ const createGen3App = ({ App, name, version, requiredEntityTypes })=>{
1007
994
  // create a stable id for this app
1008
995
  const nameVersion = `${name}::${version}`;
@@ -1014,20 +1001,95 @@ const getGen3AppId = (name, version)=>{
1014
1001
  // need to register its name, category, path, data requirements
1015
1002
  // this will be used to build page3
1016
1003
  // click app link
1004
+ // const store = configureStore({
1005
+ // // TODO allow user to pass in a reducer in CreateGen3AppOptions?
1006
+ // reducer: (state) => state,
1007
+ // devTools: {
1008
+ // name: `${nameVersion}::${id}`,
1009
+ // },
1010
+ // });
1011
+ const Gen3AppWrapper = (props)=>{
1012
+ useEffect(()=>{
1013
+ document.title = `GEN3 - ${name}`;
1014
+ });
1015
+ return /*#__PURE__*/ React__default.createElement(App, props);
1016
+ };
1017
+ // add the app to the store
1018
+ coreStore.dispatch(addGen3AppMetadata({
1019
+ id,
1020
+ name,
1021
+ version,
1022
+ requiredEntityTypes
1023
+ }));
1024
+ registerGen3App(name, Gen3AppWrapper);
1025
+ return Gen3AppWrapper;
1026
+ };
1027
+ // ----------------------------------------------------------------------------------------
1028
+ // Apps with Local Storage
1029
+ //
1030
+ const createAppStore = (options)=>{
1031
+ const { name, version, reducers, middleware } = options;
1032
+ const nameVersion = `${name}::${version}`;
1033
+ const id = v5(nameVersion, GEN3_APP_NAMESPACE);
1017
1034
  const store = configureStore({
1018
- // TODO allow user to pass in a reducer in CreateGen3AppOptions?
1019
- reducer: (state)=>state,
1035
+ reducer: reducers,
1020
1036
  devTools: {
1021
1037
  name: `${nameVersion}::${id}`
1022
- }
1038
+ },
1039
+ middleware: (getDefaultMiddleware)=>middleware ? getDefaultMiddleware({
1040
+ serializableCheck: {
1041
+ ignoredActions: [
1042
+ FLUSH,
1043
+ REHYDRATE,
1044
+ PAUSE,
1045
+ PERSIST,
1046
+ PURGE,
1047
+ REGISTER
1048
+ ]
1049
+ }
1050
+ }).concat(middleware) : getDefaultMiddleware({
1051
+ serializableCheck: {
1052
+ ignoredActions: [
1053
+ FLUSH,
1054
+ REHYDRATE,
1055
+ PAUSE,
1056
+ PERSIST,
1057
+ PURGE,
1058
+ REGISTER
1059
+ ]
1060
+ }
1061
+ })
1023
1062
  });
1024
- const Gen3AppWrapper = ()=>{
1063
+ const context = /*#__PURE__*/ React__default.createContext(null);
1064
+ const useAppSelector = createSelectorHook(context);
1065
+ const useAppDispatch = createDispatchHook(context);
1066
+ const useAppStore = createStoreHook(context);
1067
+ return {
1068
+ id: id,
1069
+ AppStore: store,
1070
+ AppContext: context,
1071
+ useAppSelector: useAppSelector,
1072
+ useAppDispatch: useAppDispatch,
1073
+ useAppStore: useAppStore
1074
+ };
1075
+ };
1076
+ const createGen3AppWithOwnStore = (options)=>{
1077
+ const { App, id, name, version, requiredEntityTypes, store, context } = options;
1078
+ // need to create store and provider.
1079
+ // return a component representing this app
1080
+ // if component gets added to a list, then the list can be iterated in index.js and each provider component can be added
1081
+ // a route can be setup for the app
1082
+ // need to register its name, category, path, data requirements
1083
+ // this will be used to build page3
1084
+ // click app link
1085
+ const Gen3AppWrapper = (props)=>{
1025
1086
  useEffect(()=>{
1026
1087
  document.title = `GEN3 - ${name}`;
1027
1088
  });
1028
- return /*#__PURE__*/ React.createElement(Provider, {
1029
- store: store
1030
- }, /*#__PURE__*/ React.createElement(CookiesProvider, null, /*#__PURE__*/ React.createElement(App, null)));
1089
+ return /*#__PURE__*/ React__default.createElement(Provider, {
1090
+ store: store,
1091
+ context: context
1092
+ }, /*#__PURE__*/ React__default.createElement(CookiesProvider, null, /*#__PURE__*/ React__default.createElement(App, props)));
1031
1093
  };
1032
1094
  // add the app to the store
1033
1095
  coreStore.dispatch(addGen3AppMetadata({
@@ -1036,10 +1098,69 @@ const getGen3AppId = (name, version)=>{
1036
1098
  version,
1037
1099
  requiredEntityTypes
1038
1100
  }));
1039
- registerGen3App(id, Gen3AppWrapper);
1101
+ registerGen3App(name, Gen3AppWrapper);
1040
1102
  return Gen3AppWrapper;
1041
1103
  };
1042
1104
 
1105
+ const createAppApiForRTKQ = (reducerPath, baseQuery)=>{
1106
+ const appContext = React.createContext(null);
1107
+ const useAppSelector = useSelector.withTypes();
1108
+ const useAppDispatch = createDispatchHook(appContext);
1109
+ const useAppStore = createStoreHook(appContext);
1110
+ const appCreateApi = buildCreateApi(coreModule(), reactHooksModule({
1111
+ hooks: {
1112
+ useDispatch: useAppDispatch,
1113
+ useSelector: useAppSelector,
1114
+ useStore: useAppStore
1115
+ }
1116
+ }));
1117
+ const appRTKQApi = appCreateApi({
1118
+ reducerPath: reducerPath,
1119
+ baseQuery: baseQuery ?? fetchBaseQuery({
1120
+ baseUrl: `${GEN3_API}`,
1121
+ prepareHeaders: (headers)=>{
1122
+ headers.set('Content-Type', 'application/json');
1123
+ let accessToken = undefined;
1124
+ if (process.env.NODE_ENV === 'development') {
1125
+ // NOTE: This cookie can only be accessed from the client side
1126
+ // in development mode. Otherwise, the cookie is set as httpOnly
1127
+ accessToken = getCookie('credentials_token');
1128
+ }
1129
+ if (accessToken) headers.set('Authorization', `Bearer ${accessToken}`);
1130
+ return headers;
1131
+ }
1132
+ }),
1133
+ endpoints: ()=>({})
1134
+ });
1135
+ const appMiddleware = appRTKQApi.middleware;
1136
+ const appStore = configureStore({
1137
+ reducer: {
1138
+ [appRTKQApi.reducerPath]: appRTKQApi.reducer
1139
+ },
1140
+ middleware: (getDefaultMiddleware)=>getDefaultMiddleware({
1141
+ serializableCheck: {
1142
+ ignoredActions: [
1143
+ FLUSH,
1144
+ REHYDRATE,
1145
+ PAUSE,
1146
+ PERSIST,
1147
+ PURGE,
1148
+ REGISTER
1149
+ ]
1150
+ }
1151
+ }).concat(appMiddleware)
1152
+ });
1153
+ return {
1154
+ useAppSelector: useAppSelector,
1155
+ useAppDispatch: useAppDispatch,
1156
+ useAppStore: useAppStore,
1157
+ AppContext: appContext,
1158
+ appApi: appRTKQApi,
1159
+ appContext: appContext,
1160
+ appStore: appStore
1161
+ };
1162
+ };
1163
+
1043
1164
  const graphQLWithTags = gen3Api.enhanceEndpoints({
1044
1165
  addTagTypes: [
1045
1166
  'graphQL'
@@ -1496,14 +1617,14 @@ const useGetStatus = ()=>{
1496
1617
  }
1497
1618
  }),
1498
1619
  getFieldCountSummary: builder.query({
1499
- query: ({ type, field, filters })=>{
1620
+ query: ({ type, field, filters, accessibility = Accessibility.ALL })=>{
1500
1621
  const gqlFilters = convertFilterSetToGqlFilter(filters);
1501
- const query = `query ($filter: JSON) {
1622
+ const query = `query summary ($filter: JSON) {
1502
1623
  _aggregation {
1503
- ${type} (filter: $filter) {
1624
+ ${type} (filter: $filter, accessibility: ${accessibility}) {
1504
1625
  ${field} {
1505
1626
  histogram {
1506
- sum
1627
+ sum,
1507
1628
  }
1508
1629
  }
1509
1630
  }
@@ -1601,12 +1722,7 @@ const useGetArrayTypes = ()=>{
1601
1722
  return data ? data['indices'] : {};
1602
1723
  }
1603
1724
  };
1604
- const { useGetRawDataAndTotalCountsQuery, useGetAccessibleDataQuery, useGetAllFieldsForTypeQuery, useGetAggsQuery, useGetSubAggsQuery, useGetCountsQuery, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGeneralGQLQuery, useLazyGeneralGQLQuery } = explorerApi;
1605
- const EmptyAggData = {};
1606
- const selectAggDataForIndex = (state, index, field)=>{
1607
- const data = state.guppyApi.aggs[index]?.[field]?.histogram;
1608
- return data ?? EmptyAggData;
1609
- };
1725
+ const { useGetRawDataAndTotalCountsQuery, useGetAccessibleDataQuery, useGetAllFieldsForTypeQuery, useGetAggsQuery, useLazyGetAggsQuery, useGetSubAggsQuery, useGetCountsQuery, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGeneralGQLQuery, useLazyGeneralGQLQuery } = explorerApi;
1610
1726
 
1611
1727
  /**
1612
1728
  * Flattens a deep nested JSON object skipping
@@ -2079,5 +2195,5 @@ const SubmissionGraphqlQuery = `query transactionList {
2079
2195
  });
2080
2196
  const { useGetProjectsQuery, useGetSubmissionGraphQLQuery, useGetProjectsDetailsQuery, useLazyGetProjectsQuery, useLazyGetSubmissionGraphQLQuery, useGetSubmissionsQuery, useGetDictionaryQuery } = submissionApi;
2081
2197
 
2082
- export { Accessibility, CoreContext, CoreProvider, GEN3_API, GEN3_AUTHZ_API, GEN3_COMMONS_NAME, GEN3_CROSSWALK_API, GEN3_DOMAIN, GEN3_DOWNLOADS_ENDPOINT, GEN3_FENCE_API, GEN3_GUPPY_API, GEN3_MDS_API, GEN3_REDIRECT_URL, GEN3_SUBMISSION_API, GEN3_WORKSPACE_STATUS_API, Modals, clearCohortFilters, cohortReducer, convertFilterSetToGqlFilter, coreStore, createGen3App, createUseCoreDataHook, downloadFromGuppyToBlob, downloadJSONDataFromGuppy, drsHostnamesReducer, extractEnumFilterValue, extractFieldNameFromFullFieldName, extractFilterValue, extractIndexAndFieldNameFromFullFieldName, extractIndexFromFullFieldName, fetchFence, fetchJson, fetchUserState, fieldNameToTitle, gen3Api, getGen3AppId, graphQLAPI, graphQLWithTags, guppyAPISliceMiddleware, guppyApi, guppyApiReducer, guppyApiSliceReducerPath, handleOperation, hideModal, isAuthenticated, isErrorWithMessage, isFetchBaseQueryError, isFetchParseError, isFilterEmpty, isGuppyAggregationData, isHistogramData, isHistogramDataAArray, isHistogramDataAnEnum, isHistogramDataArray, isHistogramDataArrayARange, isHistogramDataArrayAnEnum, isHistogramDataCollection, isHistogramRangeData, isJSONObject, isJSONValue, isJSONValueArray, isOperationWithField, isPending, isProgramUrl, isRootUrl, listifyMethodsFromMapping, logoutFence, prependIndexToFieldName, projectCodeFromResourcePath, rawDataQueryStrForEachField, removeCohortFilter, resetUserState, resourcePathFromProjectID, selectAggDataForIndex, selectAuthzMappingData, selectCSRFToken, selectCSRFTokenData, selectCohortFilters, selectCurrentCohort, selectCurrentCohortId, selectCurrentCohortName, selectCurrentMessage, selectCurrentModal, selectGen3AppById, selectGen3AppMetadataById, selectHeadersWithCSRFToken, selectIndexFilters, selectIndexedFilterByName, selectUser, selectUserAuthStatus, selectUserData, selectUserDetails, selectUserLoginStatus, setDRSHostnames, showModal, submissionApi, trimFirstFieldNameToTitle, updateCohortFilter, useAddNewCredentialMutation, useAskQuestionMutation, useAuthorizeFromCredentialsMutation, useCoreDispatch, useCoreSelector, useCoreStore, useDownloadFromGuppyMutation, useFetchUserDetailsQuery, useGeneralGQLQuery, useGetAISearchStatusQuery, useGetAISearchVersionQuery, useGetAccessibleDataQuery, useGetAggMDSQuery, useGetAggsQuery, useGetAllFieldsForTypeQuery, useGetArrayTypes, useGetAuthzMappingsQuery, useGetCSRFQuery, useGetCountsQuery, useGetCredentialsQuery, useGetCrosswalkDataQuery, useGetDataQuery, useGetDictionaryQuery, useGetExternalLoginsQuery, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGetIndexAggMDSQuery, useGetIndexFields, useGetJWKKeysQuery, useGetLoginProvidersQuery, useGetMDSQuery, useGetProjectsDetailsQuery, useGetProjectsQuery, useGetRawDataAndTotalCountsQuery, useGetStatus, useGetSubAggsQuery, useGetSubmissionGraphQLQuery, useGetSubmissionsQuery, useGetTagsQuery, useGetWorkspaceOptionsQuery, useGetWorkspacePayModelsQuery, useGetWorkspaceStatusQuery, useGraphQLQuery, useIsExternalConnectedQuery, useIsUserLoggedIn, useLazyFetchUserDetailsQuery, useLazyGeneralGQLQuery, useLazyGetCrosswalkDataQuery, useLazyGetExternalLoginsQuery, useLazyGetProjectsQuery, useLazyGetSubmissionGraphQLQuery, useLazyIsExternalConnectedQuery, usePrevious, useRemoveCredentialMutation, useUser, useUserAuth, userHasCreateOrUpdateOnAnyProject, userHasDataUpload, userHasMethodForServiceOnProject, userHasMethodForServiceOnResource, userHasMethodOnAnyProject, userHasSheepdogProgramAdmin, userHasSheepdogProjectAdmin };
2198
+ export { Accessibility, CoreProvider, GEN3_API, GEN3_AUTHZ_API, GEN3_COMMONS_NAME, GEN3_CROSSWALK_API, GEN3_DOMAIN, GEN3_DOWNLOADS_ENDPOINT, GEN3_FENCE_API, GEN3_GUPPY_API, GEN3_MDS_API, GEN3_REDIRECT_URL, GEN3_SUBMISSION_API, GEN3_WORKSPACE_STATUS_API, Modals, clearCohortFilters, cohortReducer, convertFilterSetToGqlFilter, coreStore, createAppApiForRTKQ, createAppStore, createGen3App, createGen3AppWithOwnStore, createUseCoreDataHook, downloadFromGuppyToBlob, downloadJSONDataFromGuppy, drsHostnamesReducer, extractEnumFilterValue, extractFieldNameFromFullFieldName, extractFilterValue, extractIndexAndFieldNameFromFullFieldName, extractIndexFromFullFieldName, fetchFence, fetchJson, fetchUserState, fieldNameToTitle, gen3Api, getGen3AppId, graphQLAPI, graphQLWithTags, guppyAPISliceMiddleware, guppyApi, guppyApiReducer, guppyApiSliceReducerPath, handleOperation, hideModal, isAuthenticated, isErrorWithMessage, isFetchBaseQueryError, isFetchParseError, isFilterEmpty, isGuppyAggregationData, isHistogramData, isHistogramDataAArray, isHistogramDataAnEnum, isHistogramDataArray, isHistogramDataArrayARange, isHistogramDataArrayAnEnum, isHistogramDataCollection, isHistogramRangeData, isJSONObject, isJSONValue, isJSONValueArray, isOperationWithField, isPending, isProgramUrl, isRootUrl, listifyMethodsFromMapping, logoutFence, prependIndexToFieldName, projectCodeFromResourcePath, rawDataQueryStrForEachField, removeCohortFilter, resetUserState, resourcePathFromProjectID, selectAuthzMappingData, selectCSRFToken, selectCSRFTokenData, selectCohortFilters, selectCurrentCohort, selectCurrentCohortId, selectCurrentCohortName, selectCurrentMessage, selectCurrentModal, selectGen3AppByName, selectGen3AppMetadataByName, selectHeadersWithCSRFToken, selectIndexFilters, selectIndexedFilterByName, selectUser, selectUserAuthStatus, selectUserData, selectUserDetails, selectUserLoginStatus, setDRSHostnames, showModal, submissionApi, trimFirstFieldNameToTitle, updateCohortFilter, useAddNewCredentialMutation, useAskQuestionMutation, useAuthorizeFromCredentialsMutation, useCoreDispatch, useCoreSelector, useDownloadFromGuppyMutation, useFetchUserDetailsQuery, useGeneralGQLQuery, useGetAISearchStatusQuery, useGetAISearchVersionQuery, useGetAccessibleDataQuery, useGetAggMDSQuery, useGetAggsQuery, useGetAllFieldsForTypeQuery, useGetArrayTypes, useGetAuthzMappingsQuery, useGetCSRFQuery, useGetCountsQuery, useGetCredentialsQuery, useGetCrosswalkDataQuery, useGetDataQuery, useGetDictionaryQuery, useGetExternalLoginsQuery, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGetIndexAggMDSQuery, useGetIndexFields, useGetJWKKeysQuery, useGetLoginProvidersQuery, useGetMDSQuery, useGetProjectsDetailsQuery, useGetProjectsQuery, useGetRawDataAndTotalCountsQuery, useGetStatus, useGetSubAggsQuery, useGetSubmissionGraphQLQuery, useGetSubmissionsQuery, useGetTagsQuery, useGetWorkspaceOptionsQuery, useGetWorkspacePayModelsQuery, useGetWorkspaceStatusQuery, useGraphQLQuery, useIsExternalConnectedQuery, useIsUserLoggedIn, useLazyFetchUserDetailsQuery, useLazyGeneralGQLQuery, useLazyGetAggsQuery, useLazyGetCrosswalkDataQuery, useLazyGetExternalLoginsQuery, useLazyGetProjectsQuery, useLazyGetSubmissionGraphQLQuery, useLazyIsExternalConnectedQuery, usePrevious, useRemoveCredentialMutation, useUser, useUserAuth, userHasCreateOrUpdateOnAnyProject, userHasDataUpload, userHasMethodForServiceOnProject, userHasMethodForServiceOnResource, userHasMethodOnAnyProject, userHasSheepdogProgramAdmin, userHasSheepdogProjectAdmin };
2083
2199
  //# sourceMappingURL=index.js.map