Skip to content

Commit

Permalink
Add Strapimeta
Browse files Browse the repository at this point in the history
  • Loading branch information
n2o committed Sep 27, 2024
1 parent 4ffbc6c commit b7d0b37
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ export type StrapiResponse<T> = {
}
}

export type StrapiMeta = {
pagination: {
page: number
pageCount: number
pageSize: number
total: number
}
}

export type ImageWithDimensions = {
url: string
width: number
Expand Down

0 comments on commit b7d0b37

Please sign in to comment.