mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-13 07:12:00 +01:00
Move generation sequencing into a feature-owned deadline worker and retain persisted evaluation, eligibility and relative-search obligations. Add transactional producer hints and initial PostgreSQL acceptance coverage; follow-up completes the producer audit and remaining lifecycle gates. 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:*");
|
|
}
|