Refactor CdnTable and related components for improved type safety and functionality; implement character creation and editing modals; enhance form handling with autosave; update Sentry configuration for production; clean up unused files and code.

This commit is contained in:
2026-01-22 16:10:30 +07:00 Unverified
parent 0168dc5f07
commit 0dbb9396a3
18 changed files with 963 additions and 34 deletions
+7 -1
View File
@@ -1,7 +1,13 @@
import { createContext } from "react";
export type CdnFile = {
id: string;
name: string | null;
size: string;
};
interface CdnChooserContextType {
call(options?: { type?: string }): Promise<string | null>;
call(options?: { type?: string }): Promise<CdnFile | null>;
}
export const CdnChooserContext = createContext<CdnChooserContextType | null>(