diff --git a/backend/windmill-common/src/flows.rs b/backend/windmill-common/src/flows.rs index e7986c4de4..cbc0d9bdf0 100644 --- a/backend/windmill-common/src/flows.rs +++ b/backend/windmill-common/src/flows.rs @@ -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>, pub edited_by: String, pub edited_at: chrono::DateTime, pub archived: bool, diff --git a/backend/windmill-common/src/scripts.rs b/backend/windmill-common/src/scripts.rs index 54b3a0d47f..9e8450d99f 100644 --- a/backend/windmill-common/src/scripts.rs +++ b/backend/windmill-common/src/scripts.rs @@ -410,6 +410,6 @@ pub struct HubScript { pub content: String, pub lockfile: Option, pub language: ScriptLang, - pub schema: serde_json::Value, + pub schema: Box, pub summary: Option, }