Update content through Mattrbld

This commit is contained in:
2025-02-09 21:25:02 -06:00
parent 3e130081b1
commit f0edb6fbce
5 changed files with 268 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{
"allowedTypes": null,
"dir": "/projects",
"disableComments": false,
"disablePreview": false,
"draftByDefault": false,
"schemas": [
"/.mattrbld/schemas/Projects.json"
],
"linkable": false,
"maxSize": null,
"permissions": {
"everybody": [
"everything"
]
},
"type": "json",
"urlTemplate": ""
}

View File

@@ -68,6 +68,16 @@
"path": "/.mattrbld/collections/experiences.json"
}
}
},
{
"icon": "bullet-list",
"label": "Projects",
"target": {
"name": "Project.Collection",
"params": {
"path": "/.mattrbld/collections/projects.json"
}
}
}
],
"slugifyOptions": null,

View File

@@ -0,0 +1,210 @@
{
"fields": [
{
"type": "rows",
"default": null,
"icon": "rows",
"key": "projects",
"label": "Projects",
"options": {
"compact": true,
"allowEditing": true,
"itemLabel": "Row"
},
"tab": "Untitled Tab",
"validation": {
"max": null,
"min": null,
"unit": "rows"
},
"value": [
{
"type": "group",
"displayField": null,
"icon": "group",
"key": "project",
"label": "Project",
"tab": "Untitled Tab",
"value": [
{
"type": "text",
"default": null,
"icon": "text-input",
"key": "name",
"label": "Name",
"localised": false,
"options": {
"wrapping": true,
"multiline": false
},
"tab": "Untitled Tab",
"validation": {
"enforceMinMax": true,
"max": null,
"min": null,
"regex": null,
"regexError": null,
"required": false,
"unit": "length"
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "text",
"default": null,
"icon": "text-input",
"key": "iconName",
"label": "Icon Name",
"localised": false,
"options": {
"wrapping": true,
"multiline": false
},
"tab": "Untitled Tab",
"validation": {
"enforceMinMax": true,
"max": null,
"min": null,
"regex": null,
"regexError": null,
"required": false,
"unit": "length"
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "rich text",
"default": null,
"icon": "text",
"key": "summary",
"label": "Summary",
"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": [
"forceBlankTarget",
"allowExternal",
"allowInternal"
]
},
"tab": "Untitled Tab",
"validation": {
"enforceMinMax": true,
"max": null,
"min": null,
"regex": null,
"regexError": null,
"required": false,
"unit": "length"
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "link",
"default": null,
"icon": "link",
"key": "repoLink",
"label": "Repo Link",
"localised": false,
"options": {
"type": "both",
"byFilePath": false,
"urlSuffix": "/",
"urlTemplate": ""
},
"tab": "Untitled Tab",
"validation": {
"required": false
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
}
],
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
}
],
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
}
],
"tabs": [
{
"label": "Untitled Tab",
"groupAs": null
}
]
}