mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 05:09:43 +02:00
feat: Add ability to link tasks to cards
This commit is contained in:
parent
49203e9d56
commit
230f50e3d9
35 changed files with 761 additions and 243 deletions
|
@ -36,6 +36,11 @@ const getByTaskListIds = async (taskListIds, { sort = ['position', 'id'] } = {})
|
|||
{ sort },
|
||||
);
|
||||
|
||||
const getByLinkedCardId = (linkedCardId) =>
|
||||
defaultFind({
|
||||
linkedCardId,
|
||||
});
|
||||
|
||||
const getOneById = (id, { taskListId } = {}) => {
|
||||
const criteria = {
|
||||
id,
|
||||
|
@ -63,6 +68,7 @@ module.exports = {
|
|||
getByIds,
|
||||
getByTaskListId,
|
||||
getByTaskListIds,
|
||||
getByLinkedCardId,
|
||||
getOneById,
|
||||
update,
|
||||
updateOne,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue