UNPKG

pl4y-data-library

Version:

This library contains the dtos, enums, schemas, and other data objects needed in the pl4y ecosystem.

24 lines (21 loc) 634 B
import { Role } from "../../../enums/roles.enum"; import { TenantType } from "../../../enums/tenant-types.enum"; import { SuccessResponse } from "../../../response/success-response.model"; export class UserLoginSuccessResponse { id: string; email: string; balance: number; first_name: string; last_name: string; picture: string; role: Role; status: string; membership: string; tenant: { name?: string; id?: string; tenantType?: TenantType; }; accessToken: string; } export class UserLoginSuccessResponseDto extends SuccessResponse<UserLoginSuccessResponse> {}