Commit 07b184c2 by sujata

chnages on academic channges

1 parent 1e1a8e11
# Take backup of the strapi config
npm run strapi config:dump > "backup/strapi.tmp.config"
sed '1,4d' "backup/strapi.tmp.config" > "backup/strapi.config"
rm "backup/strapi.tmp.config"
# Take database backup.
mysqldump -h localhost -u iba_database -p'Iba@12345!' iba_database > backup/dump.sql
This diff could not be displayed because it is too large.
......@@ -26,17 +26,22 @@
"component": "aboutus.council-team",
"repeatable": true
},
"InvolvementofAcademicCouncil": {
"seo": {
"type": "component",
"component": "shared.seo",
"repeatable": false
},
"InvolvementofAcademic": {
"type": "component",
"component": "aboutus.involvementof-academic-council",
"repeatable": false
},
"Description": {
"type": "customField",
"customField": "plugin::ckeditor5.CKEditor",
"options": {
"preset": "defaultHtml"
}
},
"seo": {
"type": "component",
"component": "shared.seo",
"repeatable": false
}
}
}
{
"kind": "collectionType",
"collectionName": "blog_tags",
"info": {
"singularName": "blog-tag",
"pluralName": "blog-tags",
"displayName": "Blog Tag"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Name": {
"type": "string"
},
"slug": {
"type": "uid",
"targetField": "Name"
}
}
}
'use strict';
/**
* blog-tag controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::blog-tag.blog-tag');
'use strict';
/**
* blog-tag router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::blog-tag.blog-tag');
'use strict';
/**
* blog-tag service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::blog-tag.blog-tag');
......@@ -4,7 +4,7 @@
"info": {
"singularName": "contact",
"pluralName": "contacts",
"displayName": "Contact"
"displayName": "Website Lead"
},
"options": {
"draftAndPublish": true
......
......@@ -18,11 +18,11 @@
"type": "uid",
"targetField": "Name"
},
"events": {
"event": {
"type": "relation",
"relation": "oneToMany",
"relation": "manyToOne",
"target": "api::event.event",
"mappedBy": "event_category"
"inversedBy": "event_categories"
}
}
}
{
"kind": "collectionType",
"collectionName": "event_tags",
"info": {
"singularName": "event-tag",
"pluralName": "event-tags",
"displayName": "Event Tag"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Name": {
"type": "string"
},
"slug": {
"type": "uid",
"targetField": "Name"
},
"event": {
"type": "relation",
"relation": "manyToOne",
"target": "api::event.event",
"inversedBy": "event_tags"
}
}
}
'use strict';
/**
* event-tag controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::event-tag.event-tag');
'use strict';
/**
* event-tag router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::event-tag.event-tag');
'use strict';
/**
* event-tag service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::event-tag.event-tag');
......@@ -53,11 +53,17 @@
"component": "dynamic-zone.image-slider",
"repeatable": false
},
"event_category": {
"event_categories": {
"type": "relation",
"relation": "manyToOne",
"relation": "oneToMany",
"target": "api::event-category.event-category",
"inversedBy": "events"
"mappedBy": "event"
},
"event_tags": {
"type": "relation",
"relation": "oneToMany",
"target": "api::event-tag.event-tag",
"mappedBy": "event"
},
"smalldescription": {
"type": "text"
......
......@@ -30,6 +30,11 @@
"type": "component",
"component": "shared.seo",
"repeatable": false
},
"Heading": {
"type": "component",
"component": "heading.heading",
"repeatable": false
}
}
}
{
"collectionName": "components_aboutus_involvementof_academic_councils",
"info": {
"displayName": " InvolvementofAcademicCouncil"
},
"options": {},
"attributes": {
"Heading": {
"type": "component",
"component": "heading.heading",
"repeatable": false
}
},
"config": {}
}
......@@ -41,6 +41,17 @@ export interface AboutusCulturalSymbolsList extends Struct.ComponentSchema {
};
}
export interface AboutusInvolvementofAcademicCouncil
extends Struct.ComponentSchema {
collectionName: 'components_aboutus_involvementof_academic_councils';
info: {
displayName: ' InvolvementofAcademicCouncil';
};
attributes: {
Heading: Schema.Attribute.Component<'heading.heading', false>;
};
}
export interface AboutusMissionAndVision extends Struct.ComponentSchema {
collectionName: 'components_aboutus_mission_and_visions';
info: {
......@@ -1134,6 +1145,7 @@ declare module '@strapi/strapi' {
'aboutus.aicte-list': AboutusAicteList;
'aboutus.council-team': AboutusCouncilTeam;
'aboutus.cultural-symbols-list': AboutusCulturalSymbolsList;
'aboutus.involvementof-academic-council': AboutusInvolvementofAcademicCouncil;
'aboutus.mission-and-vision': AboutusMissionAndVision;
'aboutus.video-gallery': AboutusVideoGallery;
'aboutus.video-l-ist': AboutusVideoLIst;
......
......@@ -418,14 +418,18 @@ export interface ApiAcademicCouncilAcademicCouncil
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
Heading: Schema.Attribute.Component<'heading.heading', false>;
InvolvementofAcademicCouncil: Schema.Attribute.RichText &
Description: Schema.Attribute.RichText &
Schema.Attribute.CustomField<
'plugin::ckeditor5.CKEditor',
{
preset: 'defaultHtml';
}
>;
Heading: Schema.Attribute.Component<'heading.heading', false>;
InvolvementofAcademic: Schema.Attribute.Component<
'aboutus.involvementof-academic-council',
false
>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
......@@ -720,6 +724,35 @@ export interface ApiBlogPageBlogPage extends Struct.SingleTypeSchema {
};
}
export interface ApiBlogTagBlogTag extends Struct.CollectionTypeSchema {
collectionName: 'blog_tags';
info: {
displayName: 'Blog Tag';
pluralName: 'blog-tags';
singularName: 'blog-tag';
};
options: {
draftAndPublish: true;
};
attributes: {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::blog-tag.blog-tag'
> &
Schema.Attribute.Private;
Name: Schema.Attribute.String;
publishedAt: Schema.Attribute.DateTime;
slug: Schema.Attribute.UID<'Name'>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiBlogBlog extends Struct.CollectionTypeSchema {
collectionName: 'blogs';
info: {
......@@ -985,7 +1018,7 @@ export interface ApiContactPageContactPage extends Struct.SingleTypeSchema {
export interface ApiContactContact extends Struct.CollectionTypeSchema {
collectionName: 'contacts';
info: {
displayName: 'Contact';
displayName: 'Website Lead';
pluralName: 'contacts';
singularName: 'contact';
};
......@@ -1258,7 +1291,7 @@ export interface ApiEventCategoryEventCategory
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
events: Schema.Attribute.Relation<'oneToMany', 'api::event.event'>;
event: Schema.Attribute.Relation<'manyToOne', 'api::event.event'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
......@@ -1303,6 +1336,36 @@ export interface ApiEventPageEventPage extends Struct.SingleTypeSchema {
};
}
export interface ApiEventTagEventTag extends Struct.CollectionTypeSchema {
collectionName: 'event_tags';
info: {
displayName: 'Event Tag';
pluralName: 'event-tags';
singularName: 'event-tag';
};
options: {
draftAndPublish: true;
};
attributes: {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
event: Schema.Attribute.Relation<'manyToOne', 'api::event.event'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::event-tag.event-tag'
> &
Schema.Attribute.Private;
Name: Schema.Attribute.String;
publishedAt: Schema.Attribute.DateTime;
slug: Schema.Attribute.UID<'Name'>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiEventEvent extends Struct.CollectionTypeSchema {
collectionName: 'events';
info: {
......@@ -1325,10 +1388,14 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
preset: 'defaultHtml';
}
>;
event_category: Schema.Attribute.Relation<
'manyToOne',
event_categories: Schema.Attribute.Relation<
'oneToMany',
'api::event-category.event-category'
>;
event_tags: Schema.Attribute.Relation<
'oneToMany',
'api::event-tag.event-tag'
>;
ImageSlider: Schema.Attribute.Component<'dynamic-zone.image-slider', false>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<'oneToMany', 'api::event.event'> &
......@@ -2150,6 +2217,7 @@ export interface ApiMissionVisionPageMissionVisionPage
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
Heading: Schema.Attribute.Component<'heading.heading', false>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
......@@ -3150,6 +3218,7 @@ declare module '@strapi/strapi' {
'api::bangalore-sustainability-page.bangalore-sustainability-page': ApiBangaloreSustainabilityPageBangaloreSustainabilityPage;
'api::blog-category.blog-category': ApiBlogCategoryBlogCategory;
'api::blog-page.blog-page': ApiBlogPageBlogPage;
'api::blog-tag.blog-tag': ApiBlogTagBlogTag;
'api::blog.blog': ApiBlogBlog;
'api::books-and-journals-page.books-and-journals-page': ApiBooksAndJournalsPageBooksAndJournalsPage;
'api::campus-life-sidebar.campus-life-sidebar': ApiCampusLifeSidebarCampusLifeSidebar;
......@@ -3166,6 +3235,7 @@ declare module '@strapi/strapi' {
'api::distinguished-alumni.distinguished-alumni': ApiDistinguishedAlumniDistinguishedAlumni;
'api::event-category.event-category': ApiEventCategoryEventCategory;
'api::event-page.event-page': ApiEventPageEventPage;
'api::event-tag.event-tag': ApiEventTagEventTag;
'api::event.event': ApiEventEvent;
'api::events-sidebar.events-sidebar': ApiEventsSidebarEventsSidebar;
'api::faculty-and-research-sidebar.faculty-and-research-sidebar': ApiFacultyAndResearchSidebarFacultyAndResearchSidebar;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!