sendou.ink/prisma/scripts/seed/freeAgentPost.ts
2021-01-03 15:50:03 +02:00

22 lines
441 B
TypeScript

import { Prisma } from "@prisma/client";
const getFreeAgentPosts = (
testUserId: number
): Prisma.FreeAgentPostCreateArgs["data"][] => {
return [
{
canVC: "YES",
content:
"# Availability \n Really good!\n\n*lorem ipsum* **lorem ipsum**",
user: {
connect: {
id: testUserId,
},
},
playstyles: ["FRONTLINE", "MIDLINE"],
},
];
};
export default getFreeAgentPosts;