mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-17 19:08:11 -05:00
* YouTube lite embed + CSS bundled import * Migration initial * New VoD page initial functioning * Table changes + add TODOs * New structure for add vod page * WIP add new VoD backend * Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into vods * Fix when leaderboard appears * Function new vod form * Single vod page initial * Different YouTubeEmbed * Scroll to top when going to timestamp * Vod match weapon/mode icons * Vod page user * Add date to vod page * Adjust migration order * Vod page many weapons * Add title to vod page * New vods page cast many weapons * Add player index to order by * Vods new more validation * Vod listing page initial * Vods page with filters * Show message if no vods * Fix not being to unset filters * Fix seed sometimes throwing errors * User page VoDs * Vods nullable weapon combobox * Link directly to user custom url from vod page * Make video adder admin action * Can add video checks * i18n * New VoD form tests * VoD operates filters test * Vods behind flag * Remove from config
39 lines
1.4 KiB
TypeScript
39 lines
1.4 KiB
TypeScript
import "react-i18next";
|
|
|
|
import type common from "../public/locales/en/common.json";
|
|
import type faq from "../public/locales/en/faq.json";
|
|
import type contributions from "../public/locales/en/contributions.json";
|
|
import type user from "../public/locales/en/user.json";
|
|
import type badges from "../public/locales/en/badges.json";
|
|
import type calendar from "../public/locales/en/calendar.json";
|
|
import type weapons from "../public/locales/en/weapons.json";
|
|
import type gear from "../public/locales/en/gear.json";
|
|
import type builds from "../public/locales/en/builds.json";
|
|
import type analyzer from "../public/locales/en/analyzer.json";
|
|
import type gameMisc from "../public/locales/en/game-misc.json";
|
|
import type tournament from "../public/locales/en/tournament.json";
|
|
import type team from "../public/locales/en/team.json";
|
|
import type vods from "../public/locales/en/vods.json";
|
|
|
|
declare module "react-i18next" {
|
|
interface CustomTypeOptions {
|
|
defaultNS: "common";
|
|
resources: {
|
|
common: typeof common;
|
|
faq: typeof faq;
|
|
contributions: typeof contributions;
|
|
user: typeof user;
|
|
badges: typeof badges;
|
|
calendar: typeof calendar;
|
|
weapons: typeof weapons;
|
|
gear: typeof gear;
|
|
builds: typeof builds;
|
|
analyzer: typeof analyzer;
|
|
"game-misc": typeof gameMisc;
|
|
tournament: typeof tournament;
|
|
team: typeof team;
|
|
vods: typeof vods;
|
|
};
|
|
}
|
|
}
|