mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 12:35:02 +02:00
UBERF-6001: Roles management (#4994)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import { Class, Doc, Ref, Space } from '@hcengineering/core'
|
||||
import type { Class, Doc, Ref, Space, SpaceType, SpaceTypeDescriptor } from '@hcengineering/core'
|
||||
import { NotificationGroup, NotificationType } from '@hcengineering/notification'
|
||||
import type { Asset, Plugin, Resource } from '@hcengineering/platform'
|
||||
import { IntlString, plugin } from '@hcengineering/platform'
|
||||
@@ -77,6 +77,12 @@ export const documentPlugin = plugin(documentId, {
|
||||
},
|
||||
viewlet: {
|
||||
TableBranches: '' as Ref<Viewlet>
|
||||
},
|
||||
descriptor: {
|
||||
TeamspaceType: '' as Ref<SpaceTypeDescriptor>
|
||||
},
|
||||
spaceType: {
|
||||
DefaultTeamspaceType: '' as Ref<SpaceType>
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
//
|
||||
|
||||
import { Attachment } from '@hcengineering/attachment'
|
||||
import { AttachedDoc, Class, CollaborativeDoc, Ref, Space } from '@hcengineering/core'
|
||||
import { AttachedDoc, Class, CollaborativeDoc, Ref, TypedSpace } from '@hcengineering/core'
|
||||
import { Preference } from '@hcengineering/preference'
|
||||
import { IconProps } from '@hcengineering/view'
|
||||
|
||||
/** @public */
|
||||
export interface Teamspace extends Space, IconProps {}
|
||||
export interface Teamspace extends TypedSpace, IconProps {}
|
||||
|
||||
/** @public */
|
||||
export interface Document extends AttachedDoc<Document, 'children', Teamspace>, IconProps {
|
||||
|
||||
Reference in New Issue
Block a user