add auth docs, add eslint import/order

This commit is contained in:
andres
2023-07-16 19:44:58 +02:00
parent 0f3e89900a
commit aa7ece41a9
74 changed files with 1152 additions and 164 deletions

View File

@@ -1 +1,18 @@
export class Auth {}
import { OmitType } from '@nestjs/swagger'
export class User {
id: string
email: string
password: string
isEmailVerified: boolean
name: string
avatar: string
created: string
updated: string
}
export class LoginResponse {
accessToken: string
}
export class UserEntity extends OmitType(User, ['password']) {}