Commit dc363670 by Ravindra Kanojiya

pdf field created

1 parent 62d620e6
{
"kind": "collectionType",
"collectionName": "custom_pdfs",
"info": {
"singularName": "custom-pdf",
"pluralName": "custom-pdfs",
"displayName": "Custom PDFs",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"title": {
"type": "string"
},
"pdf": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
}
}
}
'use strict';
/**
* custom-pdf controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::custom-pdf.custom-pdf');
'use strict';
/**
* custom-pdf router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::custom-pdf.custom-pdf');
'use strict';
/**
* custom-pdf service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::custom-pdf.custom-pdf');
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!