DiSSCo / disscover

Search, discover and act upon data within the DiSSCo digital infrastructure.
https://dev.dissco.tech
Apache License 2.0
1 stars 0 forks source link

Implement new Data Model Types #63

Closed TomDijkema closed 11 months ago

TomDijkema commented 11 months ago

PR implements the new Data Model Types. These types are now generated via a new package, basing the data structure upon JSON Schema Files. The function generates the type files, which are then used within the application, or combined with custom types to broaden them. For example. the DigitalSpecimen and DigitalMedia types are enhanced custom types based upon the base DigitalMedia and DigitalEntity types from the data model.

After the type and structure change of all the source data. A lot of files had to be reviewed to resolve errors within property calls or assignments. Handle links for Specimen and Digital Media have been set to DOI, so the https prefix of DOI is now removed. Basically, a lot of lines had to be slightly changed to adapt to the new data model in a way DiSSCover (kinda) works and displays no errors on deployment.

New Pull Requests to come will take care of all the new incoming fields within the improved data model.

Adds:

Modifies:

sonarcloud[bot] commented 11 months ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 40 Code Smells

21.5% 21.5% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint