simpler-parent-select
This commit is contained in:
@@ -25,6 +25,12 @@ input TopicInput {
|
||||
parent_ids: [Int]
|
||||
}
|
||||
|
||||
input TopicMergeInput {
|
||||
target_topic_id: Int!
|
||||
source_topic_ids: [Int!]!
|
||||
preserve_target_properties: Boolean
|
||||
}
|
||||
|
||||
input DraftInput {
|
||||
id: Int
|
||||
# no created_at, updated_at, deleted_at, updated_by, deleted_by
|
||||
|
@@ -37,6 +37,8 @@ type Mutation {
|
||||
update_topic(topic_input: TopicInput!): CommonResult!
|
||||
delete_topic(slug: String!): CommonResult!
|
||||
delete_topic_by_id(id: Int!): CommonResult!
|
||||
merge_topics(merge_input: TopicMergeInput!): CommonResult!
|
||||
set_topic_parent(topic_id: Int!, parent_id: Int): CommonResult!
|
||||
|
||||
# reaction
|
||||
create_reaction(reaction: ReactionInput!): CommonResult!
|
||||
|
@@ -201,6 +201,8 @@ type Topic {
|
||||
|
||||
type CommonResult {
|
||||
error: String
|
||||
message: String
|
||||
stats: String
|
||||
drafts: [Draft]
|
||||
draft: Draft
|
||||
slugs: [String]
|
||||
|
Reference in New Issue
Block a user