aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/bindings')
-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
15 files changed, 23 insertions, 14 deletions
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