@upstash/redis 1.37.0-rc.7 → 1.37.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{chunk-OOTQFQFC.mjs → chunk-36LGI43F.mjs} +4 -2
- package/cloudflare.d.mts +2 -2
- package/cloudflare.d.ts +2 -2
- package/cloudflare.js +4 -2
- package/cloudflare.mjs +1 -1
- package/fastly.d.mts +2 -2
- package/fastly.d.ts +2 -2
- package/fastly.js +4 -2
- package/fastly.mjs +1 -1
- package/nodejs.d.mts +18 -6
- package/nodejs.d.ts +18 -6
- package/nodejs.js +12 -2
- package/nodejs.mjs +9 -1
- package/package.json +1 -1
- package/{zmscore-DzwW16CO.d.mts → zmscore-Bf80VjGQ.d.mts} +8 -5
- package/{zmscore-DzwW16CO.d.ts → zmscore-Bf80VjGQ.d.ts} +8 -5
|
@@ -402,7 +402,7 @@ var ExecCommand = class extends Command {
|
|
|
402
402
|
};
|
|
403
403
|
|
|
404
404
|
// pkg/commands/search/types.ts
|
|
405
|
-
var FIELD_TYPES = ["TEXT", "U64", "I64", "F64", "BOOL", "DATE"];
|
|
405
|
+
var FIELD_TYPES = ["TEXT", "U64", "I64", "F64", "BOOL", "DATE", "KEYWORD"];
|
|
406
406
|
|
|
407
407
|
// pkg/commands/search/utils.ts
|
|
408
408
|
function isFieldType(value) {
|
|
@@ -743,6 +743,7 @@ var SearchIndex = class {
|
|
|
743
743
|
const rawResult = await new ExecCommand(command).exec(
|
|
744
744
|
this.client
|
|
745
745
|
);
|
|
746
|
+
if (!rawResult) return null;
|
|
746
747
|
return deserializeDescribeResponse(rawResult);
|
|
747
748
|
}
|
|
748
749
|
async query(options) {
|
|
@@ -750,6 +751,7 @@ var SearchIndex = class {
|
|
|
750
751
|
const rawResult = await new ExecCommand(command).exec(
|
|
751
752
|
this.client
|
|
752
753
|
);
|
|
754
|
+
if (!rawResult) return [];
|
|
753
755
|
return deserializeQueryResponse(rawResult);
|
|
754
756
|
}
|
|
755
757
|
async aggregate(options) {
|
|
@@ -5264,7 +5266,7 @@ var Redis = class {
|
|
|
5264
5266
|
};
|
|
5265
5267
|
|
|
5266
5268
|
// version.ts
|
|
5267
|
-
var VERSION = "v1.37.0-rc.
|
|
5269
|
+
var VERSION = "v1.37.0-rc.9";
|
|
5268
5270
|
|
|
5269
5271
|
export {
|
|
5270
5272
|
error_exports,
|
package/cloudflare.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-Bf80VjGQ.mjs';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.mjs';
|
|
3
3
|
|
|
4
4
|
type Env = {
|
|
5
5
|
UPSTASH_DISABLE_TELEMETRY?: string;
|
package/cloudflare.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-Bf80VjGQ.js';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.js';
|
|
3
3
|
|
|
4
4
|
type Env = {
|
|
5
5
|
UPSTASH_DISABLE_TELEMETRY?: string;
|
package/cloudflare.js
CHANGED
|
@@ -2693,7 +2693,7 @@ var ZUnionStoreCommand = class extends Command {
|
|
|
2693
2693
|
};
|
|
2694
2694
|
|
|
2695
2695
|
// pkg/commands/search/types.ts
|
|
2696
|
-
var FIELD_TYPES = ["TEXT", "U64", "I64", "F64", "BOOL", "DATE"];
|
|
2696
|
+
var FIELD_TYPES = ["TEXT", "U64", "I64", "F64", "BOOL", "DATE", "KEYWORD"];
|
|
2697
2697
|
|
|
2698
2698
|
// pkg/commands/search/utils.ts
|
|
2699
2699
|
function isFieldType(value) {
|
|
@@ -3034,6 +3034,7 @@ var SearchIndex = class {
|
|
|
3034
3034
|
const rawResult = await new ExecCommand(command).exec(
|
|
3035
3035
|
this.client
|
|
3036
3036
|
);
|
|
3037
|
+
if (!rawResult) return null;
|
|
3037
3038
|
return deserializeDescribeResponse(rawResult);
|
|
3038
3039
|
}
|
|
3039
3040
|
async query(options) {
|
|
@@ -3041,6 +3042,7 @@ var SearchIndex = class {
|
|
|
3041
3042
|
const rawResult = await new ExecCommand(command).exec(
|
|
3042
3043
|
this.client
|
|
3043
3044
|
);
|
|
3045
|
+
if (!rawResult) return [];
|
|
3044
3046
|
return deserializeQueryResponse(rawResult);
|
|
3045
3047
|
}
|
|
3046
3048
|
async aggregate(options) {
|
|
@@ -5285,7 +5287,7 @@ var Redis = class {
|
|
|
5285
5287
|
};
|
|
5286
5288
|
|
|
5287
5289
|
// version.ts
|
|
5288
|
-
var VERSION = "v1.37.0-rc.
|
|
5290
|
+
var VERSION = "v1.37.0-rc.9";
|
|
5289
5291
|
|
|
5290
5292
|
// platforms/cloudflare.ts
|
|
5291
5293
|
var Redis2 = class _Redis extends Redis {
|
package/cloudflare.mjs
CHANGED
package/fastly.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-Bf80VjGQ.mjs';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Connection credentials for upstash redis.
|
package/fastly.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-Bf80VjGQ.js';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Connection credentials for upstash redis.
|
package/fastly.js
CHANGED
|
@@ -2693,7 +2693,7 @@ var ZUnionStoreCommand = class extends Command {
|
|
|
2693
2693
|
};
|
|
2694
2694
|
|
|
2695
2695
|
// pkg/commands/search/types.ts
|
|
2696
|
-
var FIELD_TYPES = ["TEXT", "U64", "I64", "F64", "BOOL", "DATE"];
|
|
2696
|
+
var FIELD_TYPES = ["TEXT", "U64", "I64", "F64", "BOOL", "DATE", "KEYWORD"];
|
|
2697
2697
|
|
|
2698
2698
|
// pkg/commands/search/utils.ts
|
|
2699
2699
|
function isFieldType(value) {
|
|
@@ -3034,6 +3034,7 @@ var SearchIndex = class {
|
|
|
3034
3034
|
const rawResult = await new ExecCommand(command).exec(
|
|
3035
3035
|
this.client
|
|
3036
3036
|
);
|
|
3037
|
+
if (!rawResult) return null;
|
|
3037
3038
|
return deserializeDescribeResponse(rawResult);
|
|
3038
3039
|
}
|
|
3039
3040
|
async query(options) {
|
|
@@ -3041,6 +3042,7 @@ var SearchIndex = class {
|
|
|
3041
3042
|
const rawResult = await new ExecCommand(command).exec(
|
|
3042
3043
|
this.client
|
|
3043
3044
|
);
|
|
3045
|
+
if (!rawResult) return [];
|
|
3044
3046
|
return deserializeQueryResponse(rawResult);
|
|
3045
3047
|
}
|
|
3046
3048
|
async aggregate(options) {
|
|
@@ -5285,7 +5287,7 @@ var Redis = class {
|
|
|
5285
5287
|
};
|
|
5286
5288
|
|
|
5287
5289
|
// version.ts
|
|
5288
|
-
var VERSION = "v1.37.0-rc.
|
|
5290
|
+
var VERSION = "v1.37.0-rc.9";
|
|
5289
5291
|
|
|
5290
5292
|
// platforms/fastly.ts
|
|
5291
5293
|
var Redis2 = class extends Redis {
|
package/fastly.mjs
CHANGED
package/nodejs.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NumericField, a as NestedIndexSchema, H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1, d as Requester } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, cd as CreateIndexParameters, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, cf as FlatIndexSchema, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ce as InferFilterFromSchema, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, cg as QueryResult, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, cb as SearchIndex, cc as SearchIndexParameters, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { N as NumericField, a as NestedIndexSchema, H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1, d as Requester } from './zmscore-Bf80VjGQ.mjs';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, cd as CreateIndexParameters, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, cf as FlatIndexSchema, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ce as InferFilterFromSchema, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, cg as QueryResult, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, cb as SearchIndex, cc as SearchIndexParameters, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.mjs';
|
|
3
3
|
|
|
4
4
|
type TextFieldBuild<TNoTokenize extends Record<"noTokenize", boolean>, TNoStem extends Record<"noStem", boolean>, TFrom extends Record<"from", string | null>> = TNoTokenize["noTokenize"] extends true ? {
|
|
5
5
|
type: "TEXT";
|
|
@@ -16,7 +16,9 @@ type TextFieldBuild<TNoTokenize extends Record<"noTokenize", boolean>, TNoStem e
|
|
|
16
16
|
} : {}) : TFrom["from"] extends string ? {
|
|
17
17
|
type: "TEXT";
|
|
18
18
|
from: TFrom["from"];
|
|
19
|
-
} :
|
|
19
|
+
} : {
|
|
20
|
+
type: "TEXT";
|
|
21
|
+
};
|
|
20
22
|
declare const BUILD: unique symbol;
|
|
21
23
|
declare class TextFieldBuilder<TNoTokenize extends Record<"noTokenize", boolean> = {
|
|
22
24
|
noTokenize: false;
|
|
@@ -84,7 +86,9 @@ declare class BoolFieldBuilder<Fast extends Record<"fast", boolean> = {
|
|
|
84
86
|
} : TFrom["from"] extends string ? {
|
|
85
87
|
type: "BOOL";
|
|
86
88
|
from: TFrom["from"];
|
|
87
|
-
} :
|
|
89
|
+
} : {
|
|
90
|
+
type: "BOOL";
|
|
91
|
+
};
|
|
88
92
|
}
|
|
89
93
|
declare class DateFieldBuilder<Fast extends Record<"fast", boolean> = {
|
|
90
94
|
fast: false;
|
|
@@ -112,7 +116,14 @@ declare class DateFieldBuilder<Fast extends Record<"fast", boolean> = {
|
|
|
112
116
|
} : TFrom["from"] extends string ? {
|
|
113
117
|
type: "DATE";
|
|
114
118
|
from: TFrom["from"];
|
|
115
|
-
} :
|
|
119
|
+
} : {
|
|
120
|
+
type: "DATE";
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
declare class KeywordFieldBuilder {
|
|
124
|
+
[BUILD](): {
|
|
125
|
+
type: "KEYWORD";
|
|
126
|
+
};
|
|
116
127
|
}
|
|
117
128
|
type FieldBuilder = TextFieldBuilder<{
|
|
118
129
|
noTokenize: boolean;
|
|
@@ -130,12 +141,13 @@ type FieldBuilder = TextFieldBuilder<{
|
|
|
130
141
|
fast: boolean;
|
|
131
142
|
}, {
|
|
132
143
|
from: string | null;
|
|
133
|
-
}
|
|
144
|
+
}> | KeywordFieldBuilder;
|
|
134
145
|
declare const s: {
|
|
135
146
|
string(): TextFieldBuilder;
|
|
136
147
|
number<T extends NumericField["type"] = "F64">(type?: T): NumericFieldBuilder<T>;
|
|
137
148
|
boolean(): BoolFieldBuilder;
|
|
138
149
|
date(): DateFieldBuilder;
|
|
150
|
+
keyword(): KeywordFieldBuilder;
|
|
139
151
|
object<T extends ObjectFieldRecord<T>>(fields: T): { [K in keyof T]: T[K] extends FieldBuilder ? ReturnType<T[K][typeof BUILD]> : T[K]; };
|
|
140
152
|
};
|
|
141
153
|
type ObjectFieldRecord<T> = {
|
package/nodejs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NumericField, a as NestedIndexSchema, H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1, d as Requester } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, cd as CreateIndexParameters, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, cf as FlatIndexSchema, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ce as InferFilterFromSchema, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, cg as QueryResult, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, cb as SearchIndex, cc as SearchIndexParameters, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { N as NumericField, a as NestedIndexSchema, H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1, d as Requester } from './zmscore-Bf80VjGQ.js';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, cd as CreateIndexParameters, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, cf as FlatIndexSchema, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ce as InferFilterFromSchema, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, cg as QueryResult, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, cb as SearchIndex, cc as SearchIndexParameters, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.js';
|
|
3
3
|
|
|
4
4
|
type TextFieldBuild<TNoTokenize extends Record<"noTokenize", boolean>, TNoStem extends Record<"noStem", boolean>, TFrom extends Record<"from", string | null>> = TNoTokenize["noTokenize"] extends true ? {
|
|
5
5
|
type: "TEXT";
|
|
@@ -16,7 +16,9 @@ type TextFieldBuild<TNoTokenize extends Record<"noTokenize", boolean>, TNoStem e
|
|
|
16
16
|
} : {}) : TFrom["from"] extends string ? {
|
|
17
17
|
type: "TEXT";
|
|
18
18
|
from: TFrom["from"];
|
|
19
|
-
} :
|
|
19
|
+
} : {
|
|
20
|
+
type: "TEXT";
|
|
21
|
+
};
|
|
20
22
|
declare const BUILD: unique symbol;
|
|
21
23
|
declare class TextFieldBuilder<TNoTokenize extends Record<"noTokenize", boolean> = {
|
|
22
24
|
noTokenize: false;
|
|
@@ -84,7 +86,9 @@ declare class BoolFieldBuilder<Fast extends Record<"fast", boolean> = {
|
|
|
84
86
|
} : TFrom["from"] extends string ? {
|
|
85
87
|
type: "BOOL";
|
|
86
88
|
from: TFrom["from"];
|
|
87
|
-
} :
|
|
89
|
+
} : {
|
|
90
|
+
type: "BOOL";
|
|
91
|
+
};
|
|
88
92
|
}
|
|
89
93
|
declare class DateFieldBuilder<Fast extends Record<"fast", boolean> = {
|
|
90
94
|
fast: false;
|
|
@@ -112,7 +116,14 @@ declare class DateFieldBuilder<Fast extends Record<"fast", boolean> = {
|
|
|
112
116
|
} : TFrom["from"] extends string ? {
|
|
113
117
|
type: "DATE";
|
|
114
118
|
from: TFrom["from"];
|
|
115
|
-
} :
|
|
119
|
+
} : {
|
|
120
|
+
type: "DATE";
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
declare class KeywordFieldBuilder {
|
|
124
|
+
[BUILD](): {
|
|
125
|
+
type: "KEYWORD";
|
|
126
|
+
};
|
|
116
127
|
}
|
|
117
128
|
type FieldBuilder = TextFieldBuilder<{
|
|
118
129
|
noTokenize: boolean;
|
|
@@ -130,12 +141,13 @@ type FieldBuilder = TextFieldBuilder<{
|
|
|
130
141
|
fast: boolean;
|
|
131
142
|
}, {
|
|
132
143
|
from: string | null;
|
|
133
|
-
}
|
|
144
|
+
}> | KeywordFieldBuilder;
|
|
134
145
|
declare const s: {
|
|
135
146
|
string(): TextFieldBuilder;
|
|
136
147
|
number<T extends NumericField["type"] = "F64">(type?: T): NumericFieldBuilder<T>;
|
|
137
148
|
boolean(): BoolFieldBuilder;
|
|
138
149
|
date(): DateFieldBuilder;
|
|
150
|
+
keyword(): KeywordFieldBuilder;
|
|
139
151
|
object<T extends ObjectFieldRecord<T>>(fields: T): { [K in keyof T]: T[K] extends FieldBuilder ? ReturnType<T[K][typeof BUILD]> : T[K]; };
|
|
140
152
|
};
|
|
141
153
|
type ObjectFieldRecord<T> = {
|
package/nodejs.js
CHANGED
|
@@ -2695,7 +2695,7 @@ var ZUnionStoreCommand = class extends Command {
|
|
|
2695
2695
|
};
|
|
2696
2696
|
|
|
2697
2697
|
// pkg/commands/search/types.ts
|
|
2698
|
-
var FIELD_TYPES = ["TEXT", "U64", "I64", "F64", "BOOL", "DATE"];
|
|
2698
|
+
var FIELD_TYPES = ["TEXT", "U64", "I64", "F64", "BOOL", "DATE", "KEYWORD"];
|
|
2699
2699
|
|
|
2700
2700
|
// pkg/commands/search/utils.ts
|
|
2701
2701
|
function isFieldType(value) {
|
|
@@ -3036,6 +3036,7 @@ var SearchIndex = class {
|
|
|
3036
3036
|
const rawResult = await new ExecCommand(command).exec(
|
|
3037
3037
|
this.client
|
|
3038
3038
|
);
|
|
3039
|
+
if (!rawResult) return null;
|
|
3039
3040
|
return deserializeDescribeResponse(rawResult);
|
|
3040
3041
|
}
|
|
3041
3042
|
async query(options) {
|
|
@@ -3043,6 +3044,7 @@ var SearchIndex = class {
|
|
|
3043
3044
|
const rawResult = await new ExecCommand(command).exec(
|
|
3044
3045
|
this.client
|
|
3045
3046
|
);
|
|
3047
|
+
if (!rawResult) return [];
|
|
3046
3048
|
return deserializeQueryResponse(rawResult);
|
|
3047
3049
|
}
|
|
3048
3050
|
async aggregate(options) {
|
|
@@ -5287,7 +5289,7 @@ var Redis = class {
|
|
|
5287
5289
|
};
|
|
5288
5290
|
|
|
5289
5291
|
// version.ts
|
|
5290
|
-
var VERSION = "v1.37.0-rc.
|
|
5292
|
+
var VERSION = "v1.37.0-rc.9";
|
|
5291
5293
|
|
|
5292
5294
|
// pkg/commands/search/schema-builder.ts
|
|
5293
5295
|
var BUILD = Symbol("build");
|
|
@@ -5415,6 +5417,11 @@ var DateFieldBuilder = class _DateFieldBuilder {
|
|
|
5415
5417
|
return { type: "DATE" };
|
|
5416
5418
|
}
|
|
5417
5419
|
};
|
|
5420
|
+
var KeywordFieldBuilder = class {
|
|
5421
|
+
[BUILD]() {
|
|
5422
|
+
return { type: "KEYWORD" };
|
|
5423
|
+
}
|
|
5424
|
+
};
|
|
5418
5425
|
var s = {
|
|
5419
5426
|
string() {
|
|
5420
5427
|
return new TextFieldBuilder();
|
|
@@ -5428,6 +5435,9 @@ var s = {
|
|
|
5428
5435
|
date() {
|
|
5429
5436
|
return new DateFieldBuilder();
|
|
5430
5437
|
},
|
|
5438
|
+
keyword() {
|
|
5439
|
+
return new KeywordFieldBuilder();
|
|
5440
|
+
},
|
|
5431
5441
|
object(fields) {
|
|
5432
5442
|
const result = {};
|
|
5433
5443
|
for (const [key, value] of Object.entries(fields)) {
|
package/nodejs.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
SearchIndex,
|
|
5
5
|
VERSION,
|
|
6
6
|
error_exports
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-36LGI43F.mjs";
|
|
8
8
|
|
|
9
9
|
// pkg/commands/search/schema-builder.ts
|
|
10
10
|
var BUILD = Symbol("build");
|
|
@@ -132,6 +132,11 @@ var DateFieldBuilder = class _DateFieldBuilder {
|
|
|
132
132
|
return { type: "DATE" };
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
|
+
var KeywordFieldBuilder = class {
|
|
136
|
+
[BUILD]() {
|
|
137
|
+
return { type: "KEYWORD" };
|
|
138
|
+
}
|
|
139
|
+
};
|
|
135
140
|
var s = {
|
|
136
141
|
string() {
|
|
137
142
|
return new TextFieldBuilder();
|
|
@@ -145,6 +150,9 @@ var s = {
|
|
|
145
150
|
date() {
|
|
146
151
|
return new DateFieldBuilder();
|
|
147
152
|
},
|
|
153
|
+
keyword() {
|
|
154
|
+
return new KeywordFieldBuilder();
|
|
155
|
+
},
|
|
148
156
|
object(fields) {
|
|
149
157
|
const result = {};
|
|
150
158
|
for (const [key, value] of Object.entries(fields)) {
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@upstash/redis","version":"v1.37.0-rc.
|
|
1
|
+
{"name":"@upstash/redis","version":"v1.37.0-rc.9","main":"./nodejs.js","module":"./nodejs.mjs","types":"./nodejs.d.ts","exports":{".":{"import":"./nodejs.mjs","require":"./nodejs.js"},"./node":{"import":"./nodejs.mjs","require":"./nodejs.js"},"./cloudflare":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./cloudflare.js":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./cloudflare.mjs":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./fastly":{"import":"./fastly.mjs","require":"./fastly.js"},"./fastly.js":{"import":"./fastly.mjs","require":"./fastly.js"},"./fastly.mjs":{"import":"./fastly.mjs","require":"./fastly.js"}},"description":"An HTTP/REST based Redis client built on top of Upstash REST API.","repository":{"type":"git","url":"git@github.com:upstash/redis-js.git"},"keywords":["redis","database","serverless","edge","upstash"],"files":["./*"],"scripts":{"build":"tsup && cp package.json README.md LICENSE dist/","test":"bun test pkg","fmt":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","lint":"eslint \"**/*.{js,ts,tsx}\" --quiet --fix","format":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","format:check":"prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"","lint:fix":"eslint . -c .ts,.tsx,.js,.jsx --fix","commit":"cz","lint:format":"bun run lint:fix && bun run format","check-exports":"bun run build && cd dist && attw -P"},"author":"Andreas Thomas <dev@chronark.com>","license":"MIT","bugs":{"url":"https://github.com/upstash/upstash-redis/issues"},"homepage":"https://github.com/upstash/upstash-redis#readme","devDependencies":{"@biomejs/biome":"latest","@commitlint/cli":"^19.3.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"8.4.0","@typescript-eslint/parser":"8.4.0","bun-types":"1.0.33","eslint":"9.10.0","eslint-plugin-unicorn":"55.0.0","husky":"^9.1.1","prettier":"^3.3.3","tsup":"^8.2.3","typescript":"latest"},"dependencies":{"uncrypto":"^0.1.3"}}
|
|
@@ -325,7 +325,7 @@ declare class ClientSetInfoCommand extends Command<string, string> {
|
|
|
325
325
|
constructor([attribute, value]: [attribute: ClientSetInfoAttribute, value: string], opts?: CommandOptions<string, string>);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
declare const FIELD_TYPES: readonly ["TEXT", "U64", "I64", "F64", "BOOL", "DATE"];
|
|
328
|
+
declare const FIELD_TYPES: readonly ["TEXT", "U64", "I64", "F64", "BOOL", "DATE", "KEYWORD"];
|
|
329
329
|
type FieldType = (typeof FIELD_TYPES)[number];
|
|
330
330
|
type TextField = {
|
|
331
331
|
type: "TEXT";
|
|
@@ -348,7 +348,10 @@ type DateField = {
|
|
|
348
348
|
fast?: boolean;
|
|
349
349
|
from?: string;
|
|
350
350
|
};
|
|
351
|
-
type
|
|
351
|
+
type KeywordField = {
|
|
352
|
+
type: "KEYWORD";
|
|
353
|
+
};
|
|
354
|
+
type DetailedField = TextField | NumericField | BoolField | DateField | KeywordField;
|
|
352
355
|
type NestedIndexSchema = {
|
|
353
356
|
[key: string]: FieldType | DetailedField | NestedIndexSchema;
|
|
354
357
|
};
|
|
@@ -362,7 +365,7 @@ type ExtractFieldType<T> = T extends FieldType ? T : T extends {
|
|
|
362
365
|
type: infer U;
|
|
363
366
|
} ? U extends FieldType ? U : never : never;
|
|
364
367
|
type GetFieldAtPath<TSchema, Path extends string> = Path extends `${infer First}.${infer Rest}` ? First extends keyof TSchema ? GetFieldAtPath<TSchema[First], Rest> : never : Path extends keyof TSchema ? TSchema[Path] : never;
|
|
365
|
-
type FieldValueType<T extends FieldType> = T extends "TEXT" ? string : T extends "U64" | "I64" | "F64" ? number : T extends "BOOL" ? boolean : T extends "DATE" ? string : never;
|
|
368
|
+
type FieldValueType<T extends FieldType> = T extends "TEXT" ? string : T extends "U64" | "I64" | "F64" ? number : T extends "BOOL" ? boolean : T extends "DATE" ? string : T extends "KEYWORD" ? string : never;
|
|
366
369
|
type GetFieldValueType<TSchema, Path extends string> = GetFieldAtPath<TSchema, Path> extends infer Field ? Field extends FieldType | DetailedField ? FieldValueType<ExtractFieldType<Field>> : never : never;
|
|
367
370
|
type HasFrom<T> = T extends {
|
|
368
371
|
from: string;
|
|
@@ -529,7 +532,7 @@ type DateOperations = {
|
|
|
529
532
|
$boost?: number;
|
|
530
533
|
};
|
|
531
534
|
}[keyof DateOperationMap<string | Date>];
|
|
532
|
-
type OperationsForFieldType<T extends FieldType> = T extends "TEXT" ? StringOperations : T extends "U64" | "I64" | "F64" ? NumberOperations : T extends "BOOL" ? BooleanOperations : T extends "DATE" ? DateOperations : never;
|
|
535
|
+
type OperationsForFieldType<T extends FieldType> = T extends "TEXT" ? StringOperations : T extends "U64" | "I64" | "F64" ? NumberOperations : T extends "BOOL" ? BooleanOperations : T extends "DATE" ? DateOperations : T extends "KEYWORD" ? StringOperations : never;
|
|
533
536
|
type PathOperations<TSchema, TPath extends string> = GetFieldAtPath<TSchema, TPath> extends infer Field ? Field extends FieldType | DetailedField ? OperationsForFieldType<ExtractFieldType<Field>> | FieldValueType<ExtractFieldType<Field>> : never : never;
|
|
534
537
|
type QueryLeaf<TSchema> = {
|
|
535
538
|
[K in SchemaPaths<TSchema>]?: PathOperations<TSchema, K>;
|
|
@@ -856,7 +859,7 @@ declare class SearchIndex<TSchema extends NestedIndexSchema | FlatIndexSchema> {
|
|
|
856
859
|
private client;
|
|
857
860
|
constructor({ name, schema, client }: SearchIndexParameters<TSchema>);
|
|
858
861
|
waitIndexing(): Promise<void>;
|
|
859
|
-
describe(): Promise<IndexDescription<TSchema
|
|
862
|
+
describe(): Promise<IndexDescription<TSchema> | null>;
|
|
860
863
|
query<TOpts extends QueryOptions<TSchema>>(options?: TOpts): Promise<QueryResult<TSchema, TOpts>[]>;
|
|
861
864
|
aggregate<TOpts extends AggregateOptions<TSchema>>(options: TOpts): Promise<AggregateResult<TSchema, TOpts>>;
|
|
862
865
|
count({ filter }: {
|
|
@@ -325,7 +325,7 @@ declare class ClientSetInfoCommand extends Command<string, string> {
|
|
|
325
325
|
constructor([attribute, value]: [attribute: ClientSetInfoAttribute, value: string], opts?: CommandOptions<string, string>);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
declare const FIELD_TYPES: readonly ["TEXT", "U64", "I64", "F64", "BOOL", "DATE"];
|
|
328
|
+
declare const FIELD_TYPES: readonly ["TEXT", "U64", "I64", "F64", "BOOL", "DATE", "KEYWORD"];
|
|
329
329
|
type FieldType = (typeof FIELD_TYPES)[number];
|
|
330
330
|
type TextField = {
|
|
331
331
|
type: "TEXT";
|
|
@@ -348,7 +348,10 @@ type DateField = {
|
|
|
348
348
|
fast?: boolean;
|
|
349
349
|
from?: string;
|
|
350
350
|
};
|
|
351
|
-
type
|
|
351
|
+
type KeywordField = {
|
|
352
|
+
type: "KEYWORD";
|
|
353
|
+
};
|
|
354
|
+
type DetailedField = TextField | NumericField | BoolField | DateField | KeywordField;
|
|
352
355
|
type NestedIndexSchema = {
|
|
353
356
|
[key: string]: FieldType | DetailedField | NestedIndexSchema;
|
|
354
357
|
};
|
|
@@ -362,7 +365,7 @@ type ExtractFieldType<T> = T extends FieldType ? T : T extends {
|
|
|
362
365
|
type: infer U;
|
|
363
366
|
} ? U extends FieldType ? U : never : never;
|
|
364
367
|
type GetFieldAtPath<TSchema, Path extends string> = Path extends `${infer First}.${infer Rest}` ? First extends keyof TSchema ? GetFieldAtPath<TSchema[First], Rest> : never : Path extends keyof TSchema ? TSchema[Path] : never;
|
|
365
|
-
type FieldValueType<T extends FieldType> = T extends "TEXT" ? string : T extends "U64" | "I64" | "F64" ? number : T extends "BOOL" ? boolean : T extends "DATE" ? string : never;
|
|
368
|
+
type FieldValueType<T extends FieldType> = T extends "TEXT" ? string : T extends "U64" | "I64" | "F64" ? number : T extends "BOOL" ? boolean : T extends "DATE" ? string : T extends "KEYWORD" ? string : never;
|
|
366
369
|
type GetFieldValueType<TSchema, Path extends string> = GetFieldAtPath<TSchema, Path> extends infer Field ? Field extends FieldType | DetailedField ? FieldValueType<ExtractFieldType<Field>> : never : never;
|
|
367
370
|
type HasFrom<T> = T extends {
|
|
368
371
|
from: string;
|
|
@@ -529,7 +532,7 @@ type DateOperations = {
|
|
|
529
532
|
$boost?: number;
|
|
530
533
|
};
|
|
531
534
|
}[keyof DateOperationMap<string | Date>];
|
|
532
|
-
type OperationsForFieldType<T extends FieldType> = T extends "TEXT" ? StringOperations : T extends "U64" | "I64" | "F64" ? NumberOperations : T extends "BOOL" ? BooleanOperations : T extends "DATE" ? DateOperations : never;
|
|
535
|
+
type OperationsForFieldType<T extends FieldType> = T extends "TEXT" ? StringOperations : T extends "U64" | "I64" | "F64" ? NumberOperations : T extends "BOOL" ? BooleanOperations : T extends "DATE" ? DateOperations : T extends "KEYWORD" ? StringOperations : never;
|
|
533
536
|
type PathOperations<TSchema, TPath extends string> = GetFieldAtPath<TSchema, TPath> extends infer Field ? Field extends FieldType | DetailedField ? OperationsForFieldType<ExtractFieldType<Field>> | FieldValueType<ExtractFieldType<Field>> : never : never;
|
|
534
537
|
type QueryLeaf<TSchema> = {
|
|
535
538
|
[K in SchemaPaths<TSchema>]?: PathOperations<TSchema, K>;
|
|
@@ -856,7 +859,7 @@ declare class SearchIndex<TSchema extends NestedIndexSchema | FlatIndexSchema> {
|
|
|
856
859
|
private client;
|
|
857
860
|
constructor({ name, schema, client }: SearchIndexParameters<TSchema>);
|
|
858
861
|
waitIndexing(): Promise<void>;
|
|
859
|
-
describe(): Promise<IndexDescription<TSchema
|
|
862
|
+
describe(): Promise<IndexDescription<TSchema> | null>;
|
|
860
863
|
query<TOpts extends QueryOptions<TSchema>>(options?: TOpts): Promise<QueryResult<TSchema, TOpts>[]>;
|
|
861
864
|
aggregate<TOpts extends AggregateOptions<TSchema>>(options: TOpts): Promise<AggregateResult<TSchema, TOpts>>;
|
|
862
865
|
count({ filter }: {
|