refactor(worker): 🚚 Move queue code to plugin-kit package
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 1s
Test Publish / build (client) (push) Failing after 1s
Test Publish / build (sdk) (push) Failing after 1s

This commit is contained in:
Jesse Wierzbinski 2025-06-29 22:56:52 +02:00
parent dc802ff5f6
commit 7de4b573e3
No known key found for this signature in database
27 changed files with 68 additions and 57 deletions

View file

@ -1,11 +1,11 @@
import { Instance } from "@versia-server/kit/db";
import { FetchJobType, fetchQueue } from "@versia-server/kit/queues/fetch";
import { Instances } from "@versia-server/kit/tables";
import chalk from "chalk";
// @ts-expect-error - Root import is required or the Clec type definitions won't work
// biome-ignore lint/correctness/noUnusedImports: Root import is required or the Clec type definitions won't work
import { defineCommand, type Root } from "clerc";
import { eq } from "drizzle-orm";
import { FetchJobType, fetchQueue } from "~/classes/queues/fetch.ts";
export const refetchInstanceCommand = defineCommand(
{