This commit is contained in:
2025-02-09 14:28:51 -05:00
parent d171572400
commit 1a51cd28c7
66 changed files with 4122 additions and 4298 deletions
+34 -3
View File
@@ -1,4 +1,19 @@
// music type
type WatchData = {
data: {
id: number,
title: string,
description: string,
author?: string,
image: string,
episode?: string,
tmdbId?: string,
finished: boolean,
startedOn?: Date,
createdAt: Date,
updatedAt: Date,
createdById: string
}
}
type MusicData = {
artist: {
mbid: string,
@@ -17,8 +32,20 @@ type MusicImage = {
size: string,
"#text": string
}
// tracker type
type GameData = {
name: string,
location: string,
startedOn: number,
finished: boolean
}
type MedalClip = {
contentId: string,
contentTitle: string,
contentViews: number,
contentLikes: number,
contentThumbnail: string,
directClipUrl: string
}
type ContentTrackerItem = {
id: number,
title: string,
@@ -35,7 +62,11 @@ type ContentTrackerItem = {
finished: boolean
}
export type {
WatchData,
MusicData,
GameData,
MedalClip,
ContentTrackerItem
}