schema-fmt
This commit is contained in:
@@ -1,157 +1,157 @@
|
||||
input MediaItemInput {
|
||||
url: String
|
||||
title: String
|
||||
body: String
|
||||
source: String
|
||||
pic: String
|
||||
date: String
|
||||
genre: String
|
||||
artist: String
|
||||
lyrics: String
|
||||
url: String
|
||||
title: String
|
||||
body: String
|
||||
source: String
|
||||
pic: String
|
||||
date: String
|
||||
genre: String
|
||||
artist: String
|
||||
lyrics: String
|
||||
}
|
||||
|
||||
input AuthorInput {
|
||||
id: Int!
|
||||
slug: String
|
||||
id: Int!
|
||||
slug: String
|
||||
}
|
||||
|
||||
input TopicInput {
|
||||
id: Int
|
||||
slug: String!
|
||||
title: String
|
||||
body: String
|
||||
pic: String
|
||||
community: Int
|
||||
parent_ids: [Int]
|
||||
id: Int
|
||||
slug: String!
|
||||
title: String
|
||||
body: String
|
||||
pic: String
|
||||
community: Int
|
||||
parent_ids: [Int]
|
||||
}
|
||||
|
||||
input TopicMergeInput {
|
||||
target_topic_id: Int!
|
||||
source_topic_ids: [Int!]!
|
||||
preserve_target_properties: Boolean
|
||||
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
|
||||
layout: String
|
||||
shout_id: Int # Changed from shout: Shout
|
||||
author_ids: [Int!] # Changed from authors: [Author]
|
||||
topic_ids: [Int!] # Changed from topics: [Topic]
|
||||
main_topic_id: Int # Changed from main_topic: Topic
|
||||
media: [MediaItemInput] # Changed to use MediaItemInput
|
||||
lead: String
|
||||
subtitle: String
|
||||
lang: String
|
||||
seo: String
|
||||
body: String
|
||||
title: String
|
||||
slug: String
|
||||
cover: String
|
||||
cover_caption: String
|
||||
id: Int
|
||||
# no created_at, updated_at, deleted_at, updated_by, deleted_by
|
||||
layout: String
|
||||
shout_id: Int # Changed from shout: Shout
|
||||
author_ids: [Int!] # Changed from authors: [Author]
|
||||
topic_ids: [Int!] # Changed from topics: [Topic]
|
||||
main_topic_id: Int # Changed from main_topic: Topic
|
||||
media: [MediaItemInput] # Changed to use MediaItemInput
|
||||
lead: String
|
||||
subtitle: String
|
||||
lang: String
|
||||
seo: String
|
||||
body: String
|
||||
title: String
|
||||
slug: String
|
||||
cover: String
|
||||
cover_caption: String
|
||||
}
|
||||
|
||||
input ProfileInput {
|
||||
slug: String
|
||||
name: String
|
||||
pic: String
|
||||
links: [String]
|
||||
bio: String
|
||||
about: String
|
||||
slug: String
|
||||
name: String
|
||||
pic: String
|
||||
links: [String]
|
||||
bio: String
|
||||
about: String
|
||||
}
|
||||
|
||||
input ReactionInput {
|
||||
id: Int
|
||||
kind: ReactionKind!
|
||||
shout: Int!
|
||||
quote: String
|
||||
body: String
|
||||
reply_to: Int
|
||||
id: Int
|
||||
kind: ReactionKind!
|
||||
shout: Int!
|
||||
quote: String
|
||||
body: String
|
||||
reply_to: Int
|
||||
}
|
||||
|
||||
input AuthorsBy {
|
||||
last_seen: Int
|
||||
created_at: Int
|
||||
slug: String
|
||||
name: String
|
||||
topic: String
|
||||
order: String
|
||||
after: Int
|
||||
stat: String
|
||||
last_seen: Int
|
||||
created_at: Int
|
||||
slug: String
|
||||
name: String
|
||||
topic: String
|
||||
order: String
|
||||
after: Int
|
||||
stat: String
|
||||
}
|
||||
|
||||
input LoadShoutsFilters {
|
||||
topic: String
|
||||
author: String
|
||||
layouts: [String]
|
||||
featured: Boolean
|
||||
reacted: Boolean # requires auth, used in load_shouts_feed
|
||||
after: Int
|
||||
community: Int
|
||||
topic: String
|
||||
author: String
|
||||
layouts: [String]
|
||||
featured: Boolean
|
||||
reacted: Boolean # requires auth, used in load_shouts_feed
|
||||
after: Int
|
||||
community: Int
|
||||
}
|
||||
|
||||
input LoadShoutsOptions {
|
||||
filters: LoadShoutsFilters
|
||||
limit: Int!
|
||||
random_limit: Int
|
||||
offset: Int
|
||||
order_by: ShoutsOrderBy
|
||||
order_by_desc: Boolean
|
||||
filters: LoadShoutsFilters
|
||||
limit: Int!
|
||||
random_limit: Int
|
||||
offset: Int
|
||||
order_by: ShoutsOrderBy
|
||||
order_by_desc: Boolean
|
||||
}
|
||||
|
||||
input ReactionBy {
|
||||
shout: String
|
||||
shout_id: Int
|
||||
shouts: [String]
|
||||
search: String
|
||||
kinds: [ReactionKind]
|
||||
reply_to: Int # filter
|
||||
topic: String
|
||||
created_by: Int
|
||||
author_id: Int
|
||||
author: String
|
||||
after: Int
|
||||
sort: ReactionSort # sort
|
||||
shout: String
|
||||
shout_id: Int
|
||||
shouts: [String]
|
||||
search: String
|
||||
kinds: [ReactionKind]
|
||||
reply_to: Int # filter
|
||||
topic: String
|
||||
created_by: Int
|
||||
author_id: Int
|
||||
author: String
|
||||
after: Int
|
||||
sort: ReactionSort # sort
|
||||
}
|
||||
|
||||
input NotificationSeenInput {
|
||||
notifications: [Int]
|
||||
thread: Int
|
||||
notifications: [Int]
|
||||
thread: Int
|
||||
}
|
||||
|
||||
input CommunityInput {
|
||||
slug: String
|
||||
name: String
|
||||
desc: String
|
||||
pic: String
|
||||
slug: String
|
||||
name: String
|
||||
desc: String
|
||||
pic: String
|
||||
}
|
||||
|
||||
input CollectionInput {
|
||||
id: Int
|
||||
slug: String!
|
||||
title: String!
|
||||
desc: String
|
||||
pic: String
|
||||
id: Int
|
||||
slug: String!
|
||||
title: String!
|
||||
desc: String
|
||||
pic: String
|
||||
}
|
||||
|
||||
# Auth inputs
|
||||
input LoginCredentials {
|
||||
email: String!
|
||||
password: String!
|
||||
email: String!
|
||||
password: String!
|
||||
}
|
||||
|
||||
input RegisterInput {
|
||||
email: String!
|
||||
password: String
|
||||
name: String
|
||||
email: String!
|
||||
password: String
|
||||
name: String
|
||||
}
|
||||
|
||||
input ChangePasswordInput {
|
||||
oldPassword: String!
|
||||
newPassword: String!
|
||||
oldPassword: String!
|
||||
newPassword: String!
|
||||
}
|
||||
|
||||
input ResetPasswordInput {
|
||||
token: String!
|
||||
newPassword: String!
|
||||
token: String!
|
||||
newPassword: String!
|
||||
}
|
||||
|
Reference in New Issue
Block a user