Skip to content

Commit 5bd6142

Browse files
committed
Merge remote-tracking branch 'origin/master' into HEAD
2 parents 97ca3ee + 36558bd commit 5bd6142

File tree

18 files changed

+331
-439
lines changed

18 files changed

+331
-439
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@firebase/firestore-compat": feat
3+
"@firebase/firestore": feat
4+
---
5+
6+
Relaxing query validation performed by the SDK

.changeset/perfect-colts-scream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@firebase/database-compat": patch
3+
---
4+
5+
Solve @firebase/database-compat/standalone resolution issues with astrojs

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ packages/app-check-interop-types @hsubox76 @firebase/jssdk-global-approvers
9696
# Documentation Changes
9797
packages/firebase/index.d.ts @egilmorez @firebase/jssdk-global-approvers
9898
scripts/docgen/content-sources/ @egilmorez @firebase/jssdk-global-approvers
99+
docs-devsite/ @egilmorez @markarndt
99100

100101
# Changeset
101-
.changeset @egilmorez @firebase/jssdk-changeset-approvers @firebase/firestore-js-team @firebase/jssdk-global-approvers
102+
.changeset @firebase/jssdk-changeset-approvers @firebase/firestore-js-team @firebase/jssdk-global-approvers

.github/workflows/check-docs.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Doc Change Check (Run "yarn docgen devsite" if this fails)
2+
3+
on: pull_request
4+
5+
jobs:
6+
doc-check:
7+
name: Check if reference docs have changed
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout Repo
12+
uses: actions/checkout@master
13+
with:
14+
# get all history for the diff
15+
fetch-depth: 0
16+
- name: Set up Node (14)
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: 14.x
20+
- name: Yarn install
21+
run: yarn
22+
- name: Run doc generation (devsite docs)
23+
run: yarn docgen devsite
24+
- name: Check for changes in docs-devsite dir (fail if so)
25+
run: git diff --exit-code docs-devsite
26+
- name: Reference documentation needs to be updated. See message below.
27+
if: ${{ failure() }}
28+
run: echo "Changes in this PR affect the reference docs. Run \`yarn docgen devsite\` locally to regenerate docs and add them to this PR."

.github/workflows/label-doc-changes.yml

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

docs-devsite/firestore_.aggregatefield.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export declare class AggregateField<T>
2222

2323
| Property | Modifiers | Type | Description |
2424
| --- | --- | --- | --- |
25-
| [type](./firestore_.aggregatefield.md#aggregatefieldtype) | | string | A type string to uniquely identify instances of this class. |
25+
| [type](./firestore_.aggregatefield.md#aggregatefieldtype) | | (not declared) | A type string to uniquely identify instances of this class. |
2626

2727
## AggregateField.type
2828

@@ -31,5 +31,5 @@ A type string to uniquely identify instances of this class.
3131
<b>Signature:</b>
3232

3333
```typescript
34-
type: string;
34+
readonly type = "AggregateField";
3535
```

docs-devsite/firestore_.aggregatespec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ https://github.com/firebase/firebase-js-sdk
1010
{% endcomment %}
1111

1212
# AggregateSpec interface
13-
A type whose property values are all `AggregateField` objects.
13+
Specifies a set of aggregations and their aliases.
1414

1515
<b>Signature:</b>
1616

docs-devsite/firestore_.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ https://github.com/firebase/firebase-js-sdk
134134

135135
| Interface | Description |
136136
| --- | --- |
137-
| [AggregateSpec](./firestore_.aggregatespec.md#aggregatespec_interface) | A type whose property values are all <code>AggregateField</code> objects. |
137+
| [AggregateSpec](./firestore_.aggregatespec.md#aggregatespec_interface) | Specifies a set of aggregations and their aliases. |
138138
| [DocumentChange](./firestore_.documentchange.md#documentchange_interface) | A <code>DocumentChange</code> represents a change to the documents matching a query. It contains the document affected and the type of change that occurred. |
139139
| [DocumentData](./firestore_.documentdata.md#documentdata_interface) | Document data (for use with [setDoc()](./firestore_lite.md#setdoc)<!-- -->) consists of fields mapped to values. |
140140
| [FirestoreDataConverter](./firestore_.firestoredataconverter.md#firestoredataconverter_interface) | Converter used by <code>withConverter()</code> to transform user objects of type <code>T</code> into Firestore data.<!-- -->Using the converter allows you to specify generic type arguments when storing and retrieving objects from Firestore. |
@@ -1946,7 +1946,7 @@ The union of all `AggregateField` types that are supported by Firestore.
19461946
<b>Signature:</b>
19471947

19481948
```typescript
1949-
export declare type AggregateFieldType = AggregateField<number>;
1949+
export declare type AggregateFieldType = AggregateField<number | null>;
19501950
```
19511951

19521952
## AggregateSpecData

docs-devsite/firestore_lite.aggregatefield.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export declare class AggregateField<T>
2222

2323
| Property | Modifiers | Type | Description |
2424
| --- | --- | --- | --- |
25-
| [type](./firestore_lite.aggregatefield.md#aggregatefieldtype) | | string | A type string to uniquely identify instances of this class. |
25+
| [type](./firestore_lite.aggregatefield.md#aggregatefieldtype) | | (not declared) | A type string to uniquely identify instances of this class. |
2626

2727
## AggregateField.type
2828

@@ -31,5 +31,5 @@ A type string to uniquely identify instances of this class.
3131
<b>Signature:</b>
3232

3333
```typescript
34-
type: string;
34+
readonly type = "AggregateField";
3535
```

docs-devsite/firestore_lite.aggregatespec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ https://github.com/firebase/firebase-js-sdk
1010
{% endcomment %}
1111

1212
# AggregateSpec interface
13-
A type whose property values are all `AggregateField` objects.
13+
Specifies a set of aggregations and their aliases.
1414

1515
<b>Signature:</b>
1616

0 commit comments

Comments
 (0)