@upv/ushi-shared
Version:
Shared DTOs, types, and utilities for the USHI platform (LMS, Trials, Social, Wallet).
22 lines (21 loc) • 528 B
TypeScript
import { IBaseDtoInput, IBaseDtoOutput } from './base';
/**
* ILMSPersonProfileDto - Raw input for LMS user profile
*/
export interface ILMSPersonProfileDto extends IBaseDtoInput {
userId: string;
xp: number;
level: number;
preferences?: string[];
streak?: number;
}
/**
* ILMSPersonProfile - Serialized LMS profile object
*/
export interface ILMSPersonProfile extends IBaseDtoOutput {
userId: string;
xp: number;
level: number;
preferences: string[] | null;
streak: number | null;
}