made certificates store PK and chain in relation to the main table, added /bundle endpoints, new audit log and permission entries

This commit is contained in:
x
2025-04-30 00:33:46 -04:00
parent e81c49500b
commit e475774910
10 changed files with 239 additions and 24 deletions
@@ -5,6 +5,6 @@ import { ormify } from "@app/lib/knex";
export type TCertificateSecretDALFactory = ReturnType<typeof certificateSecretDALFactory>;
export const certificateSecretDALFactory = (db: TDbClient) => {
const caSecretOrm = ormify(db, TableName.CertificateSecret);
return caSecretOrm;
const certSecretOrm = ormify(db, TableName.CertificateSecret);
return certSecretOrm;
};