template-saas/apps/backend/node_modules/@ioredis/commands/built/index.d.ts
rckrdmrd 50a821a415
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
[SIMCO-V38] feat: Actualizar a SIMCO v3.8.0
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones de configuracion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:08 -06:00

35 lines
895 B
TypeScript

/// <reference types="node" />
/**
* Redis command list
*
* All commands are lowercased.
*/
export declare const list: string[];
/**
* Check if the command exists
*/
export declare function exists(commandName: string, options?: {
caseInsensitive?: boolean;
}): boolean;
/**
* Check if the command has the flag
*
* Some of possible flags: readonly, noscript, loading
*/
export declare function hasFlag(commandName: string, flag: string, options?: {
nameCaseInsensitive?: boolean;
}): boolean;
/**
* Get indexes of keys in the command arguments
*
* @example
* ```javascript
* getKeyIndexes('set', ['key', 'value']) // [0]
* getKeyIndexes('mget', ['key1', 'key2']) // [0, 1]
* ```
*/
export declare function getKeyIndexes(commandName: string, args: (string | Buffer | number)[], options?: {
parseExternalKey?: boolean;
nameCaseInsensitive?: boolean;
}): number[];