From ac08cd420d1026796455a96a34462a6a5d2d10d9 Mon Sep 17 00:00:00 2001 From: Yusmardianto Date: Mon, 8 Mar 2021 09:35:15 +0700 Subject: [PATCH] yarn build --- api/company/config/routes.json | 52 -------------------------------- api/company/controllers/company.js | 8 ----- api/company/models/company.js | 8 ----- api/company/models/company.settings.json | 28 ----------------- api/company/services/company.js | 8 ----- 5 files changed, 104 deletions(-) delete mode 100644 api/company/config/routes.json delete mode 100644 api/company/controllers/company.js delete mode 100644 api/company/models/company.js delete mode 100644 api/company/models/company.settings.json delete mode 100644 api/company/services/company.js diff --git a/api/company/config/routes.json b/api/company/config/routes.json deleted file mode 100644 index e5c06c9..0000000 --- a/api/company/config/routes.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "routes": [ - { - "method": "GET", - "path": "/companies", - "handler": "company.find", - "config": { - "policies": [] - } - }, - { - "method": "GET", - "path": "/companies/count", - "handler": "company.count", - "config": { - "policies": [] - } - }, - { - "method": "GET", - "path": "/companies/:id", - "handler": "company.findOne", - "config": { - "policies": [] - } - }, - { - "method": "POST", - "path": "/companies", - "handler": "company.create", - "config": { - "policies": [] - } - }, - { - "method": "PUT", - "path": "/companies/:id", - "handler": "company.update", - "config": { - "policies": [] - } - }, - { - "method": "DELETE", - "path": "/companies/:id", - "handler": "company.delete", - "config": { - "policies": [] - } - } - ] -} diff --git a/api/company/controllers/company.js b/api/company/controllers/company.js deleted file mode 100644 index 556f4fc..0000000 --- a/api/company/controllers/company.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -/** - * Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/controllers.html#core-controllers) - * to customize this controller - */ - -module.exports = {}; diff --git a/api/company/models/company.js b/api/company/models/company.js deleted file mode 100644 index dd847ef..0000000 --- a/api/company/models/company.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -/** - * Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/models.html#lifecycle-hooks) - * to customize this model - */ - -module.exports = {}; diff --git a/api/company/models/company.settings.json b/api/company/models/company.settings.json deleted file mode 100644 index bcde894..0000000 --- a/api/company/models/company.settings.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "kind": "collectionType", - "collectionName": "companies", - "info": { - "name": "Company" - }, - "options": { - "increments": true, - "timestamps": true, - "draftAndPublish": true - }, - "attributes": { - "name": { - "type": "string" - }, - "img": { - "model": "file", - "via": "related", - "allowedTypes": [ - "images", - "files", - "videos" - ], - "plugin": "upload", - "required": false - } - } -} diff --git a/api/company/services/company.js b/api/company/services/company.js deleted file mode 100644 index 6bc4168..0000000 --- a/api/company/services/company.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -/** - * Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/services.html#core-services) - * to customize this service - */ - -module.exports = {};