1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
This commit is contained in:
Leibale
2023-11-01 14:09:58 -04:00
parent 817818aa91
commit ebca66d6f6
42 changed files with 1825 additions and 2010 deletions

View File

@@ -1,7 +1,6 @@
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLIENT_TRACKINGINFO from './CLIENT_TRACKINGINFO';
import { RESP_TYPES } from '../RESP/decoder';
describe('CLIENT TRACKINGINFO', () => {
testUtils.isVersionGreaterThanHook([6, 2]);

View File

@@ -1,5 +1,5 @@
import { Command } from '../RESP/types';
import EVAL, { EvalOptions, transformEvalArguments } from './EVAL';
import EVAL, { transformEvalArguments } from './EVAL';
export default {
FIRST_KEY_INDEX: EVAL.FIRST_KEY_INDEX,

View File

@@ -1,5 +1,5 @@
import { Command } from '../RESP/types';
import EVAL, { EvalOptions, transformEvalArguments } from './EVAL';
import EVAL, { transformEvalArguments } from './EVAL';
export default {
FIRST_KEY_INDEX: EVAL.FIRST_KEY_INDEX,

View File

@@ -1,4 +1,4 @@
import { RedisArgument, TuplesToMapReply, BlobStringReply, ArrayReply, NullReply, SetReply, UnwrapReply, Resp2Reply, CommandArguments, Command, ReplyWithTypeMapping } from '../RESP/types';
import { RedisArgument, TuplesToMapReply, BlobStringReply, ArrayReply, NullReply, SetReply, UnwrapReply, Resp2Reply, CommandArguments, Command } from '../RESP/types';
export interface FunctionListOptions {
LIBRARYNAME?: RedisArgument;

View File

@@ -1,4 +1,4 @@
import { RedisArgument, CommandArguments, ArrayReply, BlobStringReply, Command } from '../RESP/types';
import { RedisArgument, CommandArguments, Command } from '../RESP/types';
import GEORADIUSBYMEMBER from './GEORADIUSBYMEMBER';
import { GeoSearchOptions, GeoUnits, pushGeoSearchOptions } from './GEOSEARCH';
import GEOSEARCH_WITH, { GeoReplyWith } from './GEOSEARCH_WITH';

View File

@@ -1,4 +1,4 @@
import { TuplesToMapReply, BlobStringReply, NumberReply, DoubleReply, ArrayReply, UnwrapReply, Resp2Reply, Command } from '../RESP/types';
import { TuplesToMapReply, BlobStringReply, NumberReply, DoubleReply, ArrayReply, UnwrapReply, Command } from '../RESP/types';
export type MemoryStatsReply = TuplesToMapReply<[
[BlobStringReply<'peak.allocated'>, NumberReply],

View File

@@ -1,5 +1,4 @@
import { RedisArgument, SimpleStringReply, Command } from '../RESP/types';
import { pushVariadicArguments } from './generic-transformers';
export default {
FIRST_KEY_INDEX: undefined,

View File

@@ -1,4 +1,4 @@
import { RedisArgument, SimpleStringReply, Command } from '../RESP/types';
import { SimpleStringReply, Command } from '../RESP/types';
export default {
FIRST_KEY_INDEX: undefined,

View File

@@ -1,4 +1,4 @@
import { RedisArgument, DoubleReply, Command } from '../RESP/types';
import { RedisArgument, Command } from '../RESP/types';
import { transformDoubleArgument, transformDoubleReply } from './generic-transformers';
export default {

View File

@@ -1,6 +1,6 @@
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '../RESP/types';
import { ScanCommonOptions, pushScanArguments } from './SCAN';
import { SortedSetMember, transformDoubleReply, transformSortedSetReply } from './generic-transformers';
import { transformSortedSetReply } from './generic-transformers';
export interface HScanEntry {
field: BlobStringReply;

View File

@@ -1,4 +1,4 @@
import { UnwrapReply, ArrayReply, BlobStringReply, BooleanReply, CommandArguments, DoubleReply, MapReply, NullReply, NumberReply, RedisArgument, TuplesReply, RespType } from '../RESP/types';
import { UnwrapReply, ArrayReply, BlobStringReply, BooleanReply, CommandArguments, DoubleReply, NullReply, NumberReply, RedisArgument, TuplesReply } from '../RESP/types';
export function isNullReply(reply: unknown): reply is NullReply {
return reply === null;