Skip to content

Commit

Permalink
feat: add nzbget package
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rw committed Jul 21, 2024
1 parent 8340e82 commit b65f3ae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion packages/api/src/router/widgets/usenet-downloads.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {createTRPCRouter, publicProcedure} from "../../trpc";
import {createManyIntegrationMiddleware} from "../../middlewares/integration";
import {createItemAndIntegrationChannel} from "@homarr/redis";
import {NzbGetIntegration, SabnzbdIntegration, UsenetQueueItem} from "@homarr/integrations";
import type { UsenetQueueItem} from "@homarr/integrations";
import {NzbGetIntegration, SabnzbdIntegration} from "@homarr/integrations";
import {observable} from "@trpc/server/observable";
import {TRPCError} from "@trpc/server";

Expand Down
4 changes: 2 additions & 2 deletions packages/cron-jobs/src/jobs/integrations/usenet-downloads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import {createCronJob} from "../../lib";
import {EVERY_5_SECONDS} from "@homarr/cron-jobs-core/expressions";
import {db, eq,} from "@homarr/db";
import {items} from "@homarr/db/schema/sqlite";
import {NzbGetIntegration, UsenetQueueItem} from "@homarr/integrations";
import {SabnzbdIntegration} from "@homarr/integrations";
import type { UsenetQueueItem} from "@homarr/integrations";
import {NzbGetIntegration, SabnzbdIntegration} from "@homarr/integrations";
import {decryptSecret} from "@homarr/common";
import {createItemAndIntegrationChannel} from "@homarr/redis";

Expand Down
1 change: 0 additions & 1 deletion packages/integrations/src/nzbget/nzbget-integration.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {Integration} from "../base/integration";
import { Client as NzbGetClient } from "@jc21/nzbget-jsonrpc-api";
import type {UsenetQueueItem} from "../interfaces/usnet-downloads/usenet-queue-item";
import type {UsenetHistoryItem} from "../interfaces/usnet-downloads/usenet-history-item";
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b65f3ae

Please sign in to comment.