convert about types from component to collection-type
This commit is contained in:
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "yoga_about_us_components",
|
||||
"info": {
|
||||
"singularName": "yoga-about-us-component",
|
||||
"pluralName": "yoga-about-us-components",
|
||||
"displayName": "YogaAboutUsComponent",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
},
|
||||
"type": "string"
|
||||
},
|
||||
"header": {
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
},
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
},
|
||||
"type": "text"
|
||||
},
|
||||
"content": {
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
},
|
||||
"type": "text"
|
||||
},
|
||||
"buttonText": {
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
},
|
||||
"type": "string"
|
||||
},
|
||||
"image": {
|
||||
"type": "media",
|
||||
"multiple": false,
|
||||
"required": false,
|
||||
"allowedTypes": [
|
||||
"images",
|
||||
"files"
|
||||
],
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
},
|
||||
"type": "string"
|
||||
},
|
||||
"buttonLink": {
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
},
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-about-us-component controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::yoga-about-us-component.yoga-about-us-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-about-us-component router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::yoga-about-us-component.yoga-about-us-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-about-us-component service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::yoga-about-us-component.yoga-about-us-component');
|
||||
Reference in New Issue
Block a user