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

Function hasSocialAuthBootUser

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

Source from the content-addressed store, hash-verified

16 });
17
18export const hasSocialAuthBootUser = (
19 user?: BootUser,
20): user is NonNullable<BootUser> =>
21 !!user &&
22 typeof user === 'object' &&
23 ('email' in user || 'providers' in user);
24
25const refetchSocialAuthBootAttempt = async (
26 refetchBoot: RefetchBoot,

Callers 3

handleLoginMessageFunction · 0.90
socialAuth.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected