Updateds types
This commit is contained in:
parent
3ca42c5705
commit
54362bbef2
|
@ -20,7 +20,7 @@ export type EndpointFolderPreview = {
|
||||||
}[];
|
}[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EndpointFolder = EndpointFolderPreview & {
|
export type EndpointFolder = Omit<EndpointFolderPreview, "translations"> & {
|
||||||
translations: (EndpointFolderPreview["translations"][number] & {
|
translations: (EndpointFolderPreview["translations"][number] & {
|
||||||
description?: RichTextContent;
|
description?: RichTextContent;
|
||||||
})[];
|
})[];
|
||||||
|
@ -173,7 +173,7 @@ export type EndpointPagePreview = {
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EndpointPage = EndpointPagePreview & {
|
export type EndpointPage = Omit<EndpointPagePreview, "translations"> & {
|
||||||
backgroundImage?: EndpointPayloadImage;
|
backgroundImage?: EndpointPayloadImage;
|
||||||
translations: (EndpointPagePreview["translations"][number] & {
|
translations: (EndpointPagePreview["translations"][number] & {
|
||||||
sourceLanguage: string;
|
sourceLanguage: string;
|
||||||
|
@ -206,7 +206,7 @@ export type EndpointCollectiblePreview = {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EndpointCollectible = EndpointCollectiblePreview & {
|
export type EndpointCollectible = Omit<EndpointCollectiblePreview, "translations"> & {
|
||||||
translations: (EndpointCollectiblePreview["translations"][number] & {
|
translations: (EndpointCollectiblePreview["translations"][number] & {
|
||||||
description?: RichTextContent;
|
description?: RichTextContent;
|
||||||
})[];
|
})[];
|
||||||
|
@ -439,7 +439,7 @@ export type EndpointMediaPreview = {
|
||||||
}[];
|
}[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EndpointMedia = EndpointMediaPreview & {
|
export type EndpointMedia = Omit<EndpointMediaPreview, "translations"> & {
|
||||||
filesize: number;
|
filesize: number;
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
|
|
Loading…
Reference in New Issue