@valkey/valkey-glide 1.3.5-rc8 → 2.0.0-rc5
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/README.md +18 -7
- package/build-ts/BaseClient.d.ts +85 -18
- package/build-ts/BaseClient.js +288 -246
- package/build-ts/Batch.d.ts +6 -6
- package/build-ts/Batch.js +230 -230
- package/build-ts/Commands.d.ts +14 -2
- package/build-ts/Commands.js +24 -12
- package/build-ts/Errors.js +1 -0
- package/build-ts/GlideClient.d.ts +7 -38
- package/build-ts/GlideClient.js +56 -55
- package/build-ts/GlideClusterClient.d.ts +12 -4
- package/build-ts/GlideClusterClient.js +60 -54
- package/build-ts/Logger.d.ts +30 -15
- package/build-ts/Logger.js +36 -24
- package/build-ts/OpenTelemetry.d.ts +101 -0
- package/build-ts/OpenTelemetry.js +134 -0
- package/build-ts/ProtobufMessage.d.ts +18 -84
- package/build-ts/ProtobufMessage.js +52 -184
- package/build-ts/index.d.ts +2 -2
- package/build-ts/index.js +2 -25
- package/build-ts/native.d.ts +158 -14
- package/build-ts/native.js +134 -105
- package/build-ts/server-modules/GlideFt.d.ts +1 -4
- package/build-ts/server-modules/GlideFt.js +10 -11
- package/build-ts/server-modules/GlideFtOptions.d.ts +1 -2
- package/build-ts/server-modules/GlideJson.d.ts +3 -5
- package/build-ts/server-modules/GlideJson.js +2 -2
- package/package.json +7 -7
package/build-ts/Batch.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0
|
|
3
3
|
*/
|
|
4
|
-
import { ElementAndScore, GlideRecord, GlideString, HashDataType, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
5
|
-
Score } from "./BaseClient";
|
|
6
4
|
import { AggregationType, BaseScanOptions, BitFieldGet, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
7
5
|
BitFieldSubCommands, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
8
6
|
BitOffsetOptions, BitwiseOperation, Boundary, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
9
|
-
ExpireOptions, FlushMode, FunctionListOptions, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
7
|
+
ElementAndScore, ExpireOptions, FlushMode, FunctionListOptions, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
10
8
|
FunctionRestorePolicy, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
11
9
|
GeoAddOptions, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
12
|
-
GeoSearchResultOptions, GeoSearchShape, GeoSearchStoreResultOptions, GeoUnit, GeospatialData,
|
|
13
|
-
|
|
10
|
+
GeoSearchResultOptions, GeoSearchShape, GeoSearchStoreResultOptions, GeoUnit, GeospatialData, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
11
|
+
GlideRecord, GlideString, HScanOptions, HashDataType, InfoOptions, InsertPosition, KeyWeight, LPosOptions, ListDirection, LolwutOptions, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
12
|
+
RangeByIndex, RangeByLex, RangeByScore, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
13
|
+
RestoreOptions, Score, ScoreFilter, SearchOrigin, SetOptions, SortOptions, StreamAddOptions, StreamClaimOptions, StreamGroupOptions, StreamPendingOptions, StreamReadGroupOptions, StreamReadOptions, StreamTrimOptions, TimeUnit, ZAddOptions, ZScanOptions } from ".";
|
|
14
14
|
import { command_request } from "../build-ts/ProtobufMessage";
|
|
15
15
|
/**
|
|
16
16
|
* Base class encompassing shared commands for both standalone and cluster mode implementations in a Batch.
|
|
@@ -2149,7 +2149,7 @@ export declare class BaseBatch<T extends BaseBatch<T>> {
|
|
|
2149
2149
|
* @param key - The key of the HyperLogLog data structure to add elements into.
|
|
2150
2150
|
* @param elements - An array of members to add to the HyperLogLog stored at `key`.
|
|
2151
2151
|
* Command Response - If the HyperLogLog is newly created, or if the HyperLogLog approximated cardinality is
|
|
2152
|
-
* altered, then returns `
|
|
2152
|
+
* altered, then returns `true`. Otherwise, returns `false`.
|
|
2153
2153
|
*/
|
|
2154
2154
|
pfadd(key: GlideString, elements: GlideString[]): T;
|
|
2155
2155
|
/** Estimates the cardinality of the data stored in a HyperLogLog structure for a single key or
|