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"),
|
||||
"subtitle": inp.get('subtitle'),
|
||||
"body": inp.get("body", ''),
|
||||
"layout": inp.get("layout"),
|
||||
"authors": inp.get("authors", []),
|
||||
"slug": inp.get("slug"),
|
||||
"mainTopic": inp.get("mainTopic"),
|
||||
|
|
|
@ -98,6 +98,8 @@ input ShoutInput {
|
|||
slug: String
|
||||
title: String
|
||||
body: String
|
||||
layout: String
|
||||
media: String
|
||||
authors: [String]
|
||||
topics: [TopicInput]
|
||||
community: Int
|
||||
|
|
Loading…
Reference in New Issue
Block a user