SEC_Warehouse/src/constants/family.ts

17 lines
540 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 家庭圈业务常量
// 每个家庭最多可添加的关爱对象数(设计图 2 文案)
export const MAX_CARED_PER_FAMILY = 2
// 每人最多紧急联系人数(设计图 4 说明文字)
export const MAX_EMERGENCY_CONTACTS = 5
// 家庭名最大长度(设计图 placeholder)
export const MAX_FAMILY_NAME_LEN = 10
// storage 单 key 持久化整个家庭圈数据集
export const FAMILY_DATA_STORAGE_KEY = 'familyData'
// mock 新建家庭 id 自增起点,避免与样例 id 冲突
export const MOCK_ID_SEED = 100000