aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/bindings
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2024-12-22 23:55:52 +0100
committerGeckoEidechse <gecko.eidechse+git@pm.me>2024-12-22 23:55:52 +0100
commitf1dee718da95836ffa5c0985c9e8f5643e0f3f6f (patch)
tree24967a28bcae1fc1e5b08da9f58bcc678ed52937 /src-tauri/bindings
parentcc5ae684221d3165479d7a68556a2bb6fa81cf3a (diff)
downloadFlightCore-f1dee718da95836ffa5c0985c9e8f5643e0f3f6f.tar.gz
FlightCore-f1dee718da95836ffa5c0985c9e8f5643e0f3f6f.zip
dev: Replace with sample Tauri 2.0 project
as a first step to convert FlightCore to Tauri 2.0
Diffstat (limited to 'src-tauri/bindings')
-rw-r--r--src-tauri/bindings/CommitHead.ts4
-rw-r--r--src-tauri/bindings/FlightCoreVersion.ts3
-rw-r--r--src-tauri/bindings/InstallProgress.ts4
-rw-r--r--src-tauri/bindings/InstallState.ts3
-rw-r--r--src-tauri/bindings/InstallType.ts6
-rw-r--r--src-tauri/bindings/NorthstarLaunchOptions.ts3
-rw-r--r--src-tauri/bindings/NorthstarMod.ts6
-rw-r--r--src-tauri/bindings/NorthstarThunderstoreRelease.ts3
-rw-r--r--src-tauri/bindings/NorthstarThunderstoreReleaseWrapper.ts4
-rw-r--r--src-tauri/bindings/Project.ts3
-rw-r--r--src-tauri/bindings/PullRequestType.ts3
-rw-r--r--src-tauri/bindings/PullsApiResponseElement.ts4
-rw-r--r--src-tauri/bindings/ReleaseInfo.ts3
-rw-r--r--src-tauri/bindings/Repo.ts3
-rw-r--r--src-tauri/bindings/Tag.ts3
-rw-r--r--src-tauri/bindings/TagWrapper.ts7
-rw-r--r--src-tauri/bindings/ThunderstoreMod.ts4
-rw-r--r--src-tauri/bindings/ThunderstoreModVersion.ts3
18 files changed, 0 insertions, 69 deletions
diff --git a/src-tauri/bindings/CommitHead.ts b/src-tauri/bindings/CommitHead.ts
deleted file mode 100644
index cdc00e39..00000000
--- a/src-tauri/bindings/CommitHead.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// 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 type CommitHead = { sha: string, ref: string, repo: Repo, };
diff --git a/src-tauri/bindings/FlightCoreVersion.ts b/src-tauri/bindings/FlightCoreVersion.ts
deleted file mode 100644
index b0b3d0cd..00000000
--- a/src-tauri/bindings/FlightCoreVersion.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-export type FlightCoreVersion = { tag_name: string, published_at: string, };
diff --git a/src-tauri/bindings/InstallProgress.ts b/src-tauri/bindings/InstallProgress.ts
deleted file mode 100644
index c7c92542..00000000
--- a/src-tauri/bindings/InstallProgress.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// 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 type InstallProgress = { current_downloaded: bigint, total_size: bigint, state: InstallState, };
diff --git a/src-tauri/bindings/InstallState.ts b/src-tauri/bindings/InstallState.ts
deleted file mode 100644
index d2a91860..00000000
--- a/src-tauri/bindings/InstallState.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-export type InstallState = "Downloading" | "Extracting" | "Done";
diff --git a/src-tauri/bindings/InstallType.ts b/src-tauri/bindings/InstallType.ts
deleted file mode 100644
index 6ad43cb7..00000000
--- a/src-tauri/bindings/InstallType.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-// 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";
diff --git a/src-tauri/bindings/NorthstarLaunchOptions.ts b/src-tauri/bindings/NorthstarLaunchOptions.ts
deleted file mode 100644
index 6133f6c0..00000000
--- a/src-tauri/bindings/NorthstarLaunchOptions.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-export type NorthstarLaunchOptions = { launch_via_steam: boolean, bypass_checks: boolean, };
diff --git a/src-tauri/bindings/NorthstarMod.ts b/src-tauri/bindings/NorthstarMod.ts
deleted file mode 100644
index cddd97d2..00000000
--- a/src-tauri/bindings/NorthstarMod.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-/**
- * 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, };
diff --git a/src-tauri/bindings/NorthstarThunderstoreRelease.ts b/src-tauri/bindings/NorthstarThunderstoreRelease.ts
deleted file mode 100644
index 10991793..00000000
--- a/src-tauri/bindings/NorthstarThunderstoreRelease.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-export type NorthstarThunderstoreRelease = { package: string, version: string, };
diff --git a/src-tauri/bindings/NorthstarThunderstoreReleaseWrapper.ts b/src-tauri/bindings/NorthstarThunderstoreReleaseWrapper.ts
deleted file mode 100644
index 1da6a7da..00000000
--- a/src-tauri/bindings/NorthstarThunderstoreReleaseWrapper.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// 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 type NorthstarThunderstoreReleaseWrapper = { label: string, value: NorthstarThunderstoreRelease, };
diff --git a/src-tauri/bindings/Project.ts b/src-tauri/bindings/Project.ts
deleted file mode 100644
index 5ab3c2b5..00000000
--- a/src-tauri/bindings/Project.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-export type Project = "FlightCore" | "Northstar";
diff --git a/src-tauri/bindings/PullRequestType.ts b/src-tauri/bindings/PullRequestType.ts
deleted file mode 100644
index fdadddb0..00000000
--- a/src-tauri/bindings/PullRequestType.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-export type PullRequestType = "Mods" | "Launcher";
diff --git a/src-tauri/bindings/PullsApiResponseElement.ts b/src-tauri/bindings/PullsApiResponseElement.ts
deleted file mode 100644
index c9a146d4..00000000
--- a/src-tauri/bindings/PullsApiResponseElement.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// 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 type PullsApiResponseElement = { number: bigint, title: string, url: string, head: CommitHead, html_url: string, labels: Array<string>, };
diff --git a/src-tauri/bindings/ReleaseInfo.ts b/src-tauri/bindings/ReleaseInfo.ts
deleted file mode 100644
index 09a39ba5..00000000
--- a/src-tauri/bindings/ReleaseInfo.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-export type ReleaseInfo = { name: string, published_at: string, body: string, };
diff --git a/src-tauri/bindings/Repo.ts b/src-tauri/bindings/Repo.ts
deleted file mode 100644
index 8430eb32..00000000
--- a/src-tauri/bindings/Repo.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-export type Repo = { full_name: string, };
diff --git a/src-tauri/bindings/Tag.ts b/src-tauri/bindings/Tag.ts
deleted file mode 100644
index f51b3f26..00000000
--- a/src-tauri/bindings/Tag.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-export type Tag = { name: string, };
diff --git a/src-tauri/bindings/TagWrapper.ts b/src-tauri/bindings/TagWrapper.ts
deleted file mode 100644
index d2f0009d..00000000
--- a/src-tauri/bindings/TagWrapper.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-// 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";
-
-/**
- * Wrapper type needed for frontend
- */
-export type TagWrapper = { label: string, value: Tag, };
diff --git a/src-tauri/bindings/ThunderstoreMod.ts b/src-tauri/bindings/ThunderstoreMod.ts
deleted file mode 100644
index 88eafa4c..00000000
--- a/src-tauri/bindings/ThunderstoreMod.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// 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 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>, };
diff --git a/src-tauri/bindings/ThunderstoreModVersion.ts b/src-tauri/bindings/ThunderstoreModVersion.ts
deleted file mode 100644
index b01af408..00000000
--- a/src-tauri/bindings/ThunderstoreModVersion.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
-
-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, };