UNPKG

harperdb

Version:

HarperDB is a distributed database, caching service, streaming broker, and application development platform focused on performance and ease of use.

20 lines (19 loc) 675 B
export declare const STATUS_SCHEMAS: { readonly primary: { readonly allowedValues: any; }; readonly maintenance: { readonly allowedValues: any; }; readonly availability: { readonly allowedValues: readonly ["Available", "Unavailable"]; }; }; export declare const STATUS_ALLOWED: ("primary" | "maintenance" | "availability")[]; export declare const STATUS_DEFAULT: "primary" | "maintenance" | "availability"; /** * Validates the status operation parameters * @param obj The status operation parameters to validate * @returns Error if validation fails, null otherwise */ export declare function validateStatus(obj: any): any;