Update content through Mattrbld

This commit is contained in:
2025-02-11 17:41:24 -06:00
parent 61b541707e
commit 2d9cd07358
5 changed files with 84 additions and 28 deletions

View File

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

View File

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

View File

@@ -30,8 +30,38 @@
"type": "text",
"default": null,
"icon": "text-input",
"key": "name",
"label": "Name",
"key": "repoName",
"label": "Repo Name",
"localised": false,
"options": {
"wrapping": false,
"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": "title",
"label": "Title",
"localised": false,
"options": {
"wrapping": true,
@@ -155,32 +185,6 @@
"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,

0
data/projects/.gitkeep Normal file
View File

View File

@@ -0,0 +1,23 @@
{
"projects": [
{
"repoName": "noahspan-components",
"title": "Components (React + Storybook)",
"iconName": "fa-puzzle-piece",
"summary": "A component library with custom React components, extended components from Material UI, and a subset of Font Awesome icons."
},
{
"repoName": "noahspan-flying",
"title": "Flying (React + Nest.js)",
"iconName": "fa-plane",
"summary": "A pilot logbook for logging flight hours."
},
{
"repoName": "noahspan-modules",
"title": "Modules (Nest.js)",
"iconName": "fa-gear",
"summary": "A library of custom modules for projects using Nest.js."
}
],
"___mb_schema": "/.mattrbld/schemas/Projects.json"
}