@nxtoai/gati
Version:
A flexible Aerospike service for NestJS applications
17 lines (16 loc) • 573 B
TypeScript
import { ScanOptions } from 'aerospike';
export declare class GatiValidationError extends Error {
constructor(message: string);
}
type BinValue = string | number | boolean | object | null | undefined;
type BinObject = Record<string, BinValue>;
export declare class GatiValidator {
validateKey(key: string): void;
validateBins(bins: BinObject): void;
private validateBinKey;
private validateBinValue;
private validateArray;
validateTtl(ttl: number | undefined): void;
validateScanOptions(options: ScanOptions | undefined): void;
}
export {};