Files
shanghai-residences/src/store/storeNames.ts
T
zhongyidian 76c67b492e feat: 更新 ESLint 和 Prettier 配置,增强代码质量管理
- 在 .gitignore 中添加 public/audio/* 以忽略音频文件。
- 更新 bun.lock,添加 eslint-config-prettier 和 eslint-plugin-prettier 依赖,确保 ESLint 与 Prettier 的兼容性。
- 修改 eslint.config.ts,整合 Prettier 规则,优化代码风格一致性。
- 在 package.json 中添加 lint:fix 和 format 脚本,简化代码格式化和修复流程。
- 更新 tailwind.config.ts 和其他组件文件,统一代码风格,提升可读性。
2026-03-05 13:50:47 +08:00

24 lines
542 B
TypeScript

//lessonId 课时唯一id
export const STORE_NAMES = {
USER: 'user-storage',
SUNZHONGSHAN: 'sunzhongshan-storage',
LUXUN: 'luxun-storage',
HUANGYANPEI: 'huangyanpei-storage',
CHENYUN: 'chenyun-storage',
PUZZLE: 'puzzle-storage',
CLUE: 'clue-storage',
} as const
//课程的第几课时
export const COURSE_ORDER = {
COURSE_ORDER_1: 1,
COURSE_ORDER_2: 2,
COURSE_ORDER_3: 3,
COURSE_ORDER_4: 4,
COURSE_ORDER_5: 5,
COURSE_ORDER_6: 6,
COURSE_ORDER_7: 7,
} as const
export type StoreNameKey = keyof typeof STORE_NAMES