UBERF-7011: Switch to Ref<Blob> (#5661)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-05-27 12:25:57 +05:00
committed by GitHub
parent 27a98e0641
commit 8c6a5f4e9d
158 changed files with 1795 additions and 1049 deletions
+3 -2
View File
@@ -14,7 +14,8 @@ import core, {
Space,
TxOperations,
WithLookup,
generateId
generateId,
type Blob as PlatformBlob
} from '@hcengineering/core'
import { Message } from '@hcengineering/gmail'
import recruit, { Applicant, Candidate, Vacancy } from '@hcengineering/recruit'
@@ -561,7 +562,7 @@ export async function convert (
const attachDoc: Attachment & BitrixSyncDoc = {
_id: generateId(),
bitrixId: `${blobRef.id}`,
file: '', // Empty since not uploaded yet.
file: '' as Ref<PlatformBlob>, // Empty since not uploaded yet.
name: blobRef.id,
size: -1,
type: 'application/octet-stream',