mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-29 03:09:40 +02:00
UBERF-6486 Lock document content (#5799)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -58,7 +58,9 @@ export const documentPlugin = plugin(documentId, {
|
||||
References: '' as Asset,
|
||||
History: '' as Asset,
|
||||
Star: '' as Asset,
|
||||
Starred: '' as Asset
|
||||
Starred: '' as Asset,
|
||||
Lock: '' as Asset,
|
||||
Unlock: '' as Asset
|
||||
},
|
||||
app: {
|
||||
Documents: '' as Ref<Doc>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
//
|
||||
|
||||
import { Attachment } from '@hcengineering/attachment'
|
||||
import { AttachedDoc, Class, CollaborativeDoc, Ref, TypedSpace } from '@hcengineering/core'
|
||||
import { Account, AttachedDoc, Class, CollaborativeDoc, Ref, TypedSpace } from '@hcengineering/core'
|
||||
import { Preference } from '@hcengineering/preference'
|
||||
import { IconProps } from '@hcengineering/view'
|
||||
|
||||
@@ -28,6 +28,8 @@ export interface Document extends AttachedDoc<Document, 'children', Teamspace>,
|
||||
name: string
|
||||
content: CollaborativeDoc
|
||||
|
||||
lockedBy?: Ref<Account> | null
|
||||
|
||||
snapshots?: number
|
||||
attachments?: number
|
||||
children?: number
|
||||
|
||||
Reference in New Issue
Block a user