mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-04 13:40:43 -03:00
primera iteracion de login + register con google funcionales
This commit is contained in:
14
src/types.d.ts
vendored
14
src/types.d.ts
vendored
@@ -39,6 +39,7 @@ export interface Sesion {
|
||||
displayName: string;
|
||||
username: string;
|
||||
isAdmin: boolean;
|
||||
isFirebase: boolean;
|
||||
}
|
||||
|
||||
export interface LoginDto {
|
||||
@@ -46,6 +47,11 @@ export interface LoginDto {
|
||||
password: string?;
|
||||
}
|
||||
|
||||
export interface LoginSsoDto {
|
||||
accessToken: string;
|
||||
uid: string;
|
||||
}
|
||||
|
||||
export interface RegisterDto {
|
||||
username: string;
|
||||
email: string;
|
||||
@@ -53,6 +59,14 @@ export interface RegisterDto {
|
||||
displayName: string;
|
||||
}
|
||||
|
||||
export interface RegisterSsoDto {
|
||||
username: string;
|
||||
email: string;
|
||||
displayName: string;
|
||||
token: string;
|
||||
uid: string;
|
||||
}
|
||||
|
||||
export interface CreatePostDto {
|
||||
content: string;
|
||||
imageUrl: string?;
|
||||
|
||||
Reference in New Issue
Block a user