Commit d378c8f6 by Harish Patel

added new content types

1 parent ab926455
{
"kind": "collectionType",
"collectionName": "banking_partners",
"info": {
"singularName": "banking-partner",
"pluralName": "banking-partners",
"displayName": "Banking Partner"
},
"options": {
"draftAndPublish": false
},
"pluginOptions": {},
"attributes": {
"logo": {
"allowedTypes": [
"images"
],
"type": "media",
"multiple": false,
"required": true
},
"title": {
"type": "string",
"required": false
}
}
}
'use strict';
/**
* banking-partner controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::banking-partner.banking-partner');
'use strict';
/**
* banking-partner router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::banking-partner.banking-partner');
'use strict';
/**
* banking-partner service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::banking-partner.banking-partner');
{
"kind": "singleType",
"collectionName": "delivery_stats",
"info": {
"singularName": "delivery-stat",
"pluralName": "delivery-stats",
"displayName": "Delivery Stat",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"statistics": {
"type": "richtext"
},
"backgroundImage": {
"allowedTypes": [
"images"
],
"type": "media",
"multiple": false
}
}
}
'use strict';
/**
* delivery-stat controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::delivery-stat.delivery-stat');
'use strict';
/**
* delivery-stat router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::delivery-stat.delivery-stat');
'use strict';
/**
* delivery-stat service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::delivery-stat.delivery-stat');
{
"kind": "collectionType",
"collectionName": "home_banners",
"info": {
"singularName": "home-banner",
"pluralName": "home-banners",
"displayName": "Home Banner"
},
"options": {
"draftAndPublish": false
},
"pluginOptions": {},
"attributes": {
"title": {
"type": "string",
"required": false
},
"subTitle": {
"type": "string"
},
"image": {
"allowedTypes": [
"images"
],
"type": "media",
"multiple": false
}
}
}
'use strict';
/**
* home-banner controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::home-banner.home-banner');
'use strict';
/**
* home-banner router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::home-banner.home-banner');
'use strict';
/**
* home-banner service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::home-banner.home-banner');
{
"kind": "singleType",
"collectionName": "home_contents",
"info": {
"singularName": "home-content",
"pluralName": "home-contents",
"displayName": "Home Content",
"description": ""
},
"options": {
"draftAndPublish": false
},
"pluginOptions": {},
"attributes": {
"content": {
"type": "richtext",
"required": true
},
"image1": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
]
},
"image2": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
]
},
"image3": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
]
},
"title1": {
"type": "text"
},
"title2": {
"type": "text"
},
"title3": {
"type": "text"
}
}
}
'use strict';
/**
* home-content controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::home-content.home-content');
'use strict';
/**
* home-content router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::home-content.home-content');
'use strict';
/**
* home-content service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::home-content.home-content');
{
"kind": "collectionType",
"collectionName": "projects",
"info": {
"singularName": "project",
"pluralName": "projects",
"displayName": "Project",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"images": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
]
},
"projectName": {
"type": "string",
"required": true
},
"address": {
"type": "text",
"required": true
},
"priceFrom": {
"type": "decimal",
"required": true
},
"priceTo": {
"type": "decimal",
"required": true
},
"status": {
"type": "enumeration",
"enum": [
"New",
"Under Construction",
"Ready To Move In",
"Completed"
],
"required": true,
"default": "New"
},
"minBedrooms": {
"type": "integer",
"required": true
},
"maxBedrooms": {
"type": "integer",
"required": true
},
"heroText1": {
"type": "text"
},
"heroText2": {
"type": "text"
},
"description": {
"type": "richtext",
"required": true
},
"digitalSalesPresentation": {
"type": "media",
"multiple": false,
"required": true,
"allowedTypes": [
"videos"
]
},
"floorPlans": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
]
},
"unitPlans": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
]
},
"masterLayoutPlans": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
]
},
"details": {
"type": "richtext",
"required": true
},
"featuredOnHome": {
"type": "boolean",
"default": false,
"required": true
}
}
}
'use strict';
/**
* project controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::project.project');
'use strict';
/**
* project router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::project.project');
'use strict';
/**
* project service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::project.project');
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!