feat(Google Cloud Firestore Node): Add support for service account and document creation with id (#9713)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
adrian-martinez-onestic
2024-07-08 13:40:52 +02:00
committed by GitHub
parent 8f970b5d37
commit cb1bbf5fd3
4 changed files with 63 additions and 6 deletions

View File

@@ -52,6 +52,10 @@ const googleServiceAccountScopes = {
'https://www.googleapis.com/auth/cloud-translation',
'https://www.googleapis.com/auth/cloud-platform',
],
firestore: [
'https://www.googleapis.com/auth/datastore',
'https://www.googleapis.com/auth/firebase',
],
};
type GoogleServiceAccount = keyof typeof googleServiceAccountScopes;