kolaente
ad27f588a2
All checks were successful
continuous-integration/drone/push Build is passing
This fixes an ux issue where the total count would show a wrong number of total tasks because that was the number of tasks which were loaded at the time. In combination with bucket limits, this caused error messages when the user would attempt to drag tasks into a bucket which appeared not full but was.
18 lines
343 B
TypeScript
18 lines
343 B
TypeScript
import type {IAbstract} from './IAbstract'
|
|
import type {IUser} from './IUser'
|
|
import type {ITask} from './ITask'
|
|
|
|
export interface IBucket extends IAbstract {
|
|
id: number
|
|
title: string
|
|
projectId: number
|
|
limit: number
|
|
tasks: ITask[]
|
|
isDoneBucket: boolean
|
|
position: number
|
|
count: number
|
|
|
|
createdBy: IUser
|
|
created: Date
|
|
updated: Date
|
|
} |