RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
15
@types/Contentful_Markdown.ts
Normal file
15
@types/Contentful_Markdown.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { CF_ContentType } from "src/@types/Contentful_ContentType.enum";
|
||||
import type { CF_ComponentLayout } from "src/@types/Contentful_Layout";
|
||||
import type { TextAlignment } from "src/@types/TextAlignment";
|
||||
|
||||
export interface CF_Markdown {
|
||||
name: string,
|
||||
content: string,
|
||||
layout: CF_ComponentLayout
|
||||
alignment: TextAlignment
|
||||
}
|
||||
|
||||
export type CF_MarkdownSkeleton = {
|
||||
contentTypeId: CF_ContentType.markdown
|
||||
fields: CF_Markdown
|
||||
}
|
||||
Reference in New Issue
Block a user