26 lines
524 B
TypeScript
26 lines
524 B
TypeScript
import type { CF_ContentType } from "./Contentful_ContentType.enum";
|
|
|
|
|
|
export interface CF_ComponentImgDetails {
|
|
size: number,
|
|
image: {
|
|
width: number,
|
|
height: number
|
|
}
|
|
}
|
|
|
|
export interface CF_ComponentImg {
|
|
title: string;
|
|
description: string;
|
|
file: {
|
|
url: string;
|
|
details: CF_ComponentImgDetails;
|
|
fileName: string;
|
|
contentType: string;
|
|
}
|
|
}
|
|
|
|
export interface CF_ComponentImgSkeleton {
|
|
contentTypeId: CF_ContentType.img
|
|
fields: CF_ComponentImg
|
|
} |