2022-02-27 07:29:33 +00:00
|
|
|
{
|
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "creatorId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "closeTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "visibility",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "closeTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-03-01 02:09:43 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "visibility",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "volume24Hours",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "visibility",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "volume24Hours",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "closeTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-02-27 07:29:33 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "visibility",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "volume24Hours",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "volume24Hours",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "slug",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"fieldOverrides": [
|
2022-03-01 02:09:43 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "answers",
|
|
|
|
"fieldPath": "isAnte",
|
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-02-27 07:29:33 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "answers",
|
|
|
|
"fieldPath": "username",
|
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "bets",
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "bets",
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "comments",
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
2022-03-09 02:43:30 +00:00
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
},
|
2022-02-27 07:29:33 +00:00
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "comments",
|
|
|
|
"fieldPath": "userUsername",
|
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "followers",
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|