Move app to apps/web-react in pnpm workspace layout

This commit is contained in:
Kalle
2026-08-16 09:20:33 +03:00
parent 7e365ccfcf
commit bbc8ea57af
2913 changed files with 227 additions and 250 deletions

View File

@@ -0,0 +1 @@
declare module "edmonds-blossom-fixed";

1
apps/web-react/types/env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="vite/client" />

10
apps/web-react/types/react-i18next.d.ts vendored Normal file
View 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
View 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
View 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
View 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;
}
}