generated from inherentlee/11ty
Update content through Mattrbld
This commit is contained in:
21
.mattrbld/collections/categories.json
Normal file
21
.mattrbld/collections/categories.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"allowedTypes": [],
|
||||||
|
"defaultFilename": null,
|
||||||
|
"dir": "/src/categories",
|
||||||
|
"disableComments": false,
|
||||||
|
"disablePreview": false,
|
||||||
|
"draftByDefault": false,
|
||||||
|
"linkable": false,
|
||||||
|
"maxSize": null,
|
||||||
|
"permissions": {
|
||||||
|
"everybody": [
|
||||||
|
"everything"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"rawEntityNames": false,
|
||||||
|
"schemas": [
|
||||||
|
"/.mattrbld/schemas/product-category.json"
|
||||||
|
],
|
||||||
|
"type": "md",
|
||||||
|
"urlTemplate": ""
|
||||||
|
}
|
||||||
86
.mattrbld/config.json
Normal file
86
.mattrbld/config.json
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
{
|
||||||
|
"autoquotes": null,
|
||||||
|
"brandColors": [],
|
||||||
|
"corsProxy": "/corsprox",
|
||||||
|
"name": "stripe-test",
|
||||||
|
"sidebar": [
|
||||||
|
{
|
||||||
|
"label": "The sidebar has not yet been configured for this project"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon": "wrench-and-driver",
|
||||||
|
"label": "Configure now",
|
||||||
|
"target": {
|
||||||
|
"name": "Project.Settings",
|
||||||
|
"query": {
|
||||||
|
"tab": "sidebar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"onlyPrivileged": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"separator": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Dashboard",
|
||||||
|
"icon": "grid",
|
||||||
|
"target": {
|
||||||
|
"name": "Project"
|
||||||
|
},
|
||||||
|
"protected": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Media Library",
|
||||||
|
"icon": "image-stack",
|
||||||
|
"target": {
|
||||||
|
"name": "Project.MediaLibrary"
|
||||||
|
},
|
||||||
|
"protected": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon": null,
|
||||||
|
"label": "categories",
|
||||||
|
"target": {
|
||||||
|
"name": "Project.Collection",
|
||||||
|
"params": {
|
||||||
|
"path": "/.mattrbld/collections/categories.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Settings",
|
||||||
|
"icon": "settings",
|
||||||
|
"target": {
|
||||||
|
"name": "Project.Settings"
|
||||||
|
},
|
||||||
|
"onlyPrivileged": true,
|
||||||
|
"protected": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"slugifyOptions": {
|
||||||
|
"customReplacements": [],
|
||||||
|
"lowercase": true,
|
||||||
|
"decamelize": true,
|
||||||
|
"preserveLeadingUnderscore": true,
|
||||||
|
"preserveTrailingDash": false,
|
||||||
|
"preserveCharacters": [],
|
||||||
|
"separator": "-",
|
||||||
|
"transliterate": true
|
||||||
|
},
|
||||||
|
"customRoles": [],
|
||||||
|
"draftsDir": null,
|
||||||
|
"previewUrl": null,
|
||||||
|
"languages": [],
|
||||||
|
"media": {
|
||||||
|
"advanced": false,
|
||||||
|
"customFields": null,
|
||||||
|
"dir": null,
|
||||||
|
"maxSize": null,
|
||||||
|
"outputPath": null,
|
||||||
|
"permissions": {
|
||||||
|
"everybody": [
|
||||||
|
"everything"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
67
.mattrbld/schemas/product-category.json
Normal file
67
.mattrbld/schemas/product-category.json
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
{
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"default": null,
|
||||||
|
"icon": "text-input",
|
||||||
|
"key": "title",
|
||||||
|
"label": "Title",
|
||||||
|
"localised": false,
|
||||||
|
"options": {
|
||||||
|
"wrapping": true,
|
||||||
|
"multiline": false
|
||||||
|
},
|
||||||
|
"tab": "Category",
|
||||||
|
"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": "list",
|
||||||
|
"default": null,
|
||||||
|
"icon": "bullet-list",
|
||||||
|
"key": "products",
|
||||||
|
"label": "Products",
|
||||||
|
"localised": false,
|
||||||
|
"options": {
|
||||||
|
"limitToModel": false,
|
||||||
|
"model": []
|
||||||
|
},
|
||||||
|
"tab": "Category",
|
||||||
|
"validation": {
|
||||||
|
"enforceMinMax": true,
|
||||||
|
"max": null,
|
||||||
|
"min": 1,
|
||||||
|
"unit": "list items"
|
||||||
|
},
|
||||||
|
"value": null,
|
||||||
|
"version": 1,
|
||||||
|
"visibility": {
|
||||||
|
"hidden": false,
|
||||||
|
"showByValue": {
|
||||||
|
"field": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tabs": [
|
||||||
|
{
|
||||||
|
"label": "Category",
|
||||||
|
"groupAs": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
6
.mattrbld/users/lee-cattarin-gmail-com.json
Normal file
6
.mattrbld/users/lee-cattarin-gmail-com.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"email": "lee.cattarin@gmail.com",
|
||||||
|
"id": "lee-cattarin-gmail-com",
|
||||||
|
"name": "Lee Cattarin",
|
||||||
|
"role": "owner"
|
||||||
|
}
|
||||||
0
src/categories/.gitkeep
Normal file
0
src/categories/.gitkeep
Normal file
8
src/categories/tests.md
Normal file
8
src/categories/tests.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: Test Category
|
||||||
|
products:
|
||||||
|
- buy_btn_1To8elGBKE368w4e9N30YoK6
|
||||||
|
- buy_btn_1To8OjGBKE368w4en9Tb9tbF
|
||||||
|
___mb_schema: /.mattrbld/schemas/product-category.json
|
||||||
|
---
|
||||||
|
|
||||||
Reference in New Issue
Block a user