Ignore:
Timestamp:
02/09/26 21:45:41 (5 months ago)
Author:
Filip Gavrilovski <filipgavrilovski28@…>
Branches:
main
Children:
0808ef2
Parents:
03a8d87 (diff), 27660af (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'main' into gavro/features

File:
1 edited

Legend:

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

    r03a8d87 r890e036  
    44        email?: string;
    55        profilePhoto?: string | null;
    6         role?: "ADMIN" | "NONADMIN";
     6        isAdmin: boolean;
     7        isArtist: boolean;
    78}
    89
     
    107108        songCount: number;
    108109}
     110
     111export interface CatalogItem {
     112        id: number;
     113        title: string;
     114        genre: string;
     115        cover: string | null;
     116        type: "SONG" | "ALBUM";
     117        releaseDate: string;
     118}
     119
     120export interface Contributor {
     121        username: string;
     122        fullName: string;
     123        role: string;
     124}
     125
     126export interface ArtistSearchResult {
     127        username: string;
     128        fullName: string;
     129        profilePhoto?: string;
     130}
     131
     132export interface SongEntry {
     133        title: string;
     134        link: string;
     135        contributors: Contributor[];
     136}
Note: See TracChangeset for help on using the changeset viewer.