This commit is contained in:
@ -50,10 +50,24 @@ export interface Post {
|
||||
summary?: string | null;
|
||||
publishedDate?: string | null;
|
||||
thumbnail: string | Media;
|
||||
'content-title'?: string | null;
|
||||
blocks?:
|
||||
| (
|
||||
| RichTextBlock
|
||||
| {
|
||||
author?: (string | null) | Author;
|
||||
id?: string | null;
|
||||
blockName?: string | null;
|
||||
blockType: 'Author';
|
||||
}
|
||||
)[]
|
||||
| null;
|
||||
author?: (string | null) | Author;
|
||||
status: 'draft' | 'published' | 'archived';
|
||||
slug?: string | null;
|
||||
path?: string | null;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
_status?: ('draft' | 'published') | null;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
@ -74,41 +88,6 @@ export interface Media {
|
||||
focalX?: number | null;
|
||||
focalY?: number | null;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "authors".
|
||||
*/
|
||||
export interface Author {
|
||||
id: string;
|
||||
avatar: string | Media;
|
||||
name: string;
|
||||
bio?: string | null;
|
||||
user?: string | User | null;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "pages".
|
||||
*/
|
||||
export interface Page {
|
||||
id: string;
|
||||
title?: string | null;
|
||||
blocks?: RichTextBlock[] | null;
|
||||
slug?: string | null;
|
||||
path?: string | null;
|
||||
breadcrumbs?:
|
||||
| {
|
||||
doc?: (string | null) | Page;
|
||||
url?: string | null;
|
||||
label?: string | null;
|
||||
id?: string | null;
|
||||
}[]
|
||||
| null;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
_status?: ('draft' | 'published') | null;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "RichTextBlock".
|
||||
@ -133,6 +112,51 @@ export interface RichTextBlock {
|
||||
blockName?: string | null;
|
||||
blockType: 'RichText';
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "authors".
|
||||
*/
|
||||
export interface Author {
|
||||
id: string;
|
||||
avatar: string | Media;
|
||||
name: string;
|
||||
bio?: string | null;
|
||||
user?: string | User | null;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "pages".
|
||||
*/
|
||||
export interface Page {
|
||||
id: string;
|
||||
title?: string | null;
|
||||
blocks?:
|
||||
| (
|
||||
| RichTextBlock
|
||||
| {
|
||||
author?: (string | null) | Author;
|
||||
id?: string | null;
|
||||
blockName?: string | null;
|
||||
blockType: 'Author';
|
||||
}
|
||||
)[]
|
||||
| null;
|
||||
slug?: string | null;
|
||||
path?: string | null;
|
||||
breadcrumbs?:
|
||||
| {
|
||||
doc?: (string | null) | Page;
|
||||
url?: string | null;
|
||||
label?: string | null;
|
||||
id?: string | null;
|
||||
}[]
|
||||
| null;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
_status?: ('draft' | 'published') | null;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "payload-preferences".
|
||||
|
Reference in New Issue
Block a user