@@ -27,7 +27,6 @@ export type AggregateFieldType = AggregateField<number>;
27
27
28
28
// @public
29
29
export class AggregateQuerySnapshot <T extends AggregateSpec > {
30
- ;
31
30
data(): AggregateSpecData <T >;
32
31
readonly query: Query <unknown >;
33
32
readonly type = " AggregateQuerySnapshot" ;
@@ -55,7 +54,6 @@ export function arrayUnion(...elements: unknown[]): FieldValue;
55
54
56
55
// @public
57
56
export class Bytes {
58
- ;
59
57
static fromBase64String(base64 : string ): Bytes ;
60
58
static fromUint8Array(array : Uint8Array ): Bytes ;
61
59
isEqual(other : Bytes ): boolean ;
@@ -87,7 +85,6 @@ export function collectionGroup(firestore: Firestore, collectionId: string): Que
87
85
88
86
// @public
89
87
export class CollectionReference <T = DocumentData > extends Query <T > {
90
- ;
91
88
get id(): string ;
92
89
get parent(): DocumentReference <DocumentData > | null ;
93
90
get path(): string ;
@@ -140,11 +137,9 @@ export function documentId(): FieldPath;
140
137
141
138
// @public
142
139
export class DocumentReference <T = DocumentData > {
143
- ;
144
140
readonly converter: FirestoreDataConverter <T > | null ;
145
141
readonly firestore: Firestore ;
146
142
get id(): string ;
147
- ;
148
143
get parent(): CollectionReference <T >;
149
144
get path(): string ;
150
145
readonly type = " document" ;
@@ -154,17 +149,11 @@ export class DocumentReference<T = DocumentData> {
154
149
155
150
// @public
156
151
export class DocumentSnapshot <T = DocumentData > {
157
- ;
158
- ;
159
152
protected constructor ();
160
153
data(options ? : SnapshotOptions ): T | undefined ;
161
154
exists(): this is QueryDocumentSnapshot <T >;
162
155
get(fieldPath : string | FieldPath , options ? : SnapshotOptions ): any ;
163
156
get id(): string ;
164
- ;
165
- ;
166
- ;
167
- ;
168
157
readonly metadata: SnapshotMetadata ;
169
158
get ref(): DocumentReference <T >;
170
159
}
@@ -194,39 +183,19 @@ export function endBefore(...fieldValues: unknown[]): QueryConstraint;
194
183
195
184
// @public
196
185
export class FieldPath {
197
- ;
198
186
constructor (... fieldNames : string []);
199
187
isEqual(other : FieldPath ): boolean ;
200
188
}
201
189
202
190
// @public
203
191
export abstract class FieldValue {
204
- ;
205
192
abstract isEqual(other : FieldValue ): boolean ;
206
- ;
207
193
}
208
194
209
195
// @public
210
196
export class Firestore {
211
- ;
212
- ;
213
- ;
214
197
get app(): FirebaseApp ;
215
- ;
216
- ;
217
- ;
218
- ;
219
- ;
220
- ;
221
- ;
222
- ;
223
198
toJSON(): object ;
224
- ;
225
- ;
226
- ;
227
- ;
228
- ;
229
- ;
230
199
type: ' firestore-lite' | ' firestore' ;
231
200
}
232
201
@@ -259,8 +228,6 @@ export interface FirestoreSettings {
259
228
260
229
// @public
261
230
export class GeoPoint {
262
- ;
263
- ;
264
231
constructor (latitude : number , longitude : number );
265
232
isEqual(other : GeoPoint ): boolean ;
266
233
get latitude(): number ;
@@ -269,7 +236,6 @@ export class GeoPoint {
269
236
latitude: number ;
270
237
longitude: number ;
271
238
};
272
- ;
273
239
}
274
240
275
241
// @public
@@ -342,15 +308,9 @@ export function loadBundle(firestore: Firestore, bundleData: ReadableStream<Uint
342
308
343
309
// @public
344
310
export class LoadBundleTask implements PromiseLike <LoadBundleTaskProgress > {
345
- ;
346
- ;
347
- ;
348
311
catch<R >(onRejected : (a : Error ) => R | PromiseLike <R >): Promise <R | LoadBundleTaskProgress >;
349
312
onProgress(next ? : (progress : LoadBundleTaskProgress ) => unknown , error ? : (err : Error ) => unknown , complete ? : () => void ): void ;
350
313
then<T , R >(onFulfilled ? : (a : LoadBundleTaskProgress ) => T | PromiseLike <T >, onRejected ? : (a : Error ) => R | PromiseLike <R >): Promise <T | R >;
351
- ;
352
- ;
353
- ;
354
314
}
355
315
356
316
// @public
@@ -444,7 +404,6 @@ export type Primitive = string | number | boolean | undefined | null;
444
404
// @public
445
405
export class Query <T = DocumentData > {
446
406
protected constructor ();
447
- ;
448
407
readonly converter: FirestoreDataConverter <T > | null ;
449
408
readonly firestore: Firestore ;
450
409
readonly type: ' query' | ' collection' ;
@@ -458,7 +417,6 @@ export function query<T>(query: Query<T>, ...queryConstraints: QueryConstraint[]
458
417
// @public
459
418
export abstract class QueryConstraint {
460
419
abstract readonly type: QueryConstraintType ;
461
- ;
462
420
}
463
421
464
422
// @public
@@ -475,12 +433,7 @@ export function queryEqual<T>(left: Query<T>, right: Query<T>): boolean;
475
433
476
434
// @public
477
435
export class QuerySnapshot <T = DocumentData > {
478
- ;
479
- ;
480
- ;
481
436
docChanges(options ? : SnapshotListenOptions ): Array <DocumentChange <T >>;
482
- ;
483
- ;
484
437
get docs(): Array <QueryDocumentSnapshot <T >>;
485
438
get empty(): boolean ;
486
439
forEach(callback : (result : QueryDocumentSnapshot <T >) => void , thisArg ? : unknown ): void ;
@@ -570,7 +523,6 @@ export class Timestamp {
570
523
static now(): Timestamp ;
571
524
readonly seconds: number ;
572
525
toDate(): Date ;
573
- ;
574
526
toJSON(): {
575
527
seconds: number ;
576
528
nanoseconds: number ;
@@ -582,10 +534,7 @@ export class Timestamp {
582
534
583
535
// @public
584
536
export class Transaction {
585
- ;
586
537
delete(documentRef : DocumentReference <unknown >): this ;
587
- ;
588
- ;
589
538
get<T >(documentRef : DocumentReference <T >): Promise <DocumentSnapshot <T >>;
590
539
set<T >(documentRef : DocumentReference <T >, data : WithFieldValue <T >): this ;
591
540
set<T >(documentRef : DocumentReference <T >, data : PartialWithFieldValue <T >, options : SetOptions ): this ;
@@ -633,18 +582,12 @@ export type WithFieldValue<T> = T | (T extends Primitive ? T : T extends {} ? {
633
582
634
583
// @public
635
584
export class WriteBatch {
636
- ;
637
- ;
638
- ;
639
- ;
640
- ;
641
585
commit(): Promise <void >;
642
586
delete(documentRef : DocumentReference <unknown >): WriteBatch ;
643
587
set<T >(documentRef : DocumentReference <T >, data : WithFieldValue <T >): WriteBatch ;
644
588
set<T >(documentRef : DocumentReference <T >, data : PartialWithFieldValue <T >, options : SetOptions ): WriteBatch ;
645
589
update<T >(documentRef : DocumentReference <T >, data : UpdateData <T >): WriteBatch ;
646
590
update(documentRef : DocumentReference <unknown >, field : string | FieldPath , value : unknown , ... moreFieldsAndValues : unknown []): WriteBatch ;
647
- ;
648
591
}
649
592
650
593
// @public
0 commit comments