@valkey/valkey-glide-darwin-arm64 1.2.0-rc9 → 1.2.1-rc0
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/build-ts/src/BaseClient.d.ts +94 -1
- package/build-ts/src/BaseClient.js +34 -8
- package/build-ts/src/BaseClient.js.map +1 -1
- package/build-ts/src/Commands.d.ts +12 -0
- package/build-ts/src/Commands.js.map +1 -1
- package/build-ts/src/GlideClient.d.ts +101 -3
- package/build-ts/src/GlideClient.js +53 -0
- package/build-ts/src/GlideClient.js.map +1 -1
- package/build-ts/src/GlideClusterClient.d.ts +287 -10
- package/build-ts/src/GlideClusterClient.js +58 -5
- package/build-ts/src/GlideClusterClient.js.map +1 -1
- package/build-ts/src/ProtobufMessage.js +46 -1
- package/build-ts/src/ProtobufMessage.js.map +1 -1
- package/node_modules/glide-rs/glide-rs.darwin-arm64.node +0 -0
- package/node_modules/glide-rs/index.d.ts +3 -1
- package/node_modules/glide-rs/index.js +6 -2
- package/npm/glide/index.ts +8 -13
- package/npm/glide/package.json +2 -3
- package/package.json +4 -3
- package/rust-client/node_modules/mingo/README.md +58 -53
- package/rust-client/node_modules/mingo/dist/cjs/aggregator.js +18 -20
- package/rust-client/node_modules/mingo/dist/cjs/core.js +179 -190
- package/rust-client/node_modules/mingo/dist/cjs/cursor.js +34 -34
- package/rust-client/node_modules/mingo/dist/cjs/index.js +11 -3
- package/rust-client/node_modules/mingo/dist/cjs/init/basic.js +4 -22
- package/rust-client/node_modules/mingo/dist/cjs/init/system.js +6 -6
- package/rust-client/node_modules/mingo/dist/cjs/lazy.js +58 -61
- package/rust-client/node_modules/mingo/dist/cjs/operators/_predicates.js +12 -25
- package/rust-client/node_modules/mingo/dist/cjs/operators/accumulator/_internal.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/accumulator/accumulator.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/accumulator/first.js +3 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/accumulator/last.js +4 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/accumulator/max.js +9 -6
- package/rust-client/node_modules/mingo/dist/cjs/operators/accumulator/mergeObjects.js +5 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/accumulator/min.js +9 -3
- package/rust-client/node_modules/mingo/dist/cjs/operators/accumulator/push.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/accumulator/sum.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/add.js +9 -10
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/ceil.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/exp.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/floor.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/ln.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/log.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/log10.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/round.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/sqrt.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/subtract.js +5 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/arithmetic/trunc.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/arrayElemAt.js +2 -3
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/arrayToObject.js +3 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/concatArrays.js +11 -5
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/filter.js +1 -0
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/first.js +8 -8
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/firstN.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/in.js +1 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/indexOfArray.js +5 -10
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/isArray.js +2 -3
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/last.js +8 -8
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/lastN.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/map.js +1 -0
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/maxN.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/minN.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/reduce.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/reverseArray.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/sortArray.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/array/zip.js +4 -10
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/bitwise/_internal.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/bitwise/bitNot.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/boolean/not.js +3 -5
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/comparison/cmp.js +6 -5
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/conditional/cond.js +1 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/conditional/ifNull.js +1 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/conditional/switch.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/_internal.js +157 -65
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/dateAdd.js +1 -29
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/dateDiff.js +32 -20
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/dateFromParts.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/dateFromString.js +13 -9
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/dateToString.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/dateTrunc.js +107 -0
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/dayOfYear.js +1 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/index.js +2 -0
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/isoWeekYear.js +1 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/date/week.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/misc/getField.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/object/mergeObjects.js +9 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/object/objectToArray.js +5 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/object/setField.js +11 -7
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/set/setDifference.js +9 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/set/setEquals.js +17 -3
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/set/setIntersection.js +2 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/set/setIsSubset.js +15 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/set/setUnion.js +4 -5
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/string/_internal.js +4 -8
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/string/concat.js +5 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/string/indexOfBytes.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/string/replaceAll.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/string/replaceOne.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/string/split.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/string/strcasecmp.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/string/substr.js +4 -14
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/string/substrBytes.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/trignometry/atan2.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/trignometry/cosh.js +0 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/type/_internal.js +20 -10
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/type/convert.js +3 -5
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/type/toBool.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/type/toDate.js +3 -6
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/type/toDouble.js +5 -10
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/type/toInt.js +1 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/type/toLong.js +1 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/type/toString.js +11 -10
- package/rust-client/node_modules/mingo/dist/cjs/operators/expression/type/type.js +11 -14
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/addFields.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/bucket.js +53 -53
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/bucketAuto.js +670 -65
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/count.js +2 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/densify.js +196 -0
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/graphLookup.js +78 -0
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/group.js +6 -9
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/index.js +4 -0
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/limit.js +1 -3
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/lookup.js +47 -10
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/merge.js +7 -13
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/out.js +1 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/project.js +19 -38
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/redact.js +3 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/replaceWith.js +9 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/sample.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/setWindowFields.js +10 -20
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/skip.js +1 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/sort.js +10 -19
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/sortByCount.js +5 -3
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/unionWith.js +1 -1
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/unset.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/pipeline/unwind.js +5 -9
- package/rust-client/node_modules/mingo/dist/cjs/operators/projection/elemMatch.js +2 -3
- package/rust-client/node_modules/mingo/dist/cjs/operators/projection/slice.js +2 -3
- package/rust-client/node_modules/mingo/dist/cjs/operators/query/bitwise/_internal.js +4 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/_internal.js +8 -14
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/addToSet.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/bit.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/max.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/min.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/pop.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/pull.js +2 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/push.js +3 -9
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/rename.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/set.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/update/unset.js +1 -2
- package/rust-client/node_modules/mingo/dist/cjs/operators/window/_internal.js +2 -3
- package/rust-client/node_modules/mingo/dist/cjs/operators/window/denseRank.js +8 -10
- package/rust-client/node_modules/mingo/dist/cjs/operators/window/derivative.js +4 -6
- package/rust-client/node_modules/mingo/dist/cjs/operators/window/documentNumber.js +1 -3
- package/rust-client/node_modules/mingo/dist/cjs/operators/window/expMovingAvg.js +4 -6
- package/rust-client/node_modules/mingo/dist/cjs/operators/window/integral.js +3 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/window/linearFill.js +4 -6
- package/rust-client/node_modules/mingo/dist/cjs/operators/window/locf.js +3 -4
- package/rust-client/node_modules/mingo/dist/cjs/operators/window/rank.js +8 -10
- package/rust-client/node_modules/mingo/dist/cjs/operators/window/shift.js +2 -2
- package/rust-client/node_modules/mingo/dist/cjs/query.js +20 -19
- package/rust-client/node_modules/mingo/dist/cjs/types.js +22 -0
- package/rust-client/node_modules/mingo/dist/cjs/updater.js +6 -5
- package/rust-client/node_modules/mingo/dist/cjs/util.js +265 -388
- package/rust-client/node_modules/mingo/dist/esm/aggregator.js +18 -21
- package/rust-client/node_modules/mingo/dist/esm/core.js +179 -192
- package/rust-client/node_modules/mingo/dist/esm/cursor.js +35 -35
- package/rust-client/node_modules/mingo/dist/esm/index.js +8 -2
- package/rust-client/node_modules/mingo/dist/esm/init/basic.js +5 -12
- package/rust-client/node_modules/mingo/dist/esm/init/system.js +7 -7
- package/rust-client/node_modules/mingo/dist/esm/lazy.js +58 -61
- package/rust-client/node_modules/mingo/dist/esm/operators/_predicates.js +14 -32
- package/rust-client/node_modules/mingo/dist/esm/operators/accumulator/_internal.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/accumulator/accumulator.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/accumulator/first.js +7 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/accumulator/last.js +8 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/accumulator/max.js +10 -7
- package/rust-client/node_modules/mingo/dist/esm/operators/accumulator/mergeObjects.js +5 -1
- package/rust-client/node_modules/mingo/dist/esm/operators/accumulator/min.js +10 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/accumulator/push.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/accumulator/sum.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/add.js +9 -10
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/ceil.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/exp.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/floor.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/ln.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/log.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/log10.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/round.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/sqrt.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/subtract.js +5 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/arithmetic/trunc.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/arrayElemAt.js +3 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/arrayToObject.js +3 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/concatArrays.js +12 -6
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/filter.js +2 -1
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/first.js +10 -13
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/firstN.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/in.js +1 -1
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/indexOfArray.js +5 -10
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/isArray.js +2 -3
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/last.js +10 -13
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/lastN.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/map.js +2 -1
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/maxN.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/minN.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/reduce.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/reverseArray.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/sortArray.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/array/zip.js +4 -10
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/bitwise/_internal.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/bitwise/bitNot.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/boolean/not.js +4 -6
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/comparison/cmp.js +6 -5
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/conditional/cond.js +2 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/conditional/ifNull.js +1 -1
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/conditional/switch.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/_internal.js +140 -61
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/dateAdd.js +2 -35
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/dateDiff.js +43 -21
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/dateFromParts.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/dateFromString.js +13 -11
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/dateToString.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/dateTrunc.js +97 -0
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/dayOfYear.js +2 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/index.js +1 -0
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/isoWeekYear.js +2 -5
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/date/week.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/misc/getField.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/object/mergeObjects.js +10 -3
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/object/objectToArray.js +6 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/object/setField.js +11 -7
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/set/setDifference.js +10 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/set/setEquals.js +18 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/set/setIntersection.js +3 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/set/setIsSubset.js +16 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/set/setUnion.js +5 -6
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/string/_internal.js +4 -8
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/string/concat.js +6 -3
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/string/indexOfBytes.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/string/replaceAll.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/string/replaceOne.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/string/split.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/string/strcasecmp.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/string/substr.js +4 -14
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/string/substrBytes.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/trignometry/atan2.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/trignometry/cosh.js +0 -1
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/type/_internal.js +17 -11
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/type/convert.js +3 -5
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/type/toBool.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/type/toDate.js +4 -7
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/type/toDouble.js +6 -11
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/type/toInt.js +2 -5
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/type/toLong.js +2 -5
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/type/toString.js +12 -11
- package/rust-client/node_modules/mingo/dist/esm/operators/expression/type/type.js +12 -15
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/addFields.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/bucket.js +54 -61
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/bucketAuto.js +679 -66
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/count.js +3 -3
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/densify.js +183 -0
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/graphLookup.js +55 -0
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/group.js +6 -9
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/index.js +2 -0
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/limit.js +1 -3
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/lookup.js +55 -11
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/merge.js +9 -14
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/out.js +2 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/project.js +21 -42
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/redact.js +3 -1
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/replaceWith.js +9 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/sample.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/setWindowFields.js +12 -23
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/skip.js +1 -1
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/sort.js +11 -20
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/sortByCount.js +5 -3
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/unionWith.js +2 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/unset.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/pipeline/unwind.js +6 -9
- package/rust-client/node_modules/mingo/dist/esm/operators/projection/elemMatch.js +3 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/projection/slice.js +2 -3
- package/rust-client/node_modules/mingo/dist/esm/operators/query/bitwise/_internal.js +4 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/update/_internal.js +9 -14
- package/rust-client/node_modules/mingo/dist/esm/operators/update/addToSet.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/update/bit.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/update/max.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/update/min.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/update/pop.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/update/pull.js +2 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/update/push.js +3 -9
- package/rust-client/node_modules/mingo/dist/esm/operators/update/rename.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/update/set.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/update/unset.js +1 -2
- package/rust-client/node_modules/mingo/dist/esm/operators/window/_internal.js +2 -3
- package/rust-client/node_modules/mingo/dist/esm/operators/window/denseRank.js +8 -10
- package/rust-client/node_modules/mingo/dist/esm/operators/window/derivative.js +4 -6
- package/rust-client/node_modules/mingo/dist/esm/operators/window/documentNumber.js +1 -3
- package/rust-client/node_modules/mingo/dist/esm/operators/window/expMovingAvg.js +4 -6
- package/rust-client/node_modules/mingo/dist/esm/operators/window/integral.js +3 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/window/linearFill.js +4 -6
- package/rust-client/node_modules/mingo/dist/esm/operators/window/locf.js +3 -4
- package/rust-client/node_modules/mingo/dist/esm/operators/window/rank.js +8 -10
- package/rust-client/node_modules/mingo/dist/esm/operators/window/shift.js +2 -2
- package/rust-client/node_modules/mingo/dist/esm/query.js +22 -32
- package/rust-client/node_modules/mingo/dist/esm/types.js +14 -0
- package/rust-client/node_modules/mingo/dist/esm/updater.js +5 -5
- package/rust-client/node_modules/mingo/dist/esm/util.js +263 -377
- package/rust-client/node_modules/mingo/dist/types/aggregator.d.ts +7 -9
- package/rust-client/node_modules/mingo/dist/types/core.d.ts +41 -52
- package/rust-client/node_modules/mingo/dist/types/cursor.d.ts +6 -12
- package/rust-client/node_modules/mingo/dist/types/index.d.ts +8 -4
- package/rust-client/node_modules/mingo/dist/types/init/basic.d.ts +1 -6
- package/rust-client/node_modules/mingo/dist/types/lazy.d.ts +19 -15
- package/rust-client/node_modules/mingo/dist/types/operators/_predicates.d.ts +20 -20
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/accumulator.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/addToSet.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/avg.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/bottom.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/bottomN.d.ts +4 -4
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/count.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/covariancePop.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/covarianceSamp.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/first.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/firstN.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/last.d.ts +4 -4
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/lastN.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/max.d.ts +4 -5
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/maxN.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/mergeObjects.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/min.d.ts +4 -5
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/minN.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/percentile.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/push.d.ts +4 -4
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/stdDevPop.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/stdDevSamp.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/sum.d.ts +5 -3
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/top.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/accumulator/topN.d.ts +4 -4
- package/rust-client/node_modules/mingo/dist/types/operators/expression/arithmetic/add.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/arithmetic/multiply.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/arithmetic/pow.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/arithmetic/subtract.d.ts +1 -0
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/arrayElemAt.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/concatArrays.d.ts +3 -3
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/filter.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/first.d.ts +0 -4
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/firstN.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/in.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/indexOfArray.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/isArray.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/last.d.ts +0 -4
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/lastN.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/map.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/maxN.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/minN.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/range.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/reduce.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/reverseArray.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/array/slice.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/date/_internal.d.ts +31 -9
- package/rust-client/node_modules/mingo/dist/types/operators/expression/date/dateFromString.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/expression/date/dateToParts.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/expression/date/dateTrunc.d.ts +12 -0
- package/rust-client/node_modules/mingo/dist/types/operators/expression/date/index.d.ts +1 -0
- package/rust-client/node_modules/mingo/dist/types/operators/expression/misc/rand.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/expression/object/mergeObjects.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/expression/percentile.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/set/setIsSubset.d.ts +3 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/string/_internal.d.ts +4 -4
- package/rust-client/node_modules/mingo/dist/types/operators/expression/string/indexOfBytes.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/string/replaceAll.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/string/replaceOne.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/string/split.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/string/strLenBytes.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/string/strLenCP.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/expression/string/substrBytes.d.ts +2 -0
- package/rust-client/node_modules/mingo/dist/types/operators/expression/type/_internal.d.ts +6 -2
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/_internal.d.ts +4 -4
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/addFields.d.ts +8 -5
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/bucket.d.ts +8 -5
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/bucketAuto.d.ts +8 -7
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/count.d.ts +7 -5
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/densify.d.ts +12 -0
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/facet.d.ts +7 -1
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/fill.d.ts +6 -3
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/graphLookup.d.ts +13 -0
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/group.d.ts +4 -2
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/index.d.ts +2 -0
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/limit.d.ts +3 -1
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/lookup.d.ts +4 -2
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/match.d.ts +4 -3
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/merge.d.ts +3 -5
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/out.d.ts +5 -3
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/project.d.ts +4 -3
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/redact.d.ts +1 -1
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/replaceRoot.d.ts +5 -5
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/replaceWith.d.ts +8 -1
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/sample.d.ts +7 -5
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/setWindowFields.d.ts +7 -5
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/skip.d.ts +6 -4
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/sort.d.ts +5 -3
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/sortByCount.d.ts +5 -5
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/unionWith.d.ts +3 -1
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/unset.d.ts +2 -0
- package/rust-client/node_modules/mingo/dist/types/operators/pipeline/unwind.d.ts +5 -2
- package/rust-client/node_modules/mingo/dist/types/operators/query/evaluation/expr.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/query/evaluation/jsonSchema.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/query/evaluation/where.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/_internal.d.ts +5 -5
- package/rust-client/node_modules/mingo/dist/types/operators/update/addToSet.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/bit.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/currentDate.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/inc.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/max.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/min.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/mul.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/pop.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/pull.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/pullAll.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/push.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/rename.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/set.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/update/unset.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/window/_internal.d.ts +5 -5
- package/rust-client/node_modules/mingo/dist/types/operators/window/denseRank.d.ts +2 -3
- package/rust-client/node_modules/mingo/dist/types/operators/window/derivative.d.ts +2 -3
- package/rust-client/node_modules/mingo/dist/types/operators/window/documentNumber.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/window/expMovingAvg.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/window/integral.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/window/linearFill.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/window/locf.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/window/rank.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/operators/window/shift.d.ts +2 -2
- package/rust-client/node_modules/mingo/dist/types/query.d.ts +5 -7
- package/rust-client/node_modules/mingo/dist/types/types.d.ts +18 -15
- package/rust-client/node_modules/mingo/dist/types/updater.d.ts +9 -10
- package/rust-client/node_modules/mingo/dist/types/util.d.ts +102 -90
- package/rust-client/node_modules/mingo/package.json +1 -1
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
* Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0
|
|
3
3
|
*/
|
|
4
4
|
import { ClusterScanCursor, Script } from "glide-rs";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import { FlushMode, FunctionListOptions, FunctionListResponse, FunctionRestorePolicy, FunctionStatsSingleResponse, InfoOptions, LolwutOptions, ScanOptions } from "./Commands";
|
|
5
|
+
import { AdvancedBaseClientConfiguration, BaseClient, BaseClientConfiguration, DecoderOption, GlideReturnType, GlideString, PubSubMsg } from "./BaseClient";
|
|
6
|
+
import { FlushMode, FunctionListOptions, FunctionListResponse, FunctionRestorePolicy, FunctionStatsSingleResponse, InfoOptions, LolwutOptions, ClusterScanOptions } from "./Commands";
|
|
8
7
|
import { ClusterTransaction } from "./Transaction";
|
|
9
8
|
/** An extension to command option types with {@link Routes}. */
|
|
10
9
|
export interface RouteOption {
|
|
@@ -58,6 +57,9 @@ export declare namespace GlideClusterClientConfiguration {
|
|
|
58
57
|
*/
|
|
59
58
|
Sharded = 2
|
|
60
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Configuration for Pub/Sub subscriptions that the client will establish upon connection.
|
|
62
|
+
*/
|
|
61
63
|
interface PubSubSubscriptions {
|
|
62
64
|
/**
|
|
63
65
|
* Channels and patterns by modes.
|
|
@@ -73,6 +75,39 @@ export declare namespace GlideClusterClientConfiguration {
|
|
|
73
75
|
context?: any;
|
|
74
76
|
}
|
|
75
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Configuration options for creating a {@link GlideClusterClient | GlideClusterClient}.
|
|
80
|
+
*
|
|
81
|
+
* Extends {@link BaseClientConfiguration | BaseClientConfiguration} with properties specific to `GlideClusterClient`, such as periodic topology checks
|
|
82
|
+
* and Pub/Sub subscription settings.
|
|
83
|
+
*
|
|
84
|
+
* @remarks
|
|
85
|
+
* This configuration allows you to tailor the client's behavior when connecting to a Valkey GLIDE Cluster.
|
|
86
|
+
*
|
|
87
|
+
* - **Periodic Topology Checks**: Use `periodicChecks` to configure how the client performs periodic checks to detect changes in the cluster's topology.
|
|
88
|
+
* - `"enabledDefaultConfigs"`: Enables periodic checks with default configurations.
|
|
89
|
+
* - `"disabled"`: Disables periodic topology checks.
|
|
90
|
+
* - `{ duration_in_sec: number }`: Manually configure the interval for periodic checks.
|
|
91
|
+
* - **Pub/Sub Subscriptions**: Predefine Pub/Sub channels and patterns to subscribe to upon connection establishment.
|
|
92
|
+
* - Supports exact channels, patterns, and sharded channels (available since Valkey version 7.0).
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* ```typescript
|
|
96
|
+
* const config: GlideClusterClientConfiguration = {
|
|
97
|
+
* periodicChecks: {
|
|
98
|
+
* duration_in_sec: 30, // Perform periodic checks every 30 seconds
|
|
99
|
+
* },
|
|
100
|
+
* pubsubSubscriptions: {
|
|
101
|
+
* channelsAndPatterns: {
|
|
102
|
+
* [GlideClusterClientConfiguration.PubSubChannelModes.Pattern]: new Set(['cluster.*']),
|
|
103
|
+
* },
|
|
104
|
+
* callback: (msg) => {
|
|
105
|
+
* console.log(`Received message on ${msg.channel}:`, msg.payload);
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* };
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
76
111
|
export type GlideClusterClientConfiguration = BaseClientConfiguration & {
|
|
77
112
|
/**
|
|
78
113
|
* Configure the periodic topology checks.
|
|
@@ -86,12 +121,59 @@ export type GlideClusterClientConfiguration = BaseClientConfiguration & {
|
|
|
86
121
|
* Will be applied via SUBSCRIBE/PSUBSCRIBE/SSUBSCRIBE commands during connection establishment.
|
|
87
122
|
*/
|
|
88
123
|
pubsubSubscriptions?: GlideClusterClientConfiguration.PubSubSubscriptions;
|
|
124
|
+
/**
|
|
125
|
+
* Advanced configuration settings for the client.
|
|
126
|
+
*/
|
|
127
|
+
advancedConfiguration?: AdvancedGlideClusterClientConfiguration;
|
|
89
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* Represents advanced configuration settings for creating a {@link GlideClusterClient | GlideClusterClient} used in {@link GlideClusterClientConfiguration | GlideClusterClientConfiguration}.
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* ```typescript
|
|
135
|
+
* const config: AdvancedGlideClusterClientConfiguration = {
|
|
136
|
+
* connectionTimeout: 500, // Set the connection timeout to 500ms
|
|
137
|
+
* };
|
|
138
|
+
* ```
|
|
139
|
+
*/
|
|
140
|
+
export type AdvancedGlideClusterClientConfiguration = AdvancedBaseClientConfiguration & {};
|
|
90
141
|
/**
|
|
91
142
|
* If the command's routing is to one node we will get T as a response type,
|
|
92
143
|
* otherwise, we will get a dictionary of address: nodeResponse, address is of type string and nodeResponse is of type T.
|
|
93
144
|
*/
|
|
94
145
|
export type ClusterResponse<T> = T | Record<string, T>;
|
|
146
|
+
/**
|
|
147
|
+
* Routing configuration for commands based on a specific slot ID in a Valkey cluster.
|
|
148
|
+
*
|
|
149
|
+
* @remarks
|
|
150
|
+
* This interface allows you to specify routing of a command to a node responsible for a particular slot ID in the cluster.
|
|
151
|
+
* Valkey clusters use hash slots to distribute data across multiple shards. There are 16,384 slots in total, and each shard
|
|
152
|
+
* manages a range of slots.
|
|
153
|
+
*
|
|
154
|
+
* - **Slot ID**: A number between 0 and 16383 representing a hash slot.
|
|
155
|
+
* - **Routing Type**:
|
|
156
|
+
* - `"primarySlotId"`: Routes the command to the primary node responsible for the specified slot ID.
|
|
157
|
+
* - `"replicaSlotId"`: Routes the command to a replica node responsible for the specified slot ID, overriding the `readFrom` configuration.
|
|
158
|
+
*
|
|
159
|
+
* @example
|
|
160
|
+
* ```typescript
|
|
161
|
+
* // Route command to the primary node responsible for slot ID 12345
|
|
162
|
+
* const routeBySlotId: SlotIdTypes = {
|
|
163
|
+
* type: "primarySlotId",
|
|
164
|
+
* id: 12345,
|
|
165
|
+
* };
|
|
166
|
+
*
|
|
167
|
+
* // Route command to a replica node responsible for slot ID 12345
|
|
168
|
+
* const routeToReplicaBySlotId: SlotIdTypes = {
|
|
169
|
+
* type: "replicaSlotId",
|
|
170
|
+
* id: 12345,
|
|
171
|
+
* };
|
|
172
|
+
*
|
|
173
|
+
* // Use the routing configuration when executing a command
|
|
174
|
+
* const result = await client.get("mykey", { route: routeBySlotId });
|
|
175
|
+
* ```
|
|
176
|
+
*/
|
|
95
177
|
export interface SlotIdTypes {
|
|
96
178
|
/**
|
|
97
179
|
* `replicaSlotId` overrides the `readFrom` configuration. If it's used the request
|
|
@@ -104,6 +186,36 @@ export interface SlotIdTypes {
|
|
|
104
186
|
*/
|
|
105
187
|
id: number;
|
|
106
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* Routing configuration for commands based on a key in a Valkey cluster.
|
|
191
|
+
*
|
|
192
|
+
* @remarks
|
|
193
|
+
* This interface allows you to specify routing of a command to a node responsible for the slot that a specific key hashes to.
|
|
194
|
+
* Valkey clusters use consistent hashing to map keys to hash slots, which are then managed by different shards in the cluster.
|
|
195
|
+
*
|
|
196
|
+
* - **Key**: The key whose hash slot will determine the routing of the command.
|
|
197
|
+
* - **Routing Type**:
|
|
198
|
+
* - `"primarySlotKey"`: Routes the command to the primary node responsible for the key's slot.
|
|
199
|
+
* - `"replicaSlotKey"`: Routes the command to a replica node responsible for the key's slot, overriding the `readFrom` configuration.
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* ```typescript
|
|
203
|
+
* // Route command to the primary node responsible for the key's slot
|
|
204
|
+
* const routeByKey: SlotKeyTypes = {
|
|
205
|
+
* type: "primarySlotKey",
|
|
206
|
+
* key: "user:1001",
|
|
207
|
+
* };
|
|
208
|
+
*
|
|
209
|
+
* // Route command to a replica node responsible for the key's slot
|
|
210
|
+
* const routeToReplicaByKey: SlotKeyTypes = {
|
|
211
|
+
* type: "replicaSlotKey",
|
|
212
|
+
* key: "user:1001",
|
|
213
|
+
* };
|
|
214
|
+
*
|
|
215
|
+
* // Use the routing configuration when executing a command
|
|
216
|
+
* const result = await client.get("user:1001", { route: routeByKey });
|
|
217
|
+
* ```
|
|
218
|
+
*/
|
|
107
219
|
export interface SlotKeyTypes {
|
|
108
220
|
/**
|
|
109
221
|
* `replicaSlotKey` overrides the `readFrom` configuration. If it's used the request
|
|
@@ -115,6 +227,39 @@ export interface SlotKeyTypes {
|
|
|
115
227
|
*/
|
|
116
228
|
key: string;
|
|
117
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* Routing configuration to send a command to a specific node by its address and port.
|
|
232
|
+
*
|
|
233
|
+
* @remarks
|
|
234
|
+
* This interface allows you to specify routing of a command to a node in the Valkey cluster by providing its network address and port.
|
|
235
|
+
* It's useful when you need to direct a command to a particular node.
|
|
236
|
+
*
|
|
237
|
+
* - **Type**: Must be set to `"routeByAddress"` to indicate that the routing should be based on the provided address.
|
|
238
|
+
* - **Host**: The endpoint of the node.
|
|
239
|
+
* - If `port` is not provided, `host` should be in the format `${address}:${port}`, where `address` is the preferred endpoint as shown in the output of the `CLUSTER SLOTS` command.
|
|
240
|
+
* - If `port` is provided, `host` should be the address or hostname of the node without the port.
|
|
241
|
+
* - **Port**: (Optional) The port to access on the node.
|
|
242
|
+
* - If `port` is not provided, `host` is assumed to include the port number.
|
|
243
|
+
*
|
|
244
|
+
* @example
|
|
245
|
+
* ```typescript
|
|
246
|
+
* // Route command to a node at '192.168.1.10:6379'
|
|
247
|
+
* const routeByAddress: RouteByAddress = {
|
|
248
|
+
* type: "routeByAddress",
|
|
249
|
+
* host: "192.168.1.10",
|
|
250
|
+
* port: 6379,
|
|
251
|
+
* };
|
|
252
|
+
*
|
|
253
|
+
* // Alternatively, include the port in the host string
|
|
254
|
+
* const routeByAddressWithPortInHost: RouteByAddress = {
|
|
255
|
+
* type: "routeByAddress",
|
|
256
|
+
* host: "192.168.1.10:6379",
|
|
257
|
+
* };
|
|
258
|
+
*
|
|
259
|
+
* // Use the routing configuration when executing a command
|
|
260
|
+
* const result = await client.ping({ route: routeByAddress });
|
|
261
|
+
* ```
|
|
262
|
+
*/
|
|
118
263
|
export interface RouteByAddress {
|
|
119
264
|
type: "routeByAddress";
|
|
120
265
|
/**
|
|
@@ -126,6 +271,52 @@ export interface RouteByAddress {
|
|
|
126
271
|
*/
|
|
127
272
|
port?: number;
|
|
128
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* Defines the routing configuration for a command in a Valkey cluster.
|
|
276
|
+
*
|
|
277
|
+
* @remarks
|
|
278
|
+
* The `Routes` type allows you to specify how a command should be routed in a Valkey cluster.
|
|
279
|
+
* Commands can be routed to a single node or broadcast to multiple nodes depending on the routing strategy.
|
|
280
|
+
*
|
|
281
|
+
* **Routing Options**:
|
|
282
|
+
*
|
|
283
|
+
* - **Single Node Routing** (`SingleNodeRoute`):
|
|
284
|
+
* - **"randomNode"**: Route the command to a random node in the cluster.
|
|
285
|
+
* - **`SlotIdTypes`**: Route based on a specific slot ID.
|
|
286
|
+
* - **`SlotKeyTypes`**: Route based on the slot of a specific key.
|
|
287
|
+
* - **`RouteByAddress`**: Route to a specific node by its address and port.
|
|
288
|
+
* - **Broadcast Routing**:
|
|
289
|
+
* - **"allPrimaries"**: Route the command to all primary nodes in the cluster.
|
|
290
|
+
* - **"allNodes"**: Route the command to all nodes (both primaries and replicas) in the cluster.
|
|
291
|
+
*
|
|
292
|
+
* @example
|
|
293
|
+
* ```typescript
|
|
294
|
+
* // Route command to a random node
|
|
295
|
+
* const routeRandom: Routes = "randomNode";
|
|
296
|
+
*
|
|
297
|
+
* // Route command to all primary nodes
|
|
298
|
+
* const routeAllPrimaries: Routes = "allPrimaries";
|
|
299
|
+
*
|
|
300
|
+
* // Route command to all nodes
|
|
301
|
+
* const routeAllNodes: Routes = "allNodes";
|
|
302
|
+
*
|
|
303
|
+
* // Route command to a node by slot key
|
|
304
|
+
* const routeByKey: Routes = {
|
|
305
|
+
* type: "primarySlotKey",
|
|
306
|
+
* key: "myKey",
|
|
307
|
+
* };
|
|
308
|
+
*
|
|
309
|
+
* // Route command to a specific node by address
|
|
310
|
+
* const routeByAddress: Routes = {
|
|
311
|
+
* type: "routeByAddress",
|
|
312
|
+
* host: "192.168.1.10",
|
|
313
|
+
* port: 6379,
|
|
314
|
+
* };
|
|
315
|
+
*
|
|
316
|
+
* // Use the routing configuration when executing a command
|
|
317
|
+
* const result = await client.ping({ route: routeByAddress });
|
|
318
|
+
* ```
|
|
319
|
+
*/
|
|
129
320
|
export type Routes = SingleNodeRoute
|
|
130
321
|
/**
|
|
131
322
|
* Route request to all primary nodes.
|
|
@@ -135,6 +326,48 @@ export type Routes = SingleNodeRoute
|
|
|
135
326
|
* Route request to all nodes.
|
|
136
327
|
*/
|
|
137
328
|
| "allNodes";
|
|
329
|
+
/**
|
|
330
|
+
* Defines the routing configuration to a single node in the Valkey cluster.
|
|
331
|
+
*
|
|
332
|
+
* @remarks
|
|
333
|
+
* The `SingleNodeRoute` type allows you to specify routing of a command to a single node in the cluster.
|
|
334
|
+
* This can be based on various criteria such as a random node, a node responsible for a specific slot, or a node identified by its address.
|
|
335
|
+
*
|
|
336
|
+
* **Options**:
|
|
337
|
+
*
|
|
338
|
+
* - **"randomNode"**: Route the command to a random node in the cluster.
|
|
339
|
+
* - **`SlotIdTypes`**: Route to the node responsible for a specific slot ID.
|
|
340
|
+
* - **`SlotKeyTypes`**: Route to the node responsible for the slot of a specific key.
|
|
341
|
+
* - **`RouteByAddress`**: Route to a specific node by its address and port.
|
|
342
|
+
*
|
|
343
|
+
* @example
|
|
344
|
+
* ```typescript
|
|
345
|
+
* // Route to a random node
|
|
346
|
+
* const routeRandomNode: SingleNodeRoute = "randomNode";
|
|
347
|
+
*
|
|
348
|
+
* // Route based on slot ID
|
|
349
|
+
* const routeBySlotId: SingleNodeRoute = {
|
|
350
|
+
* type: "primarySlotId",
|
|
351
|
+
* id: 12345,
|
|
352
|
+
* };
|
|
353
|
+
*
|
|
354
|
+
* // Route based on key
|
|
355
|
+
* const routeByKey: SingleNodeRoute = {
|
|
356
|
+
* type: "primarySlotKey",
|
|
357
|
+
* key: "myKey",
|
|
358
|
+
* };
|
|
359
|
+
*
|
|
360
|
+
* // Route to a specific node by address
|
|
361
|
+
* const routeByAddress: SingleNodeRoute = {
|
|
362
|
+
* type: "routeByAddress",
|
|
363
|
+
* host: "192.168.1.10",
|
|
364
|
+
* port: 6379,
|
|
365
|
+
* };
|
|
366
|
+
*
|
|
367
|
+
* // Use the routing configuration when executing a command
|
|
368
|
+
* const result = await client.get("myKey", { route: routeByKey });
|
|
369
|
+
* ```
|
|
370
|
+
*/
|
|
138
371
|
export type SingleNodeRoute =
|
|
139
372
|
/**
|
|
140
373
|
* Route request to a random node.
|
|
@@ -154,8 +387,52 @@ export type SingleNodeRoute =
|
|
|
154
387
|
* @see For full documentation refer to {@link https://github.com/valkey-io/valkey-glide/wiki/NodeJS-wrapper#cluster|Valkey Glide Wiki}.
|
|
155
388
|
*/
|
|
156
389
|
export declare class GlideClusterClient extends BaseClient {
|
|
390
|
+
/**
|
|
391
|
+
* Creates a new `GlideClusterClient` instance and establishes connections to a Valkey GLIDE Cluster.
|
|
392
|
+
*
|
|
393
|
+
* @param options - The configuration options for the client, including cluster addresses, authentication credentials, TLS settings, periodic checks, and Pub/Sub subscriptions.
|
|
394
|
+
* @returns A promise that resolves to a connected `GlideClusterClient` instance.
|
|
395
|
+
*
|
|
396
|
+
* @remarks
|
|
397
|
+
* Use this static method to create and connect a `GlideClusterClient` to a Valkey GLIDE Cluster. The client will automatically handle connection establishment, including cluster topology discovery and handling of authentication and TLS configurations.
|
|
398
|
+
*
|
|
399
|
+
* ### Example - Connecting to a Cluster
|
|
400
|
+
* ```typescript
|
|
401
|
+
* import { GlideClusterClient, GlideClusterClientConfiguration } from '@valkey/valkey-glide';
|
|
402
|
+
*
|
|
403
|
+
* const client = await GlideClusterClient.createClient({
|
|
404
|
+
* addresses: [
|
|
405
|
+
* { host: 'address1.example.com', port: 6379 },
|
|
406
|
+
* { host: 'address2.example.com', port: 6379 },
|
|
407
|
+
* ],
|
|
408
|
+
* credentials: {
|
|
409
|
+
* username: 'user1',
|
|
410
|
+
* password: 'passwordA',
|
|
411
|
+
* },
|
|
412
|
+
* useTLS: true,
|
|
413
|
+
* periodicChecks: {
|
|
414
|
+
* duration_in_sec: 30, // Perform periodic checks every 30 seconds
|
|
415
|
+
* },
|
|
416
|
+
* pubsubSubscriptions: {
|
|
417
|
+
* channelsAndPatterns: {
|
|
418
|
+
* [GlideClusterClientConfiguration.PubSubChannelModes.Exact]: new Set(['updates']),
|
|
419
|
+
* [GlideClusterClientConfiguration.PubSubChannelModes.Sharded]: new Set(['sharded_channel']),
|
|
420
|
+
* },
|
|
421
|
+
* callback: (msg) => {
|
|
422
|
+
* console.log(`Received message: ${msg.payload}`);
|
|
423
|
+
* },
|
|
424
|
+
* },
|
|
425
|
+
* });
|
|
426
|
+
* ```
|
|
427
|
+
*
|
|
428
|
+
* @remarks
|
|
429
|
+
* - **Cluster Topology Discovery**: The client will automatically discover the cluster topology based on the seed addresses provided.
|
|
430
|
+
* - **Authentication**: If `credentials` are provided, the client will attempt to authenticate using the specified username and password.
|
|
431
|
+
* - **TLS**: If `useTLS` is set to `true`, the client will establish secure connections using TLS.
|
|
432
|
+
* - **Periodic Checks**: The `periodicChecks` setting allows you to configure how often the client checks for cluster topology changes.
|
|
433
|
+
* - **Pub/Sub Subscriptions**: Any channels or patterns specified in `pubsubSubscriptions` will be subscribed to upon connection.
|
|
434
|
+
*/
|
|
157
435
|
static createClient(options: GlideClusterClientConfiguration): Promise<GlideClusterClient>;
|
|
158
|
-
static __createClient(options: BaseClientConfiguration, connectedSocket: net.Socket): Promise<GlideClusterClient>;
|
|
159
436
|
/**
|
|
160
437
|
* Incrementally iterates over the keys in the Cluster.
|
|
161
438
|
*
|
|
@@ -176,7 +453,7 @@ export declare class GlideClusterClient extends BaseClient {
|
|
|
176
453
|
*
|
|
177
454
|
* @param cursor - The cursor object that wraps the scan state.
|
|
178
455
|
* To start a new scan, create a new empty `ClusterScanCursor` using {@link ClusterScanCursor}.
|
|
179
|
-
* @param options - (Optional) The scan options, see {@link
|
|
456
|
+
* @param options - (Optional) The scan options, see {@link ClusterScanOptions} and {@link DecoderOption}.
|
|
180
457
|
* @returns A Promise resolving to an array containing the next cursor and an array of keys,
|
|
181
458
|
* formatted as [`ClusterScanCursor`, `string[]`].
|
|
182
459
|
*
|
|
@@ -194,14 +471,14 @@ export declare class GlideClusterClient extends BaseClient {
|
|
|
194
471
|
* console.log(allKeys); // ["key1", "key2", "key3"]
|
|
195
472
|
*
|
|
196
473
|
* // Iterate over keys matching a pattern
|
|
197
|
-
* await client.mset([{key: "key1", value: "value1"}, {key: "key2", value: "value2"}, {key: "
|
|
474
|
+
* await client.mset([{key: "key1", value: "value1"}, {key: "key2", value: "value2"}, {key: "notMyKey", value: "value3"}, {key: "somethingElse", value: "value4"}]);
|
|
198
475
|
* let cursor = new ClusterScanCursor();
|
|
199
476
|
* const matchedKeys: GlideString[] = [];
|
|
200
477
|
* while (!cursor.isFinished()) {
|
|
201
478
|
* const [cursor, keys] = await client.scan(cursor, { match: "*key*", count: 10 });
|
|
202
479
|
* matchedKeys.push(...keys);
|
|
203
480
|
* }
|
|
204
|
-
* console.log(matchedKeys); // ["key1", "key2", "
|
|
481
|
+
* console.log(matchedKeys); // ["key1", "key2", "notMyKey"]
|
|
205
482
|
*
|
|
206
483
|
* // Iterate over keys of a specific type
|
|
207
484
|
* await client.mset([{key: "key1", value: "value1"}, {key: "key2", value: "value2"}, {key: "key3", value: "value3"}]);
|
|
@@ -215,7 +492,7 @@ export declare class GlideClusterClient extends BaseClient {
|
|
|
215
492
|
* console.log(stringKeys); // ["key1", "key2", "key3"]
|
|
216
493
|
* ```
|
|
217
494
|
*/
|
|
218
|
-
scan(cursor: ClusterScanCursor, options?:
|
|
495
|
+
scan(cursor: ClusterScanCursor, options?: ClusterScanOptions & DecoderOption): Promise<[ClusterScanCursor, GlideString[]]>;
|
|
219
496
|
/** Executes a single command, without checking inputs. Every part of the command, including subcommands,
|
|
220
497
|
* should be added as a separate value in args.
|
|
221
498
|
* The command will be routed automatically based on the passed command's default request policy, unless `route` is provided,
|
|
@@ -431,7 +708,7 @@ export declare class GlideClusterClient extends BaseClient {
|
|
|
431
708
|
* @example
|
|
432
709
|
* ```typescript
|
|
433
710
|
* // Example usage of configSet method to set multiple configuration parameters
|
|
434
|
-
* const result = await client.configSet({ timeout: "1000", maxmemory
|
|
711
|
+
* const result = await client.configSet({ timeout: "1000", maxmemory: "1GB" });
|
|
435
712
|
* console.log(result); // Output: 'OK'
|
|
436
713
|
* ```
|
|
437
714
|
*/
|
|
@@ -982,7 +1259,7 @@ export declare class GlideClusterClient extends BaseClient {
|
|
|
982
1259
|
* @example
|
|
983
1260
|
* ```typescript
|
|
984
1261
|
* const luaScript = new Script("return { ARGV[1] }");
|
|
985
|
-
* const result = await invokeScript(luaScript, { args: ["bar"] });
|
|
1262
|
+
* const result = await client.invokeScript(luaScript, { args: ["bar"] });
|
|
986
1263
|
* console.log(result); // Output: ['bar']
|
|
987
1264
|
* ```
|
|
988
1265
|
*/
|
|
@@ -96,8 +96,56 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
this.configurePubsub(options, configuration);
|
|
99
|
+
if (options.advancedConfiguration) {
|
|
100
|
+
this.configureAdvancedConfigurationBase(options.advancedConfiguration, configuration);
|
|
101
|
+
}
|
|
99
102
|
return configuration;
|
|
100
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Creates a new `GlideClusterClient` instance and establishes connections to a Valkey GLIDE Cluster.
|
|
106
|
+
*
|
|
107
|
+
* @param options - The configuration options for the client, including cluster addresses, authentication credentials, TLS settings, periodic checks, and Pub/Sub subscriptions.
|
|
108
|
+
* @returns A promise that resolves to a connected `GlideClusterClient` instance.
|
|
109
|
+
*
|
|
110
|
+
* @remarks
|
|
111
|
+
* Use this static method to create and connect a `GlideClusterClient` to a Valkey GLIDE Cluster. The client will automatically handle connection establishment, including cluster topology discovery and handling of authentication and TLS configurations.
|
|
112
|
+
*
|
|
113
|
+
* ### Example - Connecting to a Cluster
|
|
114
|
+
* ```typescript
|
|
115
|
+
* import { GlideClusterClient, GlideClusterClientConfiguration } from '@valkey/valkey-glide';
|
|
116
|
+
*
|
|
117
|
+
* const client = await GlideClusterClient.createClient({
|
|
118
|
+
* addresses: [
|
|
119
|
+
* { host: 'address1.example.com', port: 6379 },
|
|
120
|
+
* { host: 'address2.example.com', port: 6379 },
|
|
121
|
+
* ],
|
|
122
|
+
* credentials: {
|
|
123
|
+
* username: 'user1',
|
|
124
|
+
* password: 'passwordA',
|
|
125
|
+
* },
|
|
126
|
+
* useTLS: true,
|
|
127
|
+
* periodicChecks: {
|
|
128
|
+
* duration_in_sec: 30, // Perform periodic checks every 30 seconds
|
|
129
|
+
* },
|
|
130
|
+
* pubsubSubscriptions: {
|
|
131
|
+
* channelsAndPatterns: {
|
|
132
|
+
* [GlideClusterClientConfiguration.PubSubChannelModes.Exact]: new Set(['updates']),
|
|
133
|
+
* [GlideClusterClientConfiguration.PubSubChannelModes.Sharded]: new Set(['sharded_channel']),
|
|
134
|
+
* },
|
|
135
|
+
* callback: (msg) => {
|
|
136
|
+
* console.log(`Received message: ${msg.payload}`);
|
|
137
|
+
* },
|
|
138
|
+
* },
|
|
139
|
+
* });
|
|
140
|
+
* ```
|
|
141
|
+
*
|
|
142
|
+
* @remarks
|
|
143
|
+
* - **Cluster Topology Discovery**: The client will automatically discover the cluster topology based on the seed addresses provided.
|
|
144
|
+
* - **Authentication**: If `credentials` are provided, the client will attempt to authenticate using the specified username and password.
|
|
145
|
+
* - **TLS**: If `useTLS` is set to `true`, the client will establish secure connections using TLS.
|
|
146
|
+
* - **Periodic Checks**: The `periodicChecks` setting allows you to configure how often the client checks for cluster topology changes.
|
|
147
|
+
* - **Pub/Sub Subscriptions**: Any channels or patterns specified in `pubsubSubscriptions` will be subscribed to upon connection.
|
|
148
|
+
*/
|
|
101
149
|
static createClient(options) {
|
|
102
150
|
const _super = Object.create(null, {
|
|
103
151
|
createClientInternal: { get: () => super.createClientInternal }
|
|
@@ -106,6 +154,9 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
106
154
|
return yield _super.createClientInternal.call(this, options, (socket, options) => new GlideClusterClient(socket, options));
|
|
107
155
|
});
|
|
108
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
109
160
|
static __createClient(options, connectedSocket) {
|
|
110
161
|
const _super = Object.create(null, {
|
|
111
162
|
__createClientInternal: { get: () => super.__createClientInternal }
|
|
@@ -118,6 +169,7 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
118
169
|
* @internal
|
|
119
170
|
*/
|
|
120
171
|
scanOptionsToProto(cursor, options) {
|
|
172
|
+
var _a;
|
|
121
173
|
const command = ProtobufMessage_1.command_request.ClusterScan.create();
|
|
122
174
|
command.cursor = cursor;
|
|
123
175
|
if (options === null || options === void 0 ? void 0 : options.match) {
|
|
@@ -129,6 +181,7 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
129
181
|
if (options === null || options === void 0 ? void 0 : options.type) {
|
|
130
182
|
command.objectType = options.type;
|
|
131
183
|
}
|
|
184
|
+
command.allowNonCoveredSlots = (_a = options === null || options === void 0 ? void 0 : options.allowNonCoveredSlots) !== null && _a !== void 0 ? _a : false;
|
|
132
185
|
return command;
|
|
133
186
|
}
|
|
134
187
|
/**
|
|
@@ -161,7 +214,7 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
161
214
|
*
|
|
162
215
|
* @param cursor - The cursor object that wraps the scan state.
|
|
163
216
|
* To start a new scan, create a new empty `ClusterScanCursor` using {@link ClusterScanCursor}.
|
|
164
|
-
* @param options - (Optional) The scan options, see {@link
|
|
217
|
+
* @param options - (Optional) The scan options, see {@link ClusterScanOptions} and {@link DecoderOption}.
|
|
165
218
|
* @returns A Promise resolving to an array containing the next cursor and an array of keys,
|
|
166
219
|
* formatted as [`ClusterScanCursor`, `string[]`].
|
|
167
220
|
*
|
|
@@ -179,14 +232,14 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
179
232
|
* console.log(allKeys); // ["key1", "key2", "key3"]
|
|
180
233
|
*
|
|
181
234
|
* // Iterate over keys matching a pattern
|
|
182
|
-
* await client.mset([{key: "key1", value: "value1"}, {key: "key2", value: "value2"}, {key: "
|
|
235
|
+
* await client.mset([{key: "key1", value: "value1"}, {key: "key2", value: "value2"}, {key: "notMyKey", value: "value3"}, {key: "somethingElse", value: "value4"}]);
|
|
183
236
|
* let cursor = new ClusterScanCursor();
|
|
184
237
|
* const matchedKeys: GlideString[] = [];
|
|
185
238
|
* while (!cursor.isFinished()) {
|
|
186
239
|
* const [cursor, keys] = await client.scan(cursor, { match: "*key*", count: 10 });
|
|
187
240
|
* matchedKeys.push(...keys);
|
|
188
241
|
* }
|
|
189
|
-
* console.log(matchedKeys); // ["key1", "key2", "
|
|
242
|
+
* console.log(matchedKeys); // ["key1", "key2", "notMyKey"]
|
|
190
243
|
*
|
|
191
244
|
* // Iterate over keys of a specific type
|
|
192
245
|
* await client.mset([{key: "key1", value: "value1"}, {key: "key2", value: "value2"}, {key: "key3", value: "value3"}]);
|
|
@@ -454,7 +507,7 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
454
507
|
* @example
|
|
455
508
|
* ```typescript
|
|
456
509
|
* // Example usage of configSet method to set multiple configuration parameters
|
|
457
|
-
* const result = await client.configSet({ timeout: "1000", maxmemory
|
|
510
|
+
* const result = await client.configSet({ timeout: "1000", maxmemory: "1GB" });
|
|
458
511
|
* console.log(result); // Output: 'OK'
|
|
459
512
|
* ```
|
|
460
513
|
*/
|
|
@@ -1092,7 +1145,7 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
1092
1145
|
* @example
|
|
1093
1146
|
* ```typescript
|
|
1094
1147
|
* const luaScript = new Script("return { ARGV[1] }");
|
|
1095
|
-
* const result = await invokeScript(luaScript, { args: ["bar"] });
|
|
1148
|
+
* const result = await client.invokeScript(luaScript, { args: ["bar"] });
|
|
1096
1149
|
* console.log(result); // Output: ['bar']
|
|
1097
1150
|
* ```
|
|
1098
1151
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|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