add consitent values to lists

This commit is contained in:
Julian Krauser 2025-01-05 16:56:49 +01:00
parent 5d43696417
commit 00ccbf8752
7 changed files with 72 additions and 34 deletions

14
package-lock.json generated
View file

@ -8,7 +8,7 @@
"name": "webpage-cms", "name": "webpage-cms",
"version": "1.0.0", "version": "1.0.0",
"dependencies": { "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-color-picker": "^5.1.1",
"@strapi/plugin-documentation": "^5.1.1", "@strapi/plugin-documentation": "^5.1.1",
"@strapi/plugin-graphql": "^5.1.1", "@strapi/plugin-graphql": "^5.1.1",
@ -1668,9 +1668,9 @@
} }
}, },
"node_modules/@offset-dev/strapi-calendar": { "node_modules/@offset-dev/strapi-calendar": {
"version": "1.0.0-beta.1", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/@offset-dev/strapi-calendar/-/strapi-calendar-1.0.0-beta.1.tgz", "resolved": "https://registry.npmjs.org/@offset-dev/strapi-calendar/-/strapi-calendar-1.0.0.tgz",
"integrity": "sha512-ipMPvE7D94FV8UaBElagdWO/pIyGEZXi880jjcE+mQZtavDwOD6ZyJKelRENTeMKxjN0zDT1Q13oAAJuJMG/iQ==", "integrity": "sha512-ZsMLnJKRXprFScTVIP1psAppoOeWnHNv3BpuJXiIxTnY16tLIG2PHPiWDWtA/aGh/yfqhUg1W5YMMlcLqmDOlA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@fullcalendar/core": "^6.1.15", "@fullcalendar/core": "^6.1.15",
@ -22415,9 +22415,9 @@
} }
}, },
"@offset-dev/strapi-calendar": { "@offset-dev/strapi-calendar": {
"version": "1.0.0-beta.1", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/@offset-dev/strapi-calendar/-/strapi-calendar-1.0.0-beta.1.tgz", "resolved": "https://registry.npmjs.org/@offset-dev/strapi-calendar/-/strapi-calendar-1.0.0.tgz",
"integrity": "sha512-ipMPvE7D94FV8UaBElagdWO/pIyGEZXi880jjcE+mQZtavDwOD6ZyJKelRENTeMKxjN0zDT1Q13oAAJuJMG/iQ==", "integrity": "sha512-ZsMLnJKRXprFScTVIP1psAppoOeWnHNv3BpuJXiIxTnY16tLIG2PHPiWDWtA/aGh/yfqhUg1W5YMMlcLqmDOlA==",
"requires": { "requires": {
"@fullcalendar/core": "^6.1.15", "@fullcalendar/core": "^6.1.15",
"@fullcalendar/daygrid": "^6.1.15", "@fullcalendar/daygrid": "^6.1.15",

View file

@ -11,7 +11,7 @@
"strapi": "strapi" "strapi": "strapi"
}, },
"dependencies": { "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-color-picker": "^5.1.1",
"@strapi/plugin-documentation": "^5.1.1", "@strapi/plugin-documentation": "^5.1.1",
"@strapi/plugin-graphql": "^5.1.1", "@strapi/plugin-graphql": "^5.1.1",

View file

@ -35,25 +35,19 @@
"image": { "image": {
"type": "media", "type": "media",
"multiple": false, "multiple": false,
"required": true, "allowedTypes": ["images"],
"allowedTypes": [
"images"
],
"pluginOptions": {} "pluginOptions": {}
}, },
"attachment": { "attachment": {
"type": "media", "type": "media",
"multiple": true, "multiple": true,
"required": false, "required": false,
"allowedTypes": [ "allowedTypes": ["images"],
"images"
],
"pluginOptions": {} "pluginOptions": {}
}, },
"date": { "date": {
"pluginOptions": {}, "pluginOptions": {},
"type": "date", "type": "date"
"required": true
} }
} }
} }

View file

@ -28,10 +28,26 @@
"targetField": "title", "targetField": "title",
"required": true "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": { "date": {
"pluginOptions": {}, "pluginOptions": {},
"type": "datetime", "type": "date"
"required": true
} }
} }
} }

View file

@ -28,22 +28,26 @@
"targetField": "title", "targetField": "title",
"required": true "required": true
}, },
"content": {
"pluginOptions": {},
"type": "blocks"
},
"image": {
"type": "media",
"multiple": false,
"allowedTypes": ["images"],
"pluginOptions": {}
},
"attachment": { "attachment": {
"type": "media", "type": "media",
"multiple": true, "multiple": true,
"required": false, "required": false,
"allowedTypes": [ "allowedTypes": ["images"],
"images"
],
"pluginOptions": {} "pluginOptions": {}
}, },
"date": { "date": {
"pluginOptions": {}, "pluginOptions": {},
"type": "datetime", "type": "date"
"required": true
},
"content": {
"type": "blocks"
} }
} }
} }

View file

@ -34,20 +34,19 @@
"image": { "image": {
"type": "media", "type": "media",
"multiple": false, "multiple": false,
"required": true, "allowedTypes": ["images"],
"allowedTypes": [
"images"
],
"pluginOptions": {} "pluginOptions": {}
}, },
"attachment": { "attachment": {
"type": "media", "type": "media",
"multiple": true, "multiple": true,
"required": false, "required": false,
"allowedTypes": [ "allowedTypes": ["images"],
"images"
],
"pluginOptions": {} "pluginOptions": {}
},
"date": {
"pluginOptions": {},
"type": "date"
} }
} }
} }

View 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": "[^,]+"
}
}
}