We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
books.cover_date
books.cover_date_precision
1 parent c814dee commit 668bca4Copy full SHA for 668bca4
src/resources/books.ts
@@ -70,7 +70,10 @@ export type Attributes = {
70
licenseCode?: string
71
licenseUrl?: string
72
languageCode?: string
73
-}
+} & (
74
+ { coverDate: Date, coverDatePrecision: DatePrecision } |
75
+ { coverDate: undefined, coverDatePrecision: undefined }
76
+)
77
78
export type Relationships = {
79
bookSeries: { type: BookSeries.Type; cardinality: null | '1' }
@@ -89,6 +92,7 @@ export type SortField =
89
92
| 'createdAt'
90
93
| 'updatedAt'
91
94
| 'publishedAt'
95
+ | 'coverDate'
96
| 'title'
97
| 'pages'
98
| 'bookSeriesVolume'
0 commit comments