opengraph stuff

This commit is contained in:
2026-02-24 21:47:36 +00:00
parent 05f0d0e8f7
commit e36908cb0b
61 changed files with 5870 additions and 178 deletions
+11
View File
@@ -0,0 +1,11 @@
import type { JobHandler } from './types';
const handlers = new Map<string, JobHandler>();
export function registerHandler(handler: JobHandler) {
handlers.set(handler.type, handler);
}
export function getHandler(type: string): JobHandler | undefined {
return handlers.get(type);
}