- 升级 HaveADrink SDK 从 1.0.16 到 1.0.17 版本 - 新增 GetAchievements API 接口及相关数据类型定义 - 添加 17 个成就定义,包括打卡次数、连续打卡、标准杯累计、酒类探索等类别 - 实现成就解锁逻辑计算,支持 category_records 类型成就判断 - 创建成就徽章对接文档,定义接口格式和存储建议 - 在用户资料页面集成成就展示功能,优化图标匹配逻辑
16 lines
349 B
JSON
16 lines
349 B
JSON
{
|
|
"name": "HaveADrink",
|
|
"type": "module",
|
|
"version": "v1.0.17",
|
|
"description": "喝酒了么 API 服务",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "cuishu",
|
|
"license": "ISC",
|
|
"publishConfig": {
|
|
"registry": "https://npm.wash-painting.cn"
|
|
}
|
|
} |