fitlien-services/firestore.indexes.json
aswincosq 6d1d175ca9 Squashed commit of the following:
commit 9f259de4f6
Merge: dc91c12 fcd5f5d
Author: Benoy Bose <benoybose@cosq.net>
Date:   Mon Apr 14 00:11:12 2025 +0530

    Merge branch 'dev' of cosqnet.com:cosqnet/fitlien-services into dev

commit dc91c123bb
Author: Benoy Bose <benoybose@cosq.net>
Date:   Mon Apr 14 00:11:09 2025 +0530

    Updated bucket permissions

commit fcd5f5db47
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Sun Apr 13 10:07:51 2025 +0000

    feature/fitlien-add-cors (#18)

    Reviewed-on: #18
    Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
    Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>

commit 01c87ffcfa
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Sun Apr 13 08:19:03 2025 +0000

    Changed collection names (#17)

    Reviewed-on: #17
    Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
    Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>

commit 0ecef0c051
Merge: 7a346f6 0944760
Author: Benoy Bose <benoybose@cosq.net>
Date:   Sun Apr 13 13:29:42 2025 +0530

    Merge branch 'dev' of cosqnet.com:cosqnet/fitlien-services into dev

commit 7a346f62a8
Author: Benoy Bose <benoybose@cosq.net>
Date:   Sun Apr 13 13:29:36 2025 +0530

    Updated firestore rules and index

commit 094476072e
Merge: 08f1243 a9e4b31
Author: Aswin B. S <aswinbs@cosq.net>
Date:   Sun Apr 13 06:19:20 2025 +0000

    Merge pull request 'Updated return url.' (#16) from feature/test-deploy into dev

    Reviewed-on: #16
2025-04-14 04:11:24 +05:30

185 lines
3.7 KiB
JSON

{
"indexes": [
{
"collectionGroup": "day_pass_bookings",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "userId",
"order": "ASCENDING"
},
{
"fieldPath": "createdAt",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "day_pass_entries",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "bookingId",
"order": "ASCENDING"
},
{
"fieldPath": "entryDate",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "gyms",
"queryScope": "COLLECTION_GROUP",
"fields": [
{
"fieldPath": "userId",
"order": "ASCENDING"
},
{
"fieldPath": "createdAt",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "gyms",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "userId",
"order": "ASCENDING"
},
{
"fieldPath": "name",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "memberships",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "gymId",
"order": "ASCENDING"
},
{
"fieldPath": "createdAt",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "notifications",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "clientId",
"order": "ASCENDING"
},
{
"fieldPath": "timestamp",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "notifications",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "clientId",
"order": "ASCENDING"
},
{
"fieldPath": "type",
"order": "ASCENDING"
},
{
"fieldPath": "timestamp",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "notifications",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "ownerId",
"order": "ASCENDING"
},
{
"fieldPath": "timestamp",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "notifications",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "ownerId",
"order": "ASCENDING"
},
{
"fieldPath": "type",
"order": "ASCENDING"
},
{
"fieldPath": "timestamp",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "notifications",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "trainerId",
"order": "ASCENDING"
},
{
"fieldPath": "timestamp",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "notifications",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "type",
"order": "ASCENDING"
},
{
"fieldPath": "userId",
"order": "ASCENDING"
},
{
"fieldPath": "timestamp",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "terms_and_conditions",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "normalizedName",
"order": "ASCENDING"
},
{
"fieldPath": "userUid",
"order": "ASCENDING"
}
]
}
],
"fieldOverrides": []
}