chore(contracts): 同步 data-models 0.6.0(Motion 增 thumbnailUrl)

This commit is contained in:
opendance
2026-09-17 00:21:00 +08:00
parent 9ff5f2b302
commit 47fc8e76b7
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# 规则:任何字段级变更必须提升对应条目版本,并回到 opendance-web 修改后再向另两端建迁移任务。 # 规则:任何字段级变更必须提升对应条目版本,并回到 opendance-web 修改后再向另两端建迁移任务。
rest-api: 0.4.0 rest-api: 0.4.0
websocket-keypoints: 0.1.0 websocket-keypoints: 0.1.0
data-models: 0.5.0 data-models: 0.6.0
skeleton-topology: 0.2.0 skeleton-topology: 0.2.0
model-formats: 0.5.0 model-formats: 0.5.0
database: 0.3.0 database: 0.3.0
+1
View File
@@ -83,6 +83,7 @@ rejected 已驳回
| `durationMs` | number\|null | | | | `durationMs` | number\|null | | |
| `keypointFormat` | string\|null | 读 | 预处理后固定为 `mediapipe33@0.1.0` | | `keypointFormat` | string\|null | 读 | 预处理后固定为 `mediapipe33@0.1.0` |
| `keypointUrl` | string\|null | 读 | 预处理产物(NDJSON 或.npz 的 JSON 封装) | | `keypointUrl` | string\|null | 读 | 预处理产物(NDJSON 或.npz 的 JSON 封装) |
| `thumbnailUrl` | string\|null | 读 | 骨架缩略图(`/preprocess` 时生成,动作管理列表展示;未生成时为 null)(v0.6.0) |
| `keypointFrames` | number\|null | 读 | 关键点帧数 | | `keypointFrames` | number\|null | 读 | 关键点帧数 |
| `preprocessState` | enum | 读 | `none` / `running` / `done` / `failed` | | `preprocessState` | enum | 读 | `none` / `running` / `done` / `failed` |
| `preprocessError` | string\|null | 读 | | | `preprocessError` | string\|null | 读 | |