Closed danielweck closed 5 years ago
https://github.com/readium/r2-shared-js/blob/44ebead56f6a4e0575c384ddf55cf42c8527f6d6/src/models/metadata.ts#L128
https://github.com/readium/webpub-manifest/blob/master/schema/metadata.schema.json#L140
Missing in: https://github.com/readium/r2-shared-js/blob/develop/src/models/metadata.ts#L128
Here: https://github.com/readium/r2-shared-js/blob/44ebead56f6a4e0575c384ddf55cf42c8527f6d6/src/models/metadata-collection.ts#L21
https://github.com/readium/webpub-manifest/blob/ffb350ca09c85d5f15cb4ae0453bd0b3dcb15440/schema/metadata.schema.json#L78
Done, with bidirectional (de)serialization fallback mechanism which favours the new names as output whilst supporting the legacy names as input.
https://github.com/readium/r2-shared-js/blob/44ebead56f6a4e0575c384ddf55cf42c8527f6d6/src/models/metadata.ts#L128
https://github.com/readium/webpub-manifest/blob/master/schema/metadata.schema.json#L140