mirror of
https://github.com/plankanban/planka.git
synced 2025-07-22 06:39:44 +02:00
Prepare for collection board type, refactoring, update dependencies
This commit is contained in:
parent
2d92ade8dc
commit
c6ee7d54bb
190 changed files with 2144 additions and 1817 deletions
|
@ -40,10 +40,10 @@ module.exports = {
|
|||
throw Errors.BOARD_NOT_FOUND; // Forbidden
|
||||
}
|
||||
|
||||
const lists = await sails.helpers.getListsForBoard(board.id);
|
||||
const labels = await sails.helpers.getLabelsForBoard(board.id);
|
||||
const lists = await sails.helpers.getListsForBoard(board.id);
|
||||
|
||||
const cards = await sails.helpers.getCardsForBoard(board.id);
|
||||
const cards = await sails.helpers.getCardsForBoard(board);
|
||||
const cardIds = sails.helpers.mapRecords(cards);
|
||||
|
||||
const cardSubscriptions = await sails.helpers.getSubscriptionsByUserForCard(
|
||||
|
@ -75,8 +75,8 @@ module.exports = {
|
|||
return exits.success({
|
||||
item: board,
|
||||
included: {
|
||||
lists,
|
||||
labels,
|
||||
lists,
|
||||
cards,
|
||||
cardMemberships,
|
||||
cardLabels,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue