@danielcok17/prisma-db 1.5.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 +76 -14
- package/prisma/generated/app/edge.js +39 -5
- package/prisma/generated/app/index-browser.js +35 -2
- package/prisma/generated/app/index.d.ts +7769 -2675
- package/prisma/generated/app/index.js +39 -5
- package/prisma/generated/app/package.json +1 -1
- package/prisma/generated/app/schema.prisma +126 -64
- package/prisma/generated/app/wasm.js +39 -5
- 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'
|
|
@@ -541,6 +566,12 @@ exports.StepStatus = exports.$Enums.StepStatus = {
|
|
|
541
566
|
SKIPPED: 'SKIPPED'
|
|
542
567
|
};
|
|
543
568
|
|
|
569
|
+
exports.DocumentStatus = exports.$Enums.DocumentStatus = {
|
|
570
|
+
DRAFT: 'DRAFT',
|
|
571
|
+
SAVED: 'SAVED',
|
|
572
|
+
ARCHIVED: 'ARCHIVED'
|
|
573
|
+
};
|
|
574
|
+
|
|
544
575
|
exports.Prisma.ModelName = {
|
|
545
576
|
Account: 'Account',
|
|
546
577
|
User: 'User',
|
|
@@ -563,7 +594,9 @@ exports.Prisma.ModelName = {
|
|
|
563
594
|
WorkflowLog: 'WorkflowLog',
|
|
564
595
|
WorkflowStep: 'WorkflowStep',
|
|
565
596
|
VerificationToken: 'VerificationToken',
|
|
566
|
-
PasswordResetToken: 'PasswordResetToken'
|
|
597
|
+
PasswordResetToken: 'PasswordResetToken',
|
|
598
|
+
CanvasDocument: 'CanvasDocument',
|
|
599
|
+
CanvasDocumentVersion: 'CanvasDocumentVersion'
|
|
567
600
|
};
|
|
568
601
|
|
|
569
602
|
/**
|