mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-19 14:33:52 +00:00
feat(secret-reminders): addressed PR suggestions and improvements
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { TDbClient } from "@app/db";
|
||||
import { TableName } from "@app/db/schemas";
|
||||
import { ormify } from "@app/lib/knex";
|
||||
|
||||
export type TReminderRecipientDALFactory = ReturnType<typeof reminderRecipientDALFactory>;
|
||||
|
||||
export const reminderRecipientDALFactory = (db: TDbClient) => {
|
||||
const reminderRecipientOrm = ormify(db, TableName.ReminderRecipient);
|
||||
|
||||
return { ...reminderRecipientOrm };
|
||||
};
|
||||
Reference in New Issue
Block a user