All checks were successful
continuous-integration/drone/push Build is passing
This PR adds reactions for tasks and comments, similar to what you can do on Gitea, GitHub, Slack and plenty of other tools. Reviewed-on: #2196 Co-authored-by: kolaente <k@knt.li> Co-committed-by: kolaente <k@knt.li>
16 lines
357 B
TypeScript
16 lines
357 B
TypeScript
import type {IAbstract} from './IAbstract'
|
|
import type {IUser} from './IUser'
|
|
import type {ITask} from './ITask'
|
|
import type {IReactionPerEntity} from '@/modelTypes/IReaction'
|
|
|
|
export interface ITaskComment extends IAbstract {
|
|
id: number
|
|
taskId: ITask['id']
|
|
comment: string
|
|
author: IUser
|
|
|
|
reactions: IReactionPerEntity
|
|
|
|
created: Date
|
|
updated: Date
|
|
} |