mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 16:02:19 +00:00
use RawValue for Flow value and hub script schema
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user