mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-09 04:02:40 -05:00
17 lines
328 B
TypeScript
17 lines
328 B
TypeScript
import type { Tables } from "~/db/tables";
|
|
import { assertType } from "~/utils/types";
|
|
|
|
export const videoMatchTypes = [
|
|
"TOURNAMENT",
|
|
"CAST",
|
|
"SCRIM",
|
|
"MATCHMAKING",
|
|
"SENDOUQ",
|
|
] as const;
|
|
assertType<
|
|
(typeof videoMatchTypes)[number],
|
|
Array<Tables["Video"]["type"]>[number]
|
|
>();
|
|
|
|
export const VODS_PAGE_BATCH_SIZE = 24;
|