mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 23:58:36 -05:00
Move app to apps/web-react in pnpm workspace layout
This commit is contained in:
1
apps/web-react/types/edmonds-blossom.d.ts
vendored
Normal file
1
apps/web-react/types/edmonds-blossom.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
declare module "edmonds-blossom-fixed";
|
||||
1
apps/web-react/types/env.d.ts
vendored
Normal file
1
apps/web-react/types/env.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/// <reference types="vite/client" />
|
||||
10
apps/web-react/types/react-i18next.d.ts
vendored
Normal file
10
apps/web-react/types/react-i18next.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import "i18next";
|
||||
|
||||
import type { resources } from "~/modules/i18n/resources.server";
|
||||
|
||||
declare module "i18next" {
|
||||
interface CustomTypeOptions {
|
||||
defaultNS: "common";
|
||||
resources: (typeof resources)["en"];
|
||||
}
|
||||
}
|
||||
8
apps/web-react/types/react.d.ts
vendored
Normal file
8
apps/web-react/types/react.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// biome-ignore lint/correctness/noUnusedImports: needed for type augmentation
|
||||
import type * as React from "react";
|
||||
|
||||
declare module "react" {
|
||||
interface CSSProperties {
|
||||
[key: `--${string}`]: string | number | undefined;
|
||||
}
|
||||
}
|
||||
7
apps/web-react/types/vite.d.ts
vendored
Normal file
7
apps/web-react/types/vite.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
interface ImportMetaEnv {
|
||||
VITE_SKALOP_WS_URL?: string;
|
||||
VITE_FUSE_ENABLED?: string;
|
||||
VITE_SHOW_LUTI_NAV_ITEM?: string;
|
||||
VITE_SITE_DOMAIN: string;
|
||||
VITE_TOURNAMENT_DEFAULT_LOGO: string;
|
||||
}
|
||||
31
apps/web-react/types/youtube.d.ts
vendored
Normal file
31
apps/web-react/types/youtube.d.ts
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
interface Window {
|
||||
YT: typeof YT;
|
||||
onYouTubeIframeAPIReady: () => void;
|
||||
}
|
||||
|
||||
declare namespace YT {
|
||||
class Player {
|
||||
constructor(
|
||||
elementId: HTMLElement,
|
||||
options: {
|
||||
height: string;
|
||||
width: string;
|
||||
videoId: string;
|
||||
playerVars?: {
|
||||
autoplay?: number;
|
||||
controls?: number;
|
||||
rel?: number;
|
||||
modestbranding?: number;
|
||||
start?: number;
|
||||
};
|
||||
events?: {
|
||||
onReady?: () => void;
|
||||
onError?: (event: { data: number }) => void;
|
||||
};
|
||||
},
|
||||
);
|
||||
loadVideoById(options: { videoId: string; startSeconds?: number }): void;
|
||||
getCurrentTime(): number;
|
||||
destroy(): void;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user