UNPKG

pebblebed

Version:

Simplified interactions with Google Datastore for NodeJS

7 lines (6 loc) 331 B
import { SchemaDefinition } from "../types/PebblebedTypes"; export declare function preBuildDataFromSchema<T>(data: any, schema: SchemaDefinition<any>): T; export default function buildDataFromSchema<T>(data: any, schema: SchemaDefinition<any>, entityKind?: string): { excludeFromIndexes: string[]; dataObject: T; };