nextjs
This commit is contained in:
+34
-3
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user