@techstuff-dev/foundation-api-utils 1.49.0 → 1.49.1

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.
@@ -1,3 +1,12 @@
1
+ import { TypedUseSelectorHook } from 'react-redux';
2
+ import { ad as AppDispatch, a9 as RootState, ac as AppStore } from '../index-BDQnFTra.js';
3
+ import '@reduxjs/toolkit';
4
+ import '@reduxjs/toolkit/query';
5
+
1
6
  declare const useLoggedIn: () => boolean;
2
7
 
3
- export { useLoggedIn };
8
+ declare const useAppDispatch: () => AppDispatch;
9
+ declare const useAppSelector: TypedUseSelectorHook<RootState>;
10
+ declare const useAppStore: () => AppStore;
11
+
12
+ export { useAppDispatch, useAppSelector, useAppStore, useLoggedIn };
@@ -7,7 +7,8 @@ import { BaseQueryFn, FetchArgs, FetchBaseQueryError } from '@reduxjs/toolkit/qu
7
7
  import { R as ResetPasswordRequest, a as ResetPasswordResponse, b as ResetPasswordAuthRequest, c as ResetPasswordAuthResponse, F as ForgottenPasswordRequest, d as ForgottenPasswordResponse, e as RegisterRequest, f as RegisterResponse, V as VerifyUserRequest, g as VerifyUserAttributesRequest, h as VerifyUserAttributesResponse, i as VerifyUserResendRequest, U as UpdateUserInfoRequest, j as UpdateUserRequest, A as AuthState, k as UserDetails, D as DataArgs, E as ESDataTypes, I as IdArg, l as UserSubRequest, m as UserSubResponse, P as PaymentPlansResponse, n as UserPayload, o as ESPromo, p as Promo, q as ESWorkout, W as Workout, r as ESShortform, s as ESFaq, t as ESPage, u as Page, v as ESSetting, w as ESPress, x as ESGuest, y as ESVideo, z as Video, B as ESSection, S as Section, C as ESSchedule, G as Schedule, H as ESChallenge, J as Challenge, K as ESChallengeDay, L as ChallengeDay, M as User, N as FederatedSession, O as SocialTokens, Q as ESConfig, T as Config, X as ESSectionPanel, Y as SectionPanel, Z as ESSectionItem, _ as SectionItem, $ as ESTaxonomy, a0 as Taxonomy, a1 as ESSeries, a2 as Series, a3 as ESSeason, a4 as Season, a5 as ESLongform, a6 as LongForm, a7 as ESMediaItem, a8 as MediaItem } from './index-BDQnFTra.js';
8
8
  export { ai as ApiError, ad as AppDispatch, ac as AppStore, at as DecodedIdToken, az as ESDataResponse, ax as ESLongForm, ay as ESWorkoutResponse, ar as FormattedPayment, ag as Info, ak as LoginRequest, al as LoginResponse, ao as LogoutResponse, as as PaymentResponse, ap as PaymentTokenRequest, au as Plan, am as RefreshRequest, an as RefreshResponse, a9 as RootState, aw as S3Image, aq as UpdateUserResponse, af as UserCreating, ah as UserVerify, ae as UsersState, aj as VerifyUserResponse, av as VideoSource, aa as makeStore, ab as store } from './index-BDQnFTra.js';
9
9
  import * as reselect from 'reselect';
10
- export { useLoggedIn } from './hooks/index.js';
10
+ export { useAppDispatch, useAppSelector, useAppStore, useLoggedIn } from './hooks/index.js';
11
+ import 'react-redux';
11
12
 
12
13
  declare const authApi: _reduxjs_toolkit_query.Api<BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, {
13
14
  resetPassword: _reduxjs_toolkit_query.MutationDefinition<ResetPasswordRequest, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "UserToken" | "UserData", ResetPasswordResponse, "authApi", unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techstuff-dev/foundation-api-utils",
3
- "version": "1.49.0",
3
+ "version": "1.49.1",
4
4
  "description": "Foundation shared applications utilities.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",