refactor: the user setting and change to be cateogry based

This commit is contained in:
mahyargdz
2025-02-28 16:34:11 +03:30
parent 207e0e46ea
commit 5b1b574d41
21 changed files with 242 additions and 341 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ export function smsConfigs() {
return {
API_URL: configService.getOrThrow<string>("SMS_API_URL"),
API_KEY: configService.getOrThrow<string>("SMS_API_KEY"),
// SECRET_KEY: configService.getOrThrow<string>("SMS_SECRET"),
SMS_PATTERN_OTP: configService.getOrThrow<string>("SMS_PATTERN_OTP"),
SMS_PATTERN_INVOICE: configService.getOrThrow<string>("SMS_PATTERN_INVOICE"),
};
},
};
@@ -17,6 +17,6 @@ export function smsConfigs() {
export interface ISmsConfigs {
API_URL: string;
API_KEY: string;
// SECRET_KEY: string;
SMS_PATTERN_OTP: string;
SMS_PATTERN_INVOICE: string;
}