added layout and media fields to ShoutInput
This commit is contained in:
parent
0697aff502
commit
be7b79e181
|
@ -24,6 +24,7 @@ async def create_shout(_, info, inp):
|
||||||
"title": inp.get("title"),
|
"title": inp.get("title"),
|
||||||
"subtitle": inp.get('subtitle'),
|
"subtitle": inp.get('subtitle'),
|
||||||
"body": inp.get("body", ''),
|
"body": inp.get("body", ''),
|
||||||
|
"layout": inp.get("layout"),
|
||||||
"authors": inp.get("authors", []),
|
"authors": inp.get("authors", []),
|
||||||
"slug": inp.get("slug"),
|
"slug": inp.get("slug"),
|
||||||
"mainTopic": inp.get("mainTopic"),
|
"mainTopic": inp.get("mainTopic"),
|
||||||
|
|
|
@ -98,6 +98,8 @@ input ShoutInput {
|
||||||
slug: String
|
slug: String
|
||||||
title: String
|
title: String
|
||||||
body: String
|
body: String
|
||||||
|
layout: String
|
||||||
|
media: String
|
||||||
authors: [String]
|
authors: [String]
|
||||||
topics: [TopicInput]
|
topics: [TopicInput]
|
||||||
community: Int
|
community: Int
|
||||||
|
|
Loading…
Reference in New Issue
Block a user