UNPKG

@google-cloud/datastore

Version:
9 lines (8 loc) 339 B
import { Entity, EntityProto } from '../../entity'; /** * This function builds the entity proto from the entity object. We cannot * rely on entity.entityToEntityProto for this because this function is only * designed to be used for non-array entities. * */ export declare function buildEntityProto(entityObject: Entity): EntityProto;