api fixes
This commit is contained in:
1 parent
70094eab73
commit
6dceff6c85
3 files changed
+25
-22
No files matched your search
+2
-2
@@ -10,7 +10,7 @@ type StrapiMediaObject = {
|
||||
// "path": null,
|
||||
}
|
||||
|
||||
type StrapiMedia = StrapiMediaObject & {
|
||||
export type StrapiMedia = StrapiMediaObject & {
|
||||
id: number,
|
||||
alternativeText: string | null,
|
||||
caption: string | null,
|
||||
@@ -100,7 +100,7 @@ export type StrapiPage = {
|
||||
title: string,
|
||||
excerpt: string,
|
||||
slug: string,
|
||||
date?: string,
|
||||
date: string | null,
|
||||
cover?: StrapiMedia,
|
||||
published_at: string,
|
||||
created_at: string,
|
||||
|
||||
Reference in new issue
Block a user