file uploads

This commit is contained in:
2026-05-06 18:11:42 +03:00
parent 16e50e2d49
commit 5587e8b4b6
41 changed files with 685 additions and 1067 deletions
+10
View File
@@ -12,6 +12,16 @@ class SchemaService
public function fromArray(array $schemaArr): Schema
{
$schemaArr["fields"] = [
[
"ui" => "text",
"name" => "name",
"label" => "Name",
"required" => true,
],
...$schemaArr["fields"],
];
return new Schema(
name: $schemaArr["name"],
label: $schemaArr["label"],