add consitent values to lists
This commit is contained in:
parent
5d43696417
commit
00ccbf8752
7 changed files with 72 additions and 34 deletions
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -8,7 +8,7 @@
|
|||
"name": "webpage-cms",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"@offset-dev/strapi-calendar": "^1.0.0-beta.1",
|
||||
"@offset-dev/strapi-calendar": "^1.0.0",
|
||||
"@strapi/plugin-color-picker": "^5.1.1",
|
||||
"@strapi/plugin-documentation": "^5.1.1",
|
||||
"@strapi/plugin-graphql": "^5.1.1",
|
||||
|
@ -1668,9 +1668,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@offset-dev/strapi-calendar": {
|
||||
"version": "1.0.0-beta.1",
|
||||
"resolved": "https://registry.npmjs.org/@offset-dev/strapi-calendar/-/strapi-calendar-1.0.0-beta.1.tgz",
|
||||
"integrity": "sha512-ipMPvE7D94FV8UaBElagdWO/pIyGEZXi880jjcE+mQZtavDwOD6ZyJKelRENTeMKxjN0zDT1Q13oAAJuJMG/iQ==",
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@offset-dev/strapi-calendar/-/strapi-calendar-1.0.0.tgz",
|
||||
"integrity": "sha512-ZsMLnJKRXprFScTVIP1psAppoOeWnHNv3BpuJXiIxTnY16tLIG2PHPiWDWtA/aGh/yfqhUg1W5YMMlcLqmDOlA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@fullcalendar/core": "^6.1.15",
|
||||
|
@ -22415,9 +22415,9 @@
|
|||
}
|
||||
},
|
||||
"@offset-dev/strapi-calendar": {
|
||||
"version": "1.0.0-beta.1",
|
||||
"resolved": "https://registry.npmjs.org/@offset-dev/strapi-calendar/-/strapi-calendar-1.0.0-beta.1.tgz",
|
||||
"integrity": "sha512-ipMPvE7D94FV8UaBElagdWO/pIyGEZXi880jjcE+mQZtavDwOD6ZyJKelRENTeMKxjN0zDT1Q13oAAJuJMG/iQ==",
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@offset-dev/strapi-calendar/-/strapi-calendar-1.0.0.tgz",
|
||||
"integrity": "sha512-ZsMLnJKRXprFScTVIP1psAppoOeWnHNv3BpuJXiIxTnY16tLIG2PHPiWDWtA/aGh/yfqhUg1W5YMMlcLqmDOlA==",
|
||||
"requires": {
|
||||
"@fullcalendar/core": "^6.1.15",
|
||||
"@fullcalendar/daygrid": "^6.1.15",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"strapi": "strapi"
|
||||
},
|
||||
"dependencies": {
|
||||
"@offset-dev/strapi-calendar": "^1.0.0-beta.1",
|
||||
"@offset-dev/strapi-calendar": "^1.0.0",
|
||||
"@strapi/plugin-color-picker": "^5.1.1",
|
||||
"@strapi/plugin-documentation": "^5.1.1",
|
||||
"@strapi/plugin-graphql": "^5.1.1",
|
||||
|
|
|
@ -35,25 +35,19 @@
|
|||
"image": {
|
||||
"type": "media",
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
],
|
||||
"allowedTypes": ["images"],
|
||||
"pluginOptions": {}
|
||||
},
|
||||
"attachment": {
|
||||
"type": "media",
|
||||
"multiple": true,
|
||||
"required": false,
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
],
|
||||
"allowedTypes": ["images"],
|
||||
"pluginOptions": {}
|
||||
},
|
||||
"date": {
|
||||
"pluginOptions": {},
|
||||
"type": "date",
|
||||
"required": true
|
||||
"type": "date"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,10 +28,26 @@
|
|||
"targetField": "title",
|
||||
"required": true
|
||||
},
|
||||
"content": {
|
||||
"pluginOptions": {},
|
||||
"type": "blocks"
|
||||
},
|
||||
"image": {
|
||||
"type": "media",
|
||||
"multiple": false,
|
||||
"allowedTypes": ["images"],
|
||||
"pluginOptions": {}
|
||||
},
|
||||
"attachment": {
|
||||
"type": "media",
|
||||
"multiple": true,
|
||||
"required": false,
|
||||
"allowedTypes": ["images"],
|
||||
"pluginOptions": {}
|
||||
},
|
||||
"date": {
|
||||
"pluginOptions": {},
|
||||
"type": "datetime",
|
||||
"required": true
|
||||
"type": "date"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,22 +28,26 @@
|
|||
"targetField": "title",
|
||||
"required": true
|
||||
},
|
||||
"content": {
|
||||
"pluginOptions": {},
|
||||
"type": "blocks"
|
||||
},
|
||||
"image": {
|
||||
"type": "media",
|
||||
"multiple": false,
|
||||
"allowedTypes": ["images"],
|
||||
"pluginOptions": {}
|
||||
},
|
||||
"attachment": {
|
||||
"type": "media",
|
||||
"multiple": true,
|
||||
"required": false,
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
],
|
||||
"allowedTypes": ["images"],
|
||||
"pluginOptions": {}
|
||||
},
|
||||
"date": {
|
||||
"pluginOptions": {},
|
||||
"type": "datetime",
|
||||
"required": true
|
||||
},
|
||||
"content": {
|
||||
"type": "blocks"
|
||||
"type": "date"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,20 +34,19 @@
|
|||
"image": {
|
||||
"type": "media",
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
],
|
||||
"allowedTypes": ["images"],
|
||||
"pluginOptions": {}
|
||||
},
|
||||
"attachment": {
|
||||
"type": "media",
|
||||
"multiple": true,
|
||||
"required": false,
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
],
|
||||
"allowedTypes": ["images"],
|
||||
"pluginOptions": {}
|
||||
},
|
||||
"date": {
|
||||
"pluginOptions": {},
|
||||
"type": "date"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
25
src/components/shared/seo.json
Normal file
25
src/components/shared/seo.json
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"collectionName": "components_shared_seos",
|
||||
"info": {
|
||||
"displayName": "seo",
|
||||
"icon": "search",
|
||||
"description": ""
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"metaTitle": {
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"maxLength": 60
|
||||
},
|
||||
"metaDescription": {
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"minLength": 50
|
||||
},
|
||||
"keywords": {
|
||||
"type": "text",
|
||||
"regex": "[^,]+"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue