Skip to content

Commit

Permalink
chore(ZMS-3235): fix some entities and schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabinatix97 committed Feb 25, 2025
1 parent 8217a4d commit 3614d2c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zmsentities/schema/useraccount.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"id",
"rights"
],
"additionalProperties": false,
"additionalProperties": true,
"properties": {
"lastLogin": {
"type": "number",
Expand Down
1 change: 1 addition & 0 deletions zmsentities/src/Zmsentities/Apiclient.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Apiclient extends Schema\Entity
public function getDefaults()
{
return [
'clientKey' => 'wMdVa5Nu1seuCRSJxhKl2M3yw8zqaAilPH2Xc2IZs',
'shortname' => 'default',
];
}
Expand Down
1 change: 1 addition & 0 deletions zmsentities/src/Zmsentities/Useraccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Useraccount extends Schema\Entity
public function getDefaults()
{
return [
'id' => 'johndoe',
'rights' => [
"availability" => false,
"basic" => true,
Expand Down
1 change: 1 addition & 0 deletions zmsentities/src/Zmsentities/Workstation.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Workstation extends Schema\Entity
public function getDefaults()
{
return [
'id' => 123,
'useraccount' => new Useraccount(),
'process' => new Process(),
'name' => '',
Expand Down

0 comments on commit 3614d2c

Please sign in to comment.