-first commit

This commit is contained in:
2025-11-11 12:36:06 +07:00
commit b99c214434
5683 changed files with 713336 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
import { CommandParser } from '../client/parser';
import { ArrayReply, TuplesToMapReply, BlobStringReply, NumberReply, UnwrapReply, Resp2Reply } from '../RESP/types';
type ClusterLinksReply = ArrayReply<TuplesToMapReply<[
[
BlobStringReply<'direction'>,
BlobStringReply
],
[
BlobStringReply<'node'>,
BlobStringReply
],
[
BlobStringReply<'create-time'>,
NumberReply
],
[
BlobStringReply<'events'>,
BlobStringReply
],
[
BlobStringReply<'send-buffer-allocated'>,
NumberReply
],
[
BlobStringReply<'send-buffer-used'>,
NumberReply
]
]>>;
declare const _default: {
readonly NOT_KEYED_COMMAND: true;
readonly IS_READ_ONLY: true;
/**
* Returns information about all cluster links (lower level connections to other nodes)
* @param parser - The Redis command parser
*/
readonly parseCommand: (this: void, parser: CommandParser) => void;
readonly transformReply: {
readonly 2: (reply: UnwrapReply<Resp2Reply<ClusterLinksReply>>) => {
direction: BlobStringReply<string>;
node: BlobStringReply<string>;
'create-time': NumberReply<number>;
events: BlobStringReply<string>;
'send-buffer-allocated': NumberReply<number>;
'send-buffer-used': NumberReply<number>;
}[];
readonly 3: () => ClusterLinksReply;
};
};
export default _default;
//# sourceMappingURL=CLUSTER_LINKS.d.ts.map