UBERF-7090: Add Office plugins (#5725)

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
Alexey Zinoviev
2024-06-04 17:24:14 +04:00
committed by GitHub
parent a14676a476
commit 33d6ec0786
100 changed files with 7626 additions and 4 deletions
+15
View File
@@ -79,6 +79,8 @@ import workbench, { workbenchId, createModel as workbenchModel } from '@hcengine
import { openAIId, createModel as serverOpenAI } from '@hcengineering/model-server-openai'
import { createModel as serverTranslate, translateId } from '@hcengineering/model-server-translate'
import love, { loveId, createModel as loveModel } from '@hcengineering/model-love'
import { serverLoveId, createModel as serverLoveModel } from '@hcengineering/model-server-love'
import { printId, createModel as printModel } from '@hcengineering/model-print'
import { questionsId, createModel as questionsModel } from '@hcengineering/model-questions'
@@ -311,6 +313,18 @@ export default function buildModel (enabled: string[] = ['*'], disabled: string[
}
],
[timeModel, timeId],
[
loveModel,
loveId,
{
label: love.string.Office,
description: love.string.LoveDescription,
enabled: true,
beta: true,
icon: love.icon.Love,
classFilter: defaultFilter
}
],
[printModel, printId],
[driveModel, driveId],
[supportModel, supportId],
@@ -381,6 +395,7 @@ export default function buildModel (enabled: string[] = ['*'], disabled: string[
[serverTranslate, translateId],
[serverOpenAI, openAIId],
[serverDocumentModel, serverDocumentId],
[serverLoveModel, serverLoveId],
[serverTimeModel, serverTimeId],
[serverGuestModel, serverGuestId],
[serverDriveModel, serverDriveId],
+2
View File
@@ -40,6 +40,7 @@ import { calendarOperation } from '@hcengineering/model-calendar'
import { timeOperation } from '@hcengineering/model-time'
import { activityOperation } from '@hcengineering/model-activity'
import { activityServerOperation } from '@hcengineering/model-server-activity'
import { loveId, loveOperation } from '@hcengineering/model-love'
import { documentOperation } from '@hcengineering/model-document'
import { textEditorOperation } from '@hcengineering/model-text-editor'
import { questionsOperation } from '@hcengineering/model-questions'
@@ -76,6 +77,7 @@ export const migrateOperations: [string, MigrateOperation][] = [
['inventiry', inventoryOperation],
['time', timeOperation],
['activityServer', activityServerOperation],
[loveId, loveOperation],
['document', documentOperation],
['textEditor', textEditorOperation],
// We should call it after activityServer and chunter