Update content through Mattrbld

This commit is contained in:
inherentlee committed 2026-09-24 11:33:54 -07:00
1 parent 12702ce833
commit 988f5ea496
4 files changed
+223

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
{
"allowedTypes": [],
"defaultFilename": null,
"dir": "/src/events",
"disableComments": false,
"disablePreview": false,
"draftByDefault": false,
"linkable": false,
"maxSize": null,
"permissions": {
"everybody": [
"everything"
]
},
"rawEntityNames": false,
"schemas": [
"/.mattrbld/schemas/event.json"
],
"type": "md",
"urlTemplate": ""
}
+10
View File
@@ -44,6 +44,16 @@
} }
} }
}, },
{
"icon": "calendar",
"label": "Events",
"target": {
"name": "Project.Collection",
"params": {
"path": "/.mattrbld/collections/events.json"
}
}
},
{ {
"label": "Media library", "label": "Media library",
"icon": "image-stack", "icon": "image-stack",
+192
View File
@@ -0,0 +1,192 @@
{
"fields": [
{
"type": "text",
"default": null,
"icon": "text-input",
"key": "title",
"label": "Title",
"localised": false,
"options": {
"wrapping": true,
"multiline": false
},
"tab": "Content",
"validation": {
"enforceMinMax": true,
"max": null,
"min": null,
"regex": null,
"regexError": null,
"required": true,
"unit": "length"
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "date",
"default": null,
"icon": "calendar",
"key": "date",
"label": "Date and Time",
"options": {
"outputFormat": "iso",
"removable": false,
"showTime": true,
"defaultToNow": false,
"useAsUpdatedAt": false,
"only": null
},
"tab": "Content",
"validation": {
"max": null,
"min": null,
"required": true,
"unit": "date",
"isString": true
},
"value": null,
"version": 2,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "image",
"default": null,
"icon": "image",
"key": "image",
"label": "Image",
"options": {
"resolutionHint": "",
"removable": true,
"simple": false
},
"tab": "Content",
"validation": {
"max": null,
"required": false,
"unit": "filesize (MB)"
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "tags",
"default": null,
"icon": "tags",
"key": "tags",
"label": "Tags",
"localised": false,
"options": {
"allowUnsuggested": true,
"autocompleteModel": []
},
"tab": "Content",
"validation": {
"max": null,
"min": null,
"unit": "tags"
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "rich text",
"default": null,
"icon": "text",
"key": "content",
"label": "Description",
"localised": false,
"options": {
"outputFormat": "markdown",
"blockFormats": [
"blockquote",
"heading",
"hr",
"orderedList",
"unorderedList",
"image"
],
"inlineFormats": [
"em",
"strong",
"link"
],
"formatOptions": [
"allowQuoteFooters",
"allowNestedLists",
"allowImageCaptions"
],
"inputRuleOptions": [
"autoquotes",
"dashes",
"ellipsis",
"noDoubleCaps",
"noDoubleSpace"
],
"minHeading": 2,
"maxHeading": 4,
"codeLangs": [
"html",
"css",
"javascript",
"markdown"
],
"allowRaw": false,
"urlTemplate": "",
"urlSuffix": "",
"linkOptions": [
"allowExternal",
"allowInternal"
]
},
"tab": "Content",
"validation": {
"enforceMinMax": true,
"max": null,
"min": null,
"regex": null,
"regexError": null,
"required": true,
"unit": "length"
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
}
],
"tabs": [
{
"label": "Content",
"groupAs": null
}
]
}
View File
Whitespace-only changes.