Implementert Firebase backend konfigurasjon og Cloud Functions

This commit is contained in:
steinhelge
2025-11-24 20:59:47 +01:00
parent 73f8775a46
commit f76b2e5c72
6 changed files with 535 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
{
"indexes": [
{
"collectionGroup": "time_registrations",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "userId",
"order": "ASCENDING"
},
{
"fieldPath": "startTime",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "deviations",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "userId",
"order": "ASCENDING"
},
{
"fieldPath": "detectedAt",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "deviations",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "organizationId",
"order": "ASCENDING"
},
{
"fieldPath": "detectedAt",
"order": "DESCENDING"
}
]
}
],
"fieldOverrides": []
}