strengthened schema ensuring for system entities

This commit is contained in:
dswbx
2025-01-18 12:39:34 +01:00
parent 145b47e942
commit db10188945
12 changed files with 118 additions and 36 deletions

View File

@@ -157,8 +157,7 @@ describe("Module", async () => {
entities: [
{
name: "u",
// ensured properties must come first
fields: ["id", "important", "name"],
fields: ["id", "name", "important"],
// ensured type must be present
type: "system"
},