RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
14
@types/Contentful_Quote.ts
Normal file
14
@types/Contentful_Quote.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { CF_ContentType } from "src/@types/Contentful_ContentType.enum";
|
||||
import type { CF_ComponentLayout } from "src/@types/Contentful_Layout";
|
||||
|
||||
export interface CF_Quote {
|
||||
quote: string,
|
||||
author: string,
|
||||
variant: 'left' | 'right',
|
||||
layout: CF_ComponentLayout
|
||||
}
|
||||
|
||||
export type CF_QuoteSkeleton = {
|
||||
contentTypeId: CF_ContentType.quote
|
||||
fields: CF_Quote
|
||||
}
|
||||
Reference in New Issue
Block a user