From f574a1eb9d82f4a9a024871170cf49abf82ad5da Mon Sep 17 00:00:00 2001 From: Noah Date: Sat, 8 Feb 2025 10:02:40 -0600 Subject: [PATCH] Update content through Mattrbld --- .../collections/{Skills.json => skills.json} | 2 +- .mattrbld/config.json | 5 +- .mattrbld/schemas/Skills.json | 99 ------------- .mattrbld/schemas/skills.json | 140 ++++++++++++++++++ skills/React.json | 6 - skills/Terraform.json | 6 - skills/skills.json | 5 + skills/skills2.json | 19 +++ 8 files changed, 167 insertions(+), 115 deletions(-) rename .mattrbld/collections/{Skills.json => skills.json} (88%) delete mode 100644 .mattrbld/schemas/Skills.json create mode 100644 .mattrbld/schemas/skills.json delete mode 100644 skills/React.json delete mode 100644 skills/Terraform.json create mode 100644 skills/skills.json create mode 100644 skills/skills2.json diff --git a/.mattrbld/collections/Skills.json b/.mattrbld/collections/skills.json similarity index 88% rename from .mattrbld/collections/Skills.json rename to .mattrbld/collections/skills.json index 19b0118..f879b8e 100644 --- a/.mattrbld/collections/Skills.json +++ b/.mattrbld/collections/skills.json @@ -5,7 +5,7 @@ "disablePreview": false, "draftByDefault": false, "schemas": [ - "/.mattrbld/schemas/Skills.json" + "/.mattrbld/schemas/skills.json" ], "linkable": false, "maxSize": null, diff --git a/.mattrbld/config.json b/.mattrbld/config.json index 83591dd..3d27b65 100644 --- a/.mattrbld/config.json +++ b/.mattrbld/config.json @@ -52,10 +52,9 @@ "target": { "name": "Project.Collection", "params": { - "path": "/.mattrbld/collections/Skills.json" + "path": "/.mattrbld/collections/skills.json" } - }, - "showInDashboard": true + } } ], "slugifyOptions": null, diff --git a/.mattrbld/schemas/Skills.json b/.mattrbld/schemas/Skills.json deleted file mode 100644 index c2945b0..0000000 --- a/.mattrbld/schemas/Skills.json +++ /dev/null @@ -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 - } - ] -} \ No newline at end of file diff --git a/.mattrbld/schemas/skills.json b/.mattrbld/schemas/skills.json new file mode 100644 index 0000000..82c9d5f --- /dev/null +++ b/.mattrbld/schemas/skills.json @@ -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 + } + ] +} \ No newline at end of file diff --git a/skills/React.json b/skills/React.json deleted file mode 100644 index 3e83e20..0000000 --- a/skills/React.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "select": "Experienced", - "select-1": "Front-End Web Development", - "text": "React", - "___mb_schema": "/.mattrbld/schemas/Skills.json" -} \ No newline at end of file diff --git a/skills/Terraform.json b/skills/Terraform.json deleted file mode 100644 index 0e5d82c..0000000 --- a/skills/Terraform.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "select": "Experienced", - "select-1": "Infrastructure as Code", - "text": null, - "___mb_schema": "/.mattrbld/schemas/Skills.json" -} \ No newline at end of file diff --git a/skills/skills.json b/skills/skills.json new file mode 100644 index 0000000..20fddeb --- /dev/null +++ b/skills/skills.json @@ -0,0 +1,5 @@ +{ + "rows": null, + "___mb_schema": "/.mattrbld/schemas/Skills.json", + "___mb_unedited": true +} \ No newline at end of file diff --git a/skills/skills2.json b/skills/skills2.json new file mode 100644 index 0000000..d38ae1b --- /dev/null +++ b/skills/skills2.json @@ -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" +} \ No newline at end of file