12 lines
307 B
TypeScript
12 lines
307 B
TypeScript
import { UserModel } from '@/src/module/auth/account/models/user.model'
|
|
import { Field, ObjectType } from '@nestjs/graphql'
|
|
|
|
@ObjectType()
|
|
export class AuthModel {
|
|
@Field(() => UserModel, { nullable: true })
|
|
public user?: UserModel
|
|
|
|
@Field(() => String, { nullable: true })
|
|
public message: string
|
|
}
|