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:
Anna Khismatullina
2024-12-29 00:41:31 +07:00
committed by GitHub
parent d9604b7e0e
commit ffbd356cc2
12 changed files with 1439 additions and 187 deletions
+7 -1
View File
@@ -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>>
},