Skip to content

Commit

Permalink
Add Position List to Known MediaTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
JayPanoz committed Oct 3, 2024
1 parent 2a44a91 commit 61b1f08
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions shared/src/util/mediatype/MediaType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,13 @@ export class MediaType {
fileExtension: 'json',
});
}
public static get READIUM_POSITION_LIST(): MediaType {
return MediaType.parse({
mediaType: 'application/vnd.readium.position-list+json',
name: 'Readium Position List',
fileExtension: 'json',
});
}
public static get READIUM_WEBPUB(): MediaType {
return MediaType.parse({
mediaType: 'application/webpub+zip',
Expand Down

0 comments on commit 61b1f08

Please sign in to comment.