@upv/ushi-shared
Version:
Shared DTOs, types, and utilities for the USHI platform (LMS, Trials, Social, Wallet).
30 lines (29 loc) • 744 B
TypeScript
import { IBaseDtoInput, IBaseDtoOutput } from './base';
/**
* ISocialProfileDto - Raw input for social profile creation/update
*/
export interface ISocialProfileDto extends IBaseDtoInput {
userId: string;
displayName?: string;
handle: string;
avatarUrl?: string;
mood?: string;
bio?: string;
tags?: string[];
isPrivate?: boolean;
reputation?: number;
}
/**
* ISocialProfile - Serialized social profile for UI or API
*/
export interface ISocialProfile extends IBaseDtoOutput {
userId: string;
displayName: string | null;
handle: string;
avatarUrl: string | null;
mood: string | null;
bio: string | null;
tags: string[] | null;
isPrivate: boolean;
reputation: number;
}