refactor(database): 🚚 Only import ORM table data from @versia/kit

This commit is contained in:
Jesse Wierzbinski 2024-11-01 21:05:54 +01:00
parent 2f8b85a299
commit 7a73b8db91
No known key found for this signature in database
116 changed files with 193 additions and 202 deletions

View file

@ -26,11 +26,14 @@ const deliveryQueue = new Queue<{ noteId: string }, void, DeliveryJobType>(
},
);
const inboxQueue = new Queue<{ data: Entity }, void, InboxJobType>("inbox", {
connection,
});
export const inboxQueue = new Queue<{ data: Entity }, void, InboxJobType>(
"inbox",
{
connection,
},
);
const worker = new Worker<{ noteId: string }, void, DeliveryJobType>(
export const worker = new Worker<{ noteId: string }, void, DeliveryJobType>(
deliveryQueue.name,
async (job) => {
switch (job.name) {