@@ -75,6 +75,7 @@ import {
7575 type ServerStorage
7676} from '@hcengineering/server-core'
7777import { serverDocumentId } from '@hcengineering/server-document'
78+ import { serverDriveId } from '@hcengineering/server-drive'
7879import { serverGmailId } from '@hcengineering/server-gmail'
7980import { serverGuestId } from '@hcengineering/server-guest'
8081import { serverHrId } from '@hcengineering/server-hr'
@@ -195,9 +196,9 @@ addStringsLoader(trackerId, async (lang: string) => trackerEn)
195196addStringsLoader ( boardId , async ( lang : string ) => boardEn )
196197addStringsLoader ( preferenceId , async ( lang : string ) => preferenceEn )
197198addStringsLoader ( hrId , async ( lang : string ) => hrEn )
199+ addStringsLoader ( documentId , async ( lang : string ) => documentEn )
198200addStringsLoader ( bitrixId , async ( lang : string ) => bitrixEn )
199201addStringsLoader ( requestId , async ( lang : string ) => requestEn )
200- addStringsLoader ( documentId , async ( lang : string ) => documentEn )
201202addStringsLoader ( loveId , async ( lang : string ) => loveEn )
202203addStringsLoader ( driveId , async ( lang : string ) => driveEn )
203204addStringsLoader ( documentsId , async ( lang : string ) => documentsEn )
@@ -226,6 +227,7 @@ export function start (
226227 accountsUrl : string
227228 }
228229) : ( ) => Promise < void > {
230+ addLocation ( serverActivityId , ( ) => import ( '@hcengineering/server-activity-resources' ) )
229231 addLocation ( serverAttachmentId , ( ) => import ( '@hcengineering/server-attachment-resources' ) )
230232 addLocation ( serverCollaborationId , ( ) => import ( '@hcengineering/server-collaboration-resources' ) )
231233 addLocation ( serverContactId , ( ) => import ( '@hcengineering/server-contact-resources' ) )
@@ -244,12 +246,12 @@ export function start (
244246 addLocation ( serverRequestId , ( ) => import ( '@hcengineering/server-request-resources' ) )
245247 addLocation ( serverViewId , ( ) => import ( '@hcengineering/server-view-resources' ) )
246248 addLocation ( serverHrId , ( ) => import ( '@hcengineering/server-hr-resources' ) )
247- addLocation ( serverActivityId , ( ) => import ( '@hcengineering/server-activity-resources' ) )
248249 addLocation ( serverLoveId , ( ) => import ( '@hcengineering/server-love-resources' ) )
249250 addLocation ( serverGuestId , ( ) => import ( '@hcengineering/server-guest-resources' ) )
250251 addLocation ( openAIId , ( ) => Promise . resolve ( { default : openAIPluginImpl } ) )
251252 addLocation ( serverDocumentId , ( ) => import ( '@hcengineering/server-document-resources' ) )
252253 addLocation ( serverTimeId , ( ) => import ( '@hcengineering/server-time-resources' ) )
254+ addLocation ( serverDriveId , ( ) => import ( '@hcengineering/server-drive-resources' ) )
253255 addLocation ( serverDocumentsId , ( ) => import ( '@hcengineering/server-controlled-documents-resources' ) )
254256 addLocation ( serverTrainingId , ( ) => import ( '@hcengineering/server-training-resources' ) )
255257
@@ -328,14 +330,13 @@ export function start (
328330
329331 return stages
330332 }
331-
332333 const pipelineFactory : PipelineFactory = ( ctx , workspace , upgrade , broadcast , branding ) => {
333334 const wsMetrics = metrics . newChild ( '🧲 session' , { } )
334335 const conf : DbConfiguration = {
335336 domains : {
336337 [ DOMAIN_TX ] : 'MongoTx' ,
337338 [ DOMAIN_TRANSIENT ] : 'InMemory' ,
338- [ DOMAIN_BLOB ] : 'Blob ' ,
339+ [ DOMAIN_BLOB ] : 'StorageData ' ,
339340 [ DOMAIN_FULLTEXT_BLOB ] : 'FullTextBlob' ,
340341 [ DOMAIN_MODEL ] : 'Null'
341342 } ,
@@ -358,7 +359,7 @@ export function start (
358359 factory : createInMemoryAdapter ,
359360 url : ''
360361 } ,
361- Blob : {
362+ StorageData : {
362363 factory : createStorageDataAdapter ,
363364 url : dbUrl
364365 } ,
@@ -381,6 +382,7 @@ export function start (
381382 contentAdapter
382383 )
383384 } ,
385+ serviceAdapters : { } ,
384386 contentAdapters : {
385387 Rekoni : {
386388 factory : createRekoniAdapter ,
@@ -393,7 +395,6 @@ export function start (
393395 url : ''
394396 }
395397 } ,
396- serviceAdapters : { } ,
397398 defaultContentAdapter : 'Rekoni' ,
398399 storageFactory : externalStorage ,
399400 workspace
0 commit comments