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

32
types/text_fragment.json5 Normal file
View File

@@ -0,0 +1,32 @@
{
// 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",
},
},
}