From 802d7dfee77a3f58ee14a7ef6e2454e5aae62cbb Mon Sep 17 00:00:00 2001
From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
Date: Sun, 5 Feb 2023 15:53:34 +0100
Subject: feat: Auto-generate TS bindings (#140)

* feat: Initial trial to auto-generate TS bindings

That way instead of manually duplicating code, we can just run
`cargo test` to generate them.

* fix: Update forgotten imports

* refactor: Move FlightCoreVersion to autogen bind

TypeScript binding autogenerated from Rust code

* refactor: Move ReleaseInfo to autogen binding

TypeScript binding autogenerated from Rust code

* docs: Explain how to generate TS binds from Rust

* feat: Check for binding changes in CI

Checks for uncommitted binding changes in CI and fails if they differ

* style: Formatting fixes
---
 src-vue/src/views/ChangelogView.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src-vue/src/views/ChangelogView.vue')

diff --git a/src-vue/src/views/ChangelogView.vue b/src-vue/src/views/ChangelogView.vue
index b9b91568..9335220e 100644
--- a/src-vue/src/views/ChangelogView.vue
+++ b/src-vue/src/views/ChangelogView.vue
@@ -23,7 +23,7 @@
 
 <script lang="ts">
 import { defineComponent } from 'vue';
-import ReleaseInfo from '../utils/ReleaseInfo';
+import { ReleaseInfo } from "../../../src-tauri/bindings/ReleaseInfo";
 import { marked } from "marked";
 
 
-- 
cgit v1.2.3

