mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 04:25:03 +02:00
Support Controlled Documents import (#7541)
* Support Controlled Documents import Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com> * Add example table Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com> --------- Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com>
This commit is contained in:
@@ -6,7 +6,8 @@ import {
|
||||
type Type,
|
||||
type Space,
|
||||
type SpaceTypeDescriptor,
|
||||
type Permission
|
||||
type Permission,
|
||||
Role
|
||||
} from '@hcengineering/core'
|
||||
import type { Asset, Plugin, Resource } from '@hcengineering/platform'
|
||||
import { IntlString, plugin } from '@hcengineering/platform'
|
||||
@@ -276,6 +277,11 @@ export const documentsPlugin = plugin(documentsId, {
|
||||
CA: '' as Ref<DocumentCategory>,
|
||||
CC: '' as Ref<DocumentCategory>
|
||||
},
|
||||
role: {
|
||||
QARA: '' as Ref<Role>,
|
||||
Manager: '' as Ref<Role>,
|
||||
QualifiedUser: '' as Ref<Role>
|
||||
},
|
||||
resolver: {
|
||||
Location: '' as Resource<(loc: Location) => Promise<ResolvedLocation | undefined>>
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user