mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
14 lines
482 B
TypeScript
14 lines
482 B
TypeScript
import { createJob } from "@apricote/nest-pg-boss";
|
|
|
|
export type ICrawlerSupervisorJob = {};
|
|
export const CrawlerSupervisorJob = createJob<ICrawlerSupervisorJob>(
|
|
"spotify-crawler-supervisor",
|
|
);
|
|
|
|
export type IUpdateSpotifyLibraryJob = {};
|
|
export const UpdateSpotifyLibraryJob = createJob<IUpdateSpotifyLibraryJob>(
|
|
"update-spotify-library",
|
|
);
|
|
|
|
export type IImportSpotifyJob = { userID: string };
|
|
export const ImportSpotifyJob = createJob<IImportSpotifyJob>("import-spotify");
|