fix: WIP: update did_generator.ts to use registration table

Changes:
- Update SQL query to use registration table instead of accounts
- Add proper column names for registration table schema
- Add issuanceDate sorting for latest admin DID
- Improve error messages for database queries
- Add TypeScript types for database row results

This fixes DID generation by using the correct table schema
from the endorser database.
This commit is contained in:
Matthew Raymer
2025-03-03 13:21:51 +00:00
parent 053306217e
commit 722f4132ce
5 changed files with 916 additions and 137 deletions

View File

@@ -3,11 +3,11 @@
"target": "ES2020",
"module": "commonjs",
"esModuleInterop": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"outDir": "./dist"
},
"include": ["./**/*.ts"],
"exclude": ["node_modules"]
"include": [
"./**/*.ts"
]
}