Filter old email activity (#2983)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2023-04-14 12:43:36 +07:00
committed by GitHub
parent 99b6634cdd
commit 7c1a31c095
4 changed files with 24 additions and 23 deletions
+2 -6
View File
@@ -13,7 +13,7 @@
// limitations under the License.
//
import { Channel } from '@hcengineering/contact'
import { ChannelItem } from '@hcengineering/contact'
import type { Account, AttachedDoc, Class, Doc, Ref, Space, Timestamp } from '@hcengineering/core'
import type { Plugin } from '@hcengineering/platform'
import { Metadata, plugin } from '@hcengineering/platform'
@@ -23,14 +23,10 @@ import type { AnyComponent } from '@hcengineering/ui'
/**
* @public
*/
export interface Message extends BaseMessage, AttachedDoc {
attachedTo: Ref<Channel>
attachedToClass: Ref<Class<Channel>>
export interface Message extends BaseMessage, ChannelItem {
messageId: string
from: string
textContent: string
incoming: boolean
sendOn: Timestamp
}
/**