Projektstart
This commit is contained in:
26
backend/node_modules/.prisma/client/edge.js
generated
vendored
26
backend/node_modules/.prisma/client/edge.js
generated
vendored
File diff suppressed because one or more lines are too long
20
backend/node_modules/.prisma/client/index-browser.js
generated
vendored
20
backend/node_modules/.prisma/client/index-browser.js
generated
vendored
@@ -130,6 +130,18 @@ exports.Prisma.TenantScalarFieldEnum = {
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.ExportJobScalarFieldEnum = {
|
||||
id: 'id',
|
||||
tenantId: 'tenantId',
|
||||
status: 'status',
|
||||
format: 'format',
|
||||
scope: 'scope',
|
||||
filePath: 'filePath',
|
||||
error: 'error',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.UserScalarFieldEnum = {
|
||||
id: 'id',
|
||||
tenantId: 'tenantId',
|
||||
@@ -255,6 +267,13 @@ exports.Prisma.NullsOrder = {
|
||||
first: 'first',
|
||||
last: 'last'
|
||||
};
|
||||
exports.ExportStatus = exports.$Enums.ExportStatus = {
|
||||
QUEUED: 'QUEUED',
|
||||
RUNNING: 'RUNNING',
|
||||
DONE: 'DONE',
|
||||
FAILED: 'FAILED'
|
||||
};
|
||||
|
||||
exports.UserRole = exports.$Enums.UserRole = {
|
||||
USER: 'USER',
|
||||
ADMIN: 'ADMIN'
|
||||
@@ -291,6 +310,7 @@ exports.JobStatus = exports.$Enums.JobStatus = {
|
||||
|
||||
exports.Prisma.ModelName = {
|
||||
Tenant: 'Tenant',
|
||||
ExportJob: 'ExportJob',
|
||||
User: 'User',
|
||||
MailboxAccount: 'MailboxAccount',
|
||||
MailboxFolder: 'MailboxFolder',
|
||||
|
||||
1821
backend/node_modules/.prisma/client/index.d.ts
generated
vendored
1821
backend/node_modules/.prisma/client/index.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
26
backend/node_modules/.prisma/client/index.js
generated
vendored
26
backend/node_modules/.prisma/client/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
backend/node_modules/.prisma/client/package.json
generated
vendored
2
backend/node_modules/.prisma/client/package.json
generated
vendored
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "prisma-client-2a5c1ba38f3256b2f353e0fcaad9b6160a215e9b44e19d797b48531a0808d33e",
|
||||
"name": "prisma-client-f972eed39fc4466cb85f0349f5e72ee1d81f9351e0ae96befde50b28d520b85a",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"browser": "index-browser.js",
|
||||
|
||||
34
backend/node_modules/.prisma/client/schema.prisma
generated
vendored
34
backend/node_modules/.prisma/client/schema.prisma
generated
vendored
@@ -42,11 +42,12 @@ enum RuleConditionType {
|
||||
}
|
||||
|
||||
model Tenant {
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
isActive Boolean @default(true)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
isActive Boolean @default(true)
|
||||
exportJobs ExportJob[]
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
users User[]
|
||||
mailboxAccounts MailboxAccount[]
|
||||
@@ -54,6 +55,29 @@ model Tenant {
|
||||
jobs CleanupJob[]
|
||||
}
|
||||
|
||||
enum ExportStatus {
|
||||
QUEUED
|
||||
RUNNING
|
||||
DONE
|
||||
FAILED
|
||||
}
|
||||
|
||||
model ExportJob {
|
||||
id String @id @default(cuid())
|
||||
tenantId String
|
||||
status ExportStatus @default(QUEUED)
|
||||
format String
|
||||
scope String
|
||||
filePath String?
|
||||
error String?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
tenant Tenant @relation(fields: [tenantId], references: [id])
|
||||
|
||||
@@index([tenantId])
|
||||
}
|
||||
|
||||
model User {
|
||||
id String @id @default(cuid())
|
||||
tenantId String
|
||||
|
||||
20
backend/node_modules/.prisma/client/wasm.js
generated
vendored
20
backend/node_modules/.prisma/client/wasm.js
generated
vendored
@@ -130,6 +130,18 @@ exports.Prisma.TenantScalarFieldEnum = {
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.ExportJobScalarFieldEnum = {
|
||||
id: 'id',
|
||||
tenantId: 'tenantId',
|
||||
status: 'status',
|
||||
format: 'format',
|
||||
scope: 'scope',
|
||||
filePath: 'filePath',
|
||||
error: 'error',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.UserScalarFieldEnum = {
|
||||
id: 'id',
|
||||
tenantId: 'tenantId',
|
||||
@@ -255,6 +267,13 @@ exports.Prisma.NullsOrder = {
|
||||
first: 'first',
|
||||
last: 'last'
|
||||
};
|
||||
exports.ExportStatus = exports.$Enums.ExportStatus = {
|
||||
QUEUED: 'QUEUED',
|
||||
RUNNING: 'RUNNING',
|
||||
DONE: 'DONE',
|
||||
FAILED: 'FAILED'
|
||||
};
|
||||
|
||||
exports.UserRole = exports.$Enums.UserRole = {
|
||||
USER: 'USER',
|
||||
ADMIN: 'ADMIN'
|
||||
@@ -291,6 +310,7 @@ exports.JobStatus = exports.$Enums.JobStatus = {
|
||||
|
||||
exports.Prisma.ModelName = {
|
||||
Tenant: 'Tenant',
|
||||
ExportJob: 'ExportJob',
|
||||
User: 'User',
|
||||
MailboxAccount: 'MailboxAccount',
|
||||
MailboxFolder: 'MailboxFolder',
|
||||
|
||||
Reference in New Issue
Block a user