Commit 4add3cec by sujata

add ckeditor

1 parent eaf832f6
...@@ -6,15 +6,8 @@ ...@@ -6,15 +6,8 @@
}, },
"options": {}, "options": {},
"attributes": { "attributes": {
"Code": { "codedata": {
"type": "text" "type": "text"
},
"conversioncode": {
"type": "customField",
"options": {
"preset": "default"
},
"customField": "plugin::ckeditor5.CKEditor"
} }
} }
} }
import type { Struct, Schema } from '@strapi/strapi'; import type { Struct, Schema } from '@strapi/strapi';
export interface PeopleTeamMember extends Struct.ComponentSchema {
collectionName: 'components_people_team_members';
info: {
displayName: 'TeamMember';
description: '';
};
attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required;
Linkdin: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
Designation: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface PeopleTeamLeads extends Struct.ComponentSchema {
collectionName: 'components_people_team_leads';
info: {
displayName: 'Team Leads';
};
attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required;
Designation: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
Linkdin: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface PeoplePeopleList extends Struct.ComponentSchema {
collectionName: 'components_people_people_lists';
info: {
displayName: 'people-list';
description: '';
};
attributes: {
heading: Schema.Attribute.String;
description: Schema.Attribute.String;
};
}
export interface PeopleOverview extends Struct.ComponentSchema {
collectionName: 'components_people_overviews';
info: {
displayName: 'Overview';
description: '';
};
attributes: {
Subtitle: Schema.Attribute.String;
Title: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'>;
Description: Schema.Attribute.Text;
};
}
export interface PeopleAdvisoryBoard extends Struct.ComponentSchema {
collectionName: 'components_people_advisory_boards';
info: {
displayName: 'Advisory Board';
};
attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required;
Description: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'>;
};
}
export interface SharedSlider extends Struct.ComponentSchema { export interface SharedSlider extends Struct.ComponentSchema {
collectionName: 'components_shared_sliders'; collectionName: 'components_shared_sliders';
info: { info: {
...@@ -110,68 +175,74 @@ export interface SharedMedia extends Struct.ComponentSchema { ...@@ -110,68 +175,74 @@ export interface SharedMedia extends Struct.ComponentSchema {
}; };
} }
export interface PeopleTeamMember extends Struct.ComponentSchema { export interface HomePeople extends Struct.ComponentSchema {
collectionName: 'components_people_team_members'; collectionName: 'components_home_people';
info: { info: {
displayName: 'TeamMember'; displayName: 'People';
description: ''; description: '';
}; };
attributes: { attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required; Heading: Schema.Attribute.String;
Linkdin: Schema.Attribute.String & Schema.Attribute.Required; Description: Schema.Attribute.Text;
Image: Schema.Attribute.Media<'images'> & Schema.Attribute.Required; Image: Schema.Attribute.Media<'images'>;
Designation: Schema.Attribute.String & Schema.Attribute.Required; peoplelist: Schema.Attribute.Component<'people.people-list', true>;
}; };
} }
export interface PeopleTeamLeads extends Struct.ComponentSchema { export interface HomeKnowlegeTab extends Struct.ComponentSchema {
collectionName: 'components_people_team_leads'; collectionName: 'components_home_knowlege_tabs';
info: { info: {
displayName: 'Team Leads'; displayName: 'KnowlegeTab';
}; };
attributes: { attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required; Title: Schema.Attribute.String;
Designation: Schema.Attribute.String & Schema.Attribute.Required; Description: Schema.Attribute.Text;
Image: Schema.Attribute.Media<'images'> & Schema.Attribute.Required; CTA: Schema.Attribute.Component<'cta.cta', false>;
Linkdin: Schema.Attribute.String & Schema.Attribute.Required;
}; };
} }
export interface PeoplePeopleList extends Struct.ComponentSchema { export interface HomeKnowledgeshack extends Struct.ComponentSchema {
collectionName: 'components_people_people_lists'; collectionName: 'components_home_knowledgeshacks';
info: { info: {
displayName: 'people-list'; displayName: 'Knowledgeshack';
description: ''; description: '';
}; };
attributes: { attributes: {
heading: Schema.Attribute.String; Heading: Schema.Attribute.String;
description: Schema.Attribute.String; Description: Schema.Attribute.String;
Image: Schema.Attribute.Media<'images'>;
}; };
} }
export interface PeopleOverview extends Struct.ComponentSchema { export interface HomeIndustry extends Struct.ComponentSchema {
collectionName: 'components_people_overviews'; collectionName: 'components_home_industries';
info: { info: {
displayName: 'Overview'; displayName: 'Industry';
description: ''; description: '';
}; };
attributes: { attributes: {
Subtitle: Schema.Attribute.String; Subtitle: Schema.Attribute.String;
Title: Schema.Attribute.String & Schema.Attribute.Required; Title: Schema.Attribute.String & Schema.Attribute.Required;
Description: Schema.Attribute.String;
Image: Schema.Attribute.Media<'images'>; Image: Schema.Attribute.Media<'images'>;
Description: Schema.Attribute.Text; CTA: Schema.Attribute.Component<'cta.cta', true>;
}; };
} }
export interface PeopleAdvisoryBoard extends Struct.ComponentSchema { export interface HomeHome extends Struct.ComponentSchema {
collectionName: 'components_people_advisory_boards'; collectionName: 'components_home_homes';
info: { info: {
displayName: 'Advisory Board'; displayName: 'Home Banner';
description: '';
}; };
attributes: { attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required; Title: Schema.Attribute.String & Schema.Attribute.Required;
Description: Schema.Attribute.String & Schema.Attribute.Required; Subtitle: Schema.Attribute.String;
Image: Schema.Attribute.Media<'images'>; Description: Schema.Attribute.Text & Schema.Attribute.Required;
Mobilebanner: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
Desktopbanner: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
BackgroundBanner: Schema.Attribute.Media<'images'>;
CTA: Schema.Attribute.Component<'cta.cta', true>;
}; };
} }
...@@ -292,14 +363,7 @@ export interface LayoutConversionCode extends Struct.ComponentSchema { ...@@ -292,14 +363,7 @@ export interface LayoutConversionCode extends Struct.ComponentSchema {
description: ''; description: '';
}; };
attributes: { attributes: {
Code: Schema.Attribute.Text; codedata: Schema.Attribute.Text;
conversioncode: Schema.Attribute.RichText &
Schema.Attribute.CustomField<
'plugin::ckeditor5.CKEditor',
{
preset: 'default';
}
>;
}; };
} }
...@@ -364,77 +428,6 @@ export interface LayoutAreasExpertise extends Struct.ComponentSchema { ...@@ -364,77 +428,6 @@ export interface LayoutAreasExpertise extends Struct.ComponentSchema {
}; };
} }
export interface HomePeople extends Struct.ComponentSchema {
collectionName: 'components_home_people';
info: {
displayName: 'People';
description: '';
};
attributes: {
Heading: Schema.Attribute.String;
Description: Schema.Attribute.Text;
Image: Schema.Attribute.Media<'images'>;
peoplelist: Schema.Attribute.Component<'people.people-list', true>;
};
}
export interface HomeKnowlegeTab extends Struct.ComponentSchema {
collectionName: 'components_home_knowlege_tabs';
info: {
displayName: 'KnowlegeTab';
};
attributes: {
Title: Schema.Attribute.String;
Description: Schema.Attribute.Text;
CTA: Schema.Attribute.Component<'cta.cta', false>;
};
}
export interface HomeKnowledgeshack extends Struct.ComponentSchema {
collectionName: 'components_home_knowledgeshacks';
info: {
displayName: 'Knowledgeshack';
description: '';
};
attributes: {
Heading: Schema.Attribute.String;
Description: Schema.Attribute.String;
Image: Schema.Attribute.Media<'images'>;
};
}
export interface HomeIndustry extends Struct.ComponentSchema {
collectionName: 'components_home_industries';
info: {
displayName: 'Industry';
description: '';
};
attributes: {
Subtitle: Schema.Attribute.String;
Title: Schema.Attribute.String & Schema.Attribute.Required;
Description: Schema.Attribute.String;
Image: Schema.Attribute.Media<'images'>;
CTA: Schema.Attribute.Component<'cta.cta', true>;
};
}
export interface HomeHome extends Struct.ComponentSchema {
collectionName: 'components_home_homes';
info: {
displayName: 'Home Banner';
description: '';
};
attributes: {
Title: Schema.Attribute.String & Schema.Attribute.Required;
Subtitle: Schema.Attribute.String;
Description: Schema.Attribute.Text & Schema.Attribute.Required;
Mobilebanner: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
Desktopbanner: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
BackgroundBanner: Schema.Attribute.Media<'images'>;
CTA: Schema.Attribute.Component<'cta.cta', true>;
};
}
export interface DynamicZoneTable extends Struct.ComponentSchema { export interface DynamicZoneTable extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_tables'; collectionName: 'components_dynamic_zone_tables';
info: { info: {
...@@ -643,6 +636,11 @@ export interface CtaCta extends Struct.ComponentSchema { ...@@ -643,6 +636,11 @@ export interface CtaCta extends Struct.ComponentSchema {
declare module '@strapi/strapi' { declare module '@strapi/strapi' {
export module Public { export module Public {
export interface ComponentSchemas { export interface ComponentSchemas {
'people.team-member': PeopleTeamMember;
'people.team-leads': PeopleTeamLeads;
'people.people-list': PeoplePeopleList;
'people.overview': PeopleOverview;
'people.advisory-board': PeopleAdvisoryBoard;
'shared.slider': SharedSlider; 'shared.slider': SharedSlider;
'shared.seo': SharedSeo; 'shared.seo': SharedSeo;
'shared.rich-text': SharedRichText; 'shared.rich-text': SharedRichText;
...@@ -650,11 +648,11 @@ declare module '@strapi/strapi' { ...@@ -650,11 +648,11 @@ declare module '@strapi/strapi' {
'shared.page-schema': SharedPageSchema; 'shared.page-schema': SharedPageSchema;
'shared.meta-social': SharedMetaSocial; 'shared.meta-social': SharedMetaSocial;
'shared.media': SharedMedia; 'shared.media': SharedMedia;
'people.team-member': PeopleTeamMember; 'home.people': HomePeople;
'people.team-leads': PeopleTeamLeads; 'home.knowlege-tab': HomeKnowlegeTab;
'people.people-list': PeoplePeopleList; 'home.knowledgeshack': HomeKnowledgeshack;
'people.overview': PeopleOverview; 'home.industry': HomeIndustry;
'people.advisory-board': PeopleAdvisoryBoard; 'home.home': HomeHome;
'layout.whatwedo': LayoutWhatwedo; 'layout.whatwedo': LayoutWhatwedo;
'layout.technicalexpertise': LayoutTechnicalexpertise; 'layout.technicalexpertise': LayoutTechnicalexpertise;
'layout.technicalexp-tab': LayoutTechnicalexpTab; 'layout.technicalexp-tab': LayoutTechnicalexpTab;
...@@ -670,11 +668,6 @@ declare module '@strapi/strapi' { ...@@ -670,11 +668,6 @@ declare module '@strapi/strapi' {
'layout.cfo-service': LayoutCfoService; 'layout.cfo-service': LayoutCfoService;
'layout.cfo-service-tab': LayoutCfoServiceTab; 'layout.cfo-service-tab': LayoutCfoServiceTab;
'layout.areas-expertise': LayoutAreasExpertise; 'layout.areas-expertise': LayoutAreasExpertise;
'home.people': HomePeople;
'home.knowlege-tab': HomeKnowlegeTab;
'home.knowledgeshack': HomeKnowledgeshack;
'home.industry': HomeIndustry;
'home.home': HomeHome;
'dynamic-zone.table': DynamicZoneTable; 'dynamic-zone.table': DynamicZoneTable;
'dynamic-zone.rules-list': DynamicZoneRulesList; 'dynamic-zone.rules-list': DynamicZoneRulesList;
'dynamic-zone.rules-application': DynamicZoneRulesApplication; 'dynamic-zone.rules-application': DynamicZoneRulesApplication;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!