improve model rhai scripts legibility

This commit is contained in:
timurgordon
2025-05-22 17:55:08 +03:00
parent 99f5d16f31
commit 478f497316
6 changed files with 34 additions and 161 deletions

View File

@@ -4,7 +4,6 @@ print("--- Testing Project Rhai Integration ---");
// Create a new project
let p1 = new_project()
.set_base_id(1)
.name("Project Alpha")
.description("This is the first test project.")
.owner_id(101)
@@ -17,8 +16,6 @@ let p1 = new_project()
.status(Status::InProgress)
.priority(Priority::High)
.item_type(ItemType::Feature)
.set_base_created_at(1700000000)
.set_base_modified_at(1700000100)
.add_base_comment(1001);
print("Created project p1: " + p1);