@declaro/redis 2.0.0-beta.58 → 2.0.0-beta.59
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/dist/ts/index.d.ts +1 -0
- package/dist/ts/index.d.ts.map +1 -0
- package/dist/ts/placeholder.test.d.ts +1 -0
- package/dist/ts/placeholder.test.d.ts.map +1 -0
- package/dist/ts/redis/index.d.ts +1 -0
- package/dist/ts/redis/index.d.ts.map +1 -0
- package/dist/ts/redis/publish.d.ts +1 -0
- package/dist/ts/redis/publish.d.ts.map +1 -0
- package/dist/ts/redis/queue.d.ts +1 -0
- package/dist/ts/redis/queue.d.ts.map +1 -0
- package/dist/ts/redis/redis-event-adapter.d.ts +1 -0
- package/dist/ts/redis/redis-event-adapter.d.ts.map +1 -0
- package/dist/ts/redis/redis-event-adapter.test.d.ts +1 -0
- package/dist/ts/redis/redis-event-adapter.test.d.ts.map +1 -0
- package/dist/ts/redis/redis-middleware.d.ts +1 -0
- package/dist/ts/redis/redis-middleware.d.ts.map +1 -0
- package/dist/ts/redis/repository.d.ts +1 -0
- package/dist/ts/redis/repository.d.ts.map +1 -0
- package/dist/ts/redis/storage.d.ts +1 -0
- package/dist/ts/redis/storage.d.ts.map +1 -0
- package/dist/ts/redis/utils.d.ts +1 -0
- package/dist/ts/redis/utils.d.ts.map +1 -0
- package/dist/ts/settings/index.d.ts +1 -0
- package/dist/ts/settings/index.d.ts.map +1 -0
- package/dist/ts/settings/setting.d.ts +1 -0
- package/dist/ts/settings/setting.d.ts.map +1 -0
- package/dist/ts/settings/site.d.ts +1 -0
- package/dist/ts/settings/site.d.ts.map +1 -0
- package/dist/ts/test-utils/index.d.ts +1 -0
- package/dist/ts/test-utils/index.d.ts.map +1 -0
- package/package.json +3 -3
- package/tsconfig.json +1 -0
package/dist/ts/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"placeholder.test.d.ts","sourceRoot":"","sources":["../../src/placeholder.test.ts"],"names":[],"mappings":""}
|
package/dist/ts/redis/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redis/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,oBAAoB,CAAA;AAClC,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,uBAAuB,CAAA"}
|
|
@@ -19,3 +19,4 @@ export declare function sendMessage<T = string>(context: Context, channel: strin
|
|
|
19
19
|
* @returns A dedicated connection to handle the subscription on. NOTE: Close this connection to unsubscribe.
|
|
20
20
|
*/
|
|
21
21
|
export declare function onMessage<T = string>(context: Context, channel: string | string[], messageHandler: MessageHandler<T>): import("ioredis").default;
|
|
22
|
+
//# sourceMappingURL=publish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../src/redis/publish.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAEvC,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C;;;;;;;GAOG;AACH,wBAAsB,WAAW,CAAC,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAO5G;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC,6BAapH"}
|
package/dist/ts/redis/queue.d.ts
CHANGED
|
@@ -18,3 +18,4 @@ export declare function pushMessage<T = string>(context: Context, channel: strin
|
|
|
18
18
|
* @param channel The channel to receive messages on
|
|
19
19
|
*/
|
|
20
20
|
export declare function onFulfillMessage<T>(context: Context, channel: string, handler: MessageHandler<T>): Promise<() => boolean>;
|
|
21
|
+
//# sourceMappingURL=queue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../src/redis/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAEvC,OAAO,EAAE,KAAK,cAAc,EAAe,MAAM,SAAS,CAAA;AAE1D;;;;;;;;GAQG;AACH,wBAAsB,WAAW,CAAC,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,qBAOrG;AAED;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,0BAkBtG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis-event-adapter.d.ts","sourceRoot":"","sources":["../../../src/redis/redis-event-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAU,MAAM,eAAe,CAAA;AACzD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAA;AAEhC,qBAAa,iBAAiB;IAEtB,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,KAAK;IACnC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,KAAK;gBAFjB,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,KAAK;IAsBxC,SAAS,CAAC,SAAS,GAAI,SAAS,MAAM,EAAE,SAAS,MAAM,EAAE,SAAS,MAAM,UAcvE;IAED,WAAW;CAId"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis-event-adapter.test.d.ts","sourceRoot":"","sources":["../../../src/redis/redis-event-adapter.test.ts"],"names":[],"mappings":""}
|
|
@@ -36,3 +36,4 @@ export declare function useRedisOptions(context: Context): RedisOptions;
|
|
|
36
36
|
*/
|
|
37
37
|
export declare function createRedis(context: Context): RedisInstance;
|
|
38
38
|
export declare function useRedisRepository<T = string>(context: Context): RedisRepository<T>;
|
|
39
|
+
//# sourceMappingURL=redis-middleware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis-middleware.d.ts","sourceRoot":"","sources":["../../../src/redis/redis-middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAO,MAAM,eAAe,CAAA;AAC5C,OAAc,EAAE,KAAK,IAAI,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAA;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,eAAO,MAAM,WAAW;;;CAGvB,CAAA;AAED,eAAO,MAAM,gBAAgB,eAAW,CAAA;AACxC,eAAO,MAAM,aAAa,eAAW,CAAA;AACrC,eAAO,MAAM,aAAa,eAAW,CAAA;AACrC,eAAO,MAAM,iBAAiB,eAAW,CAAA;AAEzC;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,YAAY,MAAY,SAAS,OAAO,kBAmBhF,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CAQxD;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,YAAY,CAI9D;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CAU3D;AAED,wBAAgB,kBAAkB,CAAC,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,eAAe,CAAC,CAAC,CAAC,CAMnF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../src/redis/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,oBAAY,oBAAoB;IAC5B,GAAG,QAAQ;IACX,GAAG,QAAQ;CACd;AAED,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,oBAAoB,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,KAAK,GAAG,CAAA;AAEjG,qBAAa,eAAe,CAAC,CAAC;IAMd,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK;IAL3C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAGxB;gBAE8B,KAAK,EAAE,KAAK;IAErC,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAUvC,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAgBpD,EAAE,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAAC;IAQlE,KAAK,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAAC;IAIxC,KAAK,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAAC;CAG3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/redis/storage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAEvC,wBAAsB,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,iBAMjE;AAED,wBAAsB,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,iCAQxD"}
|
package/dist/ts/redis/utils.d.ts
CHANGED
|
@@ -11,3 +11,4 @@ export declare function serialize<T = string>(message: T): string;
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function unserialize<T = string>(message?: string | null): T | null | undefined;
|
|
13
13
|
export type MessageHandler<T = string> = (message?: T) => any;
|
|
14
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/redis/utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,CAAC,UAE/C;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,CAAC,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,CAKrF;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,GAAG,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../src/settings/setting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAIvC,eAAO,MAAM,YAAY,oBAAoB,CAAA;AAC7C,eAAO,MAAM,mBAAmB,8BAA8B,CAAA;AAE9D,qBAAa,MAAM,CAAC,CAAC,GAAG,GAAG;aACK,SAAS,EAAE,MAAM;aAAkB,YAAY,CAAC,EAAE,CAAC;gBAAnD,SAAS,EAAE,MAAM,EAAkB,YAAY,CAAC,EAAE,CAAC,YAAA;IAE/E,OAAO,KAAK,YAAY,GAEvB;IAEK,GAAG,CAAC,OAAO,EAAE,OAAO;IAWpB,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;CAQhD;AAED,qBAAa,SAAS,CAAC,CAAC,SAAS,MAAM;aACP,SAAS,EAAE,MAAM;aAAkB,aAAa,EAAE,CAAC;gBAAnD,SAAS,EAAE,MAAM,EAAkB,aAAa,EAAE,CAAC;IAE/E,OAAO,KAAK,YAAY,GAEvB;IAEK,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,GAAE,OAAO,CAAC,CAAC,CAAM;IAa1D,MAAM,CAAC,OAAO,EAAE,OAAO;;;IAiBvB,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;CAUvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"site.d.ts","sourceRoot":"","sources":["../../../src/settings/site.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,eAAO,MAAM,UAAU;;;EAGrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test-utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAKvC,eAAO,MAAM,mBAAmB,SAAgB,SAAS,OAAO,kBAS/D,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@declaro/redis",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.59",
|
|
4
4
|
"description": "Redis tools for Declaro",
|
|
5
5
|
"main": "dist/node/index.cjs",
|
|
6
6
|
"module": "dist/browser/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"typecheck": "bun tsc --noEmit"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@declaro/core": "^2.0.0-beta.
|
|
25
|
+
"@declaro/core": "^2.0.0-beta.59",
|
|
26
26
|
"@types/ioredis-mock": "^8.2.5",
|
|
27
27
|
"@vitest/coverage-v8": "^0.32.2",
|
|
28
28
|
"ioredis": "^5.5.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"url": "https://github.com/emmertio/declaro/issues"
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/emmertio/declaro/tree/main#readme",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "97e16a1abf78db8a4a48220183a0d9c9e9b97928",
|
|
49
49
|
"exports": {
|
|
50
50
|
"import": "./dist/node/index.js",
|
|
51
51
|
"require": "./dist/node/index.cjs",
|