export interface Tournament {
id: string;
title: string;
description: string;
category: number;
sortOrder: number;
size: number;
maxSize: number;
maxNumScore: number;
duration: number;
startActive: number;
endActive: number;
canEnter: boolean;
nextReset: string;
metadata: {[key: string]: any};
createTime: number;
startTime: number;
endTime: number;
}
“prevReset”: 1719921600, missing in definition
“nextReset”: 1720008000, should be number
but this is the data we got when we tested tournamentGetIds API, seem like the definition is not matched with data we got, any idea?
btw, may i confirm whether the prevReset should same with startActive after 1 round?
{
"id": "TournamentMain_1",
"category": 1,
"sortOrder": 1,
"size": 0,
"endActive": 1719925200,
"prevReset": 1719921600,
"startActive": 1719921600,
"canEnter": false,
"createTime": 1719854290,
"endTime": null,
"title": "Daily Dash",
"description": "Dash past your opponents for high scores and big rewards!",
"duration": 3600,
"nextReset": 1720008000,
"metadata": {
"weatherConditions": "rain"
},
"startTime": 1719854290,
"maxSize": 10000,
"maxNumScore": 3,
"operator": "best"
}