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

@ -16,7 +16,7 @@ describe('companyProfileMapper', () => {
};
expect(toCompanyProfileView(rawData)).toEqual({
id: 1,
id: '1',
content: 'This is raw data of company profile',
});
});
@ -27,7 +27,7 @@ describe('companyProfileMapper', () => {
};
expect(toCompanyProfileView(rawData)).toEqual({
id: 1,
id: '1',
content: '',
});
});