aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/utils
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-10-25 14:43:02 +0200
committerGitHub <noreply@github.com>2022-10-25 14:43:02 +0200
commit20c92238a8ffb2bfd2b2ae6a208844434fb7ebfb (patch)
treef87e86a2af0e682e40fea66149166cb8a71aa434 /src-vue/src/utils
parentd64c3b64c9623f341b761a692ac0012452c69d8f (diff)
downloadFlightCore-20c92238a8ffb2bfd2b2ae6a208844434fb7ebfb.tar.gz
FlightCore-20c92238a8ffb2bfd2b2ae6a208844434fb7ebfb.zip
feat: Show installed mods (#28)
Simply parses `enabledmods.json`. In the future we should also opt to check individual mods and compare with the JSON file.
Diffstat (limited to 'src-vue/src/utils')
-rw-r--r--src-vue/src/utils/NorthstarMod.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src-vue/src/utils/NorthstarMod.d.ts b/src-vue/src/utils/NorthstarMod.d.ts
new file mode 100644
index 00000000..b0ce0ed3
--- /dev/null
+++ b/src-vue/src/utils/NorthstarMod.d.ts
@@ -0,0 +1,5 @@
+// Matches Rust struct (in lib.rs).
+export interface NorthstarMod {
+ name: String,
+ enabled: bool,
+}