Update content through Mattrbld

This commit is contained in:
2025-02-08 10:02:40 -06:00
parent a7702c4289
commit f574a1eb9d
8 changed files with 167 additions and 115 deletions

View File

@@ -5,7 +5,7 @@
"disablePreview": false, "disablePreview": false,
"draftByDefault": false, "draftByDefault": false,
"schemas": [ "schemas": [
"/.mattrbld/schemas/Skills.json" "/.mattrbld/schemas/skills.json"
], ],
"linkable": false, "linkable": false,
"maxSize": null, "maxSize": null,

View File

@@ -52,10 +52,9 @@
"target": { "target": {
"name": "Project.Collection", "name": "Project.Collection",
"params": { "params": {
"path": "/.mattrbld/collections/Skills.json" "path": "/.mattrbld/collections/skills.json"
} }
}, }
"showInDashboard": true
} }
], ],
"slugifyOptions": null, "slugifyOptions": null,

View File

@@ -1,99 +0,0 @@
{
"fields": [
{
"type": "select",
"default": null,
"icon": "dropdown",
"key": "select",
"label": "Category",
"options": {
"filterable": false,
"removable": false,
"placeholder": "Select a value…",
"options": [
"Experienced",
"Familiar"
]
},
"tab": "Untitled Tab",
"validation": {
"required": false
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "select",
"default": null,
"icon": "dropdown",
"key": "select-1",
"label": "Group",
"options": {
"filterable": false,
"removable": false,
"placeholder": "Select a value…",
"options": [
"Front-End Web Development",
"Infrastructure as Code",
"Programming Languages",
"Cloud",
"Database"
]
},
"tab": "Untitled Tab",
"validation": {
"required": false
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "text",
"default": null,
"icon": "text-input",
"key": "text",
"label": "Unformatted Text",
"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
}
}
}
],
"tabs": [
{
"label": "Untitled Tab",
"groupAs": null
}
]
}

View File

@@ -0,0 +1,140 @@
{
"fields": [
{
"type": "group",
"displayField": null,
"icon": "group",
"key": "skills",
"label": "Skills",
"tab": "Untitled Tab",
"value": [
{
"type": "rows",
"default": null,
"icon": "rows",
"key": "rows",
"label": "Rows",
"options": {
"compact": true,
"allowEditing": true,
"itemLabel": "Row"
},
"tab": "Untitled Tab",
"validation": {
"max": null,
"min": null,
"unit": "rows"
},
"value": [
{
"type": "select",
"default": null,
"icon": "dropdown",
"key": "category",
"label": "Category",
"options": {
"filterable": false,
"removable": false,
"placeholder": "Select a value…",
"options": [
"Experienced"
]
},
"tab": "Untitled Tab",
"validation": {
"required": false
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "select",
"default": null,
"icon": "dropdown",
"key": "group",
"label": "Group",
"options": {
"filterable": false,
"removable": false,
"placeholder": "Select a value…",
"options": [
"Front-End Web Development",
"Infrastructure as Code",
"CI/CD"
]
},
"tab": "Untitled Tab",
"validation": {
"required": false
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "text",
"default": null,
"icon": "text-input",
"key": "skill",
"label": "Skill",
"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
}
}
}
],
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
}
],
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
}
],
"tabs": [
{
"label": "Untitled Tab",
"groupAs": null
}
]
}

View File

@@ -1,6 +0,0 @@
{
"select": "Experienced",
"select-1": "Front-End Web Development",
"text": "React",
"___mb_schema": "/.mattrbld/schemas/Skills.json"
}

View File

@@ -1,6 +0,0 @@
{
"select": "Experienced",
"select-1": "Infrastructure as Code",
"text": null,
"___mb_schema": "/.mattrbld/schemas/Skills.json"
}

5
skills/skills.json Normal file
View File

@@ -0,0 +1,5 @@
{
"rows": null,
"___mb_schema": "/.mattrbld/schemas/Skills.json",
"___mb_unedited": true
}

19
skills/skills2.json Normal file
View File

@@ -0,0 +1,19 @@
{
"skills": {
"rows": [
{
"___mb_type": "category",
"category": "Experienced"
},
{
"___mb_type": "group",
"group": "Front-End Web Development"
},
{
"___mb_type": "skill",
"skill": "React"
}
]
},
"___mb_schema": "/.mattrbld/schemas/skills.json"
}