Ignore:
Timestamp:
01/30/26 00:08:04 (5 months ago)
Author:
Dimitar Arsov <dimitararsov04@…>
Branches:
main
Children:
2b08bed
Parents:
6de2873
Message:

refactor NonAdminUser dtos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/src/utils/types.ts

    r6de2873 r98992cf  
    11export interface User {
    2         username: string;
    3         fullName: string;
    4         email?: string;
    5         profilePhoto?: string | null;
    6         role?: "ADMIN" | "NONADMIN";
     2  username: string;
     3  fullName: string;
     4  email?: string;
     5  profilePhoto?: string | null;
     6  role?: "ADMIN" | "NONADMIN";
    77}
    88
    9 export interface ArtistContributionDTO {
    10         musicalEntityId: number;
    11         title: string;
    12         genre: string;
    13         role: string;
    14         entityType: string;
     9export interface ArtistContribution {
     10  musicalEntityId: number;
     11  title: string;
     12  genre: string;
     13  role: string;
     14  entityType: string;
    1515}
    16 export interface MusicalEntityDTO {
    17         id: number;
    18         title: string;
    19         genre: string;
    20         type: string;
     16export interface MusicalEntity {
     17  id: number;
     18  title: string;
     19  genre: string;
     20  type: string;
    2121}
    2222
    2323export interface Playlist {
    24         id: number;
    25         name: string;
    26         cover: string;
    27         creatorName: string;
     24  id: number;
     25  name: string;
     26  cover: string;
     27  creatorName: string;
    2828}
Note: See TracChangeset for help on using the changeset viewer.