UNPKG

@alisdigital/types-library

Version:

TypeScript type definitions for Papilet ecosystem with session soft delete and event management features

16 lines (15 loc) 525 B
import { IAppModelAttributes } from "../../Auth/entities/app.entity"; import { IBaseTimestampEntity } from "./base.entity"; import { IImageModelAttributes } from "./image.entity"; export interface IUserDetailModelAttributes { app: string | IAppModelAttributes; password: string; name: string; isActive: boolean; image?: IImageModelAttributes; roles: string[]; } export interface IUserModelAttributes extends IBaseTimestampEntity { phoneNumber: string; details: IUserDetailModelAttributes[]; }