Commit d5e7bbfd by sujata

backend compoents

1 parent c6c29785
Showing 43 changed files with 1015 additions and 1 deletions
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
"upgrade:dry": "npx @strapi/upgrade latest --dry" "upgrade:dry": "npx @strapi/upgrade latest --dry"
}, },
"dependencies": { "dependencies": {
"@_sh/strapi-plugin-ckeditor": "^6.0.2",
"@strapi/plugin-cloud": "5.15.1", "@strapi/plugin-cloud": "5.15.1",
"@strapi/plugin-users-permissions": "5.15.1", "@strapi/plugin-users-permissions": "5.15.1",
"@strapi/strapi": "5.15.1", "@strapi/strapi": "5.15.1",
...@@ -24,7 +25,6 @@ ...@@ -24,7 +25,6 @@
"react-router-dom": "^6.0.0", "react-router-dom": "^6.0.0",
"styled-components": "^6.0.0" "styled-components": "^6.0.0"
}, },
"devDependencies": {},
"engines": { "engines": {
"node": ">=18.0.0 <=22.x.x", "node": ">=18.0.0 <=22.x.x",
"npm": ">=6.0.0" "npm": ">=6.0.0"
......
{
"kind": "singleType",
"collectionName": "founder_chairman_messages",
"info": {
"singularName": "founder-chairman-message",
"pluralName": "founder-chairman-messages",
"displayName": "Founder Chairman Message"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Banner": {
"type": "component",
"component": "inner-banner.inner-banner",
"repeatable": false
},
"Heading": {
"type": "component",
"component": "heading.heading",
"repeatable": false
},
"Chairman": {
"type": "richtext"
},
"VideoGallery": {
"type": "component",
"component": "aboutus.video-gallery",
"repeatable": false
},
"FounderMsg": {
"type": "richtext"
},
"seo": {
"type": "component",
"component": "shared.seo",
"repeatable": false
},
"Image": {
"type": "customField",
"customField": "plugin::ckeditor5.CKEditor",
"options": {
"preset": "defaultHtml"
}
}
}
}
'use strict';
/**
* founder-chairman-message controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::founder-chairman-message.founder-chairman-message');
'use strict';
/**
* founder-chairman-message router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::founder-chairman-message.founder-chairman-message');
'use strict';
/**
* founder-chairman-message service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::founder-chairman-message.founder-chairman-message');
{
"kind": "singleType",
"collectionName": "home_pages",
"info": {
"singularName": "home-page",
"pluralName": "home-pages",
"displayName": "HomePage"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Overview": {
"type": "component",
"component": "home.overview",
"repeatable": false
},
"seo": {
"type": "component",
"component": "shared.seo",
"repeatable": true
},
"LifeatIBA": {
"type": "component",
"component": "home.lifeat-iba",
"repeatable": false
}
}
}
'use strict';
/**
* home-page controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::home-page.home-page');
'use strict';
/**
* home-page router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::home-page.home-page');
'use strict';
/**
* home-page service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::home-page.home-page');
{
"kind": "singleType",
"collectionName": "members_of_academic_councils",
"info": {
"singularName": "members-of-academic-council",
"pluralName": "members-of-academic-councils",
"displayName": "Members of Academic Council"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Heading": {
"type": "component",
"component": "heading.heading",
"repeatable": true
},
"membersacademiccouncil": {
"type": "component",
"component": "aboutus.council-team",
"repeatable": true
},
"seo": {
"type": "component",
"component": "shared.seo",
"repeatable": false
}
}
}
'use strict';
/**
* members-of-academic-council controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::members-of-academic-council.members-of-academic-council');
'use strict';
/**
* members-of-academic-council router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::members-of-academic-council.members-of-academic-council');
'use strict';
/**
* members-of-academic-council service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::members-of-academic-council.members-of-academic-council');
{
"kind": "singleType",
"collectionName": "mission_vision_pages",
"info": {
"singularName": "mission-vision-page",
"pluralName": "mission-vision-pages",
"displayName": "MissionVisionPage"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Banner": {
"type": "component",
"component": "inner-banner.inner-banner",
"repeatable": false
},
"Vision": {
"type": "component",
"component": "aboutus.mission-and-vision",
"repeatable": false
},
"mission": {
"type": "component",
"component": "aboutus.mission",
"repeatable": false
},
"VideoGallery": {
"type": "component",
"component": "aboutus.video-gallery",
"repeatable": false
},
"seo": {
"type": "component",
"component": "shared.seo",
"repeatable": false
}
}
}
'use strict';
/**
* mission-vision-page controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::mission-vision-page.mission-vision-page');
'use strict';
/**
* mission-vision-page router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::mission-vision-page.mission-vision-page');
'use strict';
/**
* mission-vision-page service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::mission-vision-page.mission-vision-page');
{
"kind": "singleType",
"collectionName": "the_governing_councils",
"info": {
"singularName": "the-governing-council",
"pluralName": "the-governing-councils",
"displayName": "The Governing Council"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"councilmember": {
"type": "component",
"component": "aboutus.council-team",
"repeatable": true
},
"seo": {
"type": "component",
"component": "shared.seo",
"repeatable": true
},
"Banner": {
"type": "component",
"component": "inner-banner.inner-banner",
"repeatable": false
}
}
}
'use strict';
/**
* the-governing-council controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::the-governing-council.the-governing-council');
'use strict';
/**
* the-governing-council router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::the-governing-council.the-governing-council');
'use strict';
/**
* the-governing-council service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::the-governing-council.the-governing-council');
{
"collectionName": "components_aboutus_council_teams",
"info": {
"displayName": "Council Team"
},
"options": {},
"attributes": {
"Name": {
"type": "string"
},
"Information": {
"type": "text"
},
"Image": {
"type": "media",
"multiple": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
}
},
"config": {}
}
{
"collectionName": "components_aboutus_mission_and_visions",
"info": {
"displayName": "Mission&Vision"
},
"options": {},
"attributes": {
"Title": {
"type": "string"
},
"Description": {
"type": "text"
},
"Image": {
"type": "media",
"multiple": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
}
},
"config": {}
}
{
"collectionName": "components_aboutus_missions",
"info": {
"displayName": "Mission"
},
"options": {},
"attributes": {
"Title": {
"type": "string"
},
"Description": {
"type": "text"
},
"Image": {
"type": "media",
"multiple": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
}
},
"config": {}
}
{
"collectionName": "components_aboutus_video_galleries",
"info": {
"displayName": "VideoGallery"
},
"options": {},
"attributes": {
"Heading": {
"type": "component",
"component": "heading.heading",
"repeatable": false
},
"Video": {
"type": "component",
"component": "aboutus.videolist",
"repeatable": true
}
},
"config": {}
}
{
"collectionName": "components_aboutus_videolists",
"info": {
"displayName": "Videolist"
},
"options": {},
"attributes": {
"Title": {
"type": "string"
},
"videolink": {
"type": "string"
}
},
"config": {}
}
{
"collectionName": "components_aboutus_vissions",
"info": {
"displayName": "vission"
},
"options": {},
"attributes": {},
"config": {}
}
{
"collectionName": "components_button_butttons",
"info": {
"displayName": "Buttton"
},
"options": {},
"attributes": {
"Label": {
"type": "string"
},
"Btn_link": {
"type": "string"
}
},
"config": {}
}
{
"collectionName": "components_heading_headings",
"info": {
"displayName": "Heading"
},
"options": {},
"attributes": {
"Subheading": {
"type": "string"
},
"Heading1": {
"type": "string"
},
"Heading2": {
"type": "string"
}
},
"config": {}
}
{
"collectionName": "components_home_homes",
"info": {
"displayName": "Home"
},
"options": {},
"attributes": {},
"config": {}
}
{
"collectionName": "components_home_lifeat_ibas",
"info": {
"displayName": "LifeatIBA"
},
"options": {},
"attributes": {
"Heading": {
"type": "component",
"component": "heading.heading",
"repeatable": false
}
},
"config": {}
}
{
"collectionName": "components_home_overviews",
"info": {
"displayName": "Overview"
},
"options": {},
"attributes": {
"Heading": {
"type": "component",
"component": "heading.heading",
"repeatable": true
},
"Description": {
"type": "text"
}
},
"config": {}
}
{
"collectionName": "components_inner_banner_inner_banners",
"info": {
"displayName": "InnerBanner"
},
"options": {},
"attributes": {
"PageTitle": {
"type": "string"
},
"Desktopbanner": {
"type": "media",
"multiple": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
},
"Mobilebanner": {
"type": "media",
"multiple": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
},
"Subtitle": {
"type": "string"
},
"Description": {
"type": "text"
},
"logos": {
"type": "media",
"multiple": true,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
},
"Button": {
"type": "component",
"component": "button.buttton",
"repeatable": false
}
},
"config": {}
}
{
"collectionName": "components_shared_media",
"info": {
"displayName": "Media",
"icon": "file-video"
},
"options": {},
"attributes": {
"file": {
"allowedTypes": ["images", "files", "videos"],
"type": "media",
"multiple": false
}
}
}
{
"collectionName": "components_shared_meta_socials",
"info": {
"displayName": "metaSocial",
"icon": "project-diagram"
},
"options": {},
"attributes": {
"socialNetwork": {
"type": "enumeration",
"enum": [
"Facebook",
"Twitter"
],
"required": true
},
"title": {
"type": "string",
"required": true,
"maxLength": 60
},
"description": {
"type": "string",
"maxLength": 65,
"required": true
},
"image": {
"allowedTypes": [
"images",
"files",
"videos"
],
"type": "media",
"multiple": false
}
}
}
{
"collectionName": "components_shared_page_schemas",
"info": {
"displayName": "Page Schema"
},
"options": {},
"attributes": {
"jsonSchema": {
"type": "json"
},
"schemaName": {
"type": "string"
}
}
}
{
"collectionName": "components_shared_quotes",
"info": {
"displayName": "Quote",
"icon": "indent"
},
"options": {},
"attributes": {
"title": {
"type": "string"
},
"body": {
"type": "text"
}
}
}
{
"collectionName": "components_shared_rich_texts",
"info": {
"displayName": "Rich text",
"icon": "align-justify",
"description": ""
},
"options": {},
"attributes": {
"body": {
"type": "richtext"
}
}
}
{
"collectionName": "components_shared_seos",
"info": {
"displayName": "seo",
"icon": "search",
"description": ""
},
"options": {},
"attributes": {
"metaTitle": {
"required": true,
"type": "string",
"maxLength": 200,
"default": "IBA"
},
"metaDescription": {
"type": "string",
"required": false,
"maxLength": 250,
"minLength": 50
},
"metaImage": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
]
},
"metaSocial": {
"type": "component",
"repeatable": true,
"component": "shared.meta-social"
},
"keywords": {
"type": "text",
"regex": "[^,]+"
},
"metaRobots": {
"type": "string",
"regex": "[^,]+"
},
"metaViewport": {
"type": "string"
},
"canonicalURL": {
"type": "string"
},
"schema": {
"type": "component",
"repeatable": true,
"component": "shared.page-schema"
}
}
}
{
"collectionName": "components_shared_sliders",
"info": {
"displayName": "Slider",
"icon": "address-book",
"description": ""
},
"options": {},
"attributes": {
"files": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": ["images"]
}
}
}
import type { Schema, Struct } from '@strapi/strapi';
export interface AboutusCouncilTeam extends Struct.ComponentSchema {
collectionName: 'components_aboutus_council_teams';
info: {
displayName: 'Council Team';
};
attributes: {
Image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
Information: Schema.Attribute.Text;
Name: Schema.Attribute.String;
};
}
export interface AboutusMission extends Struct.ComponentSchema {
collectionName: 'components_aboutus_missions';
info: {
displayName: 'Mission';
};
attributes: {
Description: Schema.Attribute.Text;
Image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
Title: Schema.Attribute.String;
};
}
export interface AboutusMissionAndVision extends Struct.ComponentSchema {
collectionName: 'components_aboutus_mission_and_visions';
info: {
displayName: 'Mission&Vision';
};
attributes: {
Description: Schema.Attribute.Text;
Image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
Title: Schema.Attribute.String;
};
}
export interface AboutusVideoGallery extends Struct.ComponentSchema {
collectionName: 'components_aboutus_video_galleries';
info: {
displayName: 'VideoGallery';
};
attributes: {
Heading: Schema.Attribute.Component<'heading.heading', false>;
Video: Schema.Attribute.Component<'aboutus.videolist', true>;
};
}
export interface AboutusVideolist extends Struct.ComponentSchema {
collectionName: 'components_aboutus_videolists';
info: {
displayName: 'Videolist';
};
attributes: {
Title: Schema.Attribute.String;
videolink: Schema.Attribute.String;
};
}
export interface AboutusVission extends Struct.ComponentSchema {
collectionName: 'components_aboutus_vissions';
info: {
displayName: 'vission';
};
attributes: {};
}
export interface ButtonButtton extends Struct.ComponentSchema {
collectionName: 'components_button_butttons';
info: {
displayName: 'Buttton';
};
attributes: {
Btn_link: Schema.Attribute.String;
Label: Schema.Attribute.String;
};
}
export interface HeadingHeading extends Struct.ComponentSchema {
collectionName: 'components_heading_headings';
info: {
displayName: 'Heading';
};
attributes: {
Heading1: Schema.Attribute.String;
Heading2: Schema.Attribute.String;
Subheading: Schema.Attribute.String;
};
}
export interface HomeHome extends Struct.ComponentSchema {
collectionName: 'components_home_homes';
info: {
displayName: 'Home';
};
attributes: {};
}
export interface HomeLifeatIba extends Struct.ComponentSchema {
collectionName: 'components_home_lifeat_ibas';
info: {
displayName: 'LifeatIBA';
};
attributes: {
Heading: Schema.Attribute.Component<'heading.heading', false>;
};
}
export interface HomeOverview extends Struct.ComponentSchema {
collectionName: 'components_home_overviews';
info: {
displayName: 'Overview';
};
attributes: {
Description: Schema.Attribute.Text;
Heading: Schema.Attribute.Component<'heading.heading', true>;
};
}
export interface InnerBannerInnerBanner extends Struct.ComponentSchema {
collectionName: 'components_inner_banner_inner_banners';
info: {
displayName: 'InnerBanner';
};
attributes: {
Button: Schema.Attribute.Component<'button.buttton', false>;
Description: Schema.Attribute.Text;
Desktopbanner: Schema.Attribute.Media<
'images' | 'files' | 'videos' | 'audios'
>;
logos: Schema.Attribute.Media<
'images' | 'files' | 'videos' | 'audios',
true
>;
Mobilebanner: Schema.Attribute.Media<
'images' | 'files' | 'videos' | 'audios'
>;
PageTitle: Schema.Attribute.String;
Subtitle: Schema.Attribute.String;
};
}
export interface SharedMedia extends Struct.ComponentSchema {
collectionName: 'components_shared_media';
info: {
displayName: 'Media';
icon: 'file-video';
};
attributes: {
file: Schema.Attribute.Media<'images' | 'files' | 'videos'>;
};
}
export interface SharedMetaSocial extends Struct.ComponentSchema {
collectionName: 'components_shared_meta_socials';
info: {
displayName: 'metaSocial';
icon: 'project-diagram';
};
attributes: {
description: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetMinMaxLength<{
maxLength: 65;
}>;
image: Schema.Attribute.Media<'images' | 'files' | 'videos'>;
socialNetwork: Schema.Attribute.Enumeration<['Facebook', 'Twitter']> &
Schema.Attribute.Required;
title: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetMinMaxLength<{
maxLength: 60;
}>;
};
}
export interface SharedPageSchema extends Struct.ComponentSchema {
collectionName: 'components_shared_page_schemas';
info: {
displayName: 'Page Schema';
};
attributes: {
jsonSchema: Schema.Attribute.JSON;
schemaName: Schema.Attribute.String;
};
}
export interface SharedQuote extends Struct.ComponentSchema {
collectionName: 'components_shared_quotes';
info: {
displayName: 'Quote';
icon: 'indent';
};
attributes: {
body: Schema.Attribute.Text;
title: Schema.Attribute.String;
};
}
export interface SharedRichText extends Struct.ComponentSchema {
collectionName: 'components_shared_rich_texts';
info: {
description: '';
displayName: 'Rich text';
icon: 'align-justify';
};
attributes: {
body: Schema.Attribute.RichText;
};
}
export interface SharedSeo extends Struct.ComponentSchema {
collectionName: 'components_shared_seos';
info: {
description: '';
displayName: 'seo';
icon: 'search';
};
attributes: {
canonicalURL: Schema.Attribute.String;
keywords: Schema.Attribute.Text;
metaDescription: Schema.Attribute.String &
Schema.Attribute.SetMinMaxLength<{
maxLength: 250;
minLength: 50;
}>;
metaImage: Schema.Attribute.Media<'images'>;
metaRobots: Schema.Attribute.String;
metaSocial: Schema.Attribute.Component<'shared.meta-social', true>;
metaTitle: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetMinMaxLength<{
maxLength: 200;
}> &
Schema.Attribute.DefaultTo<'IBA'>;
metaViewport: Schema.Attribute.String;
schema: Schema.Attribute.Component<'shared.page-schema', true>;
};
}
export interface SharedSlider extends Struct.ComponentSchema {
collectionName: 'components_shared_sliders';
info: {
description: '';
displayName: 'Slider';
icon: 'address-book';
};
attributes: {
files: Schema.Attribute.Media<'images', true>;
};
}
declare module '@strapi/strapi' {
export module Public {
export interface ComponentSchemas {
'aboutus.council-team': AboutusCouncilTeam;
'aboutus.mission': AboutusMission;
'aboutus.mission-and-vision': AboutusMissionAndVision;
'aboutus.video-gallery': AboutusVideoGallery;
'aboutus.videolist': AboutusVideolist;
'aboutus.vission': AboutusVission;
'button.buttton': ButtonButtton;
'heading.heading': HeadingHeading;
'home.home': HomeHome;
'home.lifeat-iba': HomeLifeatIba;
'home.overview': HomeOverview;
'inner-banner.inner-banner': InnerBannerInnerBanner;
'shared.media': SharedMedia;
'shared.meta-social': SharedMetaSocial;
'shared.page-schema': SharedPageSchema;
'shared.quote': SharedQuote;
'shared.rich-text': SharedRichText;
'shared.seo': SharedSeo;
'shared.slider': SharedSlider;
}
}
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!