mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-29 06:07:25 +02:00
✨ Skip user details step for logged in users (#602)
This commit is contained in:
parent
f858bcc5f4
commit
d8e3dcd357
41 changed files with 548 additions and 636 deletions
|
@ -35,10 +35,6 @@ export type LoginTokenPayload = {
|
|||
code: string;
|
||||
};
|
||||
|
||||
export type EnableNotificationsTokenPayload = {
|
||||
adminUrlId: string;
|
||||
};
|
||||
|
||||
export type RegisteredUserSession = {
|
||||
isGuest: false;
|
||||
id: string;
|
||||
|
@ -51,6 +47,11 @@ export type GuestUserSession = {
|
|||
id: string;
|
||||
};
|
||||
|
||||
export type DisableNotificationsPayload = {
|
||||
pollId: string;
|
||||
watcherId: number;
|
||||
};
|
||||
|
||||
export type UserSession = GuestUserSession | RegisteredUserSession;
|
||||
|
||||
const setUser = async (session: IronSession) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue