edit schema wip

This commit is contained in:
2026-01-08 15:19:08 +02:00
parent ebccac210a
commit 25ad3fefab
18 changed files with 714 additions and 45 deletions
+6 -1
View File
@@ -23,6 +23,7 @@ class FieldModule
"alias" => $field->alias,
"name" => $field->name,
"type" => $field->type,
"rank" => $field->rank,
"props" => json_encode($field->props),
"schema_id" => $field->schemaId,
];
@@ -36,7 +37,11 @@ class FieldModule
name: data_get($data, "name"),
type: data_get($data, "type"),
schemaId: data_get($data, "schema_id"),
props: FieldProp::fromDb(data_get($data, "props")),
rank: data_get($data, "rank"),
props: FieldProp::fromDb(
data_get($data, "type"),
data_get($data, "props"),
),
);
}
}