feat: expand ISAC content modeling
Validate and deploy production / validate (push) Canceled after 0s
Validate and deploy production / deploy (push) Canceled after 0s
Validate and deploy staging / validate (push) Successful in 28s
Validate and deploy staging / deploy (push) Successful in 1m3s

This commit is contained in:
jb
2026-08-03 01:23:20 -04:00
parent d9924a95b9
commit 57068b61cd
90 changed files with 9635 additions and 1270 deletions
+2 -1
View File
@@ -34,6 +34,7 @@ export async function recordIsacAudit(input: {
export async function auditRecord(
table: string,
id: string,
suppliedDatabase?: Database,
): Promise<Record<string, unknown> | null> {
if (
![
@@ -56,7 +57,7 @@ export async function auditRecord(
) {
throw new Error('Unsupported audit table');
}
const database = await getDatabase();
const database = suppliedDatabase ?? (await getDatabase());
return (
(await (
await database.prepare(`SELECT * FROM ${table} WHERE id=?`)