import { TDbClient } from "@app/db"; import { TableName } from "@app/db/schemas"; import { ormify } from "@app/lib/knex"; export type TSshCertificateAuthoritySecretDALFactory = ReturnType; export const sshCertificateAuthoritySecretDALFactory = (db: TDbClient) => { const sshCaSecretOrm = ormify(db, TableName.SshCertificateAuthoritySecret); return sshCaSecretOrm; };