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,8 +1,8 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { ArrayReply, BlobStringReply, Command, MapReply, NumberReply, RedisArgument, ReplyUnion, TypeMapping, UnwrapReply } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { ArrayReply, BlobStringReply, Command, MapReply, NumberReply, RedisArgument, ReplyUnion, TypeMapping, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RediSearchProperty } from './CREATE';
|
||||
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 | {
|
||||
identifier: RediSearchProperty;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, Command, ReplyUnion, NumberReply } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, Command, ReplyUnion, NumberReply } from '@redis/client/dist/lib/RESP/types';
|
||||
import AGGREGATE, { AggregateRawReply, AggregateReply, FtAggregateOptions } from './AGGREGATE';
|
||||
|
||||
export interface FtAggregateWithCursorOptions extends FtAggregateOptions {
|
||||
|
@@ -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 {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -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 {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { SimpleStringReply, Command, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -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 { RediSearchSchema, parseSchema } from './CREATE';
|
||||
|
||||
export default {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { ArrayReply, TuplesReply, BlobStringReply, NullReply, UnwrapReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { ArrayReply, TuplesReply, BlobStringReply, NullReply, UnwrapReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -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';
|
||||
|
||||
// using `string & {}` to avoid TS widening the type to `string`
|
||||
// TODO
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument, parseOptionalVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument, parseOptionalVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
||||
export const SCHEMA_FIELD_TYPE = {
|
||||
TEXT: 'TEXT',
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { SimpleStringReply, Command, RedisArgument, NumberReply, UnwrapReply } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { SimpleStringReply, Command, RedisArgument, NumberReply, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, Command, NumberReply, UnwrapReply } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, Command, NumberReply, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
||||
import AGGREGATE_WITHCURSOR from './AGGREGATE_WITHCURSOR';
|
||||
|
||||
export interface FtCursorReadOptions {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, NumberReply, 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 { RedisArgument, NumberReply, 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,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, NumberReply, 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 { RedisArgument, NumberReply, 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,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, ArrayReply, SetReply, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, ArrayReply, SetReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, NumberReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, SimpleStringReply, NumberReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export interface FtDropIndexOptions {
|
||||
DD?: true;
|
||||
|
@@ -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 { FtSearchParams, parseParamsArgument } from './SEARCH';
|
||||
|
||||
export interface FtExplainOptions {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, ArrayReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -1,8 +1,8 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument } from "@redis/client";
|
||||
import { ArrayReply, BlobStringReply, Command, DoubleReply, MapReply, NullReply, NumberReply, ReplyUnion, SimpleStringReply, TypeMapping } from "@redis/client/lib/RESP/types";
|
||||
import { createTransformTuplesReplyFunc, transformDoubleReply } from "@redis/client/lib/commands/generic-transformers";
|
||||
import { TuplesReply } from '@redis/client/lib/RESP/types';
|
||||
import { ArrayReply, BlobStringReply, Command, DoubleReply, MapReply, NullReply, NumberReply, ReplyUnion, SimpleStringReply, TypeMapping } from "@redis/client/dist/lib/RESP/types";
|
||||
import { createTransformTuplesReplyFunc, transformDoubleReply } from "@redis/client/dist/lib/commands/generic-transformers";
|
||||
import { TuplesReply } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, ReplyUnion } from "@redis/client/lib/RESP/types";
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, ReplyUnion } from "@redis/client/dist/lib/RESP/types";
|
||||
import AGGREGATE, { AggregateRawReply, FtAggregateOptions, parseAggregateOptions } from "./AGGREGATE";
|
||||
import { ProfileOptions, ProfileRawReply, ProfileReply, transformProfile } from "./PROFILE_SEARCH";
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { Command, RedisArgument, ReplyUnion } from "@redis/client/lib/RESP/types";
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { Command, RedisArgument, ReplyUnion } from "@redis/client/dist/lib/RESP/types";
|
||||
import { AggregateReply } from "./AGGREGATE";
|
||||
import SEARCH, { FtSearchOptions, SearchRawReply, SearchReply, parseSearchOptions } from "./SEARCH";
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, Command, ReplyUnion } from '@redis/client/lib/RESP/types';
|
||||
import { RedisVariadicArgument, parseOptionalVariadicArgument } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, Command, ReplyUnion } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument, parseOptionalVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { RediSearchProperty, RediSearchLanguage } from './CREATE';
|
||||
|
||||
export type FtSearchParams = Record<string, RedisArgument | number>;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Command, ReplyUnion } from '@redis/client/lib/RESP/types';
|
||||
import { Command, ReplyUnion } from '@redis/client/dist/lib/RESP/types';
|
||||
import SEARCH, { SearchRawReply } from './SEARCH';
|
||||
|
||||
export default {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, Command, ReplyUnion } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, Command, ReplyUnion } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export interface Terms {
|
||||
mode: 'INCLUDE' | 'EXCLUDE';
|
||||
|
@@ -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';
|
||||
|
||||
export interface FtSugAddOptions {
|
||||
INCR?: 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';
|
||||
|
||||
export default {
|
||||
IS_READ_ONLY: true,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { NullReply, ArrayReply, BlobStringReply, Command, RedisArgument } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { NullReply, ArrayReply, BlobStringReply, Command, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export interface FtSugGetOptions {
|
||||
FUZZY?: boolean;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { NullReply, ArrayReply, BlobStringReply, UnwrapReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { isNullReply } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { NullReply, ArrayReply, BlobStringReply, UnwrapReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import { isNullReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import SUGGET from './SUGGET';
|
||||
|
||||
export default {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { NullReply, ArrayReply, BlobStringReply, DoubleReply, UnwrapReply, Command, TypeMapping } from '@redis/client/lib/RESP/types';
|
||||
import { isNullReply, transformDoubleReply } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { NullReply, ArrayReply, BlobStringReply, DoubleReply, UnwrapReply, Command, TypeMapping } from '@redis/client/dist/lib/RESP/types';
|
||||
import { isNullReply, transformDoubleReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import SUGGET from './SUGGET';
|
||||
|
||||
type SuggestScore = {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { NullReply, ArrayReply, BlobStringReply, DoubleReply, UnwrapReply, Command, TypeMapping } from '@redis/client/lib/RESP/types';
|
||||
import { isNullReply, transformDoubleReply } from '@redis/client/lib/commands/generic-transformers';
|
||||
import { NullReply, ArrayReply, BlobStringReply, DoubleReply, UnwrapReply, Command, TypeMapping } from '@redis/client/dist/lib/RESP/types';
|
||||
import { isNullReply, transformDoubleReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import SUGGET from './SUGGET';
|
||||
|
||||
type SuggestScoreWithPayload = {
|
||||
|
@@ -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';
|
||||
|
||||
export default {
|
||||
IS_READ_ONLY: true,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, MapReply, BlobStringReply, ArrayReply, UnwrapReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, MapReply, BlobStringReply, ArrayReply, UnwrapReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { SimpleStringReply, Command, 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 { SimpleStringReply, Command, RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
||||
export interface FtSynUpdateOptions {
|
||||
SKIPINITIALSCAN?: boolean;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { RedisArgument, ArrayReply, SetReply, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, ArrayReply, SetReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { CommandParser } from '@redis/client/lib/client/parser';
|
||||
import { ArrayReply, SetReply, BlobStringReply, Command } from '@redis/client/lib/RESP/types';
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { ArrayReply, SetReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
|
Reference in New Issue
Block a user