@adaptware/eagles-db 0.6.3 → 0.6.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptware/eagles-db",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -86,8 +86,6 @@ model ConsentDocumentVersion {
86
86
  version_number Int
87
87
  content_hash String
88
88
  locale String @default("en")
89
- /// Legacy inline body; new versions use S3 template fields
90
- content String? @db.Text
91
89
  template_version_label String?
92
90
  s3_bucket String?
93
91
  /// Legacy single key; prefer s3_archive_key + s3_active_key
@@ -174,7 +172,8 @@ model ConsentRecord {
174
172
  @@schema("public")
175
173
  }
176
174
 
177
- /// Platform-wide re-consent watermark (complements per-interview consent_epoch_at).
175
+ // Platform-wide re-consent watermark (complements per-interview consent_epoch_at).
176
+ // epoch_at is the effective instant for platform re-consent (can differ from created_at when policy changes are backdated).
178
177
  model SystemConsentEpoch {
179
178
  id String @id @default(uuid())
180
179
  consent_type ConsentType
package/prisma/.DS_Store DELETED
Binary file
Binary file
Binary file