mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 04:25:03 +02:00
UBERF-7090: Add Office plugins (#5725)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
@@ -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],
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user