This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/modelTypes/IBucket.ts
kolaente ad27f588a2
All checks were successful
continuous-integration/drone/push Build is passing
feat(kanban): use total task count from the api instead of manually calculating it per bucket
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.
2023-06-08 16:57:58 +02:00

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
}