RustyCMS: file-based headless CMS — API, Admin UI (content, types, assets), Docker/Caddy, image transform; only demo type and demo content in version control
Made-with: Cursor
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
{
|
||||
// Corresponds to CF_TextFragment / Contentful_TextFragment.ts
|
||||
name: "text_fragment",
|
||||
description: "Reusable text fragment with optional tag references",
|
||||
tags: ["content", "component"],
|
||||
category: "components",
|
||||
fields: {
|
||||
id: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Unique fragment ID",
|
||||
},
|
||||
tags: {
|
||||
type: "array",
|
||||
items: {
|
||||
type: "reference",
|
||||
collection: "tag",
|
||||
},
|
||||
description: "Optional tags for categorisation",
|
||||
},
|
||||
title: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Text fragment title",
|
||||
},
|
||||
text: {
|
||||
type: "richtext",
|
||||
required: true,
|
||||
description: "Searchable text content",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user