You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
replace @redis with @node-redis
This commit is contained in:
18
index.ts
18
index.ts
@@ -1,13 +1,13 @@
|
||||
import { createClient as _createClient, createCluster as _createCluster } from '@redis/client';
|
||||
import { RedisScripts } from '@redis/client/dist/lib/commands';
|
||||
import { RedisClientOptions, RedisClientType } from '@redis/client/dist/lib/client';
|
||||
import { RedisClusterOptions, RedisClusterType } from '@redis/client/dist/lib/cluster';
|
||||
import RedisJSON from '@redis/json';
|
||||
import RediSearch from '@redis/search';
|
||||
import { createClient as _createClient, createCluster as _createCluster } from '@node-redis/client';
|
||||
import { RedisScripts } from '@node-redis/client/dist/lib/commands';
|
||||
import { RedisClientOptions, RedisClientType } from '@node-redis/client/dist/lib/client';
|
||||
import { RedisClusterOptions, RedisClusterType } from '@node-redis/client/dist/lib/cluster';
|
||||
import RedisJSON from '@node-redis/json';
|
||||
import RediSearch from '@node-redis/search';
|
||||
|
||||
export * from '@redis/client';
|
||||
export * from '@redis/json';
|
||||
export * from '@redis/search';
|
||||
export * from '@node-redis/client';
|
||||
export * from '@node-redis/json';
|
||||
export * from '@node-redis/search';
|
||||
|
||||
const modules = {
|
||||
json: RedisJSON,
|
||||
|
Reference in New Issue
Block a user