Skip to content

Commit

Permalink
added index for exporting utility methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ad956 committed Jul 14, 2024
1 parent 8b69307 commit f434a2a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions app/utils/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import dbConfig from "./db";
import FormValidator from "./formValidator";
import { generateOTP, generateSecureOTP } from "./generateOtp";
import getBaseUrl from "./getBaseUrl";
import { getCurrentDateFormatted, getFormattedDate } from "./getDate";
import getModelByRole from "./getModelByRole";
import hashPassword from "./hashPassword";

export {
dbConfig,
FormValidator,
generateOTP,
generateSecureOTP,
getBaseUrl,
getCurrentDateFormatted,
getFormattedDate,
getModelByRole,
hashPassword,
};

0 comments on commit f434a2a

Please sign in to comment.