From 3459158d3fb42907eae325514f23c0866cf2d1af Mon Sep 17 00:00:00 2001 From: Novattz Date: Sat, 3 Jan 2026 00:24:56 +0100 Subject: [PATCH] config types #88 --- src/types/Config.ts | 8 ++++++++ src/types/index.ts | 1 + 2 files changed, 9 insertions(+) create mode 100644 src/types/Config.ts 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