@gen3/core 0.10.48 → 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.
- package/dist/cjs/index.js +21 -38
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/aiSearch/aiSearchSlice.d.ts +1 -1
- package/dist/dts/features/authz/authzMappingSlice.d.ts +1 -1
- package/dist/dts/features/download/downloadStatusApi.d.ts +1 -1
- package/dist/dts/features/fence/credentialsApi.d.ts +1 -1
- package/dist/dts/features/fence/fenceApi.d.ts +1 -1
- package/dist/dts/features/fence/jwtApi.d.ts +1 -1
- package/dist/dts/features/gen3/gen3Api.d.ts +1 -1
- package/dist/dts/features/gen3Apps/Gen3AppRTKQ.d.ts +8 -9
- package/dist/dts/features/graphQL/graphQLSlice.d.ts +2 -2
- package/dist/dts/features/guppy/guppyApi.d.ts +1 -1
- package/dist/dts/features/guppy/guppyDownloadSlice.d.ts +1 -1
- package/dist/dts/features/metadata/metadataSlice.d.ts +1 -1
- package/dist/dts/features/submission/submissionApi.d.ts +1 -1
- package/dist/dts/features/user/externalLoginsSlice.d.ts +1 -1
- package/dist/dts/features/workspace/workspacesSlice.d.ts +1 -1
- package/dist/dts/hooks.d.ts +23 -10
- package/dist/esm/index.js +24 -39
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +42 -22
- package/package.json +3 -2
- package/dist/dts/api.d.ts +0 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import * as redux from 'redux';
|
|
2
|
-
import { Action, Store
|
|
2
|
+
import { Action, Store } from 'redux';
|
|
3
3
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
4
|
-
import {
|
|
4
|
+
import { UnknownAction, Middleware, Dispatch, Reducer } from '@reduxjs/toolkit';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { ComponentType } from 'react';
|
|
7
7
|
import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
|
|
8
8
|
import { FetchBaseQueryError, QueryStatus } from '@reduxjs/toolkit/query';
|
|
9
9
|
import * as redux_thunk from 'redux-thunk';
|
|
10
10
|
import * as reselect from 'reselect';
|
|
11
|
-
import
|
|
11
|
+
import * as react_redux from 'react-redux';
|
|
12
|
+
import { ReactReduxContextValue } from 'react-redux';
|
|
13
|
+
import * as _reduxjs_toolkit_query_react from '@reduxjs/toolkit/query/react';
|
|
12
14
|
import { BaseQueryFn, ApiModules } from '@reduxjs/toolkit/query/react';
|
|
13
15
|
import { Fetcher, SWRResponse } from 'swr';
|
|
14
16
|
|
|
@@ -4008,7 +4010,7 @@ declare const useIsExternalConnectedQuery: <R extends Record<string, any> = _red
|
|
|
4008
4010
|
* If we are creating all of our actions through RTK, then PayloadAction might be the
|
|
4009
4011
|
* correct opinionated type.
|
|
4010
4012
|
*/
|
|
4011
|
-
declare const
|
|
4013
|
+
declare const useCoreSelector: react_redux.UseSelector<{
|
|
4012
4014
|
[x: string]: any;
|
|
4013
4015
|
gen3Services: any;
|
|
4014
4016
|
user: Gen3UserState;
|
|
@@ -4028,10 +4030,28 @@ declare const CoreContext: React__default.Context<ReactReduxContextValue<{
|
|
|
4028
4030
|
data: Gen3FenceResponse<unknown>;
|
|
4029
4031
|
}>, never, CSRFToken, "userAuthApi">;
|
|
4030
4032
|
}, never, "userAuthApi">;
|
|
4031
|
-
}
|
|
4032
|
-
declare const
|
|
4033
|
-
|
|
4034
|
-
|
|
4033
|
+
}>;
|
|
4034
|
+
declare const useCoreDispatch: react_redux.UseDispatch<redux_thunk.ThunkDispatch<{
|
|
4035
|
+
[x: string]: any;
|
|
4036
|
+
gen3Services: any;
|
|
4037
|
+
user: Gen3UserState;
|
|
4038
|
+
gen3Apps: Gen3AppsState;
|
|
4039
|
+
drsHostnames: Record<string, string>;
|
|
4040
|
+
modals: ModalState;
|
|
4041
|
+
cohorts: CohortState;
|
|
4042
|
+
userAuthApi: _reduxjs_toolkit_query.CombinedState<{
|
|
4043
|
+
fetchUserDetails: _reduxjs_toolkit_query.QueryDefinition<void, ({ endpoint }: any, { getState }: _reduxjs_toolkit_query.BaseQueryApi) => Promise<{
|
|
4044
|
+
data: {};
|
|
4045
|
+
} | {
|
|
4046
|
+
data: Gen3FenceResponse<unknown>;
|
|
4047
|
+
}>, never, UserAuthResponse, "userAuthApi">;
|
|
4048
|
+
getCSRF: _reduxjs_toolkit_query.QueryDefinition<void, ({ endpoint }: any, { getState }: _reduxjs_toolkit_query.BaseQueryApi) => Promise<{
|
|
4049
|
+
data: {};
|
|
4050
|
+
} | {
|
|
4051
|
+
data: Gen3FenceResponse<unknown>;
|
|
4052
|
+
}>, never, CSRFToken, "userAuthApi">;
|
|
4053
|
+
}, never, "userAuthApi">;
|
|
4054
|
+
}, undefined, redux.UnknownAction> & redux.Dispatch<redux.UnknownAction>>;
|
|
4035
4055
|
|
|
4036
4056
|
declare const CoreProvider: React__default.FC<Record<string, unknown>>;
|
|
4037
4057
|
|
|
@@ -5029,28 +5049,28 @@ interface CreateGen3AppWithOwnStoreOptions<T extends Record<any, any> = Record<s
|
|
|
5029
5049
|
readonly name: string;
|
|
5030
5050
|
readonly version: string;
|
|
5031
5051
|
readonly requiredEntityTypes: ReadonlyArray<EntityType>;
|
|
5032
|
-
readonly store: Store
|
|
5052
|
+
readonly store: Store<S, A>;
|
|
5033
5053
|
readonly context: any;
|
|
5034
5054
|
}
|
|
5035
5055
|
declare const createGen3AppWithOwnStore: <T extends Record<any, any> = Record<string, any>, A extends Action = UnknownAction, S = any>(options: CreateGen3AppWithOwnStoreOptions<T, A, S>) => React__default.ReactNode;
|
|
5036
5056
|
|
|
5037
5057
|
declare const createAppApiForRTKQ: (reducerPath: string, baseQuery?: BaseQueryFn) => {
|
|
5038
|
-
useAppSelector:
|
|
5039
|
-
useAppDispatch: <
|
|
5040
|
-
useAppStore: <
|
|
5041
|
-
AppContext: React.Context<ReactReduxContextValue<any, UnknownAction
|
|
5058
|
+
useAppSelector: react_redux.UseSelector<any>;
|
|
5059
|
+
useAppDispatch: react_redux.UseDispatch<redux.Dispatch<redux.UnknownAction>>;
|
|
5060
|
+
useAppStore: react_redux.UseStore<redux.Store<any, redux.UnknownAction, {}>>;
|
|
5061
|
+
AppContext: React.Context<ReactReduxContextValue<any, redux.UnknownAction> | null>;
|
|
5042
5062
|
appApi: _reduxjs_toolkit_query.Api<BaseQueryFn | BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, {}, string, never, keyof ApiModules<any, any, any, any>>;
|
|
5043
|
-
appContext: React.Context<ReactReduxContextValue<any, UnknownAction
|
|
5063
|
+
appContext: React.Context<ReactReduxContextValue<any, redux.UnknownAction> | null>;
|
|
5044
5064
|
appStore: _reduxjs_toolkit.EnhancedStore<{
|
|
5045
5065
|
[x: string]: any;
|
|
5046
|
-
}, UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
|
|
5066
|
+
}, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
|
|
5047
5067
|
dispatch: redux_thunk.ThunkDispatch<{
|
|
5048
5068
|
[x: string]: any;
|
|
5049
|
-
}, undefined, UnknownAction>;
|
|
5069
|
+
}, undefined, redux.UnknownAction>;
|
|
5050
5070
|
}>, redux.StoreEnhancer]>>;
|
|
5051
5071
|
};
|
|
5052
5072
|
|
|
5053
|
-
declare const graphQLWithTags: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, _reduxjs_toolkit_query.UpdateDefinitions<{}, "graphQL", never>, "gen3Services", "graphQL",
|
|
5073
|
+
declare const graphQLWithTags: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, _reduxjs_toolkit_query.UpdateDefinitions<{}, "graphQL", never>, "gen3Services", "graphQL", typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_query_react.reactHooksModuleName>;
|
|
5054
5074
|
/**
|
|
5055
5075
|
* Creates a graphQLAPI for graphql queries to elasticsearch indices via guppy
|
|
5056
5076
|
* @see https://github.com/uc-cdis/guppy/blob/master/doc/queries.md
|
|
@@ -5059,7 +5079,7 @@ declare const graphQLWithTags: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query
|
|
|
5059
5079
|
*/
|
|
5060
5080
|
declare const graphQLAPI: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, _reduxjs_toolkit_query.UpdateDefinitions<{}, "graphQL", never> & {
|
|
5061
5081
|
graphQL: _reduxjs_toolkit_query.QueryDefinition<JSONObject, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "graphQL", JSONObject, "gen3Services">;
|
|
5062
|
-
}, "gen3Services", "graphQL",
|
|
5082
|
+
}, "gen3Services", "graphQL", typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_query_react.reactHooksModuleName>;
|
|
5063
5083
|
declare const useGraphQLQuery: <R extends Record<string, any> = _reduxjs_toolkit_query.TSHelpersId<(Omit<{
|
|
5064
5084
|
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
5065
5085
|
originalArgs?: undefined;
|
|
@@ -5201,7 +5221,7 @@ declare const useGraphQLQuery: <R extends Record<string, any> = _reduxjs_toolkit
|
|
|
5201
5221
|
* @param endpoints - Base API endpoints that should exist in every slice
|
|
5202
5222
|
* @returns: The generated base API
|
|
5203
5223
|
*/
|
|
5204
|
-
declare const gen3Api: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, {}, "gen3Services", never,
|
|
5224
|
+
declare const gen3Api: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, {}, "gen3Services", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_query_react.reactHooksModuleName>;
|
|
5205
5225
|
|
|
5206
5226
|
type DRSHostnameMap = Record<string, string>;
|
|
5207
5227
|
declare const drsHostnamesReducer: redux.Reducer<Record<string, string>>;
|
|
@@ -5242,7 +5262,7 @@ declare const guppyApi: _reduxjs_toolkit_query.Api<(query: guppyApiSliceRequest,
|
|
|
5242
5262
|
} | {
|
|
5243
5263
|
error: unknown;
|
|
5244
5264
|
data?: undefined;
|
|
5245
|
-
}>, {}, "guppy", never,
|
|
5265
|
+
}>, {}, "guppy", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_query_react.reactHooksModuleName>;
|
|
5246
5266
|
declare const guppyAPISliceMiddleware: Middleware;
|
|
5247
5267
|
declare const guppyApiSliceReducerPath: string;
|
|
5248
5268
|
declare const guppyApiReducer: Reducer;
|
|
@@ -8528,7 +8548,7 @@ declare const submissionApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.B
|
|
|
8528
8548
|
getProjectsDetails: _reduxjs_toolkit_query.QueryDefinition<ProjectsListRequestParams, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, ProjectDetailsQueryResponse, "gen3Services">;
|
|
8529
8549
|
getSubmissionGraphQL: _reduxjs_toolkit_query.QueryDefinition<SubmissionGraphqlParams, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, SubmissionGraphqlResponse, "gen3Services">;
|
|
8530
8550
|
getDictionary: _reduxjs_toolkit_query.QueryDefinition<void, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, SubmissionGraphqlResponse, "gen3Services">;
|
|
8531
|
-
}, "gen3Services", never,
|
|
8551
|
+
}, "gen3Services", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_query_react.reactHooksModuleName>;
|
|
8532
8552
|
declare const useGetProjectsQuery: <R extends Record<string, any> = _reduxjs_toolkit_query.TSHelpersId<(Omit<{
|
|
8533
8553
|
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
8534
8554
|
originalArgs?: undefined;
|
|
@@ -9455,4 +9475,4 @@ declare const useGetDictionaryQuery: <R extends Record<string, any> = _reduxjs_t
|
|
|
9455
9475
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, SubmissionGraphqlResponse, "gen3Services">>;
|
|
9456
9476
|
};
|
|
9457
9477
|
|
|
9458
|
-
export { type APIKey, Accessibility, type AggregationResponse, type AggregationsData, type AiSearchResponse, type AllowableRange, type AuthzMapping, type BaseGuppyDataRequest, type CSRFToken, type Comparison,
|
|
9478
|
+
export { type APIKey, Accessibility, type AggregationResponse, type AggregationsData, type AiSearchResponse, type AllowableRange, type AuthzMapping, type BaseGuppyDataRequest, type CSRFToken, type Comparison, type CoreDataSelector, type CoreDataSelectorResponse, type CoreDataValueSelector, type CoreDispatch, CoreProvider, type CoreState, type CrosswalkEntry, type CrosswalkInfo, type DataStatus, type DownloadFromGuppyParams, type EnumFilterValue, type Equals, type ExcludeIfAny, type Excludes, type Exists, type ExternalProvider, type FacetBucket, type FacetDefinition, type FacetType, type FetchDataActionCreator, type FetchError, type FetchRequest, type FilterSet, type FilterValue, 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, type GQLFilter, type Gen3FenceCredentials, type Gen3FenceResponse, type Gen3LoginProvider, type Gen3Response, type Gen3User, type GraphQLQuery, type GreaterThan, type GreaterThanOrEquals, type GuppyActionFunction, type GuppyActionFunctionParams, type GuppyActionParams, type GuppyAggregationData, type GuppyDownloadActionFunctionParams, type GuppyDownloadDataParams, type HistogramBucket, type HistogramData, type HistogramDataArray, type HistogramDataCollection, type Includes, type IndexedFilterSet, type IndexedMetadataFilters, type Intersection, type JSONArray, type JSONObject, type JSONValue, type JWTSessionStatus, type LessThan, type LessThanOrEquals, type LoginStatus, type MetadataPaginationParams, type MetadataRequestParams, type MetadataResponse, type Missing, Modals, type NameUrl, type NamedURL, type NestedFilter, type NotEquals, type Operation, type OperationHandler, type OperationWithField, type Project, type ProjectDetailsParams, type ProjectDetailsQueryResponse, type ProjectDetailsResponse, type ProjectResponse, type ProjectsListRequestParams, type RangeFilterValue, type RawDataAndTotalCountsParams, type ServiceAndMethod, type SetFilterValue, type SortOption, type SubmissionDocument, type SubmissionGraphqlParams, type SubmissionGraphqlResponse, type SubmissionInfo, type TablePageOffsetProps, type Union, type UnknownJson, type UseCoreDataHook, type UseCoreDataResponse, type UserProfile, 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, type guppyApiResponse, guppyApiSliceReducerPath, type guppyApiSliceRequest, type guppyFetchError, 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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gen3/core",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.49",
|
|
4
4
|
"author": "CTDS",
|
|
5
5
|
"description": "Core module for gen3 frontend. Provides an interface for interacting with the gen3 API and a redux store for managing state.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -58,7 +58,8 @@
|
|
|
58
58
|
"flat": "^6.0.1",
|
|
59
59
|
"papaparse": "^5.4.1",
|
|
60
60
|
"queue": "6.0.2",
|
|
61
|
-
"react-redux": "^
|
|
61
|
+
"react-redux": "^9.1.2",
|
|
62
|
+
"redux": "^5.0.1",
|
|
62
63
|
"redux-persist": "^6.0.0",
|
|
63
64
|
"swr": "^2.2.5",
|
|
64
65
|
"uuid": "^9.0.1"
|
package/dist/dts/api.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CreateApi, ApiModules } from '@reduxjs/toolkit/query/react';
|
|
2
|
-
/**
|
|
3
|
-
* Creates a custom Redux Toolkit core API
|
|
4
|
-
* See: https://redux-toolkit.js.org/rtk-query/usage/customizing-create-api
|
|
5
|
-
* @returns: created core API.
|
|
6
|
-
*/
|
|
7
|
-
declare const coreCreateApi: CreateApi<keyof ApiModules<any, any, any, any>>;
|
|
8
|
-
export { coreCreateApi };
|