mirror of
https://github.com/apricote/Listory.git
synced 2026-02-06 17:57:03 +00:00
15 lines
480 B
TypeScript
15 lines
480 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");
|