we like prisma now
This commit is contained in:
@ -4,15 +4,27 @@ import {
|
||||
chuni_static_music,
|
||||
} from "@/prisma/schemas/artemis/generated/artemis";
|
||||
|
||||
type ChunithmRecent = chuni_profile_rating &
|
||||
chuni_static_music & { rating: number; jacketPath: string | undefined };
|
||||
type userRatingBaseList = {
|
||||
title: string;
|
||||
artist: string;
|
||||
genre: string;
|
||||
chartId: string | number;
|
||||
level: string | number;
|
||||
jacketPath: string;
|
||||
rating: number;
|
||||
version: number;
|
||||
index: number;
|
||||
musicId: number | null;
|
||||
difficultId: number | null;
|
||||
romVersionCode: number | null;
|
||||
score: number | null;
|
||||
};
|
||||
|
||||
type ChunithmProfileRecentPlays = {
|
||||
chuniProfileRecentPlays: {
|
||||
recentRating: ChunithmRecent[];
|
||||
recentRating: userRatingBaseList[];
|
||||
};
|
||||
};
|
||||
|
||||
export const ChunithmRecentPlays: FC<ChunithmProfileRecentPlays> = ({
|
||||
chuniProfileRecentPlays,
|
||||
}) => {
|
||||
|
Reference in New Issue
Block a user