Skip to content

Commit

Permalink
Merge pull request #1 from yamankatby:firestore-relationships
Browse files Browse the repository at this point in the history
Firestore One-To-One extension
  • Loading branch information
yamankatby authored Dec 12, 2022
2 parents c2da175 + 46abb72 commit 282518d
Show file tree
Hide file tree
Showing 20 changed files with 9,490 additions and 4,440 deletions.
7 changes: 0 additions & 7 deletions extensions/firestore-connect-document.env

This file was deleted.

9 changes: 9 additions & 0 deletions extensions/firestore-one-to-one.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
LOCATION=us-central1
COLLECTION_A_PATH=countries
COLLECTION_B_PATH=cities
COLLECTION_A_REF_FIELD=capitalId
COLLECTION_B_REF_FIELD=countryId
COLLECTION_A_DATA_FIELD=capital
COLLECTION_B_DATA_FIELD=country
COLLECTION_A_DELETION_BEHAVIOR=deleteDoc
COLLECTION_B_DELETION_BEHAVIOR=deleteDoc
9 changes: 0 additions & 9 deletions extensions/generate-og-image.env

This file was deleted.

3 changes: 1 addition & 2 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"singleProjectMode": true
},
"extensions": {
"firestore-connect-document": "./packages/firestore-connect-document",
"generate-og-image": "./packages/generate-og-image"
"firestore-one-to-one": "./packages/firestore-one-to-one"
}
}
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
preset: "ts-jest",
};
Loading

1 comment on commit 282518d

@vercel
Copy link

@vercel vercel bot commented on 282518d Dec 12, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.