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:
Peter Meier
2026-03-12 14:21:49 +01:00
parent aad93d145f
commit 7795a238e1
278 changed files with 15551 additions and 4072 deletions

View File

@@ -1,35 +0,0 @@
{
// Corresponds to CF_YoutubeVideo / Contentful_YoutubeVideo.ts
name: "youtube_video",
description: "Embedded YouTube video with optional params",
tags: ["media", "component"],
category: "components",
fields: {
id: {
type: "string",
description: "Unique ID (optional, otherwise _slug)",
},
youtubeId: {
type: "string",
required: true,
description: "YouTube video ID (e.g. from URL ?v=VIDEO_ID)",
},
params: {
type: "string",
description: "Optional URL params (e.g. start=30, autoplay=1)",
},
title: {
type: "string",
description: "Video title",
},
description: {
type: "string",
description: "Short description",
},
layout: {
type: "object",
useFields: "component_layout",
description: "Column width (grid) like CF_ComponentLayout",
},
},
}