@trycompai/db 1.3.0 → 1.3.2

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 -0
  2. package/package.json +1 -1
@@ -124,6 +124,17 @@ model Verification {
124
124
  updatedAt DateTime @updatedAt
125
125
  }
126
126
 
127
+ // JWT Plugin - Required by Better Auth JWT plugin
128
+ // https://www.better-auth.com/docs/plugins/jwt
129
+ model Jwks {
130
+ id String @id @default(dbgenerated("generate_prefixed_cuid('jwk'::text)"))
131
+ publicKey String
132
+ privateKey String
133
+ createdAt DateTime @default(now())
134
+
135
+ @@map("jwks")
136
+ }
137
+
127
138
  model Member {
128
139
  id String @id @default(dbgenerated("generate_prefixed_cuid('mem'::text)"))
129
140
  organizationId String
@@ -740,10 +751,12 @@ model Trust {
740
751
  soc2 Boolean @default(false)
741
752
  iso27001 Boolean @default(false)
742
753
  gdpr Boolean @default(false)
754
+ hipaa Boolean @default(false)
743
755
 
744
756
  soc2_status FrameworkStatus @default(started)
745
757
  iso27001_status FrameworkStatus @default(started)
746
758
  gdpr_status FrameworkStatus @default(started)
759
+ hipaa_status FrameworkStatus @default(started)
747
760
 
748
761
  @@id([status, organizationId])
749
762
  @@unique([organizationId])
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.0",
4
+ "version": "1.3.2",
5
5
  "dependencies": {
6
6
  "@prisma/client": "^6.13.0",
7
7
  "dotenv": "^16.4.5"