main: added inital version of music shop

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
2025-11-20 14:42:58 +03:30
commit 8a7842e263
25 changed files with 8820 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
export interface Song {
id: string;
title: string;
duration: string;
previewUrl: string; // URL to 30-second preview
fullUrl: string; // URL to full song (locked until purchase)
}
export interface Album {
id: string;
title: string;
coverImage: string;
year: number;
genre: string;
price: number;
description: string;
songs: Song[];
}
export interface Purchase {
albumId: string;
transactionId: string;
purchaseDate: Date;
}