Skip to content

Commit e469da6

Browse files
committed
Merge branch 'main' of https://github.com/firebase/firebase-js-sdk into tomandersen/restartFirestoreClient
2 parents 87ae53a + f7c6dc4 commit e469da6

File tree

92 files changed

+1225
-836
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+1225
-836
lines changed

.changeset/late-humans-tan.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/spicy-dragons-pay.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tender-apes-clap.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/check-changeset.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ jobs:
6868
### Changeset File Check :warning:
6969
${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
7070
- name: Update comment (missing packages)
71-
if: ${{steps.fc.outputs.comment-id}}
71+
if: ${{steps.fc.outputs.comment-id && steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
7272
uses: peter-evans/create-or-update-comment@v4
7373
with:
74-
comment-id: ${{steps.fc.outputs.comment-id}} && steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
74+
comment-id: ${{steps.fc.outputs.comment-id}}
7575
edit-mode: replace
7676
body: |
7777
### Changeset File Check :warning:

common/api-review/firestore-lite.api.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,16 @@ export function updateDoc<AppModelType, DbModelType extends DocumentData>(refere
460460
// @public
461461
export function updateDoc<AppModelType, DbModelType extends DocumentData>(reference: DocumentReference<AppModelType, DbModelType>, field: string | FieldPath, value: unknown, ...moreFieldsAndValues: unknown[]): Promise<void>;
462462

463+
// @public
464+
export function vector(values?: number[]): VectorValue;
465+
466+
// @public
467+
export class VectorValue {
468+
/* Excluded from this release type: __constructor */
469+
isEqual(other: VectorValue): boolean;
470+
toArray(): number[];
471+
}
472+
463473
// @public
464474
export function where(fieldPath: string | FieldPath, opStr: WhereFilterOp, value: unknown): QueryFieldFilterConstraint;
465475

common/api-review/firestore.api.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,16 @@ export function updateDoc<AppModelType, DbModelType extends DocumentData>(refere
745745
// @public
746746
export function updateDoc<AppModelType, DbModelType extends DocumentData>(reference: DocumentReference<AppModelType, DbModelType>, field: string | FieldPath, value: unknown, ...moreFieldsAndValues: unknown[]): Promise<void>;
747747

748+
// @public
749+
export function vector(values?: number[]): VectorValue;
750+
751+
// @public
752+
export class VectorValue {
753+
/* Excluded from this release type: __constructor */
754+
isEqual(other: VectorValue): boolean;
755+
toArray(): number[];
756+
}
757+
748758
// @public
749759
export function waitForPendingWrites(firestore: Firestore): Promise<void>;
750760

common/api-review/storage.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export function getMetadata(ref: StorageReference): Promise<FullMetadata>;
132132
export function getStorage(app?: FirebaseApp, bucketUrl?: string): FirebaseStorage;
133133

134134
// @public
135-
export function getStream(ref: StorageReference, maxDownloadSizeBytes?: number): NodeJS.ReadableStream;
135+
export function getStream(ref: StorageReference, maxDownloadSizeBytes?: number): ReadableStream;
136136

137137
// @internal (undocumented)
138138
export function _invalidArgument(message: string): StorageError;

0 commit comments

Comments
 (0)