Skip to content

Commit 7cf9502

Browse files
fix(firestore): restore generic root type exports for DocumentSnapshot, Transaction, and WriteBatch (#8997)
1 parent cfe5534 commit 7cf9502

13 files changed

Lines changed: 2220 additions & 93 deletions

.github/workflows/linting.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,43 @@ jobs:
9898
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
9999

100100

101+
consumer-types:
102+
name: Consumer Type Test
103+
runs-on: ubuntu-latest
104+
timeout-minutes: 30
105+
steps:
106+
- uses: actions/checkout@v4
107+
with:
108+
fetch-depth: 1
109+
- uses: actions/setup-node@v4
110+
with:
111+
node-version: 22
112+
- uses: actions/cache/restore@v4
113+
name: Yarn Cache Restore
114+
id: yarn-cache
115+
continue-on-error: true
116+
with:
117+
path: .yarn/cache
118+
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
119+
restore-keys: ${{ runner.os }}-yarn-v1
120+
- name: Yarn Install
121+
uses: nick-fields/retry@v3
122+
with:
123+
timeout_minutes: 15
124+
retry_wait_seconds: 30
125+
max_attempts: 3
126+
command: yarn
127+
- name: Consumer Type Test
128+
run: yarn tsc:compile:consumer
129+
- uses: actions/cache/save@v4
130+
name: Yarn Cache Save
131+
if: "${{ github.ref == 'refs/heads/main' }}"
132+
continue-on-error: true
133+
with:
134+
path: .yarn/cache
135+
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
136+
137+
101138
typedoc:
102139
name: TypeDoc Generation
103140
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"lint:report": "eslint --output-file=eslint-report.json --format=json . --ext .js,.jsx,.ts,.tsx",
2222
"lint:spellcheck": "spellchecker --quiet --files=\"docs/**/*.md\" --dictionaries=\"./.spellcheck.dict.txt\" --reports=\"spelling.json\" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter",
2323
"tsc:compile": "tsc --project .",
24+
"tsc:compile:consumer": "tsc --project tsconfig.consumer.json",
2425
"lint:all": "yarn lint && yarn lint:markdown && yarn lint:spellcheck && yarn tsc:compile",
2526
"test:full": "bash ./scripts/run-full-tests.sh",
2627
"reference:api": "typedoc",

0 commit comments

Comments
 (0)