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,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import {
|
||||
transformTimestampArgument,
|
||||
parseRetentionArgument,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import { TsCreateOptions } from './CREATE';
|
||||
import { parseRetentionArgument, parseChunkSizeArgument, parseDuplicatePolicy, parseLabelsArgument, parseIgnoreArgument } from '.';
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import {
|
||||
parseRetentionArgument,
|
||||
TimeSeriesEncoding,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export const TIME_SERIES_AGGREGATION_TYPE = {
|
||||
AVG: 'AVG',
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Command } from '@redis/client/lib/RESP/types';
|
||||
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import INCRBY, { parseIncrByArguments } from './INCRBY';
|
||||
|
||||
export default {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Timestamp, transformTimestampArgument } from '.';
|
||||
import { RedisArgument, NumberReply, Command, } from '@redis/client/lib/RESP/types';
|
||||
import { RedisArgument, NumberReply, Command, } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
IS_READ_ONLY: false,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
IS_READ_ONLY: false,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, TuplesReply, NumberReply, DoubleReply, UnwrapReply, Resp2Reply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, TuplesReply, NumberReply, DoubleReply, UnwrapReply, Resp2Reply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export interface TsGetOptions {
|
||||
LATEST?: boolean;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import { Timestamp, transformTimestampArgument, parseRetentionArgument, parseChunkSizeArgument, Labels, parseLabelsArgument, parseIgnoreArgument } from '.';
|
||||
import { TsIgnoreOptions } from './ADD';
|
||||
|
||||
|
@@ -1,8 +1,8 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { ArrayReply, BlobStringReply, Command, DoubleReply, NumberReply, ReplyUnion, SimpleStringReply, TypeMapping } from "@redis/client/lib/RESP/types";
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { ArrayReply, BlobStringReply, Command, DoubleReply, NumberReply, ReplyUnion, SimpleStringReply, TypeMapping } from "@redis/client/dist/lib/RESP/types";
|
||||
import { TimeSeriesDuplicatePolicies } from ".";
|
||||
import { TimeSeriesAggregationType } from "./CREATERULE";
|
||||
import { transformDoubleReply } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { transformDoubleReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
||||
export type InfoRawReplyTypes = SimpleStringReply |
|
||||
NumberReply |
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { BlobStringReply, Command, NumberReply, SimpleStringReply, TypeMapping, ReplyUnion } from "@redis/client/lib/RESP/types";
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { BlobStringReply, Command, NumberReply, SimpleStringReply, TypeMapping, ReplyUnion } from "@redis/client/dist/lib/RESP/types";
|
||||
import INFO, { InfoRawReply, InfoRawReplyTypes, InfoReply } from "./INFO";
|
||||
|
||||
type chunkType = Array<[
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Timestamp, transformTimestampArgument } from '.';
|
||||
import { ArrayReply, NumberReply, SimpleErrorReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { ArrayReply, NumberReply, SimpleErrorReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export interface TsMAddSample {
|
||||
key: string;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, BlobStringReply, ArrayReply, Resp2Reply, MapReply, TuplesReply, TypeMapping } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, BlobStringReply, ArrayReply, Resp2Reply, MapReply, TuplesReply, TypeMapping } from '@redis/client/dist/lib/RESP/types';
|
||||
import { resp2MapToValue, resp3MapToValue, SampleRawReply, transformSampleReply } from '.';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
||||
export interface TsMGetOptions {
|
||||
LATEST?: boolean;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, BlobStringReply, NullReply } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, BlobStringReply, NullReply } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { TsMGetOptions, parseLatestArgument, parseFilterArgument } from './MGET';
|
||||
import { parseSelectedLabelsArguments } from '.';
|
||||
import { createTransformMGetLabelsReply } from './MGET_WITHLABELS';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, BlobStringReply, ArrayReply, Resp2Reply, MapReply, TuplesReply, TypeMapping } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, BlobStringReply, ArrayReply, Resp2Reply, MapReply, TuplesReply, TypeMapping } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { TsMGetOptions, parseLatestArgument, parseFilterArgument } from './MGET';
|
||||
import { RawLabelValue, resp2MapToValue, resp3MapToValue, SampleRawReply, transformRESP2Labels, transformSampleReply } from '.';
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, ArrayReply, BlobStringReply, Resp2Reply, MapReply, TuplesReply, TypeMapping, RedisArgument } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, ArrayReply, BlobStringReply, Resp2Reply, MapReply, TuplesReply, TypeMapping, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { resp2MapToValue, resp3MapToValue, SampleRawReply, Timestamp, transformSamplesReply } from '.';
|
||||
import { TsRangeOptions, parseRangeArguments } from './RANGE';
|
||||
import { parseFilterArgument } from './MGET';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, ArrayReply, BlobStringReply, Resp2Reply, MapReply, TuplesReply, TypeMapping, RedisArgument, TuplesToMapReply, UnwrapReply } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, ArrayReply, BlobStringReply, Resp2Reply, MapReply, TuplesReply, TypeMapping, RedisArgument, TuplesToMapReply, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { resp2MapToValue, resp3MapToValue, SampleRawReply, Timestamp, transformSamplesReply } from '.';
|
||||
import { TsRangeOptions, parseRangeArguments } from './RANGE';
|
||||
import { parseFilterArgument } from './MGET';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, ArrayReply, BlobStringReply, Resp2Reply, MapReply, TuplesReply, TypeMapping, NullReply, RedisArgument } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, ArrayReply, BlobStringReply, Resp2Reply, MapReply, TuplesReply, TypeMapping, NullReply, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { parseSelectedLabelsArguments, resp2MapToValue, resp3MapToValue, SampleRawReply, Timestamp, transformRESP2Labels, transformSamplesReply } from '.';
|
||||
import { TsRangeOptions, parseRangeArguments } from './RANGE';
|
||||
import { parseFilterArgument } from './MGET';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, ArrayReply, BlobStringReply, MapReply, TuplesReply, RedisArgument, NullReply } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, ArrayReply, BlobStringReply, MapReply, TuplesReply, RedisArgument, NullReply } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { parseSelectedLabelsArguments, resp3MapToValue, SampleRawReply, Timestamp, transformSamplesReply } from '.';
|
||||
import { TsRangeOptions, parseRangeArguments } from './RANGE';
|
||||
import { extractResp3MRangeSources, parseGroupByArguments, TsMRangeGroupBy, TsMRangeGroupByRawMetadataReply3 } from './MRANGE_GROUPBY';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, UnwrapReply, ArrayReply, BlobStringReply, Resp2Reply, MapReply, TuplesReply, TypeMapping, RedisArgument } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, UnwrapReply, ArrayReply, BlobStringReply, Resp2Reply, MapReply, TuplesReply, TypeMapping, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { resp2MapToValue, resp3MapToValue, SampleRawReply, Timestamp, transformSamplesReply } from '.';
|
||||
import { TsRangeOptions, parseRangeArguments } from './RANGE';
|
||||
import { parseFilterArgument } from './MGET';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, ArrayReply, BlobStringReply, Resp2Reply, MapReply, TuplesReply, TypeMapping, RedisArgument } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, ArrayReply, BlobStringReply, Resp2Reply, MapReply, TuplesReply, TypeMapping, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { resp2MapToValue, resp3MapToValue, SampleRawReply, Timestamp, transformRESP2LabelsWithSources, transformSamplesReply } from '.';
|
||||
import { TsRangeOptions, parseRangeArguments } from './RANGE';
|
||||
import { extractResp3MRangeSources, parseGroupByArguments, TsMRangeGroupBy, TsMRangeGroupByRawMetadataReply3 } from './MRANGE_GROUPBY';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Command } from '@redis/client/lib/RESP/types';
|
||||
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import MRANGE, { createTransformMRangeArguments } from './MRANGE';
|
||||
|
||||
export default {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Command } from '@redis/client/lib/RESP/types';
|
||||
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import MRANGE_GROUPBY, { createTransformMRangeGroupByArguments } from './MRANGE_GROUPBY';
|
||||
|
||||
export default {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Command } from '@redis/client/lib/RESP/types';
|
||||
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import MRANGE_SELECTED_LABELS, { createTransformMRangeSelectedLabelsArguments } from './MRANGE_SELECTED_LABELS';
|
||||
|
||||
export default {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Command } from '@redis/client/lib/RESP/types';
|
||||
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import MRANGE_SELECTED_LABELS_GROUPBY, { createMRangeSelectedLabelsGroupByTransformArguments } from './MRANGE_SELECTED_LABELS_GROUPBY';
|
||||
|
||||
export default {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Command } from '@redis/client/lib/RESP/types';
|
||||
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import MRANGE_WITHLABELS, { createTransformMRangeWithLabelsArguments } from './MRANGE_WITHLABELS';
|
||||
|
||||
export default {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Command } from '@redis/client/lib/RESP/types';
|
||||
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import MRANGE_WITHLABELS_GROUPBY, { createMRangeWithLabelsGroupByTransformArguments } from './MRANGE_WITHLABELS_GROUPBY';
|
||||
|
||||
export default {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { ArrayReply, BlobStringReply, SetReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { ArrayReply, BlobStringReply, SetReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -1,8 +1,8 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import { Timestamp, transformTimestampArgument, SamplesRawReply, transformSamplesReply } from '.';
|
||||
import { TimeSeriesAggregationType } from './CREATERULE';
|
||||
import { Resp2Reply } from '@redis/client/lib/RESP/types';
|
||||
import { Resp2Reply } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export const TIME_SERIES_BUCKET_TIMESTAMP = {
|
||||
LOW: '-',
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Command } from '@redis/client/lib/RESP/types';
|
||||
import { Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import RANGE, { transformRangeArguments } from './RANGE';
|
||||
|
||||
export default {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import type { DoubleReply, NumberReply, RedisCommands, TuplesReply, UnwrapReply, Resp2Reply, ArrayReply, BlobStringReply, MapReply, NullReply, TypeMapping, ReplyUnion, RespType } from '@redis/client/lib/RESP/types';
|
||||
import type { DoubleReply, NumberReply, RedisCommands, TuplesReply, UnwrapReply, Resp2Reply, ArrayReply, BlobStringReply, MapReply, NullReply, TypeMapping, ReplyUnion, RespType } from '@redis/client/dist/lib/RESP/types';
|
||||
import ADD, { TsIgnoreOptions } from './ADD';
|
||||
import ALTER from './ALTER';
|
||||
import CREATE from './CREATE';
|
||||
@@ -29,9 +29,9 @@ import MREVRANGE from './MREVRANGE';
|
||||
import QUERYINDEX from './QUERYINDEX';
|
||||
import RANGE from './RANGE';
|
||||
import REVRANGE from './REVRANGE';
|
||||
import { RedisVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RESP_TYPES } from '@redis/client/lib/RESP/decoder';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RESP_TYPES } from '@redis/client/dist/lib/RESP/decoder';
|
||||
|
||||
export default {
|
||||
ADD,
|
||||
|
Reference in New Issue
Block a user