RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Peter Meier
2026-02-16 09:30:30 +01:00
commit aad93d145f
224 changed files with 19225 additions and 0 deletions

View 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
}