api fixes

This commit is contained in:
tmshv committed 2021-08-30 17:05:30 +03:00
1 parent 70094eab73
commit 6dceff6c85
3 files changed
+25 -22

No files matched your search

+2 -2
View File
@@ -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,