Skip to content

Commit 8592ee9

Browse files
committed
Merge branch 'SBIT-609-implentarHowto' of https://github.com/bitlogic/bitlogic.io-EN into SBIT-609-implentarHowto
2 parents b7eed66 + f14b323 commit 8592ee9

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

src/schema/blogSchema.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
const blogSchema = `
2+
union ArticleBodyDynamicZone = ComponentHowtoHowTo
3+
24
type StrapiEnglishBlogCategory implements Node {
35
parent: Node
46
children: [Node!]!
@@ -42,6 +44,7 @@ const blogSchema = `
4244
seo: ComponentSeo
4345
blog_category: StrapiEnglishBlogCategory
4446
author: [StrapiEnglishArticleAuthor]
47+
body: [ArticleBodyDynamicZone]
4548
published_at(
4649
formatString: String
4750
fromNow: Boolean

src/schema/generalSchema.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ const generalSchema = `
5858
summary: String
5959
text: String
6060
description: String
61+
descripcion: String
6162
concactFormAnchor: String
6263
callToAction: String
6364
videoUrl: String
@@ -72,6 +73,8 @@ const generalSchema = `
7273
contactForm: Boolean
7374
allBlog: Boolean
7475
show: Boolean
76+
tieneHowTo: Boolean
77+
totalMinutes: Int
7578
image: LocalFile
7679
imageDark: LocalFile
7780
backgroundImage: LocalFile
@@ -86,6 +89,8 @@ const generalSchema = `
8689
ListItem: [ComponentContentPageCard]
8790
eng_professionals: [StrapiEnglishProfessional]
8891
english_articles: [StrapiEnglishArticle]
92+
tools: [ComponentHowtoTool]
93+
steps: [ComponentHowtoStep]
8994
}
9095
9196
type ComponentSeo {
@@ -94,6 +99,25 @@ const generalSchema = `
9499
pageKeywords: String
95100
}
96101
102+
type ComponentHowtoHowTo {
103+
id: ID!
104+
tieneHowTo: Boolean
105+
title: String
106+
descripcion: String
107+
totalMinutes: Int
108+
tools: [ComponentHowtoTool]
109+
steps: [ComponentHowtoStep]
110+
}
111+
type ComponentHowtoStep {
112+
id: ID!
113+
name: String
114+
text: String
115+
}
116+
type ComponentHowtoTool {
117+
id: ID!
118+
name: String
119+
}
120+
97121
type ComponentButton {
98122
id: Int
99123
content: String

0 commit comments

Comments
 (0)