Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
sujata
/
advithconsulting.io-backend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit c67d43aa
authored
2024-11-19 16:06:05 +0530
by
sujata
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
seo section chnages
1 parent
8e317737
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
103 additions
and
89 deletions
src/api/business-page/content-types/business-page/schema.json
src/api/risk-page/content-types/risk-page/schema.json
types/generated/components.d.ts
types/generated/contentTypes.d.ts
src/api/business-page/content-types/business-page/schema.json
View file @
c67d43a
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
"info"
:
{
"info"
:
{
"singularName"
:
"business-page"
,
"singularName"
:
"business-page"
,
"pluralName"
:
"business-pages"
,
"pluralName"
:
"business-pages"
,
"displayName"
:
"BusinessPage"
"displayName"
:
"BusinessPage"
,
"description"
:
""
},
},
"options"
:
{
"options"
:
{
"draftAndPublish"
:
true
"draftAndPublish"
:
true
...
@@ -29,6 +30,11 @@
...
@@ -29,6 +30,11 @@
"type"
:
"component"
,
"type"
:
"component"
,
"repeatable"
:
true
,
"repeatable"
:
true
,
"component"
:
"layout.clientel"
"component"
:
"layout.clientel"
},
"seo"
:
{
"type"
:
"component"
,
"repeatable"
:
false
,
"component"
:
"shared.seo"
}
}
}
}
}
}
src/api/risk-page/content-types/risk-page/schema.json
View file @
c67d43a
...
@@ -30,6 +30,11 @@
...
@@ -30,6 +30,11 @@
"type"
:
"component"
,
"type"
:
"component"
,
"repeatable"
:
true
,
"repeatable"
:
true
,
"component"
:
"layout.clientel"
"component"
:
"layout.clientel"
},
"seo"
:
{
"type"
:
"component"
,
"repeatable"
:
false
,
"component"
:
"shared.seo"
}
}
}
}
}
}
types/generated/components.d.ts
View file @
c67d43a
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,71 +175,6 @@ export interface SharedMedia extends Struct.ComponentSchema {
...
@@ -110,71 +175,6 @@ export interface SharedMedia extends Struct.ComponentSchema {
};
};
}
}
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
LayoutWhatwedo
extends
Struct
.
ComponentSchema
{
export
interface
LayoutWhatwedo
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_layout_whatwedos'
;
collectionName
:
'components_layout_whatwedos'
;
info
:
{
info
:
{
...
@@ -417,6 +417,23 @@ export interface HomeHome extends Struct.ComponentSchema {
...
@@ -417,6 +417,23 @@ export interface HomeHome extends Struct.ComponentSchema {
};
};
}
}
export
interface
CtaCta
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_cta_ctas'
;
info
:
{
displayName
:
'CTA'
;
};
attributes
:
{
text
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
&
Schema
.
Attribute
.
DefaultTo
<
'text'
>
;
URL
:
Schema
.
Attribute
.
String
;
target
:
Schema
.
Attribute
.
Enumeration
<
[
'_blank'
,
'_parent'
,
'_self'
,
'_top'
]
>
;
varient
:
Schema
.
Attribute
.
Enumeration
<
[
'outline'
,
'fill'
]
>
;
};
}
export
interface
DynamicZoneTable
extends
Struct
.
ComponentSchema
{
export
interface
DynamicZoneTable
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_dynamic_zone_tables'
;
collectionName
:
'components_dynamic_zone_tables'
;
info
:
{
info
:
{
...
@@ -579,26 +596,14 @@ export interface DynamicZoneAbout extends Struct.ComponentSchema {
...
@@ -579,26 +596,14 @@ export interface DynamicZoneAbout extends Struct.ComponentSchema {
};
};
}
}
export
interface
CtaCta
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_cta_ctas'
;
info
:
{
displayName
:
'CTA'
;
};
attributes
:
{
text
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
&
Schema
.
Attribute
.
DefaultTo
<
'text'
>
;
URL
:
Schema
.
Attribute
.
String
;
target
:
Schema
.
Attribute
.
Enumeration
<
[
'_blank'
,
'_parent'
,
'_self'
,
'_top'
]
>
;
varient
:
Schema
.
Attribute
.
Enumeration
<
[
'outline'
,
'fill'
]
>
;
};
}
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
;
...
@@ -606,11 +611,6 @@ declare module '@strapi/strapi' {
...
@@ -606,11 +611,6 @@ 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
;
'people.team-leads'
:
PeopleTeamLeads
;
'people.people-list'
:
PeoplePeopleList
;
'people.overview'
:
PeopleOverview
;
'people.advisory-board'
:
PeopleAdvisoryBoard
;
'layout.whatwedo'
:
LayoutWhatwedo
;
'layout.whatwedo'
:
LayoutWhatwedo
;
'layout.technicalexpertise'
:
LayoutTechnicalexpertise
;
'layout.technicalexpertise'
:
LayoutTechnicalexpertise
;
'layout.technicalexp-tab'
:
LayoutTechnicalexpTab
;
'layout.technicalexp-tab'
:
LayoutTechnicalexpTab
;
...
@@ -630,6 +630,7 @@ declare module '@strapi/strapi' {
...
@@ -630,6 +630,7 @@ declare module '@strapi/strapi' {
'home.knowledgeshack'
:
HomeKnowledgeshack
;
'home.knowledgeshack'
:
HomeKnowledgeshack
;
'home.industry'
:
HomeIndustry
;
'home.industry'
:
HomeIndustry
;
'home.home'
:
HomeHome
;
'home.home'
:
HomeHome
;
'cta.cta'
:
CtaCta
;
'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
;
...
@@ -642,7 +643,6 @@ declare module '@strapi/strapi' {
...
@@ -642,7 +643,6 @@ declare module '@strapi/strapi' {
'dynamic-zone.details'
:
DynamicZoneDetails
;
'dynamic-zone.details'
:
DynamicZoneDetails
;
'dynamic-zone.background'
:
DynamicZoneBackground
;
'dynamic-zone.background'
:
DynamicZoneBackground
;
'dynamic-zone.about'
:
DynamicZoneAbout
;
'dynamic-zone.about'
:
DynamicZoneAbout
;
'cta.cta'
:
CtaCta
;
}
}
}
}
}
}
types/generated/contentTypes.d.ts
View file @
c67d43a
...
@@ -726,6 +726,7 @@ export interface ApiBusinessPageBusinessPage extends Struct.SingleTypeSchema {
...
@@ -726,6 +726,7 @@ export interface ApiBusinessPageBusinessPage extends Struct.SingleTypeSchema {
singularName
:
'business-page'
;
singularName
:
'business-page'
;
pluralName
:
'business-pages'
;
pluralName
:
'business-pages'
;
displayName
:
'BusinessPage'
;
displayName
:
'BusinessPage'
;
description
:
''
;
};
};
options
:
{
options
:
{
draftAndPublish
:
true
;
draftAndPublish
:
true
;
...
@@ -741,6 +742,7 @@ export interface ApiBusinessPageBusinessPage extends Struct.SingleTypeSchema {
...
@@ -741,6 +742,7 @@ export interface ApiBusinessPageBusinessPage extends Struct.SingleTypeSchema {
]
]
>
;
>
;
Clientel
:
Schema
.
Attribute
.
Component
<
'layout.clientel'
,
true
>
;
Clientel
:
Schema
.
Attribute
.
Component
<
'layout.clientel'
,
true
>
;
seo
:
Schema
.
Attribute
.
Component
<
'shared.seo'
,
false
>
;
createdAt
:
Schema
.
Attribute
.
DateTime
;
createdAt
:
Schema
.
Attribute
.
DateTime
;
updatedAt
:
Schema
.
Attribute
.
DateTime
;
updatedAt
:
Schema
.
Attribute
.
DateTime
;
publishedAt
:
Schema
.
Attribute
.
DateTime
;
publishedAt
:
Schema
.
Attribute
.
DateTime
;
...
@@ -1237,6 +1239,7 @@ export interface ApiRiskPageRiskPage extends Struct.SingleTypeSchema {
...
@@ -1237,6 +1239,7 @@ export interface ApiRiskPageRiskPage extends Struct.SingleTypeSchema {
]
]
>
;
>
;
Clientel
:
Schema
.
Attribute
.
Component
<
'layout.clientel'
,
true
>
;
Clientel
:
Schema
.
Attribute
.
Component
<
'layout.clientel'
,
true
>
;
seo
:
Schema
.
Attribute
.
Component
<
'shared.seo'
,
false
>
;
createdAt
:
Schema
.
Attribute
.
DateTime
;
createdAt
:
Schema
.
Attribute
.
DateTime
;
updatedAt
:
Schema
.
Attribute
.
DateTime
;
updatedAt
:
Schema
.
Attribute
.
DateTime
;
publishedAt
:
Schema
.
Attribute
.
DateTime
;
publishedAt
:
Schema
.
Attribute
.
DateTime
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment