You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix cross packages imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformBooleanReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformBooleanReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformBooleanReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformBooleanReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command, UnwrapReply, NullReply, NumberReply, TuplesToMapReply, Resp2Reply, SimpleStringReply, TypeMapping } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command, UnwrapReply, NullReply, NumberReply, TuplesToMapReply, Resp2Reply, SimpleStringReply, TypeMapping } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformInfoV2Reply } from '.';
|
import { transformInfoV2Reply } from '.';
|
||||||
|
|
||||||
export type BfInfoReplyMap = TuplesToMapReply<[
|
export type BfInfoReplyMap = TuplesToMapReply<[
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
import { transformBooleanArrayReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformBooleanArrayReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export interface BfInsertOptions {
|
export interface BfInsertOptions {
|
||||||
CAPACITY?: number;
|
CAPACITY?: number;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
import { transformBooleanArrayReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformBooleanArrayReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
import { transformBooleanArrayReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformBooleanArrayReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface BfReserveOptions {
|
export interface BfReserveOptions {
|
||||||
EXPANSION?: number;
|
EXPANSION?: number;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, TuplesReply, NumberReply, BlobStringReply, UnwrapReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, TuplesReply, NumberReply, BlobStringReply, UnwrapReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import type { RedisCommands, TypeMapping } from '@redis/client/lib/RESP/types';
|
import type { RedisCommands, TypeMapping } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
import ADD from './ADD';
|
import ADD from './ADD';
|
||||||
import CARD from './CARD';
|
import CARD from './CARD';
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface BfIncrByItem {
|
export interface BfIncrByItem {
|
||||||
item: RedisArgument;
|
item: RedisArgument;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, TuplesToMapReply, NumberReply, UnwrapReply, Resp2Reply, Command, SimpleStringReply, TypeMapping } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, TuplesToMapReply, NumberReply, UnwrapReply, Resp2Reply, Command, SimpleStringReply, TypeMapping } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformInfoV2Reply } from '../bloom';
|
import { transformInfoV2Reply } from '../bloom';
|
||||||
|
|
||||||
export type CmsInfoReplyMap = TuplesToMapReply<[
|
export type CmsInfoReplyMap = TuplesToMapReply<[
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
interface BfMergeSketch {
|
interface BfMergeSketch {
|
||||||
name: RedisArgument;
|
name: RedisArgument;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { ArrayReply, NumberReply, Command, RedisArgument } from '@redis/client/lib/RESP/types';
|
import { ArrayReply, NumberReply, Command, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import type { RedisCommands } from '@redis/client/lib/RESP/types';
|
import type { RedisCommands } from '@redis/client/dist/lib/RESP/types';
|
||||||
import INCRBY from './INCRBY';
|
import INCRBY from './INCRBY';
|
||||||
import INFO from './INFO';
|
import INFO from './INFO';
|
||||||
import INITBYDIM from './INITBYDIM';
|
import INITBYDIM from './INITBYDIM';
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformBooleanReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformBooleanReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformBooleanReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformBooleanReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformBooleanReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformBooleanReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformBooleanReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformBooleanReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command, NumberReply, TuplesToMapReply, UnwrapReply, Resp2Reply, SimpleStringReply, TypeMapping } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command, NumberReply, TuplesToMapReply, UnwrapReply, Resp2Reply, SimpleStringReply, TypeMapping } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformInfoV2Reply } from '../bloom';
|
import { transformInfoV2Reply } from '../bloom';
|
||||||
|
|
||||||
export type CfInfoReplyMap = TuplesToMapReply<[
|
export type CfInfoReplyMap = TuplesToMapReply<[
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { Command, RedisArgument } from '@redis/client/lib/RESP/types';
|
import { Command, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument, transformBooleanArrayReply } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument, transformBooleanArrayReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export interface CfInsertOptions {
|
export interface CfInsertOptions {
|
||||||
CAPACITY?: number;
|
CAPACITY?: number;
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import { Command } from '@redis/client/lib/RESP/types';
|
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import INSERT, { parseCfInsertArguments } from './INSERT';
|
import INSERT, { parseCfInsertArguments } from './INSERT';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/lib/RESP/types';
|
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface CfReserveOptions {
|
export interface CfReserveOptions {
|
||||||
BUCKETSIZE?: number;
|
BUCKETSIZE?: number;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, TuplesReply, NumberReply, BlobStringReply, NullReply, UnwrapReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, TuplesReply, NumberReply, BlobStringReply, NullReply, UnwrapReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import type { RedisCommands } from '@redis/client/lib/RESP/types';
|
import type { RedisCommands } from '@redis/client/dist/lib/RESP/types';
|
||||||
import ADD from './ADD';
|
import ADD from './ADD';
|
||||||
import ADDNX from './ADDNX';
|
import ADDNX from './ADDNX';
|
||||||
import COUNT from './COUNT';
|
import COUNT from './COUNT';
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/lib/RESP/types';
|
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformDoubleArrayReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformDoubleArrayReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export function transformByRankArguments(
|
export function transformByRankArguments(
|
||||||
parser: CommandParser,
|
parser: CommandParser,
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import { Command } from '@redis/client/lib/RESP/types';
|
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import BYRANK, { transformByRankArguments } from './BYRANK';
|
import BYRANK, { transformByRankArguments } from './BYRANK';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformDoubleArrayReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformDoubleArrayReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface TDigestCreateOptions {
|
export interface TDigestCreateOptions {
|
||||||
COMPRESSION?: number;
|
COMPRESSION?: number;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command, NumberReply, TuplesToMapReply, UnwrapReply, Resp2Reply, SimpleStringReply, TypeMapping } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command, NumberReply, TuplesToMapReply, UnwrapReply, Resp2Reply, SimpleStringReply, TypeMapping } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformInfoV2Reply } from '../bloom';
|
import { transformInfoV2Reply } from '../bloom';
|
||||||
|
|
||||||
export type TdInfoReplyMap = TuplesToMapReply<[
|
export type TdInfoReplyMap = TuplesToMapReply<[
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformDoubleReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformDoubleReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export interface TDigestMergeOptions {
|
export interface TDigestMergeOptions {
|
||||||
COMPRESSION?: number;
|
COMPRESSION?: number;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformDoubleReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformDoubleReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformDoubleArrayReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformDoubleArrayReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export function transformRankArguments(
|
export function transformRankArguments(
|
||||||
parser: CommandParser,
|
parser: CommandParser,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import { Command } from '@redis/client/lib/RESP/types';
|
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import RANK, { transformRankArguments } from './RANK';
|
import RANK, { transformRankArguments } from './RANK';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformDoubleReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformDoubleReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import type { RedisCommands } from '@redis/client/lib/RESP/types';
|
import type { RedisCommands } from '@redis/client/dist/lib/RESP/types';
|
||||||
import ADD from './ADD';
|
import ADD from './ADD';
|
||||||
import BYRANK from './BYRANK';
|
import BYRANK from './BYRANK';
|
||||||
import BYREVRANK from './BYREVRANK';
|
import BYREVRANK from './BYREVRANK';
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, SimpleStringReply, NullReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, SimpleStringReply, NullReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface TopKIncrByItem {
|
export interface TopKIncrByItem {
|
||||||
item: string;
|
item: string;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, TuplesToMapReply, NumberReply, DoubleReply, UnwrapReply, Resp2Reply, Command, SimpleStringReply, TypeMapping } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, TuplesToMapReply, NumberReply, DoubleReply, UnwrapReply, Resp2Reply, Command, SimpleStringReply, TypeMapping } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformDoubleReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformDoubleReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
import { transformInfoV2Reply } from '../bloom';
|
import { transformInfoV2Reply } from '../bloom';
|
||||||
|
|
||||||
export type TopKInfoReplyMap = TuplesToMapReply<[
|
export type TopKInfoReplyMap = TuplesToMapReply<[
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, BlobStringReply, NumberReply, UnwrapReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, BlobStringReply, NumberReply, UnwrapReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument, transformBooleanArrayReply } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument, transformBooleanArrayReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/lib/RESP/types';
|
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface TopKReserveOptions {
|
export interface TopKReserveOptions {
|
||||||
width: number;
|
width: number;
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import type { RedisCommands } from '@redis/client/lib/RESP/types';
|
import type { RedisCommands } from '@redis/client/dist/lib/RESP/types';
|
||||||
import ADD from './ADD';
|
import ADD from './ADD';
|
||||||
import COUNT from './COUNT';
|
import COUNT from './COUNT';
|
||||||
import INCRBY from './INCRBY';
|
import INCRBY from './INCRBY';
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { RedisArgument, TuplesReply, ArrayReply, BlobStringReply, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, TuplesReply, ArrayReply, BlobStringReply, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
|
|
||||||
type ConfigItemReply = TuplesReply<[
|
type ConfigItemReply = TuplesReply<[
|
||||||
configKey: BlobStringReply,
|
configKey: BlobStringReply,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
NOT_KEYED_COMMAND: true,
|
NOT_KEYED_COMMAND: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { RedisArgument, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { ArrayReply, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { ArrayReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
NOT_KEYED_COMMAND: true,
|
NOT_KEYED_COMMAND: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { RedisArgument, ArrayReply, BlobStringReply, NumberReply, NullReply, TuplesReply, UnwrapReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, BlobStringReply, NumberReply, NullReply, TuplesReply, UnwrapReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
|
|
||||||
type Headers = ArrayReply<BlobStringReply>;
|
type Headers = ArrayReply<BlobStringReply>;
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import { Command } from '@redis/client/lib/RESP/types';
|
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import QUERY, { parseQueryArguments } from './QUERY';
|
import QUERY, { parseQueryArguments } from './QUERY';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { RedisArgument, ArrayReply, TuplesReply, BlobStringReply, UnwrapReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, TuplesReply, BlobStringReply, UnwrapReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
|
|
||||||
type SlowLogRawReply = ArrayReply<TuplesReply<[
|
type SlowLogRawReply = ArrayReply<TuplesReply<[
|
||||||
timestamp: BlobStringReply,
|
timestamp: BlobStringReply,
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import type { RedisCommands } from '@redis/client/lib/RESP/types';
|
import type { RedisCommands } from '@redis/client/dist/lib/RESP/types';
|
||||||
import CONFIG_GET from './CONFIG_GET';
|
import CONFIG_GET from './CONFIG_GET';
|
||||||
import CONFIG_SET from './CONFIG_SET';;
|
import CONFIG_SET from './CONFIG_SET';;
|
||||||
import DELETE from './DELETE';
|
import DELETE from './DELETE';
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { RedisClientType } from '@redis/client';
|
import { RedisClientType } from '@redis/client';
|
||||||
import { RedisArgument, RedisFunctions, RedisScripts } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, RedisFunctions, RedisScripts } from '@redis/client/dist/lib/RESP/types';
|
||||||
import QUERY, { QueryOptions } from './commands/QUERY';
|
import QUERY, { QueryOptions } from './commands/QUERY';
|
||||||
|
|
||||||
interface GraphMetadata {
|
interface GraphMetadata {
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisJSON, transformRedisJsonArgument } from '.';
|
import { RedisJSON, transformRedisJsonArgument } from '.';
|
||||||
import { RedisArgument, NumberReply, ArrayReply, NullReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, NumberReply, ArrayReply, NullReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, NumberReply, ArrayReply, NullReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, NumberReply, ArrayReply, NullReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisJSON, transformRedisJsonArgument } from '.';
|
import { RedisJSON, transformRedisJsonArgument } from '.';
|
||||||
|
|
||||||
export interface JsonArrIndexOptions {
|
export interface JsonArrIndexOptions {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, NumberReply, ArrayReply, NullReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, NumberReply, ArrayReply, NullReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisJSON, transformRedisJsonArgument } from '.';
|
import { RedisJSON, transformRedisJsonArgument } from '.';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, NumberReply, NullReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, NumberReply, NullReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface JsonArrLenOptions {
|
export interface JsonArrLenOptions {
|
||||||
path?: RedisArgument;
|
path?: RedisArgument;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, NullReply, BlobStringReply, Command, UnwrapReply } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, NullReply, BlobStringReply, Command, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { isArrayReply } from '@redis/client/lib/commands/generic-transformers';
|
import { isArrayReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
import { transformRedisJsonNullReply } from '.';
|
import { transformRedisJsonNullReply } from '.';
|
||||||
|
|
||||||
export interface RedisArrPopOptions {
|
export interface RedisArrPopOptions {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, NumberReply, NullReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, NumberReply, NullReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface JsonClearOptions {
|
export interface JsonClearOptions {
|
||||||
path?: RedisArgument;
|
path?: RedisArgument;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface JsonDebugMemoryOptions {
|
export interface JsonDebugMemoryOptions {
|
||||||
path?: RedisArgument;
|
path?: RedisArgument;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface JsonDelOptions {
|
export interface JsonDelOptions {
|
||||||
path?: RedisArgument
|
path?: RedisArgument
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface JsonForgetOptions {
|
export interface JsonForgetOptions {
|
||||||
path?: RedisArgument;
|
path?: RedisArgument;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
import { transformRedisJsonNullReply } from '.';
|
import { transformRedisJsonNullReply } from '.';
|
||||||
|
|
||||||
export interface JsonGetOptions {
|
export interface JsonGetOptions {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/lib/RESP/types';
|
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisJSON, transformRedisJsonArgument } from '.';
|
import { RedisJSON, transformRedisJsonArgument } from '.';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, UnwrapReply, ArrayReply, NullReply, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, UnwrapReply, ArrayReply, NullReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformRedisJsonNullReply } from '.';
|
import { transformRedisJsonNullReply } from '.';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisJSON, transformRedisJsonArgument } from '.';
|
import { RedisJSON, transformRedisJsonArgument } from '.';
|
||||||
|
|
||||||
export interface JsonMSetItem {
|
export interface JsonMSetItem {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, NumberReply, DoubleReply, NullReply, BlobStringReply, UnwrapReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, NumberReply, DoubleReply, NullReply, BlobStringReply, UnwrapReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import NUMINCRBY from './NUMINCRBY';
|
import NUMINCRBY from './NUMINCRBY';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, BlobStringReply, NullReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, BlobStringReply, NullReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface JsonObjKeysOptions {
|
export interface JsonObjKeysOptions {
|
||||||
path?: RedisArgument;
|
path?: RedisArgument;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, NumberReply, ArrayReply, NullReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, NumberReply, ArrayReply, NullReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface JsonObjLenOptions {
|
export interface JsonObjLenOptions {
|
||||||
path?: RedisArgument;
|
path?: RedisArgument;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from "@redis/client/lib/client/parser";
|
import { CommandParser } from "@redis/client/dist/lib/client/parser";
|
||||||
import { Command, RedisArgument } from "@redis/client/lib/RESP/types";
|
import { Command, RedisArgument } from "@redis/client/dist/lib/RESP/types";
|
||||||
|
|
||||||
type RESPReply = Array<string | number | RESPReply>;
|
type RESPReply = Array<string | number | RESPReply>;
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, NullReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, NullReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisJSON, transformRedisJsonArgument } from '.';
|
import { RedisJSON, transformRedisJsonArgument } from '.';
|
||||||
|
|
||||||
export interface JsonSetOptions {
|
export interface JsonSetOptions {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command, NullReply, NumberReply, ArrayReply } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command, NullReply, NumberReply, ArrayReply } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { transformRedisJsonArgument } from '.';
|
import { transformRedisJsonArgument } from '.';
|
||||||
|
|
||||||
export interface JsonStrAppendOptions {
|
export interface JsonStrAppendOptions {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, NumberReply, NullReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, NumberReply, NullReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface JsonStrLenOptions {
|
export interface JsonStrLenOptions {
|
||||||
path?: RedisArgument;
|
path?: RedisArgument;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, ArrayReply, NumberReply, NullReply, Command, } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, ArrayReply, NumberReply, NullReply, Command, } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
IS_READ_ONLY: false,
|
IS_READ_ONLY: false,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { NullReply, BlobStringReply, ArrayReply, Command, RedisArgument, UnwrapReply } from '@redis/client/lib/RESP/types';
|
import { NullReply, BlobStringReply, ArrayReply, Command, RedisArgument, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export interface JsonTypeOptions {
|
export interface JsonTypeOptions {
|
||||||
path?: RedisArgument;
|
path?: RedisArgument;
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import { BlobStringReply, NullReply, UnwrapReply } from '@redis/client/lib/RESP/types';
|
import { BlobStringReply, NullReply, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
||||||
import ARRAPPEND from './ARRAPPEND';
|
import ARRAPPEND from './ARRAPPEND';
|
||||||
import ARRINDEX from './ARRINDEX';
|
import ARRINDEX from './ARRINDEX';
|
||||||
import ARRINSERT from './ARRINSERT';
|
import ARRINSERT from './ARRINSERT';
|
||||||
@@ -23,7 +23,7 @@ import STRAPPEND from './STRAPPEND';
|
|||||||
import STRLEN from './STRLEN';
|
import STRLEN from './STRLEN';
|
||||||
import TOGGLE from './TOGGLE';
|
import TOGGLE from './TOGGLE';
|
||||||
import TYPE from './TYPE';
|
import TYPE from './TYPE';
|
||||||
import { isNullReply } from '@redis/client/lib/commands/generic-transformers';
|
import { isNullReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
ARRAPPEND,
|
ARRAPPEND,
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { ArrayReply, BlobStringReply, Command, MapReply, NumberReply, RedisArgument, ReplyUnion, TypeMapping, UnwrapReply } from '@redis/client/lib/RESP/types';
|
import { ArrayReply, BlobStringReply, Command, MapReply, NumberReply, RedisArgument, ReplyUnion, TypeMapping, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RediSearchProperty } from './CREATE';
|
import { RediSearchProperty } from './CREATE';
|
||||||
import { FtSearchParams, parseParamsArgument } from './SEARCH';
|
import { FtSearchParams, parseParamsArgument } from './SEARCH';
|
||||||
import { transformTuplesReply } from '@redis/client/lib/commands/generic-transformers';
|
import { transformTuplesReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
type LoadField = RediSearchProperty | {
|
type LoadField = RediSearchProperty | {
|
||||||
identifier: RediSearchProperty;
|
identifier: RediSearchProperty;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, Command, ReplyUnion, NumberReply } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, Command, ReplyUnion, NumberReply } from '@redis/client/dist/lib/RESP/types';
|
||||||
import AGGREGATE, { AggregateRawReply, AggregateReply, FtAggregateOptions } from './AGGREGATE';
|
import AGGREGATE, { AggregateRawReply, AggregateReply, FtAggregateOptions } from './AGGREGATE';
|
||||||
|
|
||||||
export interface FtAggregateWithCursorOptions extends FtAggregateOptions {
|
export interface FtAggregateWithCursorOptions extends FtAggregateOptions {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
NOT_KEYED_COMMAND: true,
|
NOT_KEYED_COMMAND: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
NOT_KEYED_COMMAND: true,
|
NOT_KEYED_COMMAND: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/lib/RESP/types';
|
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
NOT_KEYED_COMMAND: true,
|
NOT_KEYED_COMMAND: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RediSearchSchema, parseSchema } from './CREATE';
|
import { RediSearchSchema, parseSchema } from './CREATE';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { ArrayReply, TuplesReply, BlobStringReply, NullReply, UnwrapReply, Command } from '@redis/client/lib/RESP/types';
|
import { ArrayReply, TuplesReply, BlobStringReply, NullReply, UnwrapReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
NOT_KEYED_COMMAND: true,
|
NOT_KEYED_COMMAND: true,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
// using `string & {}` to avoid TS widening the type to `string`
|
// using `string & {}` to avoid TS widening the type to `string`
|
||||||
// TODO
|
// TODO
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||||
import { RedisVariadicArgument, parseOptionalVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
import { RedisVariadicArgument, parseOptionalVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||||
|
|
||||||
export const SCHEMA_FIELD_TYPE = {
|
export const SCHEMA_FIELD_TYPE = {
|
||||||
TEXT: 'TEXT',
|
TEXT: 'TEXT',
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||||
import { SimpleStringReply, Command, RedisArgument, NumberReply, UnwrapReply } from '@redis/client/lib/RESP/types';
|
import { SimpleStringReply, Command, RedisArgument, NumberReply, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
NOT_KEYED_COMMAND: true,
|
NOT_KEYED_COMMAND: true,
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user