0.5.9-collections-crud+spa-fix
All checks were successful
Deploy on push / deploy (push) Successful in 6s

This commit is contained in:
2025-06-30 21:46:53 +03:00
parent 952b294345
commit 1e2c85e56a
14 changed files with 913 additions and 8 deletions

View File

@@ -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!

View File

@@ -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!
}

View File

@@ -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]