Files
micro-service-api/node_modules/@redis/time-series/dist/lib/commands/ALTER.d.ts
2025-11-11 12:36:06 +07:00

17 lines
852 B
TypeScript

import { CommandParser } from '@redis/client/dist/lib/client/parser';
import { RedisArgument, SimpleStringReply } from '@redis/client/dist/lib/RESP/types';
import { TsCreateOptions } from './CREATE';
export type TsAlterOptions = Pick<TsCreateOptions, 'RETENTION' | 'CHUNK_SIZE' | 'DUPLICATE_POLICY' | 'LABELS' | 'IGNORE'>;
declare const _default: {
readonly IS_READ_ONLY: false;
/**
* Alters the configuration of an existing time series
* @param parser - The command parser
* @param key - The key name for the time series
* @param options - Configuration parameters to alter
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: TsAlterOptions) => void;
readonly transformReply: () => SimpleStringReply<'OK'>;
};
export default _default;
//# sourceMappingURL=ALTER.d.ts.map