This commit is contained in:
2026-01-28 00:55:06 +03:00
parent fc033be6a5
commit 25fc82c14a
1642 changed files with 101122 additions and 0 deletions

10
node_modules/cluster-key-slot/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,10 @@
declare module 'cluster-key-slot' {
// Convert a string or Buffer into a redis slot hash.
function calculate(value: string | Buffer): number;
// Convert an array of multiple strings or Buffers into a redis slot hash.
// Returns -1 if one of the keys is not for the same slot as the others
export function generateMulti(values: Array<string | Buffer>): number;
export = calculate;
}