Commit 490e2f74 by jaymehta

test entity

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