565 lines
12 KiB
JSON
565 lines
12 KiB
JSON
|
{
|
||
|
"indexes": [
|
||
|
{
|
||
|
"collectionGroup": "bets",
|
||
|
"queryScope": "COLLECTION_GROUP",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "isAnte",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "isRedemption",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "userId",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "createdTime",
|
||
|
"order": "ASCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "bets",
|
||
|
"queryScope": "COLLECTION_GROUP",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "userId",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "createdTime",
|
||
|
"order": "DESCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "comments",
|
||
|
"queryScope": "COLLECTION_GROUP",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "userId",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "createdTime",
|
||
|
"order": "DESCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "contracts",
|
||
|
"queryScope": "COLLECTION",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "creatorId",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "createdTime",
|
||
|
"order": "ASCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "contracts",
|
||
|
"queryScope": "COLLECTION",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "creatorId",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "createdTime",
|
||
|
"order": "DESCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "contracts",
|
||
|
"queryScope": "COLLECTION",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "isResolved",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "autoResolutionTime",
|
||
|
"order": "ASCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"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": "visibility",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "volume7Days",
|
||
|
"order": "ASCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "contracts",
|
||
|
"queryScope": "COLLECTION",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "isResolved",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "volume24Hours",
|
||
|
"order": "DESCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "contracts",
|
||
|
"queryScope": "COLLECTION",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "slug",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "createdTime",
|
||
|
"order": "DESCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "manalinks",
|
||
|
"queryScope": "COLLECTION",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "fromId",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "createdTime",
|
||
|
"order": "DESCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "portfolioHistory",
|
||
|
"queryScope": "COLLECTION_GROUP",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "userId",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "timestamp",
|
||
|
"order": "ASCENDING"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "txns",
|
||
|
"queryScope": "COLLECTION",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "toId",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "toType",
|
||
|
"order": "ASCENDING"
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "createdTime",
|
||
|
"order": "DESCENDING"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"fieldOverrides": [
|
||
|
{
|
||
|
"collectionGroup": "answers",
|
||
|
"fieldPath": "isAnte",
|
||
|
"indexes": [
|
||
|
{
|
||
|
"order": "ASCENDING",
|
||
|
"queryScope": "COLLECTION"
|
||
|
},
|
||
|
{
|
||
|
"order": "DESCENDING",
|
||
|
"queryScope": "COLLECTION"
|
||
|
},
|
||
|
{
|
||
|
"arrayConfig": "CONTAINS",
|
||
|
"queryScope": "COLLECTION"
|
||
|
},
|
||
|
{
|
||
|
"order": "ASCENDING",
|
||
|
"queryScope": "COLLECTION_GROUP"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"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"
|
||
|
},
|
||
|
{
|
||
|
"order": "ASCENDING",
|
||
|
"queryScope": "COLLECTION_GROUP"
|
||
|
},
|
||
|
{
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "follows",
|
||
|
"fieldPath": "userId",
|
||
|
"indexes": [
|
||
|
{
|
||
|
"order": "ASCENDING",
|
||
|
"queryScope": "COLLECTION"
|
||
|
},
|
||
|
{
|
||
|
"order": "DESCENDING",
|
||
|
"queryScope": "COLLECTION"
|
||
|
},
|
||
|
{
|
||
|
"arrayConfig": "CONTAINS",
|
||
|
"queryScope": "COLLECTION"
|
||
|
},
|
||
|
{
|
||
|
"order": "ASCENDING",
|
||
|
"queryScope": "COLLECTION_GROUP"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"collectionGroup": "portfolioHistory",
|
||
|
"fieldPath": "timestamp",
|
||
|
"indexes": [
|
||
|
{
|
||
|
"order": "ASCENDING",
|
||
|
"queryScope": "COLLECTION"
|
||
|
},
|
||
|
{
|
||
|
"order": "DESCENDING",
|
||
|
"queryScope": "COLLECTION"
|
||
|
},
|
||
|
{
|
||
|
"arrayConfig": "CONTAINS",
|
||
|
"queryScope": "COLLECTION"
|
||
|
},
|
||
|
{
|
||
|
"order": "ASCENDING",
|
||
|
"queryScope": "COLLECTION_GROUP"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|