mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-17 05:09:26 +00:00
add auth docs, add eslint import/order
This commit is contained in:
@@ -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']) {}
|
||||
|
||||
Reference in New Issue
Block a user