Changeset 2730163 for frontend/src/utils
- Timestamp:
- 01/31/26 22:34:40 (5 months ago)
- Branches:
- main
- Children:
- d2af1a6
- Parents:
- 2b08bed
- Location:
- frontend/src/utils
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/utils/types.ts
r2b08bed r2730163 13 13 role: string; 14 14 entityType: string; 15 isLikedByCurrentUser: boolean; 15 16 } 17 16 18 export interface MusicalEntity { 17 19 id: number; … … 20 22 type: string; 21 23 releasedBy: string; 24 isLikedByCurrentUser?: boolean; 25 } 26 27 export interface Song extends MusicalEntity { 28 type: "SONG"; 29 } 30 31 export interface Album extends MusicalEntity { 32 type: "ALBUM"; 33 songs: Song[]; 22 34 } 23 35 … … 27 39 cover: string; 28 40 creatorName: string; 41 songsInPlaylist: Song[]; 29 42 } 30 43
Note:
See TracChangeset
for help on using the changeset viewer.
