fix(queue): remove repeat instance in favor of job-scheduler #4863
Annotations
11 errors
|
Run yarn build:
src/classes/job-scheduler.ts#L134
Argument of type '{ repeat: { every?: number; count?: number; currentDate?: DateType; endDate?: DateType; utc?: boolean; tz?: string; nthDayOfWeek?: number; pattern?: string; limit?: number; }; telemetryMetadata: string; ... 14 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }' is not assignable to parameter of type 'JobsOptions'.
|
Run yarn build:
src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type '{ jobId: string; delay: number; timestamp: number; prevMillis: number; repeatJobKey: string; parent?: { id: string; queue: string; }; telemetryMetadata?: string; priority?: number; attempts?: number; backoff?: number | BackoffOptions; ... 7 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }'.
|
Run yarn build:
src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type 'JobsOptions'.
|
Run yarn build:
src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
|
Run yarn build:
src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
|
Run yarn build:
src/classes/scripts.ts#L202
Property 'repeat' does not exist on type 'RedisJobOptions'.
|
Run yarn build:
src/classes/scripts.ts#L204
Property 'repeat' does not exist on type 'RedisJobOptions'.
|
Run yarn build:
src/classes/worker.ts#L27
Cannot find module './repeat' or its corresponding type declarations.
|
Run yarn build:
src/classes/worker.ts#L406
Parameter 'e' implicitly has an 'any' type.
|
Run yarn build:
src/classes/worker.ts#L758
Property 'repeat' does not exist on type 'JobsOptions'.
|
Loading