Skip to content

Commit

Permalink
fix(firestore): Export new aggregate types (#2396)
Browse files Browse the repository at this point in the history
* fix(firestore): Export new aggregate types

* Run api extractor
  • Loading branch information
lahirumaramba committed Dec 4, 2023
1 parent bc1e522 commit de00635
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 19 deletions.
40 changes: 21 additions & 19 deletions docgen/extras/firebase-admin.firestore.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,32 @@ The following externally defined APIs are re-exported from this module entry poi

| Symbol | Description |
| --- | --- |
| [BulkWriter](https://googleapis.dev/nodejs/firestore/latest/BulkWriter.html) | `BulkWriter` type from the `@google-cloud/firestore` package. |
| [BulkWriterOptions](https://googleapis.dev/nodejs/firestore/latest/global.html#BulkWriterOptions) | `BulkWriterOptions` type from the `@google-cloud/firestore` package. |
| [BulkWriter](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/bulkwriter) | `BulkWriter` type from the `@google-cloud/firestore` package. |
| [AggregateField](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/aggregatefield) | `AggregateField` type from the `@google-cloud/firestore` package. |
| [BulkWriterOptions](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/bulkwriter) | `BulkWriterOptions` type from the `@google-cloud/firestore` package. |
| [BundleBuilder](https://googleapis.dev/nodejs/firestore/latest/BundleBuilder.html) | `BundleBuilder` type from the `@google-cloud/firestore` package. |
| [CollectionGroup](https://googleapis.dev/nodejs/firestore/latest/CollectionGroup.html) | `CollectionGroup` type from the `@google-cloud/firestore` package. |
| [CollectionReference](https://googleapis.dev/nodejs/firestore/latest/CollectionReference.html) | `CollectionReference` type from the `@google-cloud/firestore` package. |
| [DocumentChange](https://googleapis.dev/nodejs/firestore/latest/DocumentChange.html) | `DocumentChange` type from the `@google-cloud/firestore` package. |
| [CollectionGroup](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/collectiongroup) | `CollectionGroup` type from the `@google-cloud/firestore` package. |
| [CollectionReference](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/collectionreference) | `CollectionReference` type from the `@google-cloud/firestore` package. |
| [DocumentChange](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/documentchange) | `DocumentChange` type from the `@google-cloud/firestore` package. |
| [DocumentData](https://googleapis.dev/nodejs/firestore/latest/global.html#DocumentData) | `DocumentData` type from the `@google-cloud/firestore` package. |
| [DocumentReference](https://googleapis.dev/nodejs/firestore/latest/DocumentReference.html) | `DocumentReference` type from the `@google-cloud/firestore` package. |
| [DocumentSnapshot](https://googleapis.dev/nodejs/firestore/latest/DocumentSnapshot.html) | `DocumentSnapshot` type from the `@google-cloud/firestore` package. |
| [FieldPath](https://googleapis.dev/nodejs/firestore/latest/FieldPath.html) | `FieldPath` type from the `@google-cloud/firestore` package. |
| [FieldValue](https://googleapis.dev/nodejs/firestore/latest/FieldValue.html) | `FieldValue` type from the `@google-cloud/firestore` package. |
| [Firestore](https://googleapis.dev/nodejs/firestore/latest/Firestore.html) | `Firestore` type from the `@google-cloud/firestore` package. |
| [DocumentReference](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/documentreference) | `DocumentReference` type from the `@google-cloud/firestore` package. |
| [DocumentSnapshot](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/documentsnapshot) | `DocumentSnapshot` type from the `@google-cloud/firestore` package. |
| [FieldPath](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/fieldpath) | `FieldPath` type from the `@google-cloud/firestore` package. |
| [FieldValue](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/fieldvalue) | `FieldValue` type from the `@google-cloud/firestore` package. |
| [Filter](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/filter) | `Filter` type from the `@google-cloud/firestore` package. |
| [Firestore](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/firestore) | `Firestore` type from the `@google-cloud/firestore` package. |
| [FirestoreDataConverter](https://googleapis.dev/nodejs/firestore/latest/global.html#FirestoreDataConverter) | `FirestoreDataConverter` type from the `@google-cloud/firestore` package. |
| [GeoPoint](https://googleapis.dev/nodejs/firestore/latest/GeoPoint.html) | `GeoPoint` type from the `@google-cloud/firestore` package. |
| [GeoPoint](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/geopoint) | `GeoPoint` type from the `@google-cloud/firestore` package. |
| [GrpcStatus](https://googleapis.dev/nodejs/firestore/latest/global.html#GrpcStatus) | `GrpcStatus` type from the `@google-cloud/firestore` package. |
| [Precondition](https://googleapis.dev/nodejs/firestore/latest/global.html#Precondition) | `Precondition` type from the `@google-cloud/firestore` package. |
| [Query](https://googleapis.dev/nodejs/firestore/latest/Query.html) | `Query` type from the `@google-cloud/firestore` package. |
| [QueryDocumentSnapshot](https://googleapis.dev/nodejs/firestore/latest/QueryDocumentSnapshot.html) | `QueryDocumentSnapshot` type from the `@google-cloud/firestore` package. |
| [QueryPartition](https://googleapis.dev/nodejs/firestore/latest/QueryPartition.html) | `QueryPartition` type from the `@google-cloud/firestore` package. |
| [QuerySnapshot](https://googleapis.dev/nodejs/firestore/latest/QuerySnapshot.html) | `QuerySnapshot` type from the `@google-cloud/firestore` package. |
| [Query](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/query) | `Query` type from the `@google-cloud/firestore` package. |
| [QueryDocumentSnapshot](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/querydocumentsnapshot) | `QueryDocumentSnapshot` type from the `@google-cloud/firestore` package. |
| [QueryPartition](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/querypartition) | `QueryPartition` type from the `@google-cloud/firestore` package. |
| [QuerySnapshot](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/querysnapshot) | `QuerySnapshot` type from the `@google-cloud/firestore` package. |
| [ReadOptions](https://googleapis.dev/nodejs/firestore/latest/global.html#ReadOptions) | `ReadOptions` type from the `@google-cloud/firestore` package. |
| [SetOptions](https://googleapis.dev/nodejs/firestore/latest/global.html#SetOptions) | `SetOptions` type from the `@google-cloud/firestore` package. |
| [Timestamp](https://googleapis.dev/nodejs/firestore/latest/Timestamp.html) | `Timestamp` type from the `@google-cloud/firestore` package. |
| [Transaction](https://googleapis.dev/nodejs/firestore/latest/Transaction.html) | `Transaction` type from the `@google-cloud/firestore` package. |
| [WriteBatch](https://googleapis.dev/nodejs/firestore/latest/WriteBatch.html) | `WriteBatch` type from the `@google-cloud/firestore` package. |
| [WriteResult](https://googleapis.dev/nodejs/firestore/latest/WriteResult.html) | `WriteResult` type from the `@google-cloud/firestore` package. |
| [Timestamp](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/timestamp) | `Timestamp` type from the `@google-cloud/firestore` package. |
| [Transaction](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/transaction) | `Transaction` type from the `@google-cloud/firestore` package. |
| [WriteBatch](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/writebatch) | `WriteBatch` type from the `@google-cloud/firestore` package. |
| [WriteResult](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/writeresult) | `WriteResult` type from the `@google-cloud/firestore` package. |
| [setLogFunction](https://googleapis.dev/nodejs/firestore/latest/global.html#setLogFunction) | `setLogFunction` function from the `@google-cloud/firestore` package. |
7 changes: 7 additions & 0 deletions etc/firebase-admin.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,13 @@ export function firestore(app?: App): _firestore.Firestore;
export namespace firestore {
import v1beta1 = _firestore.v1beta1;
import v1 = _firestore.v1;
import AggregateField = _firestore.AggregateField;
import AggregateFieldType = _firestore.AggregateFieldType;
import AggregateQuery = _firestore.AggregateQuery;
import AggregateQuerySnapshot = _firestore.AggregateQuerySnapshot;
import AggregateSpecData = _firestore.AggregateSpecData;
import AggregateSpec = _firestore.AggregateSpec;
import AggregateType = _firestore.AggregateType;
import BulkWriter = _firestore.BulkWriter;
import BulkWriterOptions = _firestore.BulkWriterOptions;
import BundleBuilder = _firestore.BundleBuilder;
Expand Down
21 changes: 21 additions & 0 deletions etc/firebase-admin.firestore.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

import { AddPrefixToKeys } from '@google-cloud/firestore';
import { Agent } from 'http';
import { AggregateField } from '@google-cloud/firestore';
import { AggregateFieldType } from '@google-cloud/firestore';
import { AggregateQuery } from '@google-cloud/firestore';
import { AggregateQuerySnapshot } from '@google-cloud/firestore';
import { AggregateSpec } from '@google-cloud/firestore';
import { AggregateSpecData } from '@google-cloud/firestore';
import { AggregateType } from '@google-cloud/firestore';
import { BulkWriter } from '@google-cloud/firestore';
import { BulkWriterOptions } from '@google-cloud/firestore';
import { BundleBuilder } from '@google-cloud/firestore';
Expand Down Expand Up @@ -53,6 +60,20 @@ import { WriteResult } from '@google-cloud/firestore';

export { AddPrefixToKeys }

export { AggregateField }

export { AggregateFieldType }

export { AggregateQuery }

export { AggregateQuerySnapshot }

export { AggregateSpec }

export { AggregateSpecData }

export { AggregateType }

export { BulkWriter }

export { BulkWriterOptions }
Expand Down
7 changes: 7 additions & 0 deletions src/firestore/firestore-namespace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ export namespace firestore {
export import v1beta1 = _firestore.v1beta1;
export import v1 = _firestore.v1;

export import AggregateField = _firestore.AggregateField;
export import AggregateFieldType = _firestore.AggregateFieldType;
export import AggregateQuery = _firestore.AggregateQuery;
export import AggregateQuerySnapshot = _firestore.AggregateQuerySnapshot;
export import AggregateSpecData = _firestore.AggregateSpecData;
export import AggregateSpec = _firestore.AggregateSpec;
export import AggregateType = _firestore.AggregateType;
export import BulkWriter = _firestore.BulkWriter;
export import BulkWriterOptions = _firestore.BulkWriterOptions;
export import BundleBuilder = _firestore.BundleBuilder;
Expand Down
7 changes: 7 additions & 0 deletions src/firestore/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ import { DEFAULT_DATABASE_ID } from '@google-cloud/firestore/build/src/path';

export {
AddPrefixToKeys,
AggregateField,
AggregateFieldType,
AggregateQuery,
AggregateQuerySnapshot,
AggregateSpecData,
AggregateSpec,
AggregateType,
BulkWriter,
BulkWriterOptions,
BundleBuilder,
Expand Down

0 comments on commit de00635

Please sign in to comment.