Adds the neutral HTML, the data block helpers and the golden files of the host injection

cmsHtml.ts writes the plain list and banner HTML that sits between the CMS
markers; contract/host-injection holds the inputs, the expected HTML and the
rules the CMS host's C# template must follow. cmsData.ts reads, validates and
writes the cms-data block.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 16:05:42 +01:00
co-authored by Claude Sonnet 5.5
parent ed4a19d146
commit 16027f5688
28 changed files with 615 additions and 0 deletions
@@ -0,0 +1,58 @@
[
{
"slug": "goed",
"title": "Goed",
"price": "€ 100",
"features": ["a"],
"displayOrder": 0
},
{
"slug": "Slecht Slug",
"title": "Fout",
"price": "€ 100",
"features": ["a"],
"displayOrder": 1
},
{
"slug": "goed",
"title": "Dubbel",
"price": "€ 100",
"features": ["a"],
"displayOrder": 2
},
{
"slug": "aanvraag",
"title": "Op aanvraag",
"price": "op aanvraag",
"features": ["a"],
"displayOrder": 3
},
{
"slug": "leeg",
"title": "Zonder kenmerken",
"price": "€ 100",
"features": [],
"displayOrder": 4
},
{
"slug": "zonder-titel",
"title": "",
"price": "€ 100",
"features": ["a"],
"displayOrder": 5
},
{
"slug": "nul",
"title": "Nul",
"price": "€ 0",
"features": ["a"],
"displayOrder": 6
},
{
"slug": "komma",
"title": "Komma",
"price": "€ 12,50",
"features": ["a"],
"displayOrder": 7
}
]