aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src-tauri/Cargo.lock8
-rw-r--r--src-tauri/Cargo.toml2
-rw-r--r--src-tauri/bindings/CommitHead.ts2
-rw-r--r--src-tauri/bindings/FlightCoreVersion.ts2
-rw-r--r--src-tauri/bindings/InstallProgress.ts2
-rw-r--r--src-tauri/bindings/InstallType.ts3
-rw-r--r--src-tauri/bindings/NorthstarLaunchOptions.ts2
-rw-r--r--src-tauri/bindings/NorthstarMod.ts5
-rw-r--r--src-tauri/bindings/NorthstarThunderstoreRelease.ts2
-rw-r--r--src-tauri/bindings/NorthstarThunderstoreReleaseWrapper.ts2
-rw-r--r--src-tauri/bindings/PullsApiResponseElement.ts2
-rw-r--r--src-tauri/bindings/ReleaseInfo.ts2
-rw-r--r--src-tauri/bindings/Repo.ts2
-rw-r--r--src-tauri/bindings/Tag.ts2
-rw-r--r--src-tauri/bindings/TagWrapper.ts5
-rw-r--r--src-tauri/bindings/ThunderstoreMod.ts2
-rw-r--r--src-tauri/bindings/ThunderstoreModVersion.ts2
17 files changed, 28 insertions, 19 deletions
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index ca934dc5..73b99a26 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -5197,9 +5197,9 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
[[package]]
name = "ts-rs"
-version = "7.1.1"
+version = "8.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc2cae1fc5d05d47aa24b64f9a4f7cba24cdc9187a2084dd97ac57bef5eccae6"
+checksum = "ceb8fe78a9de6544a6c5a027900e38e12d769e3cb6206543a0d6ee66685c9caa"
dependencies = [
"thiserror",
"ts-rs-macros",
@@ -5207,9 +5207,9 @@ dependencies = [
[[package]]
name = "ts-rs-macros"
-version = "7.1.1"
+version = "8.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73f7f9b821696963053a89a7bd8b292dc34420aea8294d7b225274d488f3ec92"
+checksum = "6c5f502d23d0afc51313c02c2d2ca75d90fb421478d27b8eaa37b518a67b8d77"
dependencies = [
"Inflector",
"proc-macro2",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 8d290564..925eda8b 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -51,7 +51,7 @@ async-recursion = "1.1.0"
# For parsing timestamps
chrono = "0.4.35"
# TypeScript bindings
-ts-rs = "7.1"
+ts-rs = "8.0"
# const formatting
const_format = "0.2.32"
# Logging libraries
diff --git a/src-tauri/bindings/CommitHead.ts b/src-tauri/bindings/CommitHead.ts
index 58f31657..7c4da020 100644
--- a/src-tauri/bindings/CommitHead.ts
+++ b/src-tauri/bindings/CommitHead.ts
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Repo } from "./Repo";
-export interface CommitHead { sha: string, ref: string, repo: Repo, } \ No newline at end of file
+export type CommitHead = { sha: string, ref: string, repo: Repo, }; \ No newline at end of file
diff --git a/src-tauri/bindings/FlightCoreVersion.ts b/src-tauri/bindings/FlightCoreVersion.ts
index 9017a840..6c0af915 100644
--- a/src-tauri/bindings/FlightCoreVersion.ts
+++ b/src-tauri/bindings/FlightCoreVersion.ts
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-export interface FlightCoreVersion { tag_name: string, published_at: string, } \ No newline at end of file
+export type FlightCoreVersion = { tag_name: string, published_at: string, }; \ No newline at end of file
diff --git a/src-tauri/bindings/InstallProgress.ts b/src-tauri/bindings/InstallProgress.ts
index 7bea9bb8..234f3c35 100644
--- a/src-tauri/bindings/InstallProgress.ts
+++ b/src-tauri/bindings/InstallProgress.ts
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { InstallState } from "./InstallState";
-export interface InstallProgress { current_downloaded: bigint, total_size: bigint, state: InstallState, } \ No newline at end of file
+export type InstallProgress = { current_downloaded: bigint, total_size: bigint, state: InstallState, }; \ No newline at end of file
diff --git a/src-tauri/bindings/InstallType.ts b/src-tauri/bindings/InstallType.ts
index 2a0f9a7f..094ccf8b 100644
--- a/src-tauri/bindings/InstallType.ts
+++ b/src-tauri/bindings/InstallType.ts
@@ -1,3 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
+/**
+ * Defines how Titanfall2 was installed (Steam, Origin, ...)
+ */
export type InstallType = "STEAM" | "ORIGIN" | "EAPLAY" | "UNKNOWN"; \ No newline at end of file
diff --git a/src-tauri/bindings/NorthstarLaunchOptions.ts b/src-tauri/bindings/NorthstarLaunchOptions.ts
index e3af2d19..fc977f68 100644
--- a/src-tauri/bindings/NorthstarLaunchOptions.ts
+++ b/src-tauri/bindings/NorthstarLaunchOptions.ts
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-export interface NorthstarLaunchOptions { launch_via_steam: boolean, bypass_checks: boolean, } \ No newline at end of file
+export type NorthstarLaunchOptions = { launch_via_steam: boolean, bypass_checks: boolean, }; \ No newline at end of file
diff --git a/src-tauri/bindings/NorthstarMod.ts b/src-tauri/bindings/NorthstarMod.ts
index 3686485b..1643778d 100644
--- a/src-tauri/bindings/NorthstarMod.ts
+++ b/src-tauri/bindings/NorthstarMod.ts
@@ -1,3 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-export interface NorthstarMod { name: string, version: string | null, thunderstore_mod_string: string | null, enabled: boolean, directory: string, } \ No newline at end of file
+/**
+ * Object holding various information about a Northstar mod
+ */
+export type NorthstarMod = { name: string, version: string | null, thunderstore_mod_string: string | null, enabled: boolean, directory: string, }; \ No newline at end of file
diff --git a/src-tauri/bindings/NorthstarThunderstoreRelease.ts b/src-tauri/bindings/NorthstarThunderstoreRelease.ts
index 4e9d5235..771ca732 100644
--- a/src-tauri/bindings/NorthstarThunderstoreRelease.ts
+++ b/src-tauri/bindings/NorthstarThunderstoreRelease.ts
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-export interface NorthstarThunderstoreRelease { package: string, version: string, } \ No newline at end of file
+export type NorthstarThunderstoreRelease = { package: string, version: string, }; \ No newline at end of file
diff --git a/src-tauri/bindings/NorthstarThunderstoreReleaseWrapper.ts b/src-tauri/bindings/NorthstarThunderstoreReleaseWrapper.ts
index 77593816..8551dde6 100644
--- a/src-tauri/bindings/NorthstarThunderstoreReleaseWrapper.ts
+++ b/src-tauri/bindings/NorthstarThunderstoreReleaseWrapper.ts
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { NorthstarThunderstoreRelease } from "./NorthstarThunderstoreRelease";
-export interface NorthstarThunderstoreReleaseWrapper { label: string, value: NorthstarThunderstoreRelease, } \ No newline at end of file
+export type NorthstarThunderstoreReleaseWrapper = { label: string, value: NorthstarThunderstoreRelease, }; \ No newline at end of file
diff --git a/src-tauri/bindings/PullsApiResponseElement.ts b/src-tauri/bindings/PullsApiResponseElement.ts
index b2b5c476..489039e3 100644
--- a/src-tauri/bindings/PullsApiResponseElement.ts
+++ b/src-tauri/bindings/PullsApiResponseElement.ts
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CommitHead } from "./CommitHead";
-export interface PullsApiResponseElement { number: bigint, title: string, url: string, head: CommitHead, html_url: string, } \ No newline at end of file
+export type PullsApiResponseElement = { number: bigint, title: string, url: string, head: CommitHead, html_url: string, }; \ No newline at end of file
diff --git a/src-tauri/bindings/ReleaseInfo.ts b/src-tauri/bindings/ReleaseInfo.ts
index 249f986e..78426273 100644
--- a/src-tauri/bindings/ReleaseInfo.ts
+++ b/src-tauri/bindings/ReleaseInfo.ts
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-export interface ReleaseInfo { name: string, published_at: string, body: string, } \ No newline at end of file
+export type ReleaseInfo = { name: string, published_at: string, body: string, }; \ No newline at end of file
diff --git a/src-tauri/bindings/Repo.ts b/src-tauri/bindings/Repo.ts
index 836f39d7..eade8cd4 100644
--- a/src-tauri/bindings/Repo.ts
+++ b/src-tauri/bindings/Repo.ts
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-export interface Repo { full_name: string, } \ No newline at end of file
+export type Repo = { full_name: string, }; \ No newline at end of file
diff --git a/src-tauri/bindings/Tag.ts b/src-tauri/bindings/Tag.ts
index adbbff33..00ff5225 100644
--- a/src-tauri/bindings/Tag.ts
+++ b/src-tauri/bindings/Tag.ts
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-export interface Tag { name: string, } \ No newline at end of file
+export type Tag = { name: string, }; \ No newline at end of file
diff --git a/src-tauri/bindings/TagWrapper.ts b/src-tauri/bindings/TagWrapper.ts
index f9f56a51..ea7f0bcd 100644
--- a/src-tauri/bindings/TagWrapper.ts
+++ b/src-tauri/bindings/TagWrapper.ts
@@ -1,4 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Tag } from "./Tag";
-export interface TagWrapper { label: string, value: Tag, } \ No newline at end of file
+/**
+ * Wrapper type needed for frontend
+ */
+export type TagWrapper = { label: string, value: Tag, }; \ No newline at end of file
diff --git a/src-tauri/bindings/ThunderstoreMod.ts b/src-tauri/bindings/ThunderstoreMod.ts
index 25d119cb..a421334b 100644
--- a/src-tauri/bindings/ThunderstoreMod.ts
+++ b/src-tauri/bindings/ThunderstoreMod.ts
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ThunderstoreModVersion } from "./ThunderstoreModVersion";
-export interface ThunderstoreMod { name: string, full_name: string, owner: string, package_url: string, date_created: string, date_updated: string, uuid4: string, rating_score: number, is_pinned: boolean, is_deprecated: boolean, has_nsfw_content: boolean, categories: Array<string>, versions: Array<ThunderstoreModVersion>, } \ No newline at end of file
+export type ThunderstoreMod = { name: string, full_name: string, owner: string, package_url: string, date_created: string, date_updated: string, uuid4: string, rating_score: number, is_pinned: boolean, is_deprecated: boolean, has_nsfw_content: boolean, categories: Array<string>, versions: Array<ThunderstoreModVersion>, }; \ No newline at end of file
diff --git a/src-tauri/bindings/ThunderstoreModVersion.ts b/src-tauri/bindings/ThunderstoreModVersion.ts
index 7e76308e..a20f776f 100644
--- a/src-tauri/bindings/ThunderstoreModVersion.ts
+++ b/src-tauri/bindings/ThunderstoreModVersion.ts
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-export interface ThunderstoreModVersion { name: string, full_name: string, description: string, icon: string, version_number: string, dependencies: Array<string>, download_url: string, downloads: number, date_created: string, website_url: string, is_active: boolean, uuid4: string, file_size: bigint, } \ No newline at end of file
+export type ThunderstoreModVersion = { name: string, full_name: string, description: string, icon: string, version_number: string, dependencies: Array<string>, download_url: string, downloads: number, date_created: string, website_url: string, is_active: boolean, uuid4: string, file_size: bigint, }; \ No newline at end of file