UBERF-4725 Migrate collaborative content (#5717)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2024-08-22 16:03:42 +05:00
committed by GitHub
parent 0e72b85978
commit df2a9b2708
97 changed files with 702 additions and 820 deletions
@@ -18,11 +18,11 @@
import {
generateId,
getCurrentAccount,
makeCollaborativeDoc,
type AttachedData,
type Class,
type Data,
type Ref,
getCollaborativeDoc
type Ref
} from '@hcengineering/core'
import { MessageBox, getClient } from '@hcengineering/presentation'
import {
@@ -122,7 +122,7 @@
state: DocumentState.Draft,
snapshots: 0,
changeControl: ccRecordId,
content: getCollaborativeDoc(generateId()),
content: makeCollaborativeDoc(generateId()),
requests: 0,
reviewers: [],
@@ -32,8 +32,8 @@
type Ref,
type Mixin,
generateId,
getCollaborativeDoc,
getCurrentAccount
getCurrentAccount,
makeCollaborativeDoc
} from '@hcengineering/core'
import { MessageBox, getClient } from '@hcengineering/presentation'
import {
@@ -118,7 +118,7 @@
state: DocumentState.Draft,
snapshots: 0,
changeControl: ccRecordId,
content: getCollaborativeDoc(generateId()),
content: makeCollaborativeDoc(generateId()),
requests: 0,
reviewers: [],