@yongdall/mq-redis 0.4.0 → 0.5.0
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/package.json +2 -2
- package/yongdall/provider.mjs +10 -0
- package/yongdall/provider.mjs.map +1 -0
- package/yongdall.plugin.yml +1 -0
- package/hooks.yongdall.mjs +0 -10
- package/hooks.yongdall.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yongdall/mq-redis",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
"ioredis": "^5.4.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@yongdall/connection": "^0.
|
|
20
|
+
"@yongdall/connection": "^0.5.0"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import redis from "#index";
|
|
2
|
+
|
|
3
|
+
//#region providers/mq-redis/yongdall/provider.mjs
|
|
4
|
+
/** @import { ProviderProfile } from '@yongdall/connection' */
|
|
5
|
+
/** @type {ProviderProfile['mq']} */
|
|
6
|
+
const mq = { redis };
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { mq };
|
|
10
|
+
//# sourceMappingURL=provider.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.mjs","names":[],"sources":["../../../providers/mq-redis/yongdall/provider.mjs"],"sourcesContent":["/** @import { ProviderProfile } from '@yongdall/connection' */\nimport redis from '#index';\n\n/** @type {ProviderProfile['mq']} */\nexport const mq = { redis };\n"],"mappings":";;;;;AAIA,MAAa,KAAK,EAAE,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
label: redis 消息队列支持
|
package/hooks.yongdall.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import redis from "#index";
|
|
2
|
-
|
|
3
|
-
//#region providers/mq-redis/hooks.yongdall.mjs
|
|
4
|
-
/** @import { Hooks } from '@yongdall/connection' */
|
|
5
|
-
/** @type {Hooks.providers} */
|
|
6
|
-
const providers = { mq: { redis } };
|
|
7
|
-
|
|
8
|
-
//#endregion
|
|
9
|
-
export { providers };
|
|
10
|
-
//# sourceMappingURL=hooks.yongdall.mjs.map
|
package/hooks.yongdall.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.yongdall.mjs","names":[],"sources":["../../providers/mq-redis/hooks.yongdall.mjs"],"sourcesContent":["import redis from '#index';\n/** @import { Hooks } from '@yongdall/connection' */\n/** @type {Hooks.providers} */\nexport const providers = {\n\tmq: { redis },\n};\n"],"mappings":";;;;;AAGA,MAAa,YAAY,EACxB,IAAI,EAAE,OAAO,EACb"}
|