diff --git a/.gitignore b/.gitignore index fd4d212..f73c45d 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ yarn-error.log* .env .firebase -firebase*json +firebase.json +firestore.indexes.json *rules .firebaserc \ No newline at end of file diff --git a/firestore.indexes.json b/firestore.indexes.json deleted file mode 100644 index 0b113bd..0000000 --- a/firestore.indexes.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "indexes": [ - { - "collectionGroup": "restaurants", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "category", - "order": "ASCENDING" - }, - { - "fieldPath": "avgRating", - "order": "DESCENDING" - } - ] - }, - { - "collectionGroup": "restaurants", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "category", - "order": "ASCENDING" - }, - { - "fieldPath": "numRatings", - "order": "DESCENDING" - } - ] - }, - { - "collectionGroup": "restaurants", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "category", - "order": "ASCENDING" - }, - { - "fieldPath": "price", - "order": "ASCENDING" - } - ] - }, - { - "collectionGroup": "restaurants", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "city", - "order": "ASCENDING" - }, - { - "fieldPath": "avgRating", - "order": "DESCENDING" - } - ] - }, - { - "collectionGroup": "restaurants", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "city", - "order": "ASCENDING" - }, - { - "fieldPath": "numRatings", - "order": "DESCENDING" - } - ] - }, - { - "collectionGroup": "restaurants", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "city", - "order": "ASCENDING" - }, - { - "fieldPath": "price", - "order": "ASCENDING" - } - ] - }, - { - "collectionGroup": "restaurants", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "price", - "order": "ASCENDING" - }, - { - "fieldPath": "avgRating", - "order": "DESCENDING" - } - ] - }, - { - "collectionGroup": "restaurants", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "price", - "order": "ASCENDING" - }, - { - "fieldPath": "numRatings", - "order": "DESCENDING" - } - ] - } - ], - "fieldOverrides": [] -}