diff --git a/plugins/chunter/src/index.ts b/plugins/chunter/src/index.ts index 99a73c3025..d65e981351 100644 --- a/plugins/chunter/src/index.ts +++ b/plugins/chunter/src/index.ts @@ -45,6 +45,16 @@ export interface Backlink extends Comment { backlinkClass: Ref> } +/** + * @public + */ +export interface Attachment extends Doc { + attachmentTo: Ref + collection: string + name: string + file: string +} + /** * @public */ @@ -59,7 +69,8 @@ export default plugin(chunterId, { class: { Message: '' as Ref>, Backlink: '' as Ref>, - Comment: '' as Ref> + Comment: '' as Ref>, + Attachment: '' as Ref> }, space: { Backlinks: '' as Ref