-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b93d607
commit 39dd623
Showing
5 changed files
with
91 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,116 +1,114 @@ | ||
import { ListenerId } from './user' | ||
import { ListenerId } from "./user"; | ||
|
||
export type BasicDataProps = { | ||
vtubers: ReceivedVtuber[]; | ||
vtubers_movies: ReceivedMovie[]; | ||
vtubers_movies_karaokes: ReceivedKaraoke[]; | ||
vtubers: ReceivedVtuber[]; | ||
vtubers_movies: ReceivedMovie[]; | ||
vtubers_movies_karaokes: ReceivedKaraoke[]; | ||
}; | ||
export type CrudContentType = "none" | "vtuber" | "movie" | "karaoke"; | ||
|
||
export type CrudDate = { | ||
VtuberId: number; | ||
VtuberName: string; | ||
VtuberKana: string; | ||
IntroMovieUrl: string | null; | ||
MovieUrl: string; | ||
MovieTitle: string; | ||
KaraokeId: number; | ||
SingStart: string; | ||
SongName: string; | ||
} | ||
VtuberId: number; | ||
VtuberName: string; | ||
VtuberKana: string; | ||
IntroMovieUrl: string | null; | ||
MovieUrl: string; | ||
MovieTitle: string; | ||
KaraokeId: number; | ||
SingStart: string; | ||
SongName: string; | ||
}; | ||
//以下、基礎の型3つ | ||
|
||
export type VtuberId = number; | ||
export type KaraokeId = number | ||
export type SongId = number | ||
export type KaraokeId = number; | ||
export type SongId = number; | ||
|
||
export type PrimitiveVtuber = { | ||
VtuberId: VtuberId; | ||
VtuberName: string; | ||
VtuberKana: string; | ||
IntroMovieUrl: string | null; | ||
VtuberInputterId: string; | ||
VtuberId: VtuberId; | ||
VtuberName: string; | ||
VtuberKana: string; | ||
IntroMovieUrl: string | null; | ||
VtuberInputterId: string; | ||
}; | ||
|
||
export type PrimitiveMovie = { | ||
MovieUrl: string; | ||
MovieTitle: string | null; | ||
VtuberId: number; | ||
MovieInputterId: number | null; | ||
MovieUrl: string; | ||
MovieTitle: string | null; | ||
VtuberId: number; | ||
MovieInputterId: number | null; | ||
}; | ||
|
||
export type PrimitiveKaraoke = { | ||
KaraokeId: number; | ||
MovieUrl: string | null; | ||
SingStart: string; | ||
SongName: string | null; | ||
KaraokeInputterId: number | null; | ||
KaraokeId: number; | ||
MovieUrl: string | null; | ||
SingStart: string; | ||
SongName: string | null; | ||
KaraokeInputterId: number | null; | ||
}; | ||
|
||
export type PrimitiveOriginalSong = { | ||
SongID: SongId | ||
ArtistId: number | ||
SongName: string | ||
MovieUrl: string | ||
ReleseData: string | ||
SongInputterId: ListenerId; | ||
} | ||
|
||
SongID: SongId; | ||
ArtistId: number; | ||
SongName: string; | ||
MovieUrl: string; | ||
ReleseData: string; | ||
SongInputterId: ListenerId; | ||
}; | ||
|
||
// 画面表示に使う型 | ||
|
||
export type ReceivedVtuber = { | ||
VtuberId: VtuberId; | ||
VtuberName: string; | ||
VtuberKana: string; | ||
IntroMovieUrl: string | null; | ||
VtuberInputterId: string; | ||
|
||
Count: number; | ||
IsFav: boolean; | ||
} | ||
VtuberId: VtuberId; | ||
VtuberName: string; | ||
VtuberKana: string; | ||
IntroMovieUrl: string | null; | ||
VtuberInputterId: string; | ||
|
||
Count: number; | ||
IsFav: boolean; | ||
}; | ||
|
||
export type ReceivedMovie = { | ||
VtuberId: VtuberId; | ||
VtuberName: string; | ||
VtuberKana: string; | ||
IntroMovieUrl: string | null; | ||
VtuberInputterId: ListenerId; | ||
|
||
MovieUrl: string; | ||
MovieTitle: string; | ||
MovieInputterId: number; | ||
|
||
Count: number; | ||
IsFav: boolean; | ||
|
||
} | ||
VtuberId: VtuberId; | ||
VtuberName: string; | ||
VtuberKana: string; | ||
IntroMovieUrl: string | null; | ||
VtuberInputterId: ListenerId; | ||
|
||
MovieUrl: string; | ||
MovieTitle: string; | ||
MovieInputterId: number; | ||
|
||
Count: number; | ||
IsFav: boolean; | ||
}; | ||
|
||
export type ReceivedKaraoke = { | ||
VtuberId: VtuberId; | ||
VtuberName: string; | ||
VtuberKana: string; | ||
IntroMovieUrl: string | null; | ||
VtuberInputterId: ListenerId; | ||
|
||
MovieUrl: string; | ||
MovieTitle: string; | ||
MovieInputterId: number; | ||
|
||
KaraokeId: number; | ||
SingStart: string; | ||
SongName: string; | ||
KaraokeInputterId: number; | ||
|
||
Count: number; | ||
IsFav: boolean; | ||
} | ||
VtuberId: VtuberId; | ||
VtuberName: string; | ||
VtuberKana: string; | ||
IntroMovieUrl: string | null; | ||
VtuberInputterId: ListenerId; | ||
|
||
MovieUrl: string; | ||
MovieTitle: string; | ||
MovieInputterId: number; | ||
|
||
KaraokeId: number; | ||
SingStart: string; | ||
SongName: string; | ||
KaraokeInputterId: number; | ||
|
||
Count: number; | ||
IsFav: boolean; | ||
}; | ||
|
||
export type FavoriteKaraoke = { | ||
MovieUrl: string; | ||
KaraokeId: number; | ||
} | ||
MovieUrl: string; | ||
KaraokeId: number; | ||
}; | ||
|
||
export type FavoriteMovie = { | ||
MovieUrl: string; | ||
} | ||
|
||
MovieUrl: string; | ||
}; |