- add ui for editor for publishing dois

- composer updates
- unit test with test credentials
This commit is contained in:
Arno Kaimbacher 2021-05-18 13:17:29 +02:00
parent 367dd328ef
commit b5abcef327
14 changed files with 422 additions and 102 deletions

View file

@ -7,6 +7,7 @@ use App\Models\License;
use App\Models\Person;
use App\Models\File;
use App\Models\Coverage;
use App\Models\DatasetIdentifier;
use App\Models\Subject;
use App\Models\DatasetReference;
@ -70,6 +71,11 @@ trait DatasetExtension
'relation' => 'references',
'fetch' => 'eager'
),
'Identifier' => array(
'model' => DatasetIdentifier::class,
'relation' => 'identifier',
'fetch' => 'eager'
),
'Subject' => array(
'model' => Subject::class,
'relation' => 'subjects',