Hi grahamearley
I like the project yet it seems to be standing still, so I forked it. I was meaning to basically make the same thing but you made life easy. Are you still planning to work on this?
My goal is to make a full Firebase wrapper which works like the NodeJS FirebaseAPI you use in a cloud function.
e.g. firestore.collection('foo').doc('bar').get();
Another goal of mine is to make it all in Typescript, so I converted all your code to typescript and refactored with some of my code style. It is mainly your code though just TS and moved around, hope you don't mind.
Another goal is to get a cool CI pipeline going with Google Cloudbuild. Maybe some tests too if I'm feeling motivated enough.
Just to note in your code within this repo has comments which don't align with the code it describes. For example in the Request.js it says the method function will return this FirestoreRequest
to be chained but I don't see how it is possible? This doesn't make sense to me, am I missing something?
Awesome project and thanks a lot. Would love to have your help if you're interested. If you really want I could just PR my code to you and take it from there.
Lastly as a fair warning, as of writing this issue on 9/25/2019, I have not tested my code yet, just made the conversion to TS. As it is mainly what you wrote it should work pretty soon after some debugging.
kferrone/FirebaseGoogleAppsScript