Update dependencies and fix import paths

This commit is contained in:
n4ze3m
2024-04-05 20:28:29 +05:30
parent d91d4c4761
commit ac347a3970
43 changed files with 1142 additions and 99 deletions

6
src/queue/index.ts Normal file
View File

@@ -0,0 +1,6 @@
import { processKnowledge } from "@/libs/process-knowledge"
import PubSub from "pubsub-js"
export const KNOWLEDGE_QUEUE = Symbol("queue")
PubSub.subscribe(KNOWLEDGE_QUEUE, processKnowledge)