From 93105a3e89acf275e2e4905e9fbb973bc10b098a Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sat, 25 Feb 2023 16:39:18 -0800 Subject: [PATCH] Migrations and initial data stuff --- .run/Dev Desktop.run.xml | 4 +- package-lock.json | 183 ++++++++++++- package.json | 3 +- src-tauri/Cargo.lock | 177 ++++++++++++- src-tauri/Cargo.toml | 11 +- src-tauri/build.rs | 2 +- src-tauri/migrations/20230225181302_init.sql | 38 +++ src-tauri/plugins/plugin.ts | 2 +- src-tauri/sqlx-data.json | 263 +++++++++++++++++++ src-tauri/src/main.rs | 209 +++++++++------ src-tauri/src/models.rs | 169 ++++++++++++ src-tauri/src/runtime.js | 2 +- src-tauri/src/runtime.rs | 14 +- src-web/App.tsx | 28 +- src-web/components/Sidebar.tsx | 29 +- src-web/hooks/useWorkspaces.ts | 62 +++++ src-web/main.tsx | 15 +- 17 files changed, 1082 insertions(+), 129 deletions(-) create mode 100644 src-tauri/migrations/20230225181302_init.sql create mode 100644 src-tauri/sqlx-data.json create mode 100644 src-tauri/src/models.rs create mode 100644 src-web/hooks/useWorkspaces.ts diff --git a/.run/Dev Desktop.run.xml b/.run/Dev Desktop.run.xml index 2e54d7ee..4ebc595c 100644 --- a/.run/Dev Desktop.run.xml +++ b/.run/Dev Desktop.run.xml @@ -6,7 +6,9 @@