sendou.ink/app/features/vods/vods-constants.ts
Kalle c0ec15b7de
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
Unify db type files
2025-03-21 21:47:08 +02:00

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;