mirror of https://github.com/Requarks/wiki.git
6 changed files with 189 additions and 52 deletions
Split View
Diff Options
-
102client/components/editor.vue
-
11client/components/editor/editor-modal-properties.vue
-
16client/graph/editor/create.gql
-
15client/graph/editor/update.gql
-
34server/graph/schemas/page.graphql
-
63server/models/pages.js
@ -1,16 +0,0 @@ |
|||
mutation ($content: String!, $description: String!, $editor: String!, $isPrivate: Boolean!, $isPublished: Boolean!, $locale: String!, $path: String!, $publishEndDate: Date, $publishStartDate: Date, $tags: [String]!, $title: String!) { |
|||
pages { |
|||
create(content: $content, description: $description, editor: $editor, isPrivate: $isPrivate, isPublished: $isPublished, locale: $locale, path: $path, publishEndDate: $publishEndDate, publishStartDate: $publishStartDate, tags: $tags, title: $title) { |
|||
responseResult { |
|||
succeeded |
|||
errorCode |
|||
slug |
|||
message |
|||
} |
|||
page { |
|||
id |
|||
updatedAt |
|||
} |
|||
} |
|||
} |
|||
} |
@ -1,15 +0,0 @@ |
|||
mutation ($id: Int!, $content: String, $description: String, $editor: String, $isPrivate: Boolean, $isPublished: Boolean, $locale: String, $path: String, $publishEndDate: Date, $publishStartDate: Date, $tags: [String], $title: String) { |
|||
pages { |
|||
update(id: $id, content: $content, description: $description, editor: $editor, isPrivate: $isPrivate, isPublished: $isPublished, locale: $locale, path: $path, publishEndDate: $publishEndDate, publishStartDate: $publishStartDate, tags: $tags, title: $title) { |
|||
responseResult { |
|||
succeeded |
|||
errorCode |
|||
slug |
|||
message |
|||
} |
|||
page { |
|||
updatedAt |
|||
} |
|||
} |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save