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 b750c105
authored
2024-11-21 11:01:48 +0530
by
sujata
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add ckeditior in left and right side componet
1 parent
c67d43aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
116 additions
and
88 deletions
src/components/dynamic-zone/about.json
src/components/dynamic-zone/background.json
types/generated/components.d.ts
src/components/dynamic-zone/about.json
View file @
b750c10
...
...
@@ -27,6 +27,13 @@
"type"
:
"component"
,
"repeatable"
:
false
,
"component"
:
"cta.cta"
},
"Content"
:
{
"type"
:
"customField"
,
"options"
:
{
"preset"
:
"default"
},
"customField"
:
"plugin::ckeditor5.CKEditor"
}
}
}
src/components/dynamic-zone/background.json
View file @
b750c10
...
...
@@ -27,6 +27,13 @@
},
"Subtitle"
:
{
"type"
:
"string"
},
"Content"
:
{
"type"
:
"customField"
,
"options"
:
{
"preset"
:
"default"
},
"customField"
:
"plugin::ckeditor5.CKEditor"
}
}
}
types/generated/components.d.ts
View file @
b750c10
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
{
collectionName
:
'components_shared_sliders'
;
info
:
{
...
...
@@ -175,6 +110,71 @@ 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
{
collectionName
:
'components_layout_whatwedos'
;
info
:
{
...
...
@@ -417,23 +417,6 @@ 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
{
collectionName
:
'components_dynamic_zone_tables'
;
info
:
{
...
...
@@ -578,6 +561,13 @@ export interface DynamicZoneBackground extends Struct.ComponentSchema {
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
CTA
:
Schema
.
Attribute
.
Component
<
'cta.cta'
,
false
>
;
Subtitle
:
Schema
.
Attribute
.
String
;
Content
:
Schema
.
Attribute
.
RichText
&
Schema
.
Attribute
.
CustomField
<
'plugin::ckeditor5.CKEditor'
,
{
preset
:
'default'
;
}
>
;
};
}
...
...
@@ -593,17 +583,36 @@ export interface DynamicZoneAbout extends Struct.ComponentSchema {
Description
:
Schema
.
Attribute
.
Text
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
CTA
:
Schema
.
Attribute
.
Component
<
'cta.cta'
,
false
>
;
Content
:
Schema
.
Attribute
.
RichText
&
Schema
.
Attribute
.
CustomField
<
'plugin::ckeditor5.CKEditor'
,
{
preset
:
'default'
;
}
>
;
};
}
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'
{
export
module
Public
{
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.seo'
:
SharedSeo
;
'shared.rich-text'
:
SharedRichText
;
...
...
@@ -611,6 +620,11 @@ declare module '@strapi/strapi' {
'shared.page-schema'
:
SharedPageSchema
;
'shared.meta-social'
:
SharedMetaSocial
;
'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.technicalexpertise'
:
LayoutTechnicalexpertise
;
'layout.technicalexp-tab'
:
LayoutTechnicalexpTab
;
...
...
@@ -630,7 +644,6 @@ declare module '@strapi/strapi' {
'home.knowledgeshack'
:
HomeKnowledgeshack
;
'home.industry'
:
HomeIndustry
;
'home.home'
:
HomeHome
;
'cta.cta'
:
CtaCta
;
'dynamic-zone.table'
:
DynamicZoneTable
;
'dynamic-zone.rules-list'
:
DynamicZoneRulesList
;
'dynamic-zone.rules-application'
:
DynamicZoneRulesApplication
;
...
...
@@ -643,6 +656,7 @@ declare module '@strapi/strapi' {
'dynamic-zone.details'
:
DynamicZoneDetails
;
'dynamic-zone.background'
:
DynamicZoneBackground
;
'dynamic-zone.about'
:
DynamicZoneAbout
;
'cta.cta'
:
CtaCta
;
}
}
}
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