Skip to content

Commit

Permalink
Added pageCount to document type asset properties
Browse files Browse the repository at this point in the history
  • Loading branch information
henser committed Nov 2, 2021
1 parent d0ff5f0 commit f5a6242
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export type FrontifyAsset = {
height?: number;
duration?: number;
bitrate?: number;
pageCount?: number;
};

const ASSET_BY_IDS_QUERY = `
Expand Down Expand Up @@ -141,6 +142,7 @@ fragment onFile on File {
fragment onDocument on Document {
filename
size
pageCount
downloadUrl(validityInDays: 1)
previewUrl
focalPoint
Expand Down

0 comments on commit f5a6242

Please sign in to comment.