aboutsummaryrefslogtreecommitdiff
path: root/src-vue
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-11-19 15:09:48 +0100
committerGitHub <noreply@github.com>2022-11-19 15:09:48 +0100
commit9570f66d59107c87eaa93611c7d4a26e0d4cca0e (patch)
tree34f0891f26c28e586d54ec841b99f4ddc556d15f /src-vue
parent38e12489a517662157d85ec6efec00f225cccc9c (diff)
downloadFlightCore-9570f66d59107c87eaa93611c7d4a26e0d4cca0e.tar.gz
FlightCore-9570f66d59107c87eaa93611c7d4a26e0d4cca0e.zip
feat: Return Thunderstore mod string of installed mods. (#56)
* refactor: Rename function to better differentiate what it does * refactor: Add TS mod string field to NS mod struct This allows us to expose to frontend which Thunderstore mod a Northstar mod may belong to. Field is optional as not all mods may contain a Thunderstore mod string for example when they were installed manually. * feat: Add TS mod string field to NS mod interace * feat: Parse TS mod string and expose to frontend * fix: Mark unused variable as such
Diffstat (limited to 'src-vue')
-rw-r--r--src-vue/src/utils/NorthstarMod.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-vue/src/utils/NorthstarMod.d.ts b/src-vue/src/utils/NorthstarMod.d.ts
index b0ce0ed3..890414d0 100644
--- a/src-vue/src/utils/NorthstarMod.d.ts
+++ b/src-vue/src/utils/NorthstarMod.d.ts
@@ -1,5 +1,6 @@
// Matches Rust struct (in lib.rs).
export interface NorthstarMod {
name: String,
+ thunderstore_mod_string?: String,
enabled: bool,
}