mirror of https://github.com/Requarks/wiki.git
13 changed files with 192 additions and 66 deletions
Unified View
Diff Options
-
1.vscode/settings.json
-
56client/components/editor.vue
-
51client/components/editor/editor-modal-properties.vue
-
15client/graph/editor/create.gql
-
7client/graph/editor/save.gql
-
24client/store/index.js
-
10server/db/migrations/2.0.0.js
-
10server/db/models/pages.js
-
26server/db/models/users.js
-
31server/graph/resolvers/page.js
-
21server/graph/schemas/page.graphql
-
2server/modules/authentication/local/authentication.js
-
4server/setup.js
@ -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 |
|
||||
} |
|
||||
} |
|
||||
} |
|
Write
Preview
Loading…
Cancel
Save