RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
31
types/quote.json5
Normal file
31
types/quote.json5
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
// Corresponds to CF_Quote / Contentful_Quote.ts
|
||||
name: "quote",
|
||||
description: "Quote block with author and optional variant",
|
||||
tags: ["content", "component"],
|
||||
category: "components",
|
||||
fields: {
|
||||
quote: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Quote text",
|
||||
},
|
||||
author: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Author or source of quote",
|
||||
},
|
||||
variant: {
|
||||
type: "string",
|
||||
required: true,
|
||||
enum: ["left", "right"],
|
||||
default: "left",
|
||||
description: "Quote alignment",
|
||||
},
|
||||
layout: {
|
||||
type: "object",
|
||||
useFields: "component_layout",
|
||||
description: "Column width (grid) like CF_ComponentLayout",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user