Skip to content

Add Firestore Lite API #3100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2020
Merged

Add Firestore Lite API #3100

merged 2 commits into from
May 26, 2020

Conversation

schmidt-sebastian
Copy link
Contributor

This adds the API for the Lite SDK as approved in go/firestore-next

@google-oss-bot
Copy link
Contributor

google-oss-bot commented May 21, 2020

Binary Size Report

Affected SDKs

No changes between base commit (babdcfd) and head commit (30ff10f).

Test Logs

Copy link
Contributor

@rafikhan rafikhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are our typings organized between our own folder and the rest of firebase? Do we have one file for a single product or do we ever subdivide them into individual ones (e.g. document.d.ts, transactions.d.ts, etc.). Otherwise it looks good.

Copy link
Contributor Author

@schmidt-sebastian schmidt-sebastian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every product has their own typings file (in a separate package). See https://github.com/firebase/firebase-js-sdk/blob/master/packages/firestore-types/index.d.ts
I plan to move the typings to firestore-types once development is mostly done as this complicates API changes.

We use one single file for all types that make up an SDK. Thanks for checking!

@schmidt-sebastian
Copy link
Contributor Author

@rafikhan It sounds like you are satisfied with this. If so, can you approve? I can then start on some follow up work. Thanks!

@rafikhan
Copy link
Contributor

LGTM

@schmidt-sebastian schmidt-sebastian merged commit 5ffa43b into master May 26, 2020
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/liteapi branch May 26, 2020 16:57
@firebase firebase locked and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants