diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-11-19 15:09:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-19 15:09:48 +0100 |
commit | 9570f66d59107c87eaa93611c7d4a26e0d4cca0e (patch) | |
tree | 34f0891f26c28e586d54ec841b99f4ddc556d15f /src-vue/src/utils/NorthstarMod.d.ts | |
parent | 38e12489a517662157d85ec6efec00f225cccc9c (diff) | |
download | FlightCore-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/src/utils/NorthstarMod.d.ts')
-rw-r--r-- | src-vue/src/utils/NorthstarMod.d.ts | 1 |
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, } |