mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-10 04:40:46 -05:00
20 lines
437 B
TypeScript
20 lines
437 B
TypeScript
import type { Video } from "~/db/types";
|
|
import { assertType } from "~/utils/types";
|
|
|
|
export const videoMatchTypes = [
|
|
"TOURNAMENT",
|
|
"CAST",
|
|
"SCRIM",
|
|
"MATCHMAKING",
|
|
] as const;
|
|
assertType<(typeof videoMatchTypes)[number], Array<Video["type"]>[number]>();
|
|
|
|
export const VOD = {
|
|
TITLE_MAX_LENGTH: 100,
|
|
TITLE_MIN_LENGTH: 1,
|
|
PLAYER_NAME_MIN_LENGTH: 1,
|
|
PLAYER_NAME_MAX_LENGTH: 100,
|
|
};
|
|
|
|
export const VODS_PAGE_BATCH_SIZE = 24;
|