build: release artifacts after Hedena Gold rebrand and user-app chrome
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-10
@@ -88706,7 +88706,7 @@ var require_brand = __commonJS({
|
||||
exports2.brandSiteUrl = brandSiteUrl;
|
||||
var env_12 = require_env();
|
||||
function brandName() {
|
||||
return (0, env_12.envOr)("BRAND_NAME", "\u062A\u0647\u0631\u0627\u0646 \u062A\u0627\u062C");
|
||||
return (0, env_12.envOr)("BRAND_NAME", "\u0647\u062F\u0646\u0627\u06AF\u0644\u062F");
|
||||
}
|
||||
function brandSiteUrl() {
|
||||
return (0, env_12.envOr)("BRAND_SITE_URL", "https://bnk.montzar.ir");
|
||||
@@ -89477,7 +89477,7 @@ var require_customer_auth_service = __commonJS({
|
||||
const smsText = `<#> code is ${code}
|
||||
\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u06CC\u06A9\u0628\u0627\u0631 \u0645\u0635\u0631\u0641 \u0634\u0645\u0627 \u062C\u0647\u062A \u0648\u0631\u0648\u062F \u0628\u0647 \u0627\u067E\u0644\u06CC\u06A9\u06CC\u0634\u0646 ${(0, brand_1.brandName)()} ${code} \u0645\u06CC \u0628\u0627\u0634\u062F
|
||||
aMo6iFyUQaY`;
|
||||
const result = await this.sms.send(mobile, smsText, { persist: false });
|
||||
const result = await this.sms.send(mobile, smsText);
|
||||
const devNoGateway = process.env.NODE_ENV !== "production" && !result.ok && result.error === "sms-not-configured";
|
||||
if (devNoGateway) {
|
||||
this.logger.log(`[dev] OTP for ${mobile}: ${code}`);
|
||||
@@ -89486,14 +89486,6 @@ aMo6iFyUQaY`;
|
||||
this.logger.error(`OTP SMS to ${mobile} failed: ${result.error ?? "unknown"}`);
|
||||
throw new common_12.HttpException("\u0627\u0631\u0633\u0627\u0644 \u067E\u06CC\u0627\u0645 \u06A9\u0648\u062A\u0627\u0647 \u062F\u0631 \u062D\u0627\u0644 \u062D\u0627\u0636\u0631 \u0645\u0645\u06A9\u0646 \u0646\u06CC\u0633\u062A. \u0644\u0637\u0641\u0627\u064B \u0686\u0646\u062F \u0644\u062D\u0638\u0647 \u0628\u0639\u062F \u062F\u0648\u0628\u0627\u0631\u0647 \u062A\u0644\u0627\u0634 \u06A9\u0646\u06CC\u062F.", common_12.HttpStatus.SERVICE_UNAVAILABLE);
|
||||
}
|
||||
await this.prisma.smsMessage.create({
|
||||
data: {
|
||||
audience: client_1.MessageAudience.SINGLE_NUMBER,
|
||||
recipients: mobile,
|
||||
body: "\u06A9\u062F \u06CC\u06A9\u0628\u0627\u0631 \u0645\u0635\u0631\u0641 \u0648\u0631\u0648\u062F (\u0645\u062A\u0646 \u067E\u06CC\u0627\u0645 \u062B\u0628\u062A \u0646\u0645\u06CC\u200C\u0634\u0648\u062F)",
|
||||
sentCount: 1
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
exports2.CustomerAuthService = CustomerAuthService;
|
||||
|
||||
@@ -2086,8 +2086,8 @@ async function main() {
|
||||
await prisma.brand.updateMany({ where: { id: "brand-henza" }, data: { id: "brand-montzar" } });
|
||||
const brandMain = await prisma.brand.upsert({
|
||||
where: { id: "brand-montzar" },
|
||||
update: { title: "\u062A\u0647\u0631\u0627\u0646 \u062A\u0627\u062C \u0637\u0644\u0627" },
|
||||
create: { id: "brand-montzar", title: "\u062A\u0647\u0631\u0627\u0646 \u062A\u0627\u062C \u0637\u0644\u0627" }
|
||||
update: { title: "\u0647\u062F\u0646\u0627\u06AF\u0644\u062F" },
|
||||
create: { id: "brand-montzar", title: "\u0647\u062F\u0646\u0627\u06AF\u0644\u062F" }
|
||||
});
|
||||
const brandArtisan = await prisma.brand.upsert({
|
||||
where: { id: "brand-artisan" },
|
||||
|
||||
+2
-2
@@ -819,7 +819,7 @@ const config = {
|
||||
"value": "prisma-client-js"
|
||||
},
|
||||
"output": {
|
||||
"value": "E:\\tehran_taj\\node_modules\\.pnpm\\@prisma+client@5.22.0_prisma@5.22.0\\node_modules\\@prisma\\client",
|
||||
"value": "E:\\hedena_gold\\node_modules\\.pnpm\\@prisma+client@5.22.0_prisma@5.22.0\\node_modules\\@prisma\\client",
|
||||
"fromEnvVar": null
|
||||
},
|
||||
"config": {
|
||||
@@ -837,7 +837,7 @@ const config = {
|
||||
}
|
||||
],
|
||||
"previewFeatures": [],
|
||||
"sourceFilePath": "E:\\tehran_taj\\apps\\api\\prisma\\schema.prisma"
|
||||
"sourceFilePath": "E:\\hedena_gold\\apps\\api\\prisma\\schema.prisma"
|
||||
},
|
||||
"relativeEnvPaths": {
|
||||
"rootEnvPath": null,
|
||||
|
||||
+2
-2
@@ -820,7 +820,7 @@ const config = {
|
||||
"value": "prisma-client-js"
|
||||
},
|
||||
"output": {
|
||||
"value": "E:\\tehran_taj\\node_modules\\.pnpm\\@prisma+client@5.22.0_prisma@5.22.0\\node_modules\\@prisma\\client",
|
||||
"value": "E:\\hedena_gold\\node_modules\\.pnpm\\@prisma+client@5.22.0_prisma@5.22.0\\node_modules\\@prisma\\client",
|
||||
"fromEnvVar": null
|
||||
},
|
||||
"config": {
|
||||
@@ -838,7 +838,7 @@ const config = {
|
||||
}
|
||||
],
|
||||
"previewFeatures": [],
|
||||
"sourceFilePath": "E:\\tehran_taj\\apps\\api\\prisma\\schema.prisma"
|
||||
"sourceFilePath": "E:\\hedena_gold\\apps\\api\\prisma\\schema.prisma"
|
||||
},
|
||||
"relativeEnvPaths": {
|
||||
"rootEnvPath": null,
|
||||
|
||||
Reference in New Issue
Block a user