You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
* Export CommandParser from client index file * Tidy up long export line in client index file Wrap and sort entries. * Adapt and fix wrong examples in programmability doc
37 lines
1.3 KiB
TypeScript
37 lines
1.3 KiB
TypeScript
export {
|
|
/* CommandPolicies, */
|
|
RedisArgument,
|
|
RedisFunctions,
|
|
RedisModules,
|
|
RedisScripts,
|
|
RespVersions,
|
|
TypeMapping,
|
|
} from './lib/RESP/types';
|
|
export { RESP_TYPES } from './lib/RESP/decoder';
|
|
export { VerbatimString } from './lib/RESP/verbatim-string';
|
|
export { defineScript } from './lib/lua-script';
|
|
export * from './lib/errors';
|
|
|
|
import RedisClient, { RedisClientOptions, RedisClientType } from './lib/client';
|
|
export { RedisClientOptions, RedisClientType };
|
|
export const createClient = RedisClient.create;
|
|
export { CommandParser } from './lib/client/parser';
|
|
|
|
import { RedisClientPool, RedisPoolOptions, RedisClientPoolType } from './lib/client/pool';
|
|
export { RedisClientPoolType, RedisPoolOptions };
|
|
export const createClientPool = RedisClientPool.create;
|
|
|
|
import RedisCluster, { RedisClusterOptions, RedisClusterType } from './lib/cluster';
|
|
export { RedisClusterType, RedisClusterOptions };
|
|
export const createCluster = RedisCluster.create;
|
|
|
|
import RedisSentinel from './lib/sentinel';
|
|
export { RedisSentinelOptions, RedisSentinelType } from './lib/sentinel/types';
|
|
export const createSentinel = RedisSentinel.create;
|
|
|
|
export { GEO_REPLY_WITH, GeoReplyWith } from './lib/commands/GEOSEARCH_WITH';
|
|
|
|
export { SetOptions } from './lib/commands/SET';
|
|
|
|
export { REDIS_FLUSH_MODES } from './lib/commands/FLUSHALL';
|