diff --git a/src/types/Config.ts b/src/types/Config.ts new file mode 100644 index 0000000..4654143 --- /dev/null +++ b/src/types/Config.ts @@ -0,0 +1,8 @@ +/** + * User configuration structure + * Matches the Rust Config struct + */ +export interface Config { + /** Whether to show the disclaimer on startup */ + show_disclaimer: boolean +} \ No newline at end of file diff --git a/src/types/index.ts b/src/types/index.ts index 7a4dd5b..c549320 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,2 +1,3 @@ export * from './Game' export * from './DlcInfo' +export * from './Config' \ No newline at end of file