mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 11:38:55 +00:00
11 lines
369 B
TypeScript
11 lines
369 B
TypeScript
import { TDbClient } from "@app/db";
|
|
import { TableName } from "@app/db/schemas";
|
|
import { ormify } from "@app/lib/knex";
|
|
|
|
export type TIdentityAzureAuthDALFactory = ReturnType<typeof identityAzureAuthDALFactory>;
|
|
|
|
export const identityAzureAuthDALFactory = (db: TDbClient) => {
|
|
const azureAuthOrm = ormify(db, TableName.IdentityAzureAuth);
|
|
return azureAuthOrm;
|
|
};
|