@trycompai/db 1.3.20 → 1.3.21-canary.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.
Files changed (2) hide show
  1. package/dist/schema.prisma +13 -2
  2. package/package.json +1 -1
@@ -1469,6 +1469,11 @@ model GlobalVendors {
1469
1469
  subprocessors String[]
1470
1470
  type_of_company String?
1471
1471
 
1472
+ // Vendor Risk Assessment (shared across all organizations)
1473
+ riskAssessmentData Json?
1474
+ riskAssessmentVersion String?
1475
+ riskAssessmentUpdatedAt DateTime?
1476
+
1472
1477
  approved Boolean @default(false)
1473
1478
  createdAt DateTime @default(now())
1474
1479
 
@@ -1709,8 +1714,9 @@ model Task {
1709
1714
  id String @id @default(dbgenerated("generate_prefixed_cuid('tsk'::text)"))
1710
1715
  title String
1711
1716
  description String
1712
- status TaskStatus @default(todo)
1713
- frequency TaskFrequency?
1717
+ status TaskStatus @default(todo)
1718
+ automationStatus TaskAutomationStatus @default(AUTOMATED)
1719
+ frequency TaskFrequency?
1714
1720
  department Departments? @default(none)
1715
1721
  order Int @default(0)
1716
1722
 
@@ -1753,6 +1759,11 @@ enum TaskFrequency {
1753
1759
  yearly
1754
1760
  }
1755
1761
 
1762
+ enum TaskAutomationStatus {
1763
+ AUTOMATED
1764
+ MANUAL
1765
+ }
1766
+
1756
1767
 
1757
1768
  // ===== trust.prisma =====
1758
1769
  model Trust {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@trycompai/db",
3
3
  "description": "Database package with Prisma client and schema for Comp AI",
4
- "version": "1.3.20",
4
+ "version": "1.3.21-canary.0",
5
5
  "dependencies": {
6
6
  "@prisma/client": "^6.13.0",
7
7
  "dotenv": "^16.4.5",