RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
26
@types/Contentful_Img.ts
Normal file
26
@types/Contentful_Img.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user