feat(server): moved dynamic secret to ee

This commit is contained in:
Akhil Mohan
2024-03-27 15:00:16 +05:30
parent 8784f80fc1
commit 7a561bcbdf
16 changed files with 26 additions and 27 deletions
@@ -0,0 +1,10 @@
import { TDbClient } from "@app/db";
import { TableName } from "@app/db/schemas";
import { ormify } from "@app/lib/knex";
export type TDynamicSecretDALFactory = ReturnType<typeof dynamicSecretDALFactory>;
export const dynamicSecretDALFactory = (db: TDbClient) => {
const orm = ormify(db, TableName.DynamicSecret);
return orm;
};