You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Export CommandParser from client index file and fix doc (#2945)
* 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
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
export { RedisModules, RedisFunctions, RedisScripts, RespVersions, TypeMapping/*, CommandPolicies*/, RedisArgument } from './lib/RESP/types';
|
||||
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';
|
||||
@@ -7,6 +15,7 @@ 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 };
|
||||
|
Reference in New Issue
Block a user