fix: 修复前端类型标注与GraphQL访问数据不同的问题

- 将类型标注中的id字段改为string
This commit is contained in:
2025-11-15 16:33:30 +08:00
parent 6f08701847
commit 496548afa4
27 changed files with 92 additions and 92 deletions

View File

@ -11,7 +11,7 @@ export function toContactInfoView(raw: ContactInfo): ContactInfoView {
const trans = raw.translations?.[0];
return {
id: raw.id,
id: raw.id.toString(),
content: trans?.content ?? '',
};
}