mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-07 02:07:43 +02:00
UBERF-5603 (#4754)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -67,6 +67,8 @@ import { textEditorId, createModel as textEditorModel } from '@hcengineering/mod
|
||||
import tracker, { trackerId, createModel as trackerModel } from '@hcengineering/model-tracker'
|
||||
import view, { viewId, createModel as viewModel } from '@hcengineering/model-view'
|
||||
import workbench, { workbenchId, createModel as workbenchModel } from '@hcengineering/model-workbench'
|
||||
import { guestId, createModel as guestModel } from '@hcengineering/model-guest'
|
||||
import { serverGuestId, createModel as serverGuestModel } from '@hcengineering/model-server-guest'
|
||||
|
||||
import { openAIId, createModel as serverOpenAI } from '@hcengineering/model-server-openai'
|
||||
import { createModel as serverTranslate, translateId } from '@hcengineering/model-server-translate'
|
||||
@@ -111,6 +113,7 @@ export default function buildModel (enabled: string[] = ['*'], disabled: string[
|
||||
[coreModel, coreId],
|
||||
[activityModel, activityId],
|
||||
[attachmentModel, attachmentId],
|
||||
[guestModel, guestId],
|
||||
[tagsModel, tagsId],
|
||||
[viewModel, viewId],
|
||||
[workbenchModel, workbenchId],
|
||||
@@ -298,7 +301,8 @@ export default function buildModel (enabled: string[] = ['*'], disabled: string[
|
||||
[serverViewModel, serverViewId],
|
||||
[serverActivityModel, serverActivityId],
|
||||
[serverTranslate, translateId],
|
||||
[serverOpenAI, openAIId]
|
||||
[serverOpenAI, openAIId],
|
||||
[serverGuestModel, serverGuestId]
|
||||
]
|
||||
|
||||
for (const [b, id, config] of builders) {
|
||||
|
||||
@@ -18,6 +18,7 @@ import { type MigrateOperation } from '@hcengineering/model'
|
||||
import { attachmentOperation } from '@hcengineering/model-attachment'
|
||||
import { chunterOperation } from '@hcengineering/model-chunter'
|
||||
import { contactOperation } from '@hcengineering/model-contact'
|
||||
import { guestOperation } from '@hcengineering/model-guest'
|
||||
import { coreOperation } from '@hcengineering/model-core'
|
||||
import { gmailOperation } from '@hcengineering/model-gmail'
|
||||
import { leadOperation } from '@hcengineering/model-lead'
|
||||
@@ -54,6 +55,7 @@ export const migrateOperations: [string, MigrateOperation][] = [
|
||||
['recruit', recruitOperation],
|
||||
['view', viewOperation],
|
||||
['contact', contactOperation],
|
||||
['guest', guestOperation],
|
||||
['tags', tagsOperation],
|
||||
['setting', settingOperation],
|
||||
['tracker', trackerOperation],
|
||||
|
||||
Reference in New Issue
Block a user