UNPKG

pebblebed

Version:

Simplified interactions with Google Datastore for NodeJS

9 lines (8 loc) 340 B
import * as Joi from "joi"; export declare type TPebblebedJoiSchemaObject<T> = { [key in keyof T]: Joi.Schema; }; export declare function createObjectValidator<T = any>(keysSchema: TPebblebedJoiSchemaObject<T>): Joi.ObjectSchema<any>; export declare const JoiUtils: { createObjectValidator: typeof createObjectValidator; };