Route new logins to profile until company card is filled

This commit is contained in:
Ruslan Bakiev
2026-04-02 15:33:54 +07:00
parent 87c30447a6
commit c918fa3443
4 changed files with 24 additions and 2 deletions

View File

@@ -521,7 +521,7 @@ export type ConsumeLoginTokenMutationVariables = Exact<{
}>;
export type ConsumeLoginTokenMutation = { __typename?: 'Mutation', consumeLoginToken: { __typename?: 'AuthSession', accessToken: string, expiresAt: any, user: { __typename?: 'User', id: string, email: string, fullName: string, role: UserRole } } };
export type ConsumeLoginTokenMutation = { __typename?: 'Mutation', consumeLoginToken: { __typename?: 'AuthSession', accessToken: string, expiresAt: any, user: { __typename?: 'User', id: string, email: string, fullName: string, role: UserRole, company?: { __typename?: 'Company', id: string } | null } } };
export type RegisterSelfMutationVariables = Exact<{
input: RegisterSelfInput;
@@ -542,7 +542,7 @@ export type VerifyLoginCodeMutationVariables = Exact<{
}>;
export type VerifyLoginCodeMutation = { __typename?: 'Mutation', verifyLoginCode: { __typename?: 'AuthSession', accessToken: string, expiresAt: any, user: { __typename?: 'User', id: string, email: string, fullName: string, role: UserRole } } };
export type VerifyLoginCodeMutation = { __typename?: 'Mutation', verifyLoginCode: { __typename?: 'AuthSession', accessToken: string, expiresAt: any, user: { __typename?: 'User', id: string, email: string, fullName: string, role: UserRole, company?: { __typename?: 'Company', id: string } | null } } };
export type ClientProductsQueryVariables = Exact<{ [key: string]: never; }>;
@@ -621,6 +621,9 @@ export const ConsumeLoginTokenDocument = gql`
email
fullName
role
company {
id
}
}
}
}
@@ -723,6 +726,9 @@ export const VerifyLoginCodeDocument = gql`
email
fullName
role
company {
id
}
}
}
}