feat: save page
This commit is contained in:
15
client/graph/editor/create.gql
Normal file
15
client/graph/editor/create.gql
Normal file
@@ -0,0 +1,15 @@
|
||||
mutation ($description: String, $editor: String, $isPublished: Boolean!, $locale: String!, $path: String!, $publishEndDate: Date, $publishStartDate: Date, $tags: [String], $title: String!) {
|
||||
pages {
|
||||
create(description: $description, editor: $editor, isPublished: $isPublished, locale: $locale, path: $path, publishEndDate: $publishEndDate, publishStartDate: $publishStartDate, tags: $tags, title: $title) {
|
||||
responseResult {
|
||||
succeeded
|
||||
errorCode
|
||||
slug
|
||||
message
|
||||
}
|
||||
page {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,7 +0,0 @@
|
||||
mutation {
|
||||
page {
|
||||
create {
|
||||
page
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user