/var/www/greso.tech/server/nsm/node_modules/@google-cloud/firestore/build/src
NameSizeModeActions
v1/-0755rm
v1beta1/-0755rm
backoff.d.ts55470644editdlrm
backoff.js76500644editdlrm
bulk-writer.d.ts192300644editdlrm
bulk-writer.js361120644editdlrm
bundle.d.ts8350644editdlrm
bundle.js84270644editdlrm
collection-group.d.ts36020644editdlrm
collection-group.js45530644editdlrm
convert.d.ts27760644editdlrm
convert.js71680644editdlrm
document-change.d.ts50330644editdlrm
document-change.js52840644editdlrm
document-reader.d.ts18420644editdlrm
document-reader.js53940644editdlrm
document.d.ts181490644editdlrm
document.js304040644editdlrm
field-value.d.ts85980644editdlrm
field-value.js138840644editdlrm
filter.d.ts68320644editdlrm
filter.js69730644editdlrm
geo-point.d.ts26440644editdlrm
geo-point.js32170644editdlrm
index.d.ts382290644editdlrm
index.js634430644editdlrm
logger.d.ts13100644editdlrm
logger.js21120644editdlrm
order.d.ts10960644editdlrm
order.js75250644editdlrm
path.d.ts121180644editdlrm
path.js189950644editdlrm
pool.d.ts44320644editdlrm
pool.js101160644editdlrm
query-partition.d.ts40110644editdlrm
query-partition.js57610644editdlrm
rate-limiter.d.ts30150644editdlrm
rate-limiter.js58500644editdlrm
recursive-delete.d.ts57140644editdlrm
recursive-delete.js100400644editdlrm
reference.d.ts530960644editdlrm
reference.js1032210644editdlrm
serializer.d.ts29420644editdlrm
serializer.js128170644editdlrm
status-code.d.ts11210644editdlrm
status-code.js7120644editdlrm
timestamp.d.ts69870644editdlrm
timestamp.js96970644editdlrm
transaction.d.ts100980644editdlrm
transaction.js191390644editdlrm
types.d.ts39920644editdlrm
types.js13870644editdlrm
util.d.ts40660644editdlrm
util.js73730644editdlrm
validate.d.ts65270644editdlrm
validate.js123140644editdlrm
watch.d.ts97380644editdlrm
watch.js249880644editdlrm
write-batch.d.ts105210644editdlrm
write-batch.js272330644editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/@google-cloud/firestore/build/src/query-partition.d.ts (4011B)
import * as firestore from '@google-cloud/firestore'; import * as protos from '../protos/firestore_v1_proto_api'; import { Query } from './reference'; import { Firestore } from './index'; import api = protos.google.firestore.v1; /** * A split point that can be used in a query as a starting and/or end point for * the query results. The cursors returned by {@link #startAt} and {@link * #endBefore} can only be used in a query that matches the constraint of query * that produced this partition. * * @class QueryPartition */ export declare class QueryPartition implements firestore.QueryPartition { private readonly _firestore; private readonly _collectionId; private readonly _converter; private readonly _startAt; private readonly _endBefore; private readonly _serializer; private _memoizedStartAt; private _memoizedEndBefore; /** @private */ constructor(_firestore: Firestore, _collectionId: string, _converter: firestore.FirestoreDataConverter, _startAt: api.IValue[] | undefined, _endBefore: api.IValue[] | undefined); /** * The cursor that defines the first result for this partition or `undefined` * if this is the first partition. The cursor value must be * destructured when passed to `startAt()` (for example with * `query.startAt(...queryPartition.startAt)`). * * @example * ``` * const query = firestore.collectionGroup('collectionId'); * for await (const partition of query.getPartitions(42)) { * let partitionedQuery = query.orderBy(FieldPath.documentId()); * if (partition.startAt) { * partitionedQuery = partitionedQuery.startAt(...partition.startAt); * } * if (partition.endBefore) { * partitionedQuery = partitionedQuery.endBefore(...partition.endBefore); * } * const querySnapshot = await partitionedQuery.get(); * console.log(`Partition contained ${querySnapshot.length} documents`); * } * * ``` * @type {Array<*>} * @return {Array<*>} A cursor value that can be used with {@link * Query#startAt} or `undefined` if this is the first partition. */ get startAt(): unknown[] | undefined; /** * The cursor that defines the first result after this partition or * `undefined` if this is the last partition. The cursor value must be * destructured when passed to `endBefore()` (for example with * `query.endBefore(...queryPartition.endBefore)`). * * @example * ``` * const query = firestore.collectionGroup('collectionId'); * for await (const partition of query.getPartitions(42)) { * let partitionedQuery = query.orderBy(FieldPath.documentId()); * if (partition.startAt) { * partitionedQuery = partitionedQuery.startAt(...partition.startAt); * } * if (partition.endBefore) { * partitionedQuery = partitionedQuery.endBefore(...partition.endBefore); * } * const querySnapshot = await partitionedQuery.get(); * console.log(`Partition contained ${querySnapshot.length} documents`); * } * * ``` * @type {Array<*>} * @return {Array<*>} A cursor value that can be used with {@link * Query#endBefore} or `undefined` if this is the last partition. */ get endBefore(): unknown[] | undefined; /** * Returns a query that only encapsulates the documents for this partition. * * @example * ``` * const query = firestore.collectionGroup('collectionId'); * for await (const partition of query.getPartitions(42)) { * const partitionedQuery = partition.toQuery(); * const querySnapshot = await partitionedQuery.get(); * console.log(`Partition contained ${querySnapshot.length} documents`); * } * * ``` * @return {Query} A query partitioned by a {@link Query#startAt} and * {@link Query#endBefore} cursor. */ toQuery(): Query; }