mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-14 23:44:01 +02:00
add initial files
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { Prisma } from '@prisma/client';
|
||||
|
||||
const include = () => {
|
||||
const body = {
|
||||
include: {
|
||||
album: true,
|
||||
artists: true,
|
||||
externals: true,
|
||||
genres: true,
|
||||
images: true,
|
||||
},
|
||||
orderBy: [{ disc: Prisma.SortOrder.asc }, { track: Prisma.SortOrder.asc }],
|
||||
};
|
||||
|
||||
return body;
|
||||
};
|
||||
|
||||
export const songHelpers = {
|
||||
include,
|
||||
};
|
||||
Reference in New Issue
Block a user