import {PrismaAddModelData} from '@augment-vir/common';
import type {PrismaClient} from '@prisma/client';
const mockData: PrismaAddModelData<PrismaClient> = [
{
user: {
mockUser1: {
first_name: 'one',
id: 123,
// etc.
},
mockUser2: {
first_name: 'two',
id: 124,
authRole: 'user',
// etc.
},
},
},
{
region: [
{
id: 1,
name: 'North America',
// etc.
},
{
id: 2,
name: 'Europe',
// etc.
},
],
},
];
Params for addData. This is similar to PrismaAllModelsCreate but allows an array of PrismaAllModelsCreate for sequential data creation.