simpler-parent-select

This commit is contained in:
2025-07-01 01:20:48 +03:00
parent 2683982180
commit bb41c02d62
18 changed files with 3281 additions and 49 deletions

View File

@@ -137,3 +137,33 @@ export const ADMIN_DELETE_INVITES_BATCH_MUTATION = `
}
}
`
export const MERGE_TOPICS_MUTATION = `
mutation MergeTopics($merge_input: TopicMergeInput!) {
merge_topics(merge_input: $merge_input) {
error
message
topic {
id
title
slug
}
stats
}
}
`
export const SET_TOPIC_PARENT_MUTATION = `
mutation SetTopicParent($topic_id: Int!, $parent_id: Int) {
set_topic_parent(topic_id: $topic_id, parent_id: $parent_id) {
error
message
topic {
id
title
slug
parent_ids
}
}
}
`