mirror of
https://github.com/plankanban/planka.git
synced 2025-12-23 01:11:40 +03:00
feat: Add ability to copy/cut cards with shortcut support
This commit is contained in:
@@ -13,10 +13,16 @@ const createOne = (values) => CardMembership.create({ ...values }).fetch();
|
||||
|
||||
const getByIds = (ids) => defaultFind(ids);
|
||||
|
||||
const getByCardId = (cardId) =>
|
||||
defaultFind({
|
||||
const getByCardId = (cardId, { userIdOrIds } = {}) => {
|
||||
const criteria = {
|
||||
cardId,
|
||||
});
|
||||
};
|
||||
if (userIdOrIds) {
|
||||
criteria.userId = userIdOrIds;
|
||||
}
|
||||
|
||||
return defaultFind(criteria);
|
||||
};
|
||||
|
||||
const getByCardIds = (cardIds) =>
|
||||
defaultFind({
|
||||
|
||||
Reference in New Issue
Block a user