mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 07:35:09 +00:00
11 lines
358 B
TypeScript
11 lines
358 B
TypeScript
import { TDbClient } from "@app/db";
|
|
import { TableName } from "@app/db/schemas";
|
|
import { ormify, TOrmify } from "@app/lib/knex";
|
|
|
|
export type TIdentityTlsCertAuthDALFactory = TOrmify<TableName.IdentityTlsCertAuth>;
|
|
|
|
export const identityTlsCertAuthDALFactory = (db: TDbClient) => {
|
|
const orm = ormify(db, TableName.IdentityTlsCertAuth);
|
|
return orm;
|
|
};
|