Reviewed-on: #17 Co-authored-by: DhanshCOSQ <dhanshas@cosq.net> Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>
		
			
				
	
	
		
			185 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			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": []
 | |
| } |