aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/core/manifest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src/core/manifest.rs')
-rw-r--r--src-tauri/src/core/manifest.rs15
1 files changed, 3 insertions, 12 deletions
diff --git a/src-tauri/src/core/manifest.rs b/src-tauri/src/core/manifest.rs
index 9e4cb4e..d40d958 100644
--- a/src-tauri/src/core/manifest.rs
+++ b/src-tauri/src/core/manifest.rs
@@ -7,10 +7,7 @@ use ts_rs::TS;
#[derive(Debug, Deserialize, Serialize, TS)]
#[serde(rename_all = "camelCase")]
-#[ts(
- export,
- export_to = "../../packages/ui-new/src/types/bindings/manifest.ts"
-)]
+#[ts(export, export_to = "manifest.ts")]
pub struct VersionManifest {
pub latest: Latest,
pub versions: Vec<Version>,
@@ -18,10 +15,7 @@ pub struct VersionManifest {
#[derive(Debug, Deserialize, Serialize, TS)]
#[serde(rename_all = "camelCase")]
-#[ts(
- export,
- export_to = "../../packages/ui-new/src/types/bindings/manifest.ts"
-)]
+#[ts(export, export_to = "manifest.ts")]
pub struct Latest {
pub release: String,
pub snapshot: String,
@@ -29,10 +23,7 @@ pub struct Latest {
#[derive(Debug, Deserialize, Serialize, TS)]
#[serde(rename_all = "camelCase")]
-#[ts(
- export,
- export_to = "../../packages/ui-new/src/types/bindings/manifest.ts"
-)]
+#[ts(export, export_to = "manifest.ts")]
pub struct Version {
pub id: String,
#[serde(rename = "type")]