You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
WIP
This commit is contained in:
@@ -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]);
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
@@ -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;
|
||||
|
@@ -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';
|
||||
|
@@ -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],
|
||||
|
@@ -1,5 +1,4 @@
|
||||
import { RedisArgument, SimpleStringReply, Command } from '../RESP/types';
|
||||
import { pushVariadicArguments } from './generic-transformers';
|
||||
|
||||
export default {
|
||||
FIRST_KEY_INDEX: undefined,
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { RedisArgument, SimpleStringReply, Command } from '../RESP/types';
|
||||
import { SimpleStringReply, Command } from '../RESP/types';
|
||||
|
||||
export default {
|
||||
FIRST_KEY_INDEX: undefined,
|
||||
|
@@ -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 {
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user