mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 05:07:43 +02:00
Cloud collaborator refactoring (#6424)
This commit is contained in:
@@ -27,11 +27,10 @@ import core, {
|
||||
getCurrentAccount,
|
||||
checkPermission
|
||||
} from '@hcengineering/core'
|
||||
import { type IntlString, getMetadata, translate } from '@hcengineering/platform'
|
||||
import presentation, { getClient } from '@hcengineering/presentation'
|
||||
import { type IntlString, translate } from '@hcengineering/platform'
|
||||
import { getClient } from '@hcengineering/presentation'
|
||||
import { type Person, type Employee, type PersonAccount } from '@hcengineering/contact'
|
||||
import request, { RequestStatus } from '@hcengineering/request'
|
||||
import textEditor from '@hcengineering/text-editor'
|
||||
import { isEmptyMarkup } from '@hcengineering/text'
|
||||
import { showPopup, getUserTimezone, type Location } from '@hcengineering/ui'
|
||||
import { type KeyFilter } from '@hcengineering/view'
|
||||
@@ -62,9 +61,6 @@ import { wizardOpened } from './stores/wizards/create-document'
|
||||
|
||||
export type TranslatedDocumentStates = Readonly<Record<DocumentState, string>>
|
||||
|
||||
export const TOKEN = getMetadata(presentation.metadata.Token) ?? ''
|
||||
export const COLLABORATOR_URL = getMetadata(textEditor.metadata.CollaboratorUrl) ?? ''
|
||||
|
||||
export const isDocumentCommentAttachedTo = (
|
||||
value: DocumentComment | null | undefined,
|
||||
location: { nodeId?: string | null }
|
||||
|
||||
Reference in New Issue
Block a user