mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-26 06:12:23 +02:00
Support for rating system (#10124)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -13,13 +13,13 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import type { Class, Doc, Mixin, Ref, SpaceType, SpaceTypeDescriptor, Permission } from '@hcengineering/core'
|
||||
import type { Class, Doc, Mixin, Permission, Ref, 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'
|
||||
import type { AnyComponent, Location, ResolvedLocation } from '@hcengineering/ui/src/types'
|
||||
import { Action } from '@hcengineering/view'
|
||||
import { Document, DocumentSnapshot, SavedDocument, Teamspace } from './types'
|
||||
import { Document, DocumentSnapshot, Teamspace } from './types'
|
||||
|
||||
/**
|
||||
* @public
|
||||
@@ -33,7 +33,6 @@ export const documentPlugin = plugin(documentId, {
|
||||
class: {
|
||||
Document: '' as Ref<Class<Document>>,
|
||||
DocumentSnapshot: '' as Ref<Class<DocumentSnapshot>>,
|
||||
SavedDocument: '' as Ref<Class<SavedDocument>>,
|
||||
Teamspace: '' as Ref<Class<Teamspace>>
|
||||
},
|
||||
mixin: {
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
//
|
||||
|
||||
import { AccountUuid, Doc, MarkupBlobRef, Rank, Ref, TypedSpace } from '@hcengineering/core'
|
||||
import { Preference } from '@hcengineering/preference'
|
||||
import { IconProps } from '@hcengineering/view'
|
||||
|
||||
/** @public */
|
||||
@@ -45,8 +44,3 @@ export interface DocumentSnapshot extends Doc {
|
||||
content: MarkupBlobRef
|
||||
parent: Ref<Document>
|
||||
}
|
||||
|
||||
/** @public */
|
||||
export interface SavedDocument extends Preference {
|
||||
attachedTo: Ref<Document>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user