more fixings
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 38s
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 38s
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// src/services/analyticsService.server.ts
|
||||
import type { Job } from 'bullmq';
|
||||
import { logger as globalLogger } from './logger.server';
|
||||
import type { AnalyticsJobData, WeeklyAnalyticsJobData } from './queues.server';
|
||||
import type { AnalyticsJobData, WeeklyAnalyticsJobData } from '../types/job-data';
|
||||
|
||||
/**
|
||||
* A service class to encapsulate business logic for analytics-related background jobs.
|
||||
|
||||
@@ -8,7 +8,7 @@ import type { Job } from 'bullmq';
|
||||
import type { Logger } from 'pino';
|
||||
import { logger as globalLogger } from './logger.server';
|
||||
import { WatchedItemDeal } from '../types';
|
||||
import type { EmailJobData } from './queues.server';
|
||||
import type { EmailJobData } from '../types/job-data';
|
||||
|
||||
// 1. Create a Nodemailer transporter using SMTP configuration from environment variables.
|
||||
// For development, you can use a service like Ethereal (https://ethereal.email/)
|
||||
|
||||
@@ -5,8 +5,7 @@ import type { Dirent } from 'node:fs';
|
||||
import type { Job } from 'bullmq';
|
||||
import type { Logger } from 'pino';
|
||||
import { ImageConversionError, PdfConversionError, UnsupportedFileTypeError } from './processingErrors';
|
||||
import type { FlyerJobData } from './queues.server';
|
||||
|
||||
import type { FlyerJobData } from '../types/job-data';
|
||||
// Define the image formats supported by the AI model
|
||||
const SUPPORTED_IMAGE_EXTENSIONS = ['.jpg', '.jpeg', '.png', '.webp', '.heic', '.heif'];
|
||||
// Define image formats that are not directly supported but can be converted to PNG.
|
||||
|
||||
Reference in New Issue
Block a user