Actually no, bring back the backlinks but add additional info
This commit is contained in:
parent
247b2c3046
commit
63d17331a1
|
@ -331,6 +331,7 @@ export type EndpointCollectibleScans = {
|
||||||
insideFlapBack?: EndpointScanImage;
|
insideFlapBack?: EndpointScanImage;
|
||||||
};
|
};
|
||||||
pages: EndpointScanImage[];
|
pages: EndpointScanImage[];
|
||||||
|
backlinks: EndpointRelation[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EndpointCollectibleScanPage = {
|
export type EndpointCollectibleScanPage = {
|
||||||
|
@ -345,6 +346,7 @@ export type EndpointCollectibleScanPage = {
|
||||||
image: EndpointScanImage;
|
image: EndpointScanImage;
|
||||||
previousIndex?: string;
|
previousIndex?: string;
|
||||||
nextIndex?: string;
|
nextIndex?: string;
|
||||||
|
backlinks: EndpointRelation[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EndpointCollectibleGallery = {
|
export type EndpointCollectibleGallery = {
|
||||||
|
@ -358,6 +360,7 @@ export type EndpointCollectibleGallery = {
|
||||||
description?: RichTextContent;
|
description?: RichTextContent;
|
||||||
}[];
|
}[];
|
||||||
images: EndpointPayloadImage[];
|
images: EndpointPayloadImage[];
|
||||||
|
backlinks: EndpointRelation[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EndpointCollectibleGalleryImage = {
|
export type EndpointCollectibleGalleryImage = {
|
||||||
|
@ -372,7 +375,9 @@ export type EndpointCollectibleGalleryImage = {
|
||||||
image: EndpointImage;
|
image: EndpointImage;
|
||||||
previousIndex?: string;
|
previousIndex?: string;
|
||||||
nextIndex?: string;
|
nextIndex?: string;
|
||||||
|
backlinks: EndpointRelation[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EndpointScanImage = PayloadImage & {
|
export type EndpointScanImage = PayloadImage & {
|
||||||
index: string;
|
index: string;
|
||||||
sizes: PayloadImage[];
|
sizes: PayloadImage[];
|
||||||
|
@ -418,6 +423,7 @@ export type EndpointRelation =
|
||||||
| {
|
| {
|
||||||
type: Collections.Collectibles;
|
type: Collections.Collectibles;
|
||||||
value: EndpointCollectiblePreview;
|
value: EndpointCollectiblePreview;
|
||||||
|
subpage?: "none" | "scans" | "gallery";
|
||||||
range?: EndpointCollectibleRelationRange;
|
range?: EndpointCollectibleRelationRange;
|
||||||
}
|
}
|
||||||
| { type: Collections.Pages; value: EndpointPagePreview }
|
| { type: Collections.Pages; value: EndpointPagePreview }
|
||||||
|
|
Loading…
Reference in New Issue