RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
24
@types/Contentful_FullwidthBanner.ts
Normal file
24
@types/Contentful_FullwidthBanner.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import type { CF_ComponentImgSkeleton } from "src/@types/Contentful_Img";
|
||||
import type { CF_CloudinaryImage } from "src/@types/Contentful_CloudinaryImage";
|
||||
import type { CF_ContentType } from "src/@types/Contentful_ContentType.enum";
|
||||
|
||||
|
||||
export enum CF_FullwidthBannerVariant {
|
||||
"dark"= "dark",
|
||||
"light" = "light"
|
||||
}
|
||||
|
||||
export interface CF_FullwidthBanner {
|
||||
name: string,
|
||||
variant : CF_FullwidthBannerVariant,
|
||||
headline : string,
|
||||
subheadline: string,
|
||||
text : string,
|
||||
image: CF_CloudinaryImage[];
|
||||
img: CF_ComponentImgSkeleton;
|
||||
}
|
||||
|
||||
export type CF_FullwidthBannerSkeleton = {
|
||||
contentTypeId: CF_ContentType.fullwidthBanner
|
||||
fields: CF_FullwidthBanner
|
||||
}
|
||||
Reference in New Issue
Block a user