MCPcopy Create free account
hub / github.com/dailydotdev/apps / hasSocialAuthBootUser

Function hasSocialAuthBootUser

packages/shared/src/components/auth/socialAuth.ts:35–40  ·  view source on GitHub ↗
(
  user?: BootUser,
)

Source from the content-addressed store, hash-verified

33 });
34
35export const hasSocialAuthBootUser = (
36 user?: BootUser,
37): user is NonNullable<BootUser> =>
38 !!user &&
39 typeof user === 'object' &&
40 ('email' in user || 'providers' in user);
41
42const refetchSocialAuthBootAttempt = async (
43 refetchBoot: RefetchBoot,

Callers 4

handleLoginMessageFunction · 0.90
socialAuth.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected