@@ -277,13 +277,17 @@ export class Constant {
277
277
static of(value : boolean ): Constant ;
278
278
static of(value : null ): Constant ;
279
279
static of(value : undefined ): Constant ;
280
+ // Warning: (ae-forgotten-export) The symbol "GeoPoint" needs to be exported by the entry point pipelines.d.ts
280
281
static of(value : GeoPoint ): Constant ;
282
+ // Warning: (ae-forgotten-export) The symbol "Timestamp" needs to be exported by the entry point pipelines.d.ts
281
283
static of(value : Timestamp ): Constant ;
282
284
static of(value : Date ): Constant ;
283
285
static of(value : Uint8Array ): Constant ;
286
+ // Warning: (ae-forgotten-export) The symbol "DocumentReference" needs to be exported by the entry point pipelines.d.ts
284
287
static of(value : DocumentReference ): Constant ;
285
288
static of(value : any []): Constant ;
286
289
static of(value : Map <string , any >): Constant ;
290
+ // Warning: (ae-forgotten-export) The symbol "VectorValue" needs to be exported by the entry point pipelines.d.ts
287
291
static of(value : VectorValue ): Constant ;
288
292
regexContains(pattern : string ): RegexContains ;
289
293
regexContains(pattern : Constant ): RegexContains ;
@@ -385,23 +389,6 @@ export function divide(left: string, right: Constant): Divide;
385
389
// @beta
386
390
export function divide(left : string , right : any ): Divide ;
387
391
388
- // @public
389
- export interface DocumentData {
390
- [field : string ]: any ;
391
- }
392
-
393
- // @public
394
- export class DocumentReference <AppModelType = DocumentData , DbModelType extends DocumentData = DocumentData > {
395
- readonly converter: FirestoreDataConverter <AppModelType , DbModelType > | null ;
396
- readonly firestore: Firestore ;
397
- get id(): string ;
398
- get parent(): Query <AppModelType , DbModelType >;
399
- get path(): string ;
400
- readonly type = " document" ;
401
- withConverter<NewAppModelType , NewDbModelType extends DocumentData = DocumentData >(converter : FirestoreDataConverter <NewAppModelType , NewDbModelType >): DocumentReference <NewAppModelType , NewDbModelType >;
402
- withConverter(converter : null ): DocumentReference <DocumentData , DocumentData >;
403
- }
404
-
405
392
// @beta (undocumented)
406
393
export class DocumentsSource implements Stage {
407
394
constructor (docPaths : string []);
@@ -718,6 +705,8 @@ export class Field implements Selectable {
718
705
// (undocumented)
719
706
notEqAny(... others : any []): FirestoreFunction ;
720
707
static of(name : string ): Field ;
708
+ // Warning: (ae-forgotten-export) The symbol "FieldPath" needs to be exported by the entry point pipelines.d.ts
709
+ //
721
710
// (undocumented)
722
711
static of(path : FieldPath ): Field ;
723
712
// (undocumented)
@@ -757,12 +746,6 @@ export class Field implements Selectable {
757
746
vectorLength(): VectorLength ;
758
747
}
759
748
760
- // @public
761
- export class FieldPath {
762
- constructor (... fieldNames : string []);
763
- isEqual(other : FieldPath ): boolean ;
764
- }
765
-
766
749
// @beta (undocumented)
767
750
export class Fields implements Selectable {
768
751
add(other : Constant ): Add ;
@@ -875,11 +858,6 @@ export class Fields implements Selectable {
875
858
vectorLength(): VectorLength ;
876
859
}
877
860
878
- // @public
879
- export abstract class FieldValue {
880
- abstract isEqual(other : FieldValue ): boolean ;
881
- }
882
-
883
861
// @beta
884
862
export interface FilterCondition {
885
863
// (undocumented)
@@ -909,20 +887,6 @@ export interface FindNearestOptions {
909
887
vectorValue: VectorValue | number [];
910
888
}
911
889
912
- // @public
913
- export class Firestore {
914
- get app(): FirebaseApp ;
915
- toJSON(): object ;
916
- type: ' firestore-lite' | ' firestore' ;
917
- }
918
-
919
- // @public
920
- export interface FirestoreDataConverter <AppModelType , DbModelType extends DocumentData = DocumentData > {
921
- fromFirestore(snapshot : QueryDocumentSnapshot <DocumentData , DocumentData >): AppModelType ;
922
- toFirestore(modelObject : WithFieldValue <AppModelType >): WithFieldValue <DbModelType >;
923
- toFirestore(modelObject : PartialWithFieldValue <AppModelType >, options : SetOptions ): PartialWithFieldValue <DbModelType >;
924
- }
925
-
926
890
// @beta
927
891
export class FirestoreFunction {
928
892
constructor (name : string , params : Constant []);
@@ -1038,18 +1002,6 @@ export class GenericStage implements Stage {
1038
1002
name: string ;
1039
1003
}
1040
1004
1041
- // @public
1042
- export class GeoPoint {
1043
- constructor (latitude : number , longitude : number );
1044
- isEqual(other : GeoPoint ): boolean ;
1045
- get latitude(): number ;
1046
- get longitude(): number ;
1047
- toJSON(): {
1048
- latitude: number ;
1049
- longitude: number ;
1050
- };
1051
- }
1052
-
1053
1005
// @beta (undocumented)
1054
1006
export class Gt extends FirestoreFunction implements FilterCondition {
1055
1007
constructor (left : Constant , right : Constant );
@@ -1333,11 +1285,8 @@ export class Ordering {
1333
1285
constructor (expr : Constant , direction : ' ascending' | ' descending' );
1334
1286
}
1335
1287
1336
- // @public
1337
- export type PartialWithFieldValue <T > = Partial <T > | (T extends Primitive ? T : T extends {} ? {
1338
- [K in keyof T ]? : PartialWithFieldValue <T [K ]> | FieldValue ;
1339
- } : never );
1340
-
1288
+ // Warning: (ae-forgotten-export) The symbol "DocumentData" needs to be exported by the entry point pipelines.d.ts
1289
+ //
1341
1290
// @public
1342
1291
export class Pipeline <AppModelType = DocumentData > {
1343
1292
/* Excluded from this release type: _db */
@@ -1397,11 +1346,14 @@ export class Pipeline<AppModelType = DocumentData> {
1397
1346
where(condition : FilterCondition & Constant ): Pipeline <AppModelType >;
1398
1347
}
1399
1348
1349
+ // Warning: (ae-forgotten-export) The symbol "Firestore" needs to be exported by the entry point pipelines.d.ts
1400
1350
// Warning: (ae-incompatible-release-tags) The symbol "pipeline" is marked as @public, but its signature references "PipelineSource" which is marked as @beta
1401
1351
//
1402
1352
// @public
1403
1353
export function pipeline(firestore : Firestore ): PipelineSource ;
1404
1354
1355
+ // Warning: (ae-forgotten-export) The symbol "Query" needs to be exported by the entry point pipelines.d.ts
1356
+ //
1405
1357
// @public
1406
1358
export function pipeline(query : Query ): Pipeline ;
1407
1359
@@ -1436,29 +1388,6 @@ export class PipelineSource {
1436
1388
documents(docs : DocumentReference []): Pipeline ;
1437
1389
}
1438
1390
1439
- // @public
1440
- export type Primitive = string | number | boolean | undefined | null ;
1441
-
1442
- // @public
1443
- export class Query <AppModelType = DocumentData , DbModelType extends DocumentData = DocumentData > {
1444
- protected constructor ();
1445
- readonly converter: FirestoreDataConverter <AppModelType , DbModelType > | null ;
1446
- readonly firestore: Firestore ;
1447
- readonly type: ' query' | ' collection' ;
1448
- withConverter(converter : null ): Query <DocumentData , DocumentData >;
1449
- withConverter<NewAppModelType , NewDbModelType extends DocumentData = DocumentData >(converter : FirestoreDataConverter <NewAppModelType , NewDbModelType >): Query <NewAppModelType , NewDbModelType >;
1450
- }
1451
-
1452
- // @public
1453
- export class QueryDocumentSnapshot <AppModelType = DocumentData , DbModelType extends DocumentData = DocumentData > {
1454
- // @override
1455
- data(): AppModelType ;
1456
- exists(): this is QueryDocumentSnapshot <AppModelType , DbModelType >;
1457
- get(fieldPath : string | FieldPath );
1458
- get id(): string ;
1459
- get ref(): DocumentReference <AppModelType , DbModelType >;
1460
- }
1461
-
1462
1391
// @beta (undocumented)
1463
1392
export class RegexContains extends FirestoreFunction implements FilterCondition {
1464
1393
constructor (expr : Constant , pattern : Constant );
@@ -1552,13 +1481,6 @@ export interface Selectable {
1552
1481
// @beta
1553
1482
export type SelectableExpr = Constant & Selectable ;
1554
1483
1555
- // @public
1556
- export type SetOptions = {
1557
- readonly merge? : boolean ;
1558
- } | {
1559
- readonly mergeFields? : Array <string | FieldPath >;
1560
- };
1561
-
1562
1484
// @beta (undocumented)
1563
1485
export class Sort implements Stage {
1564
1486
constructor (orders : Ordering []);
@@ -1645,27 +1567,6 @@ export class Sum extends FirestoreFunction implements Accumulator {
1645
1567
accumulator: true ;
1646
1568
}
1647
1569
1648
- // @public
1649
- export class Timestamp {
1650
- constructor (
1651
- seconds : number ,
1652
- nanoseconds : number );
1653
- static fromDate(date : Date ): Timestamp ;
1654
- static fromMillis(milliseconds : number ): Timestamp ;
1655
- isEqual(other : Timestamp ): boolean ;
1656
- readonly nanoseconds: number ;
1657
- static now(): Timestamp ;
1658
- readonly seconds: number ;
1659
- toDate(): Date ;
1660
- toJSON(): {
1661
- seconds: number ;
1662
- nanoseconds: number ;
1663
- };
1664
- toMillis(): number ;
1665
- toString(): string ;
1666
- valueOf(): string ;
1667
- }
1668
-
1669
1570
// @beta (undocumented)
1670
1571
export class TimestampAdd extends FirestoreFunction {
1671
1572
constructor (timestamp : Constant , unit : Constant , amount : Constant );
@@ -1807,25 +1708,13 @@ export function vectorLength(expr: Constant): VectorLength;
1807
1708
// @beta
1808
1709
export function vectorLength(field : string ): VectorLength ;
1809
1710
1810
- // @public
1811
- export class VectorValue {
1812
- /* Excluded from this release type: __constructor */
1813
- isEqual(other : VectorValue ): boolean ;
1814
- toArray(): number [];
1815
- }
1816
-
1817
1711
// @beta (undocumented)
1818
1712
export class Where implements Stage {
1819
1713
constructor (condition : FilterCondition & Constant );
1820
1714
// (undocumented)
1821
1715
name: string ;
1822
1716
}
1823
1717
1824
- // @public
1825
- export type WithFieldValue <T > = T | (T extends Primitive ? T : T extends {} ? {
1826
- [K in keyof T ]: WithFieldValue <T [K ]> | FieldValue ;
1827
- } : never );
1828
-
1829
1718
// @beta (undocumented)
1830
1719
export class Xor extends FirestoreFunction implements FilterCondition {
1831
1720
constructor (conditions : FilterExpr []);
@@ -1839,8 +1728,8 @@ export function xor(left: FilterExpr, ...right: FilterExpr[]): Xor;
1839
1728
1840
1729
// Warnings were encountered during analysis:
1841
1730
//
1842
- // /Users/markduckworth/projects/firebase-js-sdk/packages/firestore/dist/lite/pipelines.d.ts:8518 :9 - (ae-incompatible-release-tags) The symbol "accumulators" is marked as @public, but its signature references "AccumulatorTarget" which is marked as @beta
1843
- // /Users/markduckworth/projects/firebase-js-sdk/packages/firestore/dist/lite/pipelines.d.ts:8519 :9 - (ae-incompatible-release-tags) The symbol "groups" is marked as @public, but its signature references "Selectable" which is marked as @beta
1844
- // /Users/markduckworth/projects/firebase-js-sdk/packages/firestore/dist/lite/pipelines.d.ts:8548 :9 - (ae-incompatible-release-tags) The symbol "orderings" is marked as @public, but its signature references "Ordering" which is marked as @beta
1731
+ // /Users/markduckworth/projects/firebase-js-sdk/packages/firestore/dist/lite/pipelines.d.ts:8118 :9 - (ae-incompatible-release-tags) The symbol "accumulators" is marked as @public, but its signature references "AccumulatorTarget" which is marked as @beta
1732
+ // /Users/markduckworth/projects/firebase-js-sdk/packages/firestore/dist/lite/pipelines.d.ts:8119 :9 - (ae-incompatible-release-tags) The symbol "groups" is marked as @public, but its signature references "Selectable" which is marked as @beta
1733
+ // /Users/markduckworth/projects/firebase-js-sdk/packages/firestore/dist/lite/pipelines.d.ts:8148 :9 - (ae-incompatible-release-tags) The symbol "orderings" is marked as @public, but its signature references "Ordering" which is marked as @beta
1845
1734
1846
1735
```
0 commit comments