@lystech/core 3.0.75 → 3.0.77
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/index.d.ts +0 -8
- package/dist/lystech-core-provider.es.js +8417 -8441
- package/dist/lystech-core-provider.umd.js +158 -158
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ export declare function AskPermissionsFloatingButtons({ enableInstallAppButton,
|
|
|
30
30
|
|
|
31
31
|
declare type AuthContextType = {
|
|
32
32
|
user: SimplifiedUser | undefined;
|
|
33
|
-
impersonatedUser?: SimplifiedUser | undefined;
|
|
34
33
|
currentUser: SimplifiedUser | undefined;
|
|
35
34
|
auth: any;
|
|
36
35
|
isLoggedIn: boolean;
|
|
@@ -42,7 +41,6 @@ declare type AuthContextType = {
|
|
|
42
41
|
isAdminInAnyOrganization: boolean;
|
|
43
42
|
areRoleDetailsLoading: boolean;
|
|
44
43
|
homeRoute: string;
|
|
45
|
-
impersonateAuthKey?: string;
|
|
46
44
|
setLoginRedirectRouteState: (route: string) => void;
|
|
47
45
|
registerNewUser?: (user: RegisterUserType) => Promise<any>;
|
|
48
46
|
signInWithEmailAndPassword: (email: string, password: string, onLoggedIn: (response: any) => void, onAccountNotActivated?: (response: any) => void, onAccountNotFound?: (response: any) => void, updateDelay?: number) => void;
|
|
@@ -51,8 +49,6 @@ declare type AuthContextType = {
|
|
|
51
49
|
logout: () => void;
|
|
52
50
|
requestResetPassword: (email: string) => Promise<any>;
|
|
53
51
|
activateUser: (token: string) => Promise<any>;
|
|
54
|
-
impersonate: (authKey: string | undefined) => void;
|
|
55
|
-
getImpersonatingUser: (authKey: string) => Promise<SimplifiedUser | undefined>;
|
|
56
52
|
updateUserImage: (image: File | Blob) => Promise<boolean>;
|
|
57
53
|
updateUserImageUrl: (image: string) => Promise<boolean>;
|
|
58
54
|
updateUserFirstName: (firstName: string) => void;
|
|
@@ -470,8 +466,6 @@ declare interface GenericCardProps {
|
|
|
470
466
|
|
|
471
467
|
export declare function getFeaturedImages(): Promise<ImageType[]>;
|
|
472
468
|
|
|
473
|
-
export declare function getImpersonatingUser(authKey: string): Promise<any>;
|
|
474
|
-
|
|
475
469
|
export declare function getSinglePostBySlug(slug: string): Promise<PostType>;
|
|
476
470
|
|
|
477
471
|
export declare function getUserPromoCodes(): Promise<PromoCodeType[]>;
|
|
@@ -1205,8 +1199,6 @@ export declare const useContextMenuHandler: () => {
|
|
|
1205
1199
|
|
|
1206
1200
|
export declare const useFeaturedImages: () => UseQueryResult<ImageType[], unknown>;
|
|
1207
1201
|
|
|
1208
|
-
export declare const useImpersonatingUser: (authKey: string) => UseQueryResult<any, unknown>;
|
|
1209
|
-
|
|
1210
1202
|
export declare const useInvitedToOrders: (email: string, organization?: string) => UseQueryResult<CollectionInvitationType[], unknown>;
|
|
1211
1203
|
|
|
1212
1204
|
export declare const useLystechPolitiqueAndConditions: () => UseQueryResult<PolitiqueAndConditionsType[], unknown>;
|