0.5.9-collections-crud+spa-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:
@@ -120,6 +120,14 @@ input CommunityInput {
|
||||
pic: String
|
||||
}
|
||||
|
||||
input CollectionInput {
|
||||
id: Int
|
||||
slug: String!
|
||||
title: String!
|
||||
desc: String
|
||||
pic: String
|
||||
}
|
||||
|
||||
# Auth inputs
|
||||
input LoginCredentials {
|
||||
email: String!
|
||||
|
@@ -64,4 +64,9 @@ type Mutation {
|
||||
create_community(community_input: CommunityInput!): CommonResult!
|
||||
update_community(community_input: CommunityInput!): CommonResult!
|
||||
delete_community(slug: String!): CommonResult!
|
||||
|
||||
# collection
|
||||
create_collection(collection_input: CollectionInput!): CommonResult!
|
||||
update_collection(collection_input: CollectionInput!): CommonResult!
|
||||
delete_collection(slug: String!): CommonResult!
|
||||
}
|
||||
|
@@ -18,6 +18,11 @@ type Query {
|
||||
get_communities_all: [Community]
|
||||
get_communities_by_author(slug: String, user: String, author_id: Int): [Community]
|
||||
|
||||
# collection
|
||||
get_collection(slug: String!): Collection
|
||||
get_collections_all: [Collection]
|
||||
get_collections_by_author(slug: String, user: String, author_id: Int): [Collection]
|
||||
|
||||
# follower
|
||||
get_shout_followers(slug: String, shout_id: Int): [Author]
|
||||
get_topic_followers(slug: String): [Author]
|
||||
|
Reference in New Issue
Block a user