test contents

master
km0 3 years ago
parent a00c9d2aef
commit c7f74b9d64

@ -0,0 +1,52 @@
{
"routes": [
{
"method": "GET",
"path": "/contributions",
"handler": "contribution.find",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/contributions/count",
"handler": "contribution.count",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/contributions/:id",
"handler": "contribution.findOne",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/contributions",
"handler": "contribution.create",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/contributions/:id",
"handler": "contribution.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/contributions/:id",
"handler": "contribution.delete",
"config": {
"policies": []
}
}
]
}

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-controllers)
* to customize this controller
*/
module.exports = {};

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};

@ -0,0 +1,28 @@
{
"kind": "collectionType",
"collectionName": "contributions",
"info": {
"name": "contribution"
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"title": {
"type": "string",
"required": true,
"unique": true
},
"contents": {
"type": "richtext",
"required": true
},
"credits": {
"type": "richtext",
"required": true
}
}
}

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-services)
* to customize this service
*/
module.exports = {};

@ -0,0 +1,52 @@
{
"routes": [
{
"method": "GET",
"path": "/corpuses",
"handler": "corpus.find",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/corpuses/count",
"handler": "corpus.count",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/corpuses/:id",
"handler": "corpus.findOne",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/corpuses",
"handler": "corpus.create",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/corpuses/:id",
"handler": "corpus.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/corpuses/:id",
"handler": "corpus.delete",
"config": {
"policies": []
}
}
]
}

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-controllers)
* to customize this controller
*/
module.exports = {};

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};

@ -0,0 +1,31 @@
{
"kind": "collectionType",
"collectionName": "corpora",
"info": {
"name": "corpus",
"description": ""
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"title": {
"type": "string",
"required": true,
"unique": true
},
"description": {
"type": "richtext",
"required": true
},
"contents": {
"type": "dynamiczone",
"components": [
"contents.content"
]
}
}
}

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-services)
* to customize this service
*/
module.exports = {};

@ -44,6 +44,10 @@
], ],
"required": true, "required": true,
"min": 1 "min": 1
},
"description": {
"type": "richtext",
"required": true
} }
} }
} }

@ -0,0 +1,52 @@
{
"routes": [
{
"method": "GET",
"path": "/modules",
"handler": "module.find",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/modules/count",
"handler": "module.count",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/modules/:id",
"handler": "module.findOne",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/modules",
"handler": "module.create",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/modules/:id",
"handler": "module.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/modules/:id",
"handler": "module.delete",
"config": {
"policies": []
}
}
]
}

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-controllers)
* to customize this controller
*/
module.exports = {};

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};

@ -0,0 +1,27 @@
{
"kind": "collectionType",
"collectionName": "modules",
"info": {
"name": "module"
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"name": {
"type": "string",
"required": true,
"unique": true
},
"description": {
"type": "richtext",
"required": true
},
"functions": {
"collection": "function"
}
}
}

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-services)
* to customize this service
*/
module.exports = {};

@ -0,0 +1,52 @@
{
"routes": [
{
"method": "GET",
"path": "/projects",
"handler": "project.find",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/projects/count",
"handler": "project.count",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/projects/:id",
"handler": "project.findOne",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/projects",
"handler": "project.create",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/projects/:id",
"handler": "project.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/projects/:id",
"handler": "project.delete",
"config": {
"policies": []
}
}
]
}

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-controllers)
* to customize this controller
*/
module.exports = {};

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};

@ -0,0 +1,34 @@
{
"kind": "collectionType",
"collectionName": "projects",
"info": {
"name": "project",
"description": ""
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"title": {
"type": "string",
"required": true,
"unique": true
},
"description": {
"type": "richtext",
"required": true
},
"colophon": {
"type": "richtext",
"required": true
},
"project_documentation": {
"type": "component",
"repeatable": false,
"component": "project.project-documentation"
}
}
}

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-services)
* to customize this service
*/
module.exports = {};

@ -0,0 +1,28 @@
{
"routes": [
{
"method": "GET",
"path": "/sp-16",
"handler": "sp16.find",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/sp-16",
"handler": "sp16.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/sp-16",
"handler": "sp16.delete",
"config": {
"policies": []
}
}
]
}

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-controllers)
* to customize this controller
*/
module.exports = {};

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};

@ -0,0 +1,34 @@
{
"kind": "singleType",
"collectionName": "sp16s",
"info": {
"name": "sp16"
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"title": {
"type": "string",
"required": true
},
"description": {
"type": "richtext"
},
"cover": {
"model": "file",
"via": "related",
"allowedTypes": [
"images",
"files",
"videos"
],
"plugin": "upload",
"required": false,
"pluginOptions": {}
}
}
}

@ -0,0 +1,8 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-services)
* to customize this service
*/
module.exports = {};

@ -0,0 +1,25 @@
{
"collectionName": "components_contents_contents",
"info": {
"name": "content",
"icon": "hamburger"
},
"options": {},
"attributes": {
"text": {
"type": "richtext"
},
"media": {
"collection": "file",
"via": "related",
"allowedTypes": [
"files",
"images",
"videos"
],
"plugin": "upload",
"required": false,
"pluginOptions": {}
}
}
}

@ -0,0 +1,25 @@
{
"collectionName": "components_project_documentations",
"info": {
"name": "documentation",
"icon": "campground"
},
"options": {},
"attributes": {
"text": {
"type": "richtext"
},
"media": {
"collection": "file",
"via": "related",
"allowedTypes": [
"files",
"images",
"videos"
],
"plugin": "upload",
"required": false,
"pluginOptions": {}
}
}
}

@ -0,0 +1,25 @@
{
"collectionName": "components_project_project_documentations",
"info": {
"name": "project documentation",
"icon": "book-open",
"description": ""
},
"options": {},
"attributes": {
"contents": {
"type": "richtext",
"required": true
},
"documentation": {
"type": "component",
"repeatable": false,
"component": "project.documentation"
},
"references": {
"type": "component",
"repeatable": false,
"component": "project.references"
}
}
}

@ -0,0 +1,19 @@
{
"collectionName": "components_project_references",
"info": {
"name": "references",
"icon": "anchor"
},
"options": {},
"attributes": {
"contributions": {
"collection": "contribution"
},
"corpora": {
"collection": "corpus"
},
"functions": {
"collection": "function"
}
}
}
Loading…
Cancel
Save