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 1b5a4afb
authored
2025-09-10 18:24:26 +0530
by
sujata
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chnage in the how we do it section
1 parent
a7afb0c2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
89 deletions
src/components/dynamic-zone/element-list.json
types/generated/components.d.ts
src/components/dynamic-zone/element-list.json
View file @
1b5a4af
{
{
"collectionName"
:
"components_dynamic_zone_element_lists"
,
"collectionName"
:
"components_dynamic_zone_element_lists"
,
"info"
:
{
"info"
:
{
"displayName"
:
"ElementList"
"displayName"
:
"ElementList"
,
"description"
:
""
},
},
"options"
:
{},
"options"
:
{},
"attributes"
:
{
"attributes"
:
{
"StepHeading"
:
{
"StepHeading"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"required"
:
tru
e
"required"
:
fals
e
},
},
"StepDescription"
:
{
"StepDescription"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"required"
:
tru
e
"required"
:
fals
e
},
},
"StepImg"
:
{
"StepImg"
:
{
"allowedTypes"
:
[
"images"
],
"type"
:
"media"
,
"type"
:
"media"
,
"multiple"
:
false
,
"multiple"
:
false
,
"required"
:
true
"required"
:
false
,
"allowedTypes"
:
[
"images"
]
}
}
}
}
}
}
types/generated/components.d.ts
View file @
1b5a4af
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'
;
description
:
''
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Designation
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
Description
:
Schema
.
Attribute
.
RichText
&
Schema
.
Attribute
.
CustomField
<
'plugin::ckeditor5.CKEditor'
,
{
preset
:
'default'
;
}
>
;
Linkdin
:
Schema
.
Attribute
.
String
;
};
}
export
interface
SharedSlider
extends
Struct
.
ComponentSchema
{
export
interface
SharedSlider
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_shared_sliders'
;
collectionName
:
'components_shared_sliders'
;
info
:
{
info
:
{
...
@@ -110,80 +184,6 @@ export interface SharedMedia extends Struct.ComponentSchema {
...
@@ -110,80 +184,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'
;
description
:
''
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Designation
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
Description
:
Schema
.
Attribute
.
RichText
&
Schema
.
Attribute
.
CustomField
<
'plugin::ckeditor5.CKEditor'
,
{
preset
:
'default'
;
}
>
;
Linkdin
:
Schema
.
Attribute
.
String
;
};
}
export
interface
LayoutWhatwedo
extends
Struct
.
ComponentSchema
{
export
interface
LayoutWhatwedo
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_layout_whatwedos'
;
collectionName
:
'components_layout_whatwedos'
;
info
:
{
info
:
{
...
@@ -813,11 +813,12 @@ export interface DynamicZoneElementList extends Struct.ComponentSchema {
...
@@ -813,11 +813,12 @@ export interface DynamicZoneElementList extends Struct.ComponentSchema {
collectionName
:
'components_dynamic_zone_element_lists'
;
collectionName
:
'components_dynamic_zone_element_lists'
;
info
:
{
info
:
{
displayName
:
'ElementList'
;
displayName
:
'ElementList'
;
description
:
''
;
};
};
attributes
:
{
attributes
:
{
StepHeading
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
StepHeading
:
Schema
.
Attribute
.
String
;
StepDescription
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
StepDescription
:
Schema
.
Attribute
.
String
;
StepImg
:
Schema
.
Attribute
.
Media
<
'images'
>
&
Schema
.
Attribute
.
Required
;
StepImg
:
Schema
.
Attribute
.
Media
<
'images'
>
;
};
};
}
}
...
@@ -925,6 +926,11 @@ export interface CtaCta extends Struct.ComponentSchema {
...
@@ -925,6 +926,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
;
...
@@ -932,11 +938,6 @@ declare module '@strapi/strapi' {
...
@@ -932,11 +938,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.weoffer-list'
:
LayoutWeofferList
;
'layout.weoffer-list'
:
LayoutWeofferList
;
'layout.we-offer'
:
LayoutWeOffer
;
'layout.we-offer'
:
LayoutWeOffer
;
...
...
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