@insforge/shared 1.0.12-dev.1 → 1.0.12-dev.3
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.cts +1 -4
- package/dist/index.d.ts +1 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,13 +2,11 @@ import { UserSchema, CreateSessionResponse, CreateUserResponse, ResetPasswordRes
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Insforge User type
|
|
5
|
-
* Core fields (id, email, name, avatarUrl) are always present
|
|
6
|
-
* Additional profile fields are stored in the profile object
|
|
7
5
|
*/
|
|
8
6
|
interface InsforgeUser {
|
|
9
7
|
id: UserSchema['id'];
|
|
10
8
|
email: UserSchema['email'];
|
|
11
|
-
profile
|
|
9
|
+
profile: UserSchema['profile'];
|
|
12
10
|
}
|
|
13
11
|
/**
|
|
14
12
|
* OAuth Provider type - re-export from shared-schemas
|
|
@@ -61,7 +59,6 @@ interface InsforgeContextValue {
|
|
|
61
59
|
}>;
|
|
62
60
|
loginWithOAuth: (provider: OAuthProvider, redirectTo: string) => Promise<void>;
|
|
63
61
|
getPublicAuthConfig: () => Promise<GetPublicAuthConfigResponse | null>;
|
|
64
|
-
baseUrl: string;
|
|
65
62
|
afterSignInUrl: string;
|
|
66
63
|
}
|
|
67
64
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2,13 +2,11 @@ import { UserSchema, CreateSessionResponse, CreateUserResponse, ResetPasswordRes
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Insforge User type
|
|
5
|
-
* Core fields (id, email, name, avatarUrl) are always present
|
|
6
|
-
* Additional profile fields are stored in the profile object
|
|
7
5
|
*/
|
|
8
6
|
interface InsforgeUser {
|
|
9
7
|
id: UserSchema['id'];
|
|
10
8
|
email: UserSchema['email'];
|
|
11
|
-
profile
|
|
9
|
+
profile: UserSchema['profile'];
|
|
12
10
|
}
|
|
13
11
|
/**
|
|
14
12
|
* OAuth Provider type - re-export from shared-schemas
|
|
@@ -61,7 +59,6 @@ interface InsforgeContextValue {
|
|
|
61
59
|
}>;
|
|
62
60
|
loginWithOAuth: (provider: OAuthProvider, redirectTo: string) => Promise<void>;
|
|
63
61
|
getPublicAuthConfig: () => Promise<GetPublicAuthConfigResponse | null>;
|
|
64
|
-
baseUrl: string;
|
|
65
62
|
afterSignInUrl: string;
|
|
66
63
|
}
|
|
67
64
|
|