switch to forest theme
This commit is contained in:
parent
ce50f8a6d6
commit
3ea150227b
9 changed files with 76 additions and 11 deletions
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"kind": "singleType",
|
||||
"collectionName": "site_backgrounds",
|
||||
"info": {
|
||||
"singularName": "site-background",
|
||||
"pluralName": "site-backgrounds",
|
||||
"displayName": "Site Background"
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"attributes": {
|
||||
"Background": {
|
||||
"allowedTypes": ["images", "files", "videos", "audios"],
|
||||
"type": "media",
|
||||
"multiple": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* site-background controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreController('api::site-background.site-background');
|
||||
7
strapi/src/api/site-background/routes/site-background.ts
Normal file
7
strapi/src/api/site-background/routes/site-background.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* site-background router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::site-background.site-background');
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* site-background service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::site-background.site-background');
|
||||
Loading…
Add table
Add a link
Reference in a new issue