fix(queue): remove repeat instance in favor of job-scheduler #4863
Annotations
10 errors and 1 warning
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'.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading