12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- export interface User {
- _id: string;
- username: string;
- role: string;
- email: {
- verified: boolean;
- verificationToken?: string;
- address: string;
- };
- avatar: {
- type: string;
- url?: string;
- color?: string;
- };
- services: {
- password?: {
- password: string;
- reset: {
- code: string;
- expires: Date;
- };
- set: {
- code: string;
- expires: Date;
- };
- };
- github?: {
- id: number;
- access_token: string;
- };
- };
- password?: boolean;
- github?: boolean;
- statistics: {
- songsRequested: number;
- };
- likedSongsPlaylist: string;
- dislikedSongsPlaylist: string;
- favoriteStations: string[];
- name: string;
- location: string;
- bio: string;
- createdAt: Date;
- preferences: {
- orderOfPlaylists: string[];
- nightmode: boolean;
- autoSkipDisliked: boolean;
- activityLogPublic: boolean;
- anonymousSongRequests: boolean;
- activityWatch: boolean;
- };
- }
|