1
0
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:
Orgad Shaneh
2025-05-07 16:10:03 +03:00
committed by GitHub
parent 87b77e3e5f
commit bc4b2101ee
2 changed files with 14 additions and 7 deletions

View File

@@ -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 };