add - loading spinner, administration, navbar modfications
This commit is contained in:
1 parent
6a10740307
commit
27187c6c68
28 files changed
+886
-116
No files matched your search
@@ -13,6 +13,8 @@ export const generateGains = async () => {
|
||||
const gainCreated = await prisma.gain.create({
|
||||
data: {
|
||||
codeCadeau: randomNoGain,
|
||||
codeActif: true,
|
||||
retrait: false
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
+11
-9
@@ -4,17 +4,19 @@ export const userData: Prisma.UserCreateInput[] = [
|
||||
{
|
||||
name: 'Alice',
|
||||
email: 'alice@prisma.io',
|
||||
|
||||
createdAt: new Date(),
|
||||
role: 'USER'
|
||||
},
|
||||
{
|
||||
name: 'Nilu',
|
||||
email: 'nilu@prisma.io',
|
||||
|
||||
name: 'John',
|
||||
email: 'john@prisma.io',
|
||||
createdAt: new Date(),
|
||||
role: 'SELLER'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Mahmoud',
|
||||
email: 'mahmoud@prisma.io',
|
||||
},
|
||||
{
|
||||
name: 'Mosse',
|
||||
email: 'mosse@prisma.io',
|
||||
createdAt: new Date(),
|
||||
role: 'USER'
|
||||
},
|
||||
]
|
||||
Reference in new issue
Block a user