Commit 771c9e45 by Gaurav Dev

added Testimonial collection

1 parent 8c57f849
{
"kind": "collectionType",
"collectionName": "testimonials",
"info": {
"singularName": "testimonial",
"pluralName": "testimonials",
"displayName": "Testimonials",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Testimonial": {
"type": "component",
"repeatable": true,
"component": "layout.testimonial"
}
}
}
'use strict';
/**
* testimonial controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::testimonial.testimonial');
'use strict';
/**
* testimonial router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::testimonial.testimonial');
'use strict';
/**
* testimonial service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::testimonial.testimonial');
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!