@danielcok17/prisma-db 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisma/app.prisma +81 -18
- package/prisma/generated/app/edge.js +39 -5
- package/prisma/generated/app/index-browser.js +36 -2
- package/prisma/generated/app/index.d.ts +7770 -2675
- package/prisma/generated/app/index.js +39 -5
- package/prisma/generated/app/package.json +1 -1
- package/prisma/generated/app/schema.prisma +131 -68
- package/prisma/generated/app/wasm.js +39 -5
- package/prisma/migrations/20260102220947_add_lawyer_pro_tier/migration.sql +2 -0
- package/prisma/migrations/20260110200252_add_canvas_documents/migration.sql +80 -0
|
@@ -229,7 +229,8 @@ exports.Prisma.AnswerScalarFieldEnum = {
|
|
|
229
229
|
model: 'model',
|
|
230
230
|
userId: 'userId',
|
|
231
231
|
createdAt: 'createdAt',
|
|
232
|
-
updatedAt: 'updatedAt'
|
|
232
|
+
updatedAt: 'updatedAt',
|
|
233
|
+
canvasDocumentId: 'canvasDocumentId'
|
|
233
234
|
};
|
|
234
235
|
|
|
235
236
|
exports.Prisma.MessageFileScalarFieldEnum = {
|
|
@@ -433,6 +434,30 @@ exports.Prisma.PasswordResetTokenScalarFieldEnum = {
|
|
|
433
434
|
createdAt: 'createdAt'
|
|
434
435
|
};
|
|
435
436
|
|
|
437
|
+
exports.Prisma.CanvasDocumentScalarFieldEnum = {
|
|
438
|
+
id: 'id',
|
|
439
|
+
userId: 'userId',
|
|
440
|
+
title: 'title',
|
|
441
|
+
status: 'status',
|
|
442
|
+
createdAt: 'createdAt',
|
|
443
|
+
updatedAt: 'updatedAt',
|
|
444
|
+
originConversationId: 'originConversationId',
|
|
445
|
+
originAnswerId: 'originAnswerId',
|
|
446
|
+
currentVersionId: 'currentVersionId'
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
exports.Prisma.CanvasDocumentVersionScalarFieldEnum = {
|
|
450
|
+
id: 'id',
|
|
451
|
+
documentId: 'documentId',
|
|
452
|
+
versionNumber: 'versionNumber',
|
|
453
|
+
title: 'title',
|
|
454
|
+
markdownContent: 'markdownContent',
|
|
455
|
+
createdAt: 'createdAt',
|
|
456
|
+
createdBy: 'createdBy',
|
|
457
|
+
regenerationPrompt: 'regenerationPrompt',
|
|
458
|
+
parentVersionId: 'parentVersionId'
|
|
459
|
+
};
|
|
460
|
+
|
|
436
461
|
exports.Prisma.SortOrder = {
|
|
437
462
|
asc: 'asc',
|
|
438
463
|
desc: 'desc'
|
|
@@ -465,6 +490,7 @@ exports.Prisma.JsonNullValueFilter = {
|
|
|
465
490
|
exports.SubscriptionTier = exports.$Enums.SubscriptionTier = {
|
|
466
491
|
FREE: 'FREE',
|
|
467
492
|
LAWYER: 'LAWYER',
|
|
493
|
+
LAWYER_PRO: 'LAWYER_PRO',
|
|
468
494
|
LAW_FIRM: 'LAW_FIRM',
|
|
469
495
|
ENTERPRISE: 'ENTERPRISE'
|
|
470
496
|
};
|
|
@@ -540,6 +566,12 @@ exports.StepStatus = exports.$Enums.StepStatus = {
|
|
|
540
566
|
SKIPPED: 'SKIPPED'
|
|
541
567
|
};
|
|
542
568
|
|
|
569
|
+
exports.DocumentStatus = exports.$Enums.DocumentStatus = {
|
|
570
|
+
DRAFT: 'DRAFT',
|
|
571
|
+
SAVED: 'SAVED',
|
|
572
|
+
ARCHIVED: 'ARCHIVED'
|
|
573
|
+
};
|
|
574
|
+
|
|
543
575
|
exports.Prisma.ModelName = {
|
|
544
576
|
Account: 'Account',
|
|
545
577
|
User: 'User',
|
|
@@ -562,7 +594,9 @@ exports.Prisma.ModelName = {
|
|
|
562
594
|
WorkflowLog: 'WorkflowLog',
|
|
563
595
|
WorkflowStep: 'WorkflowStep',
|
|
564
596
|
VerificationToken: 'VerificationToken',
|
|
565
|
-
PasswordResetToken: 'PasswordResetToken'
|
|
597
|
+
PasswordResetToken: 'PasswordResetToken',
|
|
598
|
+
CanvasDocument: 'CanvasDocument',
|
|
599
|
+
CanvasDocumentVersion: 'CanvasDocumentVersion'
|
|
566
600
|
};
|
|
567
601
|
|
|
568
602
|
/**
|