use RawValue for Flow value and hub script schema

This commit is contained in:
Ruben Fiszel
2024-05-20 10:45:47 +02:00
parent dbdba29b00
commit fcfbf9504d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ pub struct Flow {
pub path: String,
pub summary: String,
pub description: String,
pub value: serde_json::Value,
pub value: sqlx::types::Json<Box<serde_json::value::RawValue>>,
pub edited_by: String,
pub edited_at: chrono::DateTime<chrono::Utc>,
pub archived: bool,
+1 -1
View File
@@ -410,6 +410,6 @@ pub struct HubScript {
pub content: String,
pub lockfile: Option<String>,
pub language: ScriptLang,
pub schema: serde_json::Value,
pub schema: Box<serde_json::value::RawValue>,
pub summary: Option<String>,
}