Added endpointurl and added sourceurl to pages
This commit is contained in:
parent
63d17331a1
commit
66ab6619a2
|
@ -187,6 +187,7 @@ export type EndpointPage = Omit<EndpointPagePreview, "translations"> & {
|
||||||
summary?: RichTextContent;
|
summary?: RichTextContent;
|
||||||
content: RichTextContent;
|
content: RichTextContent;
|
||||||
credits: EndpointCredit[];
|
credits: EndpointCredit[];
|
||||||
|
sourceUrls?: EndpointURL[];
|
||||||
toc: TableOfContentEntry[];
|
toc: TableOfContentEntry[];
|
||||||
})[];
|
})[];
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
|
@ -221,7 +222,7 @@ export type EndpointCollectible = Omit<EndpointCollectiblePreview, "translations
|
||||||
nature: CollectibleNature;
|
nature: CollectibleNature;
|
||||||
gallery?: { count: number; thumbnail: EndpointPayloadImage };
|
gallery?: { count: number; thumbnail: EndpointPayloadImage };
|
||||||
scans?: { count: number; thumbnail: EndpointPayloadImage };
|
scans?: { count: number; thumbnail: EndpointPayloadImage };
|
||||||
urls: { url: string; label: string }[];
|
urls: EndpointURL[];
|
||||||
size?: {
|
size?: {
|
||||||
width: number;
|
width: number;
|
||||||
height: number;
|
height: number;
|
||||||
|
@ -435,7 +436,9 @@ export type EndpointRelation =
|
||||||
| { type: Collections.Files; value: EndpointFilePreview }
|
| { type: Collections.Files; value: EndpointFilePreview }
|
||||||
| { type: Collections.Tags; value: EndpointTag }
|
| { type: Collections.Tags; value: EndpointTag }
|
||||||
| { type: Collections.Recorders; value: EndpointRecorderPreview }
|
| { type: Collections.Recorders; value: EndpointRecorderPreview }
|
||||||
| { type: "url"; url: string; label: string };
|
| { type: "url"; value: EndpointURL };
|
||||||
|
|
||||||
|
export type EndpointURL = { url: string; label: string };
|
||||||
|
|
||||||
export type EndpointMediaPreview = {
|
export type EndpointMediaPreview = {
|
||||||
id: string;
|
id: string;
|
||||||
|
|
Loading…
Reference in New Issue