Expand account object api

This commit is contained in:
James Cole
2024-07-28 07:47:54 +02:00
parent 1515dea9fa
commit ec367e94ce
5 changed files with 50 additions and 44 deletions

View File

@@ -35,6 +35,9 @@ class AccountSchema extends Schema
return [
ID::make(),
Attribute::make('name'),
Attribute::make('active'),
Attribute::make('order'),
Attribute::make('last_activity'),
HasOne::make('user')->readOnly(),
];
}