mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-06 05:56:19 +01:00
Reviewed and verified at 21795e222a.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
11 lines
613 B
TypeScript
11 lines
613 B
TypeScript
import { DELIVERY_QUEUES, notifyDeliveryWork } from "./delivery-work-notifications.js";
|
|
|
|
/** Card/settings changes reconstruct deadlines; issue changes also evaluate reactive scope. */
|
|
export function notifyStatusCardEvaluation(transaction: object, companyId?: string) {
|
|
return notifyDeliveryWork(transaction, DELIVERY_QUEUES.statusCardEvaluation, companyId ? `cards:${companyId}` : "*");
|
|
}
|
|
|
|
export function notifyStatusCardIssueChange(transaction: object, companyId?: string) {
|
|
return notifyDeliveryWork(transaction, DELIVERY_QUEUES.statusCardEvaluation, companyId ? `changes:${companyId}` : "changes:*");
|
|
}
|