@danielcok17/prisma-db 1.0.1 → 1.0.3
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/README.md +99 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/paths.d.ts +4 -0
- package/dist/paths.d.ts.map +1 -0
- package/dist/paths.js +12 -0
- package/dist/paths.js.map +1 -0
- package/package.json +3 -3
- package/prisma/app.prisma +148 -72
- package/prisma/generated/app/edge.js +67 -11
- package/prisma/generated/app/index-browser.js +62 -6
- package/prisma/generated/app/index.d.ts +5386 -292
- package/prisma/generated/app/index.js +67 -11
- package/prisma/generated/app/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/prisma/generated/app/package.json +2 -2
- package/prisma/generated/app/runtime/edge-esm.js +3 -3
- package/prisma/generated/app/runtime/edge.js +3 -3
- package/prisma/generated/app/runtime/library.d.ts +66 -92
- package/prisma/generated/app/runtime/library.js +21 -21
- package/prisma/generated/app/runtime/react-native.js +13 -13
- package/prisma/generated/app/runtime/wasm-compiler-edge.js +27 -27
- package/prisma/generated/app/runtime/wasm-engine-edge.js +13 -13
- package/prisma/generated/app/schema.prisma +99 -21
- package/prisma/generated/app/wasm.js +62 -6
- package/prisma/generated/law/edge.js +6 -6
- package/prisma/generated/law/index-browser.js +4 -4
- package/prisma/generated/law/index.d.ts +2 -2
- package/prisma/generated/law/index.js +6 -6
- package/prisma/generated/law/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/prisma/generated/law/package.json +1 -1
- package/prisma/generated/law/runtime/edge-esm.js +3 -3
- package/prisma/generated/law/runtime/edge.js +3 -3
- package/prisma/generated/law/runtime/library.d.ts +66 -92
- package/prisma/generated/law/runtime/library.js +21 -21
- package/prisma/generated/law/runtime/react-native.js +13 -13
- package/prisma/generated/law/runtime/wasm-compiler-edge.js +27 -27
- package/prisma/generated/law/runtime/wasm-engine-edge.js +13 -13
- package/prisma/generated/law/wasm.js +4 -4
- package/prisma/migrations/20250818134929_init/migration.sql +374 -0
- package/prisma/migrations/20250903104817_add_workflow_log/migration.sql +103 -0
- package/prisma/migrations/20250817194531_/migration.sql +0 -372
|
@@ -20,12 +20,12 @@ exports.Prisma = Prisma
|
|
|
20
20
|
exports.$Enums = {}
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Prisma Client JS version: 6.
|
|
24
|
-
* Query Engine version:
|
|
23
|
+
* Prisma Client JS version: 6.15.0
|
|
24
|
+
* Query Engine version: 85179d7826409ee107a6ba334b5e305ae3fba9fb
|
|
25
25
|
*/
|
|
26
26
|
Prisma.prismaVersion = {
|
|
27
|
-
client: "6.
|
|
28
|
-
engine: "
|
|
27
|
+
client: "6.15.0",
|
|
28
|
+
engine: "85179d7826409ee107a6ba334b5e305ae3fba9fb"
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
Prisma.PrismaClientKnownRequestError = () => {
|
|
@@ -176,7 +176,9 @@ exports.Prisma.ConversationScalarFieldEnum = {
|
|
|
176
176
|
shareUrl: 'shareUrl',
|
|
177
177
|
sharedAt: 'sharedAt',
|
|
178
178
|
createdAt: 'createdAt',
|
|
179
|
-
updatedAt: 'updatedAt'
|
|
179
|
+
updatedAt: 'updatedAt',
|
|
180
|
+
summary: 'summary',
|
|
181
|
+
messagesSinceLastSummary: 'messagesSinceLastSummary'
|
|
180
182
|
};
|
|
181
183
|
|
|
182
184
|
exports.Prisma.AnswerScalarFieldEnum = {
|
|
@@ -280,6 +282,35 @@ exports.Prisma.AdminActionLogScalarFieldEnum = {
|
|
|
280
282
|
createdAt: 'createdAt'
|
|
281
283
|
};
|
|
282
284
|
|
|
285
|
+
exports.Prisma.WorkflowLogScalarFieldEnum = {
|
|
286
|
+
id: 'id',
|
|
287
|
+
conversationId: 'conversationId',
|
|
288
|
+
messageId: 'messageId',
|
|
289
|
+
userId: 'userId',
|
|
290
|
+
sessionId: 'sessionId',
|
|
291
|
+
startedAt: 'startedAt',
|
|
292
|
+
completedAt: 'completedAt',
|
|
293
|
+
status: 'status',
|
|
294
|
+
totalDuration: 'totalDuration',
|
|
295
|
+
error: 'error',
|
|
296
|
+
metadata: 'metadata'
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
exports.Prisma.WorkflowStepScalarFieldEnum = {
|
|
300
|
+
id: 'id',
|
|
301
|
+
workflowId: 'workflowId',
|
|
302
|
+
stepName: 'stepName',
|
|
303
|
+
stepType: 'stepType',
|
|
304
|
+
startedAt: 'startedAt',
|
|
305
|
+
completedAt: 'completedAt',
|
|
306
|
+
duration: 'duration',
|
|
307
|
+
status: 'status',
|
|
308
|
+
inputData: 'inputData',
|
|
309
|
+
outputData: 'outputData',
|
|
310
|
+
error: 'error',
|
|
311
|
+
metadata: 'metadata'
|
|
312
|
+
};
|
|
313
|
+
|
|
283
314
|
exports.Prisma.SortOrder = {
|
|
284
315
|
asc: 'asc',
|
|
285
316
|
desc: 'desc'
|
|
@@ -331,6 +362,29 @@ exports.ReferenceType = exports.$Enums.ReferenceType = {
|
|
|
331
362
|
OTHER: 'OTHER'
|
|
332
363
|
};
|
|
333
364
|
|
|
365
|
+
exports.WorkflowStatus = exports.$Enums.WorkflowStatus = {
|
|
366
|
+
IN_PROGRESS: 'IN_PROGRESS',
|
|
367
|
+
COMPLETED: 'COMPLETED',
|
|
368
|
+
FAILED: 'FAILED',
|
|
369
|
+
CANCELLED: 'CANCELLED'
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
exports.StepType = exports.$Enums.StepType = {
|
|
373
|
+
CLASSIFICATION: 'CLASSIFICATION',
|
|
374
|
+
RAG_RETRIEVAL: 'RAG_RETRIEVAL',
|
|
375
|
+
AI_PROCESSING: 'AI_PROCESSING',
|
|
376
|
+
RESPONSE_GENERATION: 'RESPONSE_GENERATION',
|
|
377
|
+
DATA_PERSISTENCE: 'DATA_PERSISTENCE',
|
|
378
|
+
ERROR_HANDLING: 'ERROR_HANDLING'
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
exports.StepStatus = exports.$Enums.StepStatus = {
|
|
382
|
+
IN_PROGRESS: 'IN_PROGRESS',
|
|
383
|
+
COMPLETED: 'COMPLETED',
|
|
384
|
+
FAILED: 'FAILED',
|
|
385
|
+
SKIPPED: 'SKIPPED'
|
|
386
|
+
};
|
|
387
|
+
|
|
334
388
|
exports.Prisma.ModelName = {
|
|
335
389
|
Account: 'Account',
|
|
336
390
|
User: 'User',
|
|
@@ -342,7 +396,9 @@ exports.Prisma.ModelName = {
|
|
|
342
396
|
Reference: 'Reference',
|
|
343
397
|
PageView: 'PageView',
|
|
344
398
|
Session: 'Session',
|
|
345
|
-
AdminActionLog: 'AdminActionLog'
|
|
399
|
+
AdminActionLog: 'AdminActionLog',
|
|
400
|
+
WorkflowLog: 'WorkflowLog',
|
|
401
|
+
WorkflowStep: 'WorkflowStep'
|
|
346
402
|
};
|
|
347
403
|
|
|
348
404
|
/**
|