fixed article graphql refactoring, continued to improve graphql for materials

This commit is contained in:
2020-12-22 16:36:06 +01:00
parent 1dcd627cab
commit f39079c616
9 changed files with 452 additions and 192 deletions

View File

@@ -1,23 +1,37 @@
fragment ArticleFields on Article {
images {
id
url
alt
style_minicard{
width
height
url
}
}
id
uuid
title
author
uuid
memo
date{
start
end
}
source{
url
title
}
body
showroom {
id
uuid
name
}
tags {
id
uuid
name
}
thesaurus {
id
uuid
name
}
linked_materials {
id
title
memo
body
images {
id
url
@@ -27,6 +41,45 @@ fragment ArticleFields on Article {
height
url
}
style_cardmedium{
width
height
url
}
style_cardfull{
width
height
url
}
}
}
images {
id
url
alt
style_minicard{
width
height
url
}
style_cardmedium{
width
height
url
}
style_cardfull{
width
height
url
}
style_articlecardmedium{
width
height
url
}
}
videos {
url
}
memo
}