Commit d913fa2a by sujata

FC PAGE BACKEND

1 parent b7da42b8
{
"kind": "singleType",
"collectionName": "fc_pages",
"info": {
"singularName": "fc-page",
"pluralName": "fc-pages",
"displayName": "FCPage",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Banner": {
"type": "component",
"repeatable": false,
"component": "layout.page-banner"
},
"FCDeatils": {
"type": "dynamiczone",
"components": [
"dynamic-zone.background",
"dynamic-zone.about",
"dynamic-zone.element-one",
"dynamic-zone.element-two"
]
},
"Clientel": {
"type": "component",
"repeatable": true,
"component": "layout.clientel"
},
"seo": {
"type": "component",
"repeatable": false,
"component": "shared.seo"
}
}
}
'use strict';
/**
* fc-page controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::fc-page.fc-page');
'use strict';
/**
* fc-page router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::fc-page.fc-page');
'use strict';
/**
* fc-page service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::fc-page.fc-page');
......@@ -175,77 +175,6 @@ export interface PeopleAdvisoryBoard 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.Text;
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 LayoutWhatwedo extends Struct.ComponentSchema {
collectionName: 'components_layout_whatwedos';
info: {
......@@ -429,6 +358,77 @@ 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.Text;
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 {
collectionName: 'components_dynamic_zone_tables';
info: {
......@@ -649,11 +649,6 @@ declare module '@strapi/strapi' {
'people.people-list': PeoplePeopleList;
'people.overview': PeopleOverview;
'people.advisory-board': PeopleAdvisoryBoard;
'home.people': HomePeople;
'home.knowlege-tab': HomeKnowlegeTab;
'home.knowledgeshack': HomeKnowledgeshack;
'home.industry': HomeIndustry;
'home.home': HomeHome;
'layout.whatwedo': LayoutWhatwedo;
'layout.technicalexpertise': LayoutTechnicalexpertise;
'layout.technicalexp-tab': LayoutTechnicalexpTab;
......@@ -669,6 +664,11 @@ declare module '@strapi/strapi' {
'layout.cfo-service': LayoutCfoService;
'layout.cfo-service-tab': LayoutCfoServiceTab;
'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.rules-list': DynamicZoneRulesList;
'dynamic-zone.rules-application': DynamicZoneRulesApplication;
......
......@@ -1041,6 +1041,45 @@ export interface ApiCorpediaPageCorpediaPage extends Struct.SingleTypeSchema {
};
}
export interface ApiFcPageFcPage extends Struct.SingleTypeSchema {
collectionName: 'fc_pages';
info: {
singularName: 'fc-page';
pluralName: 'fc-pages';
displayName: 'FCPage';
description: '';
};
options: {
draftAndPublish: true;
};
attributes: {
Banner: Schema.Attribute.Component<'layout.page-banner', false>;
FCDeatils: Schema.Attribute.DynamicZone<
[
'dynamic-zone.background',
'dynamic-zone.about',
'dynamic-zone.element-one',
'dynamic-zone.element-two',
]
>;
Clientel: Schema.Attribute.Component<'layout.clientel', true>;
seo: Schema.Attribute.Component<'shared.seo', false>;
createdAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
publishedAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::fc-page.fc-page'
> &
Schema.Attribute.Private;
};
}
export interface ApiGlobalGlobal extends Struct.SingleTypeSchema {
collectionName: 'globals';
info: {
......@@ -1832,6 +1871,7 @@ declare module '@strapi/strapi' {
'api::contact-form.contact-form': ApiContactFormContactForm;
'api::corpedia.corpedia': ApiCorpediaCorpedia;
'api::corpedia-page.corpedia-page': ApiCorpediaPageCorpediaPage;
'api::fc-page.fc-page': ApiFcPageFcPage;
'api::global.global': ApiGlobalGlobal;
'api::google-manger.google-manger': ApiGoogleMangerGoogleManger;
'api::home.home': ApiHomeHome;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!