webcomponents / webcomponents.org

Home of the web components community
https://www.webcomponents.org
Apache License 2.0
359 stars 95 forks source link

Schema types #1328

Closed justinfagnani closed 1 year ago

justinfagnani commented 1 year ago

Splits PackageInfo and PackageVersion types into Readable and Unreadable versions, depending on their import status. This lets us correctly model the fact that a successfully imported object has all of its required fields, and a failed import will only have status and lastUpdated fields.