mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-24 20:40:59 +00:00
add attachment
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
84312ab09b
commit
64539d6aa7
@ -45,6 +45,16 @@ export interface Backlink extends Comment {
|
||||
backlinkClass: Ref<Class<Doc>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export interface Attachment extends Doc {
|
||||
attachmentTo: Ref<Doc>
|
||||
collection: string
|
||||
name: string
|
||||
file: string
|
||||
}
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
@ -59,7 +69,8 @@ export default plugin(chunterId, {
|
||||
class: {
|
||||
Message: '' as Ref<Class<Message>>,
|
||||
Backlink: '' as Ref<Class<Backlink>>,
|
||||
Comment: '' as Ref<Class<Comment>>
|
||||
Comment: '' as Ref<Class<Comment>>,
|
||||
Attachment: '' as Ref<Class<Attachment>>
|
||||
},
|
||||
space: {
|
||||
Backlinks: '' as Ref<Space>
|
||||
|
Loading…
Reference in New Issue
Block a user