source: frontend/src/types.ts@ 0f71490

main
Last change on this file since 0f71490 was 0f71490, checked in by Dimitar Arsov <dimitararsov04@…>, 6 months ago

show follow/following button

  • Property mode set to 100644
File size: 493 bytes
Line 
1export interface User {
2 username: string;
3 fullName: string;
4 email?: string;
5 profilePhoto?: string | null;
6 role?: "ADMIN" | "NONADMIN";
7}
8
9export interface ArtistContributionDTO {
10 musicalEntityId: number;
11 title: string;
12 genre: string;
13 role: string;
14 entityType: string;
15}
16export interface MusicalEntityDTO {
17 id: number;
18 title: string;
19 genre: string;
20 type: string;
21}
22
23export interface Playlist {
24 id: number;
25 name: string;
26 cover: string;
27 creatorName: string;
28}
Note: See TracBrowser for help on using the repository browser.