@@ -3,7 +3,7 @@ import RedisMultiCommand, { MULTI_REPLY, MultiReply, MultiReplyType, RedisMultiQ
3
3
import { ReplyWithTypeMapping , CommandReply , Command , CommandArguments , CommanderConfig , RedisFunctions , RedisModules , RedisScripts , RespVersions , TransformReply , RedisScript , RedisFunction , TypeMapping , RedisArgument } from '../RESP/types' ;
4
4
import { attachConfig , functionArgumentsPrefix , getTransformReply } from '../commander' ;
5
5
import RedisCluster from '.' ;
6
- import { BasicClusterCommandParser } from '../client/parser' ;
6
+ import { BasicCommandParser } from '../client/parser' ;
7
7
8
8
type CommandSignature <
9
9
REPLIES extends Array < unknown > ,
@@ -100,7 +100,7 @@ export default class RedisClusterMultiCommand<REPLIES = []> {
100
100
let firstKey : RedisArgument | undefined ;
101
101
102
102
if ( command . parseCommand ) {
103
- const parser = new BasicClusterCommandParser ( resp ) ;
103
+ const parser = new BasicCommandParser ( resp ) ;
104
104
command . parseCommand ( parser , ...args ) ;
105
105
redisArgs = parser . redisArgs ;
106
106
redisArgs . preserve = parser . preserve ;
@@ -131,7 +131,7 @@ export default class RedisClusterMultiCommand<REPLIES = []> {
131
131
let firstKey : RedisArgument | undefined ;
132
132
133
133
if ( command . parseCommand ) {
134
- const parser = new BasicClusterCommandParser ( resp ) ;
134
+ const parser = new BasicCommandParser ( resp ) ;
135
135
command . parseCommand ( parser , ...args ) ;
136
136
redisArgs = parser . redisArgs ;
137
137
redisArgs . preserve = parser . preserve ;
@@ -162,7 +162,7 @@ export default class RedisClusterMultiCommand<REPLIES = []> {
162
162
let firstKey : RedisArgument | undefined ;
163
163
164
164
if ( fn . parseCommand ) {
165
- const parser = new BasicClusterCommandParser ( resp ) ;
165
+ const parser = new BasicCommandParser ( resp ) ;
166
166
fn . parseCommand ( parser , ...args ) ;
167
167
fnArgs = parser . redisArgs ;
168
168
fnArgs . preserve = parser . preserve ;
@@ -196,7 +196,7 @@ export default class RedisClusterMultiCommand<REPLIES = []> {
196
196
let firstKey : RedisArgument | undefined ;
197
197
198
198
if ( script . parseCommand ) {
199
- const parser = new BasicClusterCommandParser ( resp ) ;
199
+ const parser = new BasicCommandParser ( resp ) ;
200
200
script . parseCommand ( parser , ...args ) ;
201
201
scriptArgs = parser . redisArgs ;
202
202
scriptArgs . preserve = parser . preserve ;
0 commit comments