style: refresh formatting for dependency updates

This commit is contained in:
xixu-me committed 2026-07-04 15:29:47 +08:00
1 parent ce19015eee
commit 19d11f91d3
3 files changed
+11 -18

No files matched your search

@@ -46,9 +46,8 @@ const {
}
}
}),
getSourcesForTransferMock: vi.fn(
async (transferId: string): Promise<PersistedSourceRecord[]> =>
records.filter((record) => record.transferId === transferId),
getSourcesForTransferMock: vi.fn(async (transferId: string): Promise<PersistedSourceRecord[]> =>
records.filter((record) => record.transferId === transferId),
),
loadPersistedSourceFileMock: vi.fn(
async (record: PersistedSourceRecord): Promise<File | null> =>
+1 -7
View File
@@ -8,13 +8,7 @@ import type { ManifestFileEntry } from '@/lib/api/types'
/** LocalTransferStatus represents sender-side browser state, not the public API state. */
export type LocalTransferStatus =
| 'draft'
| 'preparing'
| 'uploading'
| 'paused'
| 'ready'
| 'failed'
| 'deleted'
'draft' | 'preparing' | 'uploading' | 'paused' | 'ready' | 'failed' | 'deleted'
/** LocalTransferRecord stores everything this browser needs to resume and manage a transfer. */
export type LocalTransferRecord = {