File

src/user/user.interface.ts

Description

User data

Index

Properties

Properties

bio
bio: string
Type : string

Biography

email
email: string
Type : string

Email

image
image: string
Type : string
Optional

User avatar

token
token: string
Type : string

Personal token

username
username: string
Type : string

Username

export interface UserData {
    /**
     * Username
     */
    username: string;
    /**
     * Email
     */
    email: string;
    /**
     * Personal token
     */
    token: string;
    /**
     * Biography
     */
    bio: string;
    /**
     * User avatar
     */
    image?: string;
}

export interface UserRO {
    user: UserData;
}

result-matching ""

    No results matching ""