UNPKG

@google-cloud/datastore

Version:
12 lines (11 loc) 554 B
import { PropertyTransform } from '../../entity'; import { google } from '../../../protos/protos'; /** * This method takes the user supplied transforms object and returns a list of * corresponding transforms that are instead in the shape of the protos so that * they can be included in the grpc request to the service directly. * * @param transforms The transforms supplied by the user that the user intends * to apply. */ export declare function buildPropertyTransforms(transforms: PropertyTransform[]): google.datastore.v1.IPropertyTransform[];