@uploadista/kv-store-ioredis 0.0.9 → 0.0.11
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/index.d.cts +2 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.mts.map +1 -1
- package/package.json +7 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseKvStore } from "@uploadista/core/types";
|
|
1
|
+
import { BaseKvStore, BaseKvStoreService } from "@uploadista/core/types";
|
|
2
2
|
import { Layer } from "effect";
|
|
3
3
|
import { Redis } from "ioredis";
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ type IoRedisKvStoreConfig = {
|
|
|
9
9
|
declare function makeIoRedisBaseKvStore({
|
|
10
10
|
redis
|
|
11
11
|
}: IoRedisKvStoreConfig): BaseKvStore;
|
|
12
|
-
declare const ioRedisKvStore: (config: IoRedisKvStoreConfig) => Layer.Layer<
|
|
12
|
+
declare const ioRedisKvStore: (config: IoRedisKvStoreConfig) => Layer.Layer<BaseKvStoreService, never, never>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { IoRedisKvStoreConfig, ioRedisKvStore, makeIoRedisBaseKvStore };
|
|
15
15
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/io-redis-kv-store.ts"],"sourcesContent":[],"mappings":";;;;;KAKY,oBAAA;SACH;AADT,CAAA;AAKgB,iBAAA,sBAAA,CAAsB;EAAA;AAAA,CAAA,EAEnC,oBAFmC,CAAA,EAEZ,WAFY;AACpC,cAgDW,cAhDX,EAAA,CAAA,MAAA,EAgDqC,oBAhDrC,EAAA,GAgDyD,KAAA,CAAA,KAhDzD,
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/io-redis-kv-store.ts"],"sourcesContent":[],"mappings":";;;;;KAKY,oBAAA;SACH;AADT,CAAA;AAKgB,iBAAA,sBAAA,CAAsB;EAAA;AAAA,CAAA,EAEnC,oBAFmC,CAAA,EAEZ,WAFY;AACpC,cAgDW,cAhDX,EAAA,CAAA,MAAA,EAgDqC,oBAhDrC,EAAA,GAgDyD,KAAA,CAAA,KAhDzD,CAgDyD,kBAhDzD,EAAA,KAAA,EAAA,KAAA,CAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseKvStore } from "@uploadista/core/types";
|
|
1
|
+
import { BaseKvStore, BaseKvStoreService } from "@uploadista/core/types";
|
|
2
2
|
import { Layer } from "effect";
|
|
3
3
|
import { Redis } from "ioredis";
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ type IoRedisKvStoreConfig = {
|
|
|
9
9
|
declare function makeIoRedisBaseKvStore({
|
|
10
10
|
redis
|
|
11
11
|
}: IoRedisKvStoreConfig): BaseKvStore;
|
|
12
|
-
declare const ioRedisKvStore: (config: IoRedisKvStoreConfig) => Layer.Layer<
|
|
12
|
+
declare const ioRedisKvStore: (config: IoRedisKvStoreConfig) => Layer.Layer<BaseKvStoreService, never, never>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { IoRedisKvStoreConfig, ioRedisKvStore, makeIoRedisBaseKvStore };
|
|
15
15
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/io-redis-kv-store.ts"],"sourcesContent":[],"mappings":";;;;;KAKY,oBAAA;SACH;AADT,CAAA;AAKgB,iBAAA,sBAAA,CAAsB;EAAA;AAAA,CAAA,EAEnC,oBAFmC,CAAA,EAEZ,WAFY;AACpC,cAgDW,cAhDX,EAAA,CAAA,MAAA,EAgDqC,oBAhDrC,EAAA,GAgDyD,KAAA,CAAA,KAhDzD,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/io-redis-kv-store.ts"],"sourcesContent":[],"mappings":";;;;;KAKY,oBAAA;SACH;AADT,CAAA;AAKgB,iBAAA,sBAAA,CAAsB;EAAA;AAAA,CAAA,EAEnC,oBAFmC,CAAA,EAEZ,WAFY;AACpC,cAgDW,cAhDX,EAAA,CAAA,MAAA,EAgDqC,oBAhDrC,EAAA,GAgDyD,KAAA,CAAA,KAhDzD,CAgDyD,kBAhDzD,EAAA,KAAA,EAAA,KAAA,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadista/kv-store-ioredis",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"description": "Redis KV store for Uploadista",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Uploadista",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"types": "./dist/index.d.
|
|
11
|
-
"import": "./dist/index.
|
|
12
|
-
"
|
|
10
|
+
"types": "./dist/index.d.mts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
16
|
"dependencies": {
|
|
16
17
|
"ioredis": "5.8.2",
|
|
17
18
|
"effect": "3.19.0",
|
|
18
|
-
"@uploadista/core": "0.0.
|
|
19
|
+
"@uploadista/core": "0.0.11"
|
|
19
20
|
},
|
|
20
21
|
"devDependencies": {
|
|
21
22
|
"tsdown": "0.16.0",
|
|
22
|
-
"@uploadista/typescript-config": "0.0.
|
|
23
|
+
"@uploadista/typescript-config": "0.0.11"
|
|
23
24
|
},
|
|
24
25
|
"scripts": {
|
|
25
26
|
"build": "tsdown",
|