feat(video): add timestamp support to comments

This commit is contained in:
yiling
2026-05-27 11:17:56 +08:00
parent ad8f3931f7
commit c048ceef28
12 changed files with 158 additions and 20 deletions
+6 -4
View File
@@ -157,10 +157,11 @@ describe('file api', () => {
it('POST /files/:fileId/comments', async () => {
vi.mocked(assetService.createComment).mockResolvedValue({
id: 'comment-id',
assetId: 'test-id',
assetId: 'file-id',
message: 'hello',
annotations: null,
creator: { id: 'user1', name: 'user-name' },
second: null,
creator: { id: 'user-id', name: 'Test User' },
replies: [],
attachments: [],
mentions: [],
@@ -207,10 +208,11 @@ describe('file api', () => {
data: [
{
id: 'comment-id',
assetId: 'test-id',
assetId: 'file-id',
message: 'hello',
annotations: null,
creator: { id: 'user1', name: 'user-name' },
second: null,
creator: { id: 'user-id', name: 'Test User' },
replies: [],
attachments: [],
mentions: [],