xBiggs / fightcade-api

An unofficial TypeScript wrapper for the Fightcade API.
MIT License
7 stars 2 forks source link

GetReplay() ranked field can be 'cancelled' #9

Closed xBiggs closed 3 months ago

xBiggs commented 3 months ago

GetReplay() with quarkid: 1600206936375-4102 returns

[
  {
    quarkid: '1600206936375-4102',
    channelname: 'Windjammers / Flying Power Disc',
    date: 1600206936375,
    duration: 282.089,
    emulator: 'fbneo',
    gameid: 'wjammers',
    num_matches: 0,
    players: [ [Object], [Object] ],
    ranked: 'cancelled',
    replay_file: '1600206936375-4102-replay.fs'
  }
]

Need to update zod validator to accept this value.