mirror of
https://github.com/Nezumi-2711/strapi-cloud-template-blog-acf3cc33ae.git
synced 2026-09-22 20:02:05 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"kind": "singleType",
|
||||
"collectionName": "abouts",
|
||||
"info": {
|
||||
"singularName": "about",
|
||||
"pluralName": "abouts",
|
||||
"displayName": "About",
|
||||
"description": "Write about yourself and the content you create"
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": false
|
||||
},
|
||||
"pluginOptions": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"blocks": {
|
||||
"type": "dynamiczone",
|
||||
"components": ["shared.media", "shared.quote", "shared.rich-text", "shared.slider"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* about controller
|
||||
*/
|
||||
|
||||
const { createCoreController } = require('@strapi/strapi').factories;
|
||||
|
||||
module.exports = createCoreController('api::about.about');
|
||||
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* about router.
|
||||
*/
|
||||
|
||||
const { createCoreRouter } = require('@strapi/strapi').factories;
|
||||
|
||||
module.exports = createCoreRouter('api::about.about');
|
||||
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* about service.
|
||||
*/
|
||||
|
||||
const { createCoreService } = require('@strapi/strapi').factories;
|
||||
|
||||
module.exports = createCoreService('api::about.about');
|
||||
Reference in New Issue
Block a user