added tv params

This commit is contained in:
2026-08-22 21:49:10 +03:30
parent eb434cd606
commit a75c4d915d
2 changed files with 8 additions and 2 deletions
@@ -64,7 +64,7 @@ export const EDITABLE_SETTING_GROUPS: SettingGroupDef[] = [
id: 'content',
title: 'متن‌های اپ',
icon: 'vuesax-linear:document-text',
match: (k) => /^text_/.test(k)
match: (k) => /^text_/.test(k) || k === 'enamad_url' || k === 'about_software'
},
{
id: 'referral',
@@ -275,6 +275,8 @@ const KEY_TYPE_FALLBACK: Record<string, SettingFieldType> = {
payping_gateway_name: 'select',
text_rule: 'longtext',
text_about: 'longtext',
about_software: 'longtext',
enamad_url: 'text',
fee_service_charge_percentage: 'number',
fee_deduct_from_gold: 'switch',
require_zero_main_gold_before_other_buy: 'switch',
@@ -703,6 +705,10 @@ const KEY_HELP_FALLBACK: Record<string, string> = {
'متن کامل قوانین و مقررات که در صفحه قوانین اپ به مشتری نشان داده می‌شود.',
text_about:
'متن «درباره ما» شامل معرفی مجموعه، راه‌های ارتباطی و توضیح خدمات.',
about_software:
'متن معرفی نرم‌افزار — HTML یا چند خط متن.',
enamad_url:
'لینک اعتماد اینماد (trustseal.enamad.ir).',
referral_id:
'روشن: وارد کردن کد معرف در ثبت‌نام اجباری است. خاموش: کد معرف اختیاری است.',
gift_for_referrer:
@@ -1184,7 +1190,7 @@ export const SETTING_EDITABLE_KEYS = new Set([
'has_chat',
'deposit_support_message_text', 'deposit_account_holder', 'deposit_card_number', 'deposit_account_number', 'deposit_sheba',
'deposit_method_card_to_card', 'deposit_method_gateway', 'deposit_method_identified', 'deposit_method_shetab',
'text_about', 'text_rule',
'text_about', 'text_rule', 'about_software', 'enamad_url',
'zaarbox_price_key',
'price_channel_enabled', 'price_channel_messengers', 'price_channel_diff',
'price_channel_min_seconds', 'price_channel_footer_id', 'price_channel_footer_phone',