Commit f6986586 by jaymehta
2 parents 78b76b2e e2a91997
{
"kind": "collectionType",
"collectionName": "faqs",
"info": {
"singularName": "faq",
"pluralName": "faqs",
"displayName": "FAQs"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"question": {
"type": "text"
},
"answer": {
"type": "richtext"
}
}
}
'use strict';
/**
* faq controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::faq.faq');
'use strict';
/**
* faq router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::faq.faq');
'use strict';
/**
* faq service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::faq.faq');
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!