Skip to content

Commit

Permalink
added updates for v0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale Nguyen committed Jul 2, 2020
1 parent 383a8f2 commit 2bb48c2
Show file tree
Hide file tree
Showing 15 changed files with 98 additions and 56 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
---

## ## [0.6.1] - 2020-07-02

#### - :bug: [Bug Fix]

- Allowed null dates (#56)
- Added export multiple sub collections (#57)

#### - :nail_care: [Polish]

- Added contributing file

## [0.6.0] - 2020-05-26

#### - :nail_care: [Polish]
Expand Down
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Contributing to Firestore Backup & Restore

I would love for you to contribute to this project and help make it better than it is today. I will update the the detail later. For now, just a simple pull request will works.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const options = {
dates: ['date1', 'date1.date2', 'date1.date2.date3'],
geos: ['location', 'locations'],
refs: ['refKey'],
nested: true // look up the data keys also in nested maps
nested: true, // look up the data keys also in nested maps
};
```
Expand Down Expand Up @@ -164,6 +164,12 @@ The JSON is formated as below. The collection name is **test**. **first-key** an
"_latitude": 49.290683,
"_longitude": -123.133956
},
"locationNested": {
"geopoint": {
"_latitude": 49.290683,
"_longitude": -123.133956
}
},
"locations": [
{
"_latitude": 50.290683,
Expand All @@ -177,6 +183,9 @@ The JSON is formated as below. The collection name is **test**. **first-key** an
"email": "dungnq@itbox4vn.com",
"secondRef": "test/second-key",
"arrayRef": ["test/second-key", "test/second-key"],
"nestedRef": {
"secondRef": "test/second-key"
},
"subCollection": {
"test/first-key/details": {
"33J2A10u5902CXagoBP6": {
Expand All @@ -187,6 +196,16 @@ The JSON is formated as below. The collection name is **test**. **first-key** an
"dogName": "lala",
"dogId": "2"
}
},
"test/first-key/contacts": {
"33J2A10u5902CXagoBP6": {
"contactId": "1",
"name": "Dale Nguyen"
},
"MSZTWEP7Lewx0Qr1Mu5s": {
"contactId": "2",
"name": "Yen Nguyen"
}
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions dist/export.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/export.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions dist/helper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/helper.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/import.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2bb48c2

Please sign in to comment.