Files
gsfdc/demo-dify/dify/web/app/components/header/account-setting/constants.ts
T
wuzilongandCursor 6519682885 chore: 纳入本地 Dify 1.19.0 源码及品牌与免登改动
演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 13:59:25 +08:00

28 lines
883 B
TypeScript

export const ACCOUNT_SETTING_TAB = {
MEMBERS: 'members',
IM_PLATFORM: 'im-platform',
IP_POLICIES: 'ip-policies',
ROLES_AND_PERMISSIONS: 'roles-and-permissions',
PERMISSION_SET: 'permission-set',
ACCESS_TOKEN: 'access-token',
BILLING: 'billing',
WORKFLOW_LOG_ARCHIVES: 'workflow-log-archives',
CUSTOM: 'custom',
PREFERENCES: 'preferences',
} as const
export type AccountSettingTab = (typeof ACCOUNT_SETTING_TAB)[keyof typeof ACCOUNT_SETTING_TAB]
export const ACCOUNT_SETTING_TAB_VALUES = [
ACCOUNT_SETTING_TAB.MEMBERS,
ACCOUNT_SETTING_TAB.IM_PLATFORM,
ACCOUNT_SETTING_TAB.IP_POLICIES,
ACCOUNT_SETTING_TAB.ROLES_AND_PERMISSIONS,
ACCOUNT_SETTING_TAB.PERMISSION_SET,
ACCOUNT_SETTING_TAB.ACCESS_TOKEN,
ACCOUNT_SETTING_TAB.BILLING,
ACCOUNT_SETTING_TAB.WORKFLOW_LOG_ARCHIVES,
ACCOUNT_SETTING_TAB.CUSTOM,
ACCOUNT_SETTING_TAB.PREFERENCES,
] as const