RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
17
@types/Contentful_Image.ts
Normal file
17
@types/Contentful_Image.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { CF_ContentType } from "./Contentful_ContentType.enum";
|
||||
import type { CF_ComponentImgSkeleton } from "./Contentful_Img";
|
||||
import type { CF_ComponentLayout } from "./Contentful_Layout";
|
||||
|
||||
export interface CF_ComponentImage {
|
||||
name: string;
|
||||
image: CF_ComponentImgSkeleton;
|
||||
caption: string;
|
||||
layout: CF_ComponentLayout;
|
||||
maxWidth?: number;
|
||||
aspectRatio?: number;
|
||||
}
|
||||
|
||||
export interface CF_ComponentImageSkeleton {
|
||||
contentTypeId: CF_ContentType.image;
|
||||
fields: CF_ComponentImage;
|
||||
}
|
||||
Reference in New Issue
Block a user