@antelopejs/interface-redis-scheduler 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -11
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
<a href="https://github.com/AntelopeJS/antelopejs"><img data-illustration src="./.github/readme/strip.svg" width="100%" alt="INTERFACE · REDIS SCHEDULER: part of AntelopeJS, hexagonal architecture beyond your own code. A glowing button reads Star AntelopeJS."></a>
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<a href="https://interfaces.antelopejs.com/docs/redis-scheduler"><img data-illustration alt="
|
|
4
|
+
|
|
5
|
+
# `@antelopejs/interface-redis-scheduler`
|
|
6
|
+
|
|
7
|
+
<a href="https://www.npmjs.com/package/@antelopejs/interface-redis-scheduler"><img data-illustration alt="npm" src="https://img.shields.io/npm/v/@antelopejs/interface-redis-scheduler?style=for-the-badge&labelColor=000000&color=000000"></a> <a href="./LICENSE"><img data-illustration alt="License" src="https://img.shields.io/npm/l/@antelopejs/interface-redis-scheduler?style=for-the-badge&labelColor=000000&color=000000"></a> <a href="https://discord.gg/g4pFt6eXqu"><img data-illustration alt="Discord" src="https://img.shields.io/badge/Discord-18181B?logo=discord&style=for-the-badge&color=000000"></a> <a href="https://interfaces.antelopejs.com/docs/redis-scheduler"><img data-illustration alt="Documentation" src="https://img.shields.io/badge/Docs-18181B?style=for-the-badge&color=000000"></a> <a href="https://github.com/AntelopeJS/antelopejs"><img data-illustration alt="Star AntelopeJS" src="https://img.shields.io/github/stars/AntelopeJS/antelopejs?label=Star%20AntelopeJS&style=for-the-badge&labelColor=000000&color=000000&logo=github"></a>
|
|
8
|
+
|
|
9
|
+
**Task scheduling on Redis for AntelopeJS. Schedule a task for a given time and the application runs it when due, with up to three retries.**
|
|
10
|
+
|
|
11
|
+
[Documentation](https://interfaces.antelopejs.com/docs/redis-scheduler) · [Implementations](#implementations) · [All interfaces and providers](https://github.com/AntelopeJS/antelopejs#ecosystem)
|
|
12
|
+
|
|
8
13
|
</div>
|
|
9
14
|
|
|
10
15
|
Task scheduling on Redis for AntelopeJS. You schedule a task for a given time, and a listener in your application runs it when it is due, with up to three retries on failure.
|
|
11
16
|
|
|
12
|
-
Part of [AntelopeJS](https://github.com/AntelopeJS/antelopejs), the TypeScript framework where modules depend on contracts and the application chooses the provider. Built by the team behind [AntelopeJS DMS](https://github.com/AntelopeJS/dms).
|
|
13
|
-
|
|
14
17
|
## What it offers
|
|
15
18
|
|
|
16
19
|
- `setHandler` registers the function that runs one kind of task.
|
|
@@ -84,10 +87,10 @@ The module declares these peer dependencies:
|
|
|
84
87
|
|
|
85
88
|
<!-- antelopejs-docs-compat:start -->
|
|
86
89
|
|
|
87
|
-
| Package | Supported
|
|
88
|
-
| ----------------------------- |
|
|
89
|
-
| `@antelopejs/interface-core` | `>=0.
|
|
90
|
-
| `@antelopejs/interface-redis` | `>=0.0.
|
|
90
|
+
| Package | Supported | Tested with |
|
|
91
|
+
| ----------------------------- | ----------------- | ----------- |
|
|
92
|
+
| `@antelopejs/interface-core` | `>=0.5.1 <0.6.0` | `0.5.1` |
|
|
93
|
+
| `@antelopejs/interface-redis` | `>=0.0.10 <0.1.0` | `0.0.10` |
|
|
91
94
|
|
|
92
95
|
<!-- antelopejs-docs-compat:end -->
|
|
93
96
|
|
|
@@ -101,6 +104,24 @@ pnpm lint
|
|
|
101
104
|
pnpm test
|
|
102
105
|
```
|
|
103
106
|
|
|
107
|
+
## Part of AntelopeJS
|
|
108
|
+
|
|
109
|
+
This package belongs to [AntelopeJS](https://github.com/AntelopeJS/antelopejs), the TypeScript framework where modules depend on contracts and the application chooses the provider. The open-source back office [AntelopeJS DMS](https://github.com/AntelopeJS/dms) is built on it.
|
|
110
|
+
|
|
111
|
+
<!-- antelopejs-framework-modules:start -->
|
|
112
|
+
|
|
113
|
+
| Area | Contracts | Providers |
|
|
114
|
+
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
115
|
+
| API | [`interface-api`](https://github.com/AntelopeJS/interface-api) · [`interface-api-util`](https://github.com/AntelopeJS/interface-api-util) · [`interface-data-api`](https://github.com/AntelopeJS/interface-data-api) | [`api`](https://github.com/AntelopeJS/api) |
|
|
116
|
+
| Auth | [`interface-auth`](https://github.com/AntelopeJS/interface-auth) | [`auth-jwt`](https://github.com/AntelopeJS/auth-jwt) |
|
|
117
|
+
| Database | [`interface-database`](https://github.com/AntelopeJS/interface-database) · [`interface-database-decorators`](https://github.com/AntelopeJS/interface-database-decorators) · [`interface-database-catalog`](https://github.com/AntelopeJS/interface-database-catalog) · [`interface-mongodb`](https://github.com/AntelopeJS/interface-mongodb) · [`interface-rethinkdb`](https://github.com/AntelopeJS/interface-rethinkdb) | [`postgres`](https://github.com/AntelopeJS/postgres) · [`mysql`](https://github.com/AntelopeJS/mysql) · [`mongodb`](https://github.com/AntelopeJS/mongodb) · [`rethinkdb`](https://github.com/AntelopeJS/rethinkdb) |
|
|
118
|
+
| Redis | [`interface-redis`](https://github.com/AntelopeJS/interface-redis) · **`interface-redis-scheduler`** | [`redis`](https://github.com/AntelopeJS/redis) |
|
|
119
|
+
| Email | [`interface-email`](https://github.com/AntelopeJS/interface-email) | [`nodemailer`](https://github.com/AntelopeJS/nodemailer) · [`brevo`](https://github.com/AntelopeJS/brevo) |
|
|
120
|
+
| File storage | [`interface-file-storage`](https://github.com/AntelopeJS/interface-file-storage) | [`file-storage-local`](https://github.com/AntelopeJS/file-storage-local) · [`file-storage-s3`](https://github.com/AntelopeJS/file-storage-s3) |
|
|
121
|
+
| Payments | [`interface-payment`](https://github.com/AntelopeJS/interface-payment) · [`interface-subscriptions`](https://github.com/AntelopeJS/interface-subscriptions) · [`interface-stripe`](https://github.com/AntelopeJS/interface-stripe) | [`stripe`](https://github.com/AntelopeJS/stripe) · [`mollie`](https://github.com/AntelopeJS/mollie) · [`checkout-com`](https://github.com/AntelopeJS/checkout-com) · [`payment-subscriptions`](https://github.com/AntelopeJS/payment-subscriptions) |
|
|
122
|
+
|
|
123
|
+
<!-- antelopejs-framework-modules:end -->
|
|
124
|
+
|
|
104
125
|
## License
|
|
105
126
|
|
|
106
127
|
[Apache-2.0](./LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/interface-redis-scheduler",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "AntelopeJS interface for scheduling tasks on Redis, with retries on failure",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antelopejs",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"ioredis": "^5.10.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@antelopejs/core": "
|
|
63
|
-
"@antelopejs/interface-core": ">=0.
|
|
64
|
-
"@antelopejs/interface-redis": "
|
|
65
|
-
"@antelopejs/tooling-configs": "
|
|
62
|
+
"@antelopejs/core": "~1.23.3",
|
|
63
|
+
"@antelopejs/interface-core": ">=0.5.1 <0.6.0",
|
|
64
|
+
"@antelopejs/interface-redis": ">=0.0.10 <0.1.0",
|
|
65
|
+
"@antelopejs/tooling-configs": ">=0.8.0 <0.9.0",
|
|
66
66
|
"@types/chai": "^4.3.20",
|
|
67
67
|
"@types/mocha": "^10.0.10",
|
|
68
68
|
"@types/node": "^22.19.15",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"typescript": "^5.9.3"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"@antelopejs/interface-core": ">=0.
|
|
83
|
-
"@antelopejs/interface-redis": ">=0.0.
|
|
82
|
+
"@antelopejs/interface-core": ">=0.5.1 <0.6.0",
|
|
83
|
+
"@antelopejs/interface-redis": ">=0.0.10 <0.1.0"
|
|
84
84
|
},
|
|
85
85
|
"packageManager": "pnpm@10.6.5",
|
|
86
86
|
"antelopeJs": {
|