view models
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import { AuthApiClient } from '../../api/auth/AuthApiClient';
|
||||
import type { LoginParamsDto, SignupParamsDto, SessionDataDto } from '../../dtos';
|
||||
|
||||
// TODO: Move these types to apps/website/lib/types/generated when available
|
||||
type LoginParamsDto = { email: string; password: string };
|
||||
type SignupParamsDto = { email: string; password: string; displayName: string };
|
||||
type SessionDataDto = { userId: string; email: string; displayName: string; token: string };
|
||||
|
||||
/**
|
||||
* Auth Service
|
||||
|
||||
Reference in New Issue
Block a user