2022-06-29 21:29:00 +02:00
|
|
|
import { createJob } from "@apricote/nest-pg-boss";
|
|
|
|
|
|
|
|
|
|
export type ICrawlerSupervisorJob = {};
|
|
|
|
|
export const CrawlerSupervisorJob = createJob<ICrawlerSupervisorJob>(
|
2023-09-16 13:02:19 +02:00
|
|
|
"spotify-crawler-supervisor",
|
2022-06-29 21:29:00 +02:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
export type IUpdateSpotifyLibraryJob = {};
|
|
|
|
|
export const UpdateSpotifyLibraryJob = createJob<IUpdateSpotifyLibraryJob>(
|
2023-09-16 13:02:19 +02:00
|
|
|
"update-spotify-library",
|
2022-06-29 21:29:00 +02:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
export type IImportSpotifyJob = { userID: string };
|
|
|
|
|
export const ImportSpotifyJob = createJob<IImportSpotifyJob>("import-spotify");
|