RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
33
@types/Contentful_Headline.ts
Normal file
33
@types/Contentful_Headline.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import type { CF_ContentType } from "src/@types/Contentful_ContentType.enum";
|
||||
import type { CF_ComponentLayout } from "src/@types/Contentful_Layout";
|
||||
|
||||
export type CF_Component_Headline_Align =
|
||||
| "left"
|
||||
| "center"
|
||||
| "right"
|
||||
|
||||
export type CF_Component_Headline_Tag =
|
||||
| "h1"
|
||||
| "h2"
|
||||
| "h3"
|
||||
| "h4"
|
||||
| "h5"
|
||||
| "h6"
|
||||
|
||||
export type CF_alignTextClasses =
|
||||
| "text-left"
|
||||
| "text-center"
|
||||
| "text-right"
|
||||
|
||||
export interface CF_ComponentHeadline {
|
||||
internal: string;
|
||||
text: string;
|
||||
tag: CF_Component_Headline_Tag,
|
||||
layout: CF_ComponentLayout
|
||||
align?: CF_Component_Headline_Align
|
||||
}
|
||||
|
||||
export interface CF_ComponentHeadlineSkeleton {
|
||||
contentTypeId: CF_ContentType.headline
|
||||
fields: CF_ComponentHeadline
|
||||
}
|
||||
Reference in New Issue
Block a user