expiry-notification #78

Merged
dhanshas merged 14 commits from expiry-notification into dev 2025-08-04 07:30:27 +00:00
Showing only changes of commit e13fdf2a0d - Show all commits

View File

@ -75,7 +75,21 @@
"queryScope": "COLLECTION", "queryScope": "COLLECTION",
"fields": [ "fields": [
{ {
"fieldPath": "data.clientId", "fieldPath": "clientId",
"order": "ASCENDING"
},
{
"fieldPath": "timestamp",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "notifications",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "clientId",
"order": "ASCENDING" "order": "ASCENDING"
}, },
{ {
@ -88,6 +102,70 @@
} }
] ]
}, },
{
"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": "notifications", "collectionGroup": "notifications",
"queryScope": "COLLECTION", "queryScope": "COLLECTION",
@ -96,10 +174,6 @@
"fieldPath": "data.ownerId", "fieldPath": "data.ownerId",
"order": "ASCENDING" "order": "ASCENDING"
}, },
{
"fieldPath": "type",
"order": "ASCENDING"
},
{ {
"fieldPath": "timestamp", "fieldPath": "timestamp",
"order": "DESCENDING" "order": "DESCENDING"
@ -114,35 +188,12 @@
"fieldPath": "data.trainerId", "fieldPath": "data.trainerId",
"order": "ASCENDING" "order": "ASCENDING"
}, },
{
"fieldPath": "type",
"order": "ASCENDING"
},
{ {
"fieldPath": "timestamp", "fieldPath": "timestamp",
"order": "DESCENDING" "order": "DESCENDING"
} }
] ]
}, },
{
"collectionGroup": "notifications",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "type",
"order": "ASCENDING"
},
{
"fieldPath": "recipientId",
"order": "ASCENDING"
},
{
"fieldPath": "timestamp",
"order": "DESCENDING"
}
]
},
{ {
"collectionGroup": "workout_logs", "collectionGroup": "workout_logs",
"queryScope": "COLLECTION", "queryScope": "COLLECTION",