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:
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user