mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 20:51:50 +00:00
8 lines
295 B
TypeScript
8 lines
295 B
TypeScript
import { TDbClient } from "@app/db";
|
|
import { TableName } from "@app/db/schemas";
|
|
import { ormify } from "@app/lib/knex";
|
|
|
|
export type TProjectRoleDALFactory = ReturnType<typeof projectRoleDALFactory>;
|
|
|
|
export const projectRoleDALFactory = (db: TDbClient) => ormify(db, TableName.ProjectRoles);
|