Skip to content

Commit 42a65ee

Browse files
authored
Deprecate scheduler-sequelize and scheduler-prisma (#931)
* Deprecate scheduler-sequelize and scheduler-prisma * Deprecate JobScheduler in scheduler-sequelize and scheduler-prisma, removing URL reference
1 parent d2d2871 commit 42a65ee

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

packages/scheduler-prisma/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
⚠️ **DEPRECATION NOTICE**
2+
3+
> **This package is deprecated and no longer actively maintained.**
4+
>
5+
> Users are strongly recommended to migrate to the consolidated `@ordermentum/scheduler` package.
6+
17
# steveo-scheduler-prisma
28

39
A scheduler provider for [steveo](https://github.com/ordermentum/steveo) library.
@@ -31,5 +37,4 @@ Version 7.1.0
3137
- count: number of occurrences, 1 by default max of 30
3238
#### Usage
3339
```
34-
computeNextRuns(interval, { timezone: 'Australia/Sydney', startDate: moment().toISOString(), count: 5 })
35-
```
40+
computeNextRuns(interval, { timezone: 'Australia/Sydney', startDate: moment().toISOString(), count: 5 })

packages/scheduler-prisma/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ export interface JobSchedulerInterface {
196196
"accepted_at",,"YES","timestamp with time zone"
197197
"priority","1","NO","integer"
198198
*/
199+
/**
200+
* @deprecated Use @ordermentum/scheduler instead.
201+
*/
199202
export class JobScheduler implements JobSchedulerInterface {
200203
logger: Logger;
201204

packages/scheduler-sequelize/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# steveo-scheduler-sequelize
22

3+
⚠️ **DEPRECATION NOTICE** ⚠️
4+
5+
This package is deprecated and no longer actively maintained. Users are strongly recommended to migrate to the consolidated `@ordermentum/scheduler` package.
6+
7+
---
8+
39
A scheduler provider for [steveo](https://github.com/ordermentum/steveo) library.
410

511
- Computes next run of a schedule

packages/scheduler-sequelize/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ export interface JobSchedulerInterface {
189189
"accepted_at",,"YES","timestamp with time zone"
190190
"priority","1","NO","integer"
191191
*/
192+
/**
193+
* @deprecated Use @ordermentum/scheduler instead.
194+
*/
192195
export class JobScheduler implements JobSchedulerInterface {
193196
logger: Logger;
194197

0 commit comments

Comments
 (0)