From 9093d938a8eb905d524f0b4308e4cb15a64d0c2a Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Mon, 6 Feb 2023 00:46:15 +0100 Subject: feat: Parse whether mod is enabled/disabled --- src-tauri/bindings/ParsedLogResults.ts | 3 ++- src-tauri/bindings/ParsedModFromLog.ts | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 src-tauri/bindings/ParsedModFromLog.ts (limited to 'src-tauri/bindings') diff --git a/src-tauri/bindings/ParsedLogResults.ts b/src-tauri/bindings/ParsedLogResults.ts index 5352fc7e..7bc3239e 100644 --- a/src-tauri/bindings/ParsedLogResults.ts +++ b/src-tauri/bindings/ParsedLogResults.ts @@ -1,3 +1,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ParsedModFromLog } from "./ParsedModFromLog"; -export interface ParsedLogResults { northstar_launcher_version: string, installed_mods: Array, } \ No newline at end of file +export interface ParsedLogResults { northstar_launcher_version: string, installed_mods: Array, } \ No newline at end of file diff --git a/src-tauri/bindings/ParsedModFromLog.ts b/src-tauri/bindings/ParsedModFromLog.ts new file mode 100644 index 00000000..f71ed83d --- /dev/null +++ b/src-tauri/bindings/ParsedModFromLog.ts @@ -0,0 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export interface ParsedModFromLog { mod_name: string, enabled: boolean, } \ No newline at end of file -- cgit v1.2.3