1use serde::Serialize;
2use ts_rs::TS;
3
4#[derive(Debug, Clone, Serialize, PartialEq, Eq, TS)]
5#[ts(export, export_to = "../frontend/src/lib/types/generated/")]
6pub struct MatchedProject {
7 pub id: String,
8 pub name: String,
9 pub reason: String,
10}
11
12#[derive(Debug, Clone, Serialize, PartialEq, Eq, TS)]
13#[ts(export, export_to = "../frontend/src/lib/types/generated/")]
14pub struct MatchedModule {
15 pub id: String,
16 pub reasons: Vec<String>,
17}
18
19#[derive(Debug, Clone, Serialize, PartialEq, Eq, TS)]
20#[ts(export, export_to = "../frontend/src/lib/types/generated/")]
21pub struct MatchedScene {
22 pub id: String,
23 pub reasons: Vec<String>,
24 pub preferred_notes: Vec<String>,
25}