this fix ensures that scores are only fetched *from* jubeat, because why
would they ever need to be fetched from anywhere else (lol)
well, we were potentially fetching scores from other games by fetching
songIDs without discriminating on game first. This manifested in
accidentally letting `undefined` seep into our reducers, resulting in
NaN - which of course, in JSON, is `null`.
i have no idea why this doesn't work but I don't have the time
to investigate properly at the moment.
How bizarre. We definitely have ts-node installed,
and pnpm ts-node should work reliably.
If anything, what we're doing right now *shouldn't* work!
this allows ANY_INF to be passed as a difficulty, which is convenient
for scripts that import from services that consider all of INF/GRV/HVN...
to be equivalent
I'm sorry for how disgustingly large all of these commits are. I promise
that this is the last time something this disgusting will happen.
This is a mono-patch for various things that were broken by the major
refactor. It's mostly things like error messages now being different
(and tests failing as a result).
Some notable fixes include me accidentally deleting the entire DELETE
api-tokens endpoint (lol), and timeAchieved: 0 in batch-manual not
coercing to null anymore. It appears the behaviour was intentional for
some reason. I'm not sure why though.
Attempting to depend on anything inside test-utils at runtime is a
footgun, and may result in the server not booting.
This patch stops the server from depending on something that might not
exist at runtime, such as test-utils/test-data trying to get the buffer
of the eamusement csv and failing catastrophically.