Fix TypeScript build errors

This commit is contained in:
defiQUG
2026-01-02 20:27:42 -08:00
parent 849e6a8357
commit d4fb8e77cb
295 changed files with 18595 additions and 1391 deletions

20
PRISMA_SCHEMA_FIXED.md Normal file
View File

@@ -0,0 +1,20 @@
# Prisma Schema - All Validation Errors Fixed ✅
## Fixes Applied
1. **@map to @@map**: Fixed all `@map` to use `@@map` (model-level mapping)
2. **Duplicate Models Removed**:
- Removed duplicate `RealityDivergence` model
- Removed duplicate `GruReserveAllocation` model
3. **Missing Model References Removed**:
- Removed `GruBondStressTest[]` references
- Removed `GruOmegaLayerReconciliation[]` references
- Removed `GruMetaverseStressTest[]` references
- Removed `GruReserveWithdrawal[]` references
4. **SyntheticGruBond Relations**: All relations properly defined with correct relation names
5. **Syntax Errors**: Fixed malformed `@ @@map` to `@@map`
## Schema Status
The Prisma schema now validates successfully and Prisma client can be generated.