Files
Star-wars-card-game/node_modules/@redis/client/dist/lib/commands/XADD.d.ts
2026-01-28 00:55:06 +03:00

15 lines
555 B
TypeScript

import { RedisCommandArgument, RedisCommandArguments } from '.';
export declare const FIRST_KEY_INDEX = 1;
interface XAddOptions {
NOMKSTREAM?: true;
TRIM?: {
strategy?: 'MAXLEN' | 'MINID';
strategyModifier?: '=' | '~';
threshold: number;
limit?: number;
};
}
export declare function transformArguments(key: RedisCommandArgument, id: RedisCommandArgument, message: Record<string, RedisCommandArgument>, options?: XAddOptions): RedisCommandArguments;
export declare function transformReply(): string;
export {};