Add a Posts Schema just to test authentication

This commit is contained in:
2024-10-04 09:50:58 +02:00
parent 437e49b842
commit 1a12ed6c9c
23 changed files with 984 additions and 1 deletions

View File

@ -0,0 +1,23 @@
import type { Prisma, Post } from '@prisma/client'
import type { ScenarioData } from '@redwoodjs/testing/api'
export const standard = defineScenario<Prisma.PostCreateArgs>({
post: {
one: {
data: {
title: 'String',
body: 'String',
updatedAt: '2024-10-04T07:38:59.006Z',
},
},
two: {
data: {
title: 'String',
body: 'String',
updatedAt: '2024-10-04T07:38:59.006Z',
},
},
},
})
export type StandardScenario = ScenarioData<Post, 'post'>