Files
rustycms/types/text_fragment.json5
Peter Meier 4de99db670
Some checks failed
Deploy to Server / deploy (push) Failing after 7s
Track all types in git, sync to server on deploy
2026-03-15 14:38:37 +01:00

33 lines
733 B
Plaintext

{
// 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",
},
},
}