@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.
Files changed (43) hide show
  1. package/README.md +99 -8
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +1 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/paths.d.ts +4 -0
  7. package/dist/paths.d.ts.map +1 -0
  8. package/dist/paths.js +12 -0
  9. package/dist/paths.js.map +1 -0
  10. package/package.json +3 -3
  11. package/prisma/app.prisma +148 -72
  12. package/prisma/generated/app/edge.js +67 -11
  13. package/prisma/generated/app/index-browser.js +62 -6
  14. package/prisma/generated/app/index.d.ts +5386 -292
  15. package/prisma/generated/app/index.js +67 -11
  16. package/prisma/generated/app/libquery_engine-darwin-arm64.dylib.node +0 -0
  17. package/prisma/generated/app/package.json +2 -2
  18. package/prisma/generated/app/runtime/edge-esm.js +3 -3
  19. package/prisma/generated/app/runtime/edge.js +3 -3
  20. package/prisma/generated/app/runtime/library.d.ts +66 -92
  21. package/prisma/generated/app/runtime/library.js +21 -21
  22. package/prisma/generated/app/runtime/react-native.js +13 -13
  23. package/prisma/generated/app/runtime/wasm-compiler-edge.js +27 -27
  24. package/prisma/generated/app/runtime/wasm-engine-edge.js +13 -13
  25. package/prisma/generated/app/schema.prisma +99 -21
  26. package/prisma/generated/app/wasm.js +62 -6
  27. package/prisma/generated/law/edge.js +6 -6
  28. package/prisma/generated/law/index-browser.js +4 -4
  29. package/prisma/generated/law/index.d.ts +2 -2
  30. package/prisma/generated/law/index.js +6 -6
  31. package/prisma/generated/law/libquery_engine-darwin-arm64.dylib.node +0 -0
  32. package/prisma/generated/law/package.json +1 -1
  33. package/prisma/generated/law/runtime/edge-esm.js +3 -3
  34. package/prisma/generated/law/runtime/edge.js +3 -3
  35. package/prisma/generated/law/runtime/library.d.ts +66 -92
  36. package/prisma/generated/law/runtime/library.js +21 -21
  37. package/prisma/generated/law/runtime/react-native.js +13 -13
  38. package/prisma/generated/law/runtime/wasm-compiler-edge.js +27 -27
  39. package/prisma/generated/law/runtime/wasm-engine-edge.js +13 -13
  40. package/prisma/generated/law/wasm.js +4 -4
  41. package/prisma/migrations/20250818134929_init/migration.sql +374 -0
  42. package/prisma/migrations/20250903104817_add_workflow_log/migration.sql +103 -0
  43. 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.14.0
24
- * Query Engine version: 717184b7b35ea05dfa71a3236b7af656013e1e49
23
+ * Prisma Client JS version: 6.15.0
24
+ * Query Engine version: 85179d7826409ee107a6ba334b5e305ae3fba9fb
25
25
  */
26
26
  Prisma.prismaVersion = {
27
- client: "6.14.0",
28
- engine: "717184b7b35ea05dfa71a3236b7af656013e1e49"
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
  /**