0.5.8-panel-upgrade-community-crud-fix
All checks were successful
Deploy on push / deploy (push) Successful in 6s
All checks were successful
Deploy on push / deploy (push) Successful in 6s
This commit is contained in:
@@ -31,6 +31,9 @@ type AdminUserInfo {
|
||||
|
||||
input AdminUserUpdateInput {
|
||||
id: Int!
|
||||
email: String
|
||||
name: String
|
||||
slug: String
|
||||
roles: [String!]
|
||||
community: Int
|
||||
}
|
||||
@@ -43,7 +46,7 @@ type Role {
|
||||
|
||||
# Тип для пагинированного ответа пользователей
|
||||
type AdminUserListResponse {
|
||||
users: [AdminUserInfo!]!
|
||||
authors: [AdminUserInfo!]!
|
||||
total: Int!
|
||||
page: Int!
|
||||
perPage: Int!
|
||||
|
@@ -21,6 +21,8 @@ input TopicInput {
|
||||
title: String
|
||||
body: String
|
||||
pic: String
|
||||
community: Int
|
||||
parent_ids: [Int]
|
||||
}
|
||||
|
||||
input DraftInput {
|
||||
|
@@ -36,6 +36,7 @@ type Mutation {
|
||||
create_topic(topic_input: TopicInput!): CommonResult!
|
||||
update_topic(topic_input: TopicInput!): CommonResult!
|
||||
delete_topic(slug: String!): CommonResult!
|
||||
delete_topic_by_id(id: Int!): CommonResult!
|
||||
|
||||
# reaction
|
||||
create_reaction(reaction: ReactionInput!): CommonResult!
|
||||
|
@@ -66,7 +66,7 @@ type Query {
|
||||
|
||||
# topic
|
||||
get_topic(slug: String!): Topic
|
||||
get_topics_all: [Topic]
|
||||
get_topics_all: [Topic]!
|
||||
get_topics_by_author(slug: String, user: String, author_id: Int): [Topic]
|
||||
get_topics_by_community(community_id: Int!, limit: Int, offset: Int): [Topic]
|
||||
|
||||
|
@@ -189,6 +189,8 @@ type Topic {
|
||||
title: String
|
||||
body: String
|
||||
pic: String
|
||||
community: Int
|
||||
parent_ids: [Int]
|
||||
stat: TopicStat
|
||||
oid: String
|
||||
is_main: Boolean
|
||||
|
Reference in New Issue
Block a user