[PR #61] [MERGED] Model and DB refactor #28

Closed
opened 2025-12-29 07:18:58 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/61
Author: @gschier
Created: 8/4/2024
Status: Merged
Merged: 8/5/2024
Merged by: @gschier

Base: masterHead: generated-types


📝 Commits (4)

  • 35e3197 New models Rust crate implemented (untested)
  • 2e714f2 Got rusqlite stuff working with app
  • 6d593bb Use @yaakapp/api imports everywhere
  • 3a14d34 Proper TS types from Rust

📊 Changes

193 files changed (+5732 additions, -6986 deletions)

View changed files

📝 package-lock.json (+77 -77)
📝 package.json (+8 -8)
📝 plugin-runtime-types/package-lock.json (+6 -6)
📝 plugin-runtime-types/package.json (+2 -2)
plugin-runtime-types/src/gen/Environment.ts (+4 -0)
plugin-runtime-types/src/gen/EnvironmentVariable.ts (+3 -0)
plugin-runtime-types/src/gen/Folder.ts (+3 -0)
plugin-runtime-types/src/gen/GrpcConnection.ts (+3 -0)
plugin-runtime-types/src/gen/GrpcEvent.ts (+4 -0)
plugin-runtime-types/src/gen/GrpcEventType.ts (+3 -0)
plugin-runtime-types/src/gen/GrpcMetadataEntry.ts (+3 -0)
plugin-runtime-types/src/gen/GrpcRequest.ts (+4 -0)
plugin-runtime-types/src/gen/HttpRequest.ts (+5 -0)
plugin-runtime-types/src/gen/HttpRequestHeader.ts (+3 -0)
plugin-runtime-types/src/gen/HttpResponse.ts (+4 -0)
plugin-runtime-types/src/gen/HttpResponseHeader.ts (+3 -0)
plugin-runtime-types/src/gen/HttpUrlParameter.ts (+3 -0)
plugin-runtime-types/src/gen/KeyValue.ts (+3 -0)
plugin-runtime-types/src/gen/Workspace.ts (+4 -0)
📝 plugin-runtime-types/src/index.ts (+16 -1)

...and 80 more files

📄 Description

  • Move from sqlx to rusqlite
  • Generate TS types from Rust models
  • Custom migration logic

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/61 **Author:** [@gschier](https://github.com/gschier) **Created:** 8/4/2024 **Status:** ✅ Merged **Merged:** 8/5/2024 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `master` ← **Head:** `generated-types` --- ### 📝 Commits (4) - [`35e3197`](https://github.com/mountain-loop/yaak/commit/35e319755ab6a02b489a2d6da23ce944fbf8510a) New models Rust crate implemented (untested) - [`2e714f2`](https://github.com/mountain-loop/yaak/commit/2e714f2bb6fdc52d1ab85f8970f08139a51c1ac2) Got rusqlite stuff working with app - [`6d593bb`](https://github.com/mountain-loop/yaak/commit/6d593bbcdae622dbe43b3c529a822d7b59bae0d1) Use @yaakapp/api imports everywhere - [`3a14d34`](https://github.com/mountain-loop/yaak/commit/3a14d34c0478bd9d3b2cf79da2d4d2dcfd0fbcdf) Proper TS types from Rust ### 📊 Changes **193 files changed** (+5732 additions, -6986 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+77 -77) 📝 `package.json` (+8 -8) 📝 `plugin-runtime-types/package-lock.json` (+6 -6) 📝 `plugin-runtime-types/package.json` (+2 -2) ➕ `plugin-runtime-types/src/gen/Environment.ts` (+4 -0) ➕ `plugin-runtime-types/src/gen/EnvironmentVariable.ts` (+3 -0) ➕ `plugin-runtime-types/src/gen/Folder.ts` (+3 -0) ➕ `plugin-runtime-types/src/gen/GrpcConnection.ts` (+3 -0) ➕ `plugin-runtime-types/src/gen/GrpcEvent.ts` (+4 -0) ➕ `plugin-runtime-types/src/gen/GrpcEventType.ts` (+3 -0) ➕ `plugin-runtime-types/src/gen/GrpcMetadataEntry.ts` (+3 -0) ➕ `plugin-runtime-types/src/gen/GrpcRequest.ts` (+4 -0) ➕ `plugin-runtime-types/src/gen/HttpRequest.ts` (+5 -0) ➕ `plugin-runtime-types/src/gen/HttpRequestHeader.ts` (+3 -0) ➕ `plugin-runtime-types/src/gen/HttpResponse.ts` (+4 -0) ➕ `plugin-runtime-types/src/gen/HttpResponseHeader.ts` (+3 -0) ➕ `plugin-runtime-types/src/gen/HttpUrlParameter.ts` (+3 -0) ➕ `plugin-runtime-types/src/gen/KeyValue.ts` (+3 -0) ➕ `plugin-runtime-types/src/gen/Workspace.ts` (+4 -0) 📝 `plugin-runtime-types/src/index.ts` (+16 -1) _...and 80 more files_ </details> ### 📄 Description - [x] Move from `sqlx` to `rusqlite` - [x] Generate TS types from Rust models - [x] ~~Custom migration logic~~ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 07:18:58 +01:00
adam closed this issue 2025-12-29 07:18:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#28