fix(modal): align rollout schema contract
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
export const frontendModalRolloutSchema = {
|
||||
key: 'tools.frontend-modal-rollout',
|
||||
title: '前台弹窗灰度',
|
||||
icon: 'fas fa-bolt',
|
||||
description: '按领域控制前台弹窗新流程的分阶段发布。',
|
||||
defaults: {
|
||||
frontend_modal_rollout_identity: false,
|
||||
frontend_modal_rollout_badge: false,
|
||||
frontend_modal_rollout_order: false,
|
||||
frontend_modal_rollout_vip: false,
|
||||
},
|
||||
groups: [
|
||||
{
|
||||
key: 'rollout',
|
||||
title: '弹窗新流程开关',
|
||||
icon: 'fas fa-toggle-on',
|
||||
fields: [
|
||||
{
|
||||
key: 'frontend_modal_rollout_identity',
|
||||
label: '官方认证新流程',
|
||||
type: 'switch',
|
||||
help: '启用统一弹窗运行时与认证快照流程。',
|
||||
},
|
||||
{
|
||||
key: 'frontend_modal_rollout_badge',
|
||||
label: '徽章新流程',
|
||||
type: 'switch',
|
||||
help: '启用统一 JSON 徽章流程和短缓存。',
|
||||
},
|
||||
{
|
||||
key: 'frontend_modal_rollout_order',
|
||||
label: '订单新流程',
|
||||
type: 'switch',
|
||||
help: '启用订单详情快速开壳与状态同步流程。',
|
||||
},
|
||||
{
|
||||
key: 'frontend_modal_rollout_vip',
|
||||
label: '会员支付新流程',
|
||||
type: 'switch',
|
||||
help: '启用统一会员购买、支付和结果同步流程。',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user