- 사용자의 마지막 참여일 이후 실제 경기가 있었음에도 참여하지 않은 경우를 감지하여 스트릭을 0으로 초기화하는 지연 보정(lazy correction) 로직을 도입했습니다. - KBO 휴장일(월요일, 전체 우천 취소 등)을 자동으로 식별하여 실제 경기가 열린 날에만 결석 판정이 내려지도록 `hasMissedGameDayBetween` 검증 기능을 구현했습니다. - 실시간 라이브 데이터를 기반으로 전일 경기 결과를 확정하는 기능을 추가하여 월간 일정 갱신 과정에서 발생할 수 있는 데이터 누락을 보완했습니다. - 일일 아카이브 및 경기 동기화 로직을 수동으로 트리거할 수 있는 디버그 엔드포인트를 추가하고, 통계 데이터에 산출 기준일(forDate)을 포함하여 캐시 무효화 정밀도를 개선했습니다.
69 lines
1.7 KiB
JSON
69 lines
1.7 KiB
JSON
{
|
|
// Example (Standard Edition):
|
|
//
|
|
// "indexes": [
|
|
// {
|
|
// "collectionGroup": "widgets",
|
|
// "queryScope": "COLLECTION",
|
|
// "fields": [
|
|
// { "fieldPath": "foo", "arrayConfig": "CONTAINS" },
|
|
// { "fieldPath": "bar", "mode": "DESCENDING" }
|
|
// ]
|
|
// },
|
|
//
|
|
// "fieldOverrides": [
|
|
// {
|
|
// "collectionGroup": "widgets",
|
|
// "fieldPath": "baz",
|
|
// "indexes": [
|
|
// { "order": "ASCENDING", "queryScope": "COLLECTION" }
|
|
// ]
|
|
// },
|
|
// ]
|
|
// ]
|
|
//
|
|
// Example (Enterprise Edition):
|
|
//
|
|
// "indexes": [
|
|
// {
|
|
// "collectionGroup": "reviews",
|
|
// "queryScope": "COLLECTION_GROUP",
|
|
// "apiScope": "MONGODB_COMPATIBLE_API",
|
|
// "density": "DENSE",
|
|
// "multikey": false,
|
|
// "fields": [
|
|
// { "fieldPath": "baz", "mode": "ASCENDING" }
|
|
// ]
|
|
// },
|
|
// {
|
|
// "collectionGroup": "items",
|
|
// "queryScope": "COLLECTION_GROUP",
|
|
// "apiScope": "MONGODB_COMPATIBLE_API",
|
|
// "density": "SPARSE_ANY",
|
|
// "multikey": true,
|
|
// "fields": [
|
|
// { "fieldPath": "baz", "mode": "ASCENDING" }
|
|
// ]
|
|
// },
|
|
// ]
|
|
"indexes": [
|
|
{
|
|
"collectionGroup": "users",
|
|
"queryScope": "COLLECTION",
|
|
"fields": [
|
|
{ "fieldPath": "favoriteTeamCode", "order": "ASCENDING" },
|
|
{ "fieldPath": "tierPoints", "order": "DESCENDING" }
|
|
]
|
|
},
|
|
{
|
|
"collectionGroup": "users",
|
|
"queryScope": "COLLECTION",
|
|
"fields": [
|
|
{ "fieldPath": "favoriteTeamCode", "order": "ASCENDING" },
|
|
{ "fieldPath": "tierPoints", "order": "ASCENDING" },
|
|
{ "fieldPath": "__name__", "order": "ASCENDING" }
|
|
]
|
|
}
|
|
],
|
|
"fieldOverrides": []
|
|
} |