2022-02-27 07:29:33 +00:00
|
|
|
{
|
|
|
|
"indexes": [
|
2022-06-23 00:04:25 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "bets",
|
|
|
|
"queryScope": "COLLECTION_GROUP",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isAnte",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "isRedemption",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-08-31 03:28:30 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "bets",
|
|
|
|
"queryScope": "COLLECTION_GROUP",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isFilled",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-06-23 00:04:25 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "bets",
|
|
|
|
"queryScope": "COLLECTION_GROUP",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-08-31 03:28:30 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "bets",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isCancelled",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "isFilled",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "challenges",
|
|
|
|
"queryScope": "COLLECTION_GROUP",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "creatorId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-06-23 00:04:25 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "comments",
|
|
|
|
"queryScope": "COLLECTION_GROUP",
|
|
|
|
"fields": [
|
2022-08-27 03:18:08 +00:00
|
|
|
{
|
|
|
|
"fieldPath": "commentType",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
2022-06-23 00:04:25 +00:00
|
|
|
{
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-09-20 22:25:58 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "comments",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-08-31 03:28:30 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "comments",
|
|
|
|
"queryScope": "COLLECTION_GROUP",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "comments",
|
|
|
|
"queryScope": "COLLECTION_GROUP",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-06-23 00:04:25 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "creatorId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-02-27 07:29:33 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "creatorId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-08-31 03:28:30 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "creatorId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "popularityScore",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "groupSlugs",
|
|
|
|
"arrayConfig": "CONTAINS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "popularityScore",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-06-23 00:04:25 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "autoResolutionTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-02-27 07:29:33 +00:00
|
|
|
{
|
|
|
|
"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-08-31 03:28:30 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "visibility",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "closeTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "popularityScore",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "visibility",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "popularityScore",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-06-23 00:04:25 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "visibility",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "volume7Days",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-02-27 07:29:33 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "volume24Hours",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-06-23 00:04:25 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "volume7Days",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "volume7Days",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "closeTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "volume7Days",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "isResolved",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "volume7Days",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "lowercaseTags",
|
|
|
|
"arrayConfig": "CONTAINS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-02-27 07:29:33 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "contracts",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "slug",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
2022-06-23 00:04:25 +00:00
|
|
|
},
|
|
|
|
{
|
2022-07-07 22:41:44 +00:00
|
|
|
"collectionGroup": "manalinks",
|
2022-06-23 00:04:25 +00:00
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
2022-07-07 22:41:44 +00:00
|
|
|
"fieldPath": "fromId",
|
2022-06-23 00:04:25 +00:00
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
2022-06-23 08:07:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-07-07 22:41:44 +00:00
|
|
|
"collectionGroup": "notifications",
|
2022-06-23 08:07:52 +00:00
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
2022-07-07 22:41:44 +00:00
|
|
|
"fieldPath": "isSeen",
|
2022-06-23 08:07:52 +00:00
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
2022-07-05 19:26:13 +00:00
|
|
|
},
|
2022-07-07 22:41:44 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "portfolioHistory",
|
|
|
|
"queryScope": "COLLECTION_GROUP",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "timestamp",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-07-05 19:26:13 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "portfolioHistory",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "userId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "timestamp",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
}
|
|
|
|
]
|
2022-07-07 22:41:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"collectionGroup": "txns",
|
|
|
|
"queryScope": "COLLECTION",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "toId",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "toType",
|
|
|
|
"order": "ASCENDING"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "createdTime",
|
|
|
|
"order": "DESCENDING"
|
|
|
|
}
|
|
|
|
]
|
2022-02-27 07:29:33 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"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",
|
2022-07-07 22:41:44 +00:00
|
|
|
"fieldPath": "id",
|
2022-02-27 07:29:33 +00:00
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2022-07-07 22:41:44 +00:00
|
|
|
"collectionGroup": "bets",
|
|
|
|
"fieldPath": "userId",
|
2022-02-27 07:29:33 +00:00
|
|
|
"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
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-08-16 05:43:46 +00:00
|
|
|
{
|
|
|
|
"collectionGroup": "comments",
|
|
|
|
"fieldPath": "contractId",
|
|
|
|
"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": "comments",
|
2022-07-07 22:41:44 +00:00
|
|
|
"fieldPath": "createdTime",
|
2022-02-27 07:29:33 +00:00
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
2022-07-07 22:41:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
2022-02-27 07:29:33 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2022-07-07 22:41:44 +00:00
|
|
|
"collectionGroup": "comments",
|
|
|
|
"fieldPath": "userUsername",
|
2022-02-27 07:29:33 +00:00
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
2022-06-23 00:04:25 +00:00
|
|
|
},
|
|
|
|
{
|
2022-07-07 22:41:44 +00:00
|
|
|
"collectionGroup": "followers",
|
2022-06-23 00:04:25 +00:00
|
|
|
"fieldPath": "userId",
|
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2022-07-07 22:41:44 +00:00
|
|
|
"collectionGroup": "follows",
|
|
|
|
"fieldPath": "userId",
|
2022-06-23 00:04:25 +00:00
|
|
|
"indexes": [
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "DESCENDING",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arrayConfig": "CONTAINS",
|
|
|
|
"queryScope": "COLLECTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"order": "ASCENDING",
|
|
|
|
"queryScope": "COLLECTION_GROUP"
|
|
|
|
}
|
|
|
|
]
|
2022-07-07 22:36:02 +00:00
|
|
|
},
|
|
|
|
{
|
2022-07-07 22:41:44 +00:00
|
|
|
"collectionGroup": "portfolioHistory",
|
|
|
|
"fieldPath": "timestamp",
|
2022-07-07 22:36:02 +00:00
|
|
|
"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
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|