Small Nest.js-based project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { Job, Queue } from 'bull';
|
|
|
|
export const QUEUE_NAME = 'screenshots';
|
|
|
|
export type ScreenshotJobData = {
|
|
pageUrl: URL;
|
|
imageType: 'jpeg' | 'png';
|
|
};
|
|
|
|
export type ScreenshotJob = Job<ScreenshotJobData>;
|
|
|
|
export type ScreenshotsQueue = Queue<ScreenshotJobData>;
|
|
|