Files
core/schema/input.graphql

95 lines
1.3 KiB
GraphQL
Raw Normal View History

2024-02-02 15:03:44 +03:00
input ShoutInput {
slug: String
title: String
body: String
lead: String
description: String
layout: String
media: String
topics: [TopicInput]
community: Int
subtitle: String
cover: String
}
input ProfileInput {
slug: String
name: String
pic: String
links: [String]
bio: String
about: String
}
input TopicInput {
id: Int
slug: String!
title: String
body: String
pic: String
}
input ReactionInput {
2024-02-16 19:59:12 +03:00
id: Int
2024-02-02 15:03:44 +03:00
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
}
input LoadShoutsFilters {
topic: String
author: String
layouts: [String]
featured: Boolean
reacted: Boolean
after: Int
}
input LoadShoutsOptions {
filters: LoadShoutsFilters
with_author_captions: Boolean
limit: Int!
random_limit: Int
offset: Int
order_by: String
order_by_desc: Boolean
}
input ReactionBy {
shout: String
shouts: [String]
search: String
2024-10-21 10:52:23 +03:00
kinds: [ReactionKind]
reply_to: Int # filter
2024-02-02 15:03:44 +03:00
topic: String
created_by: Int
2024-07-18 09:09:48 +03:00
author: String
2024-02-02 15:03:44 +03:00
after: Int
2024-10-21 10:52:23 +03:00
sort: ReactionSort # sort
2024-02-02 15:03:44 +03:00
}
2024-03-04 10:35:33 +03:00
input NotificationSeenInput {
notifications: [Int]
thread: Int
}
2024-10-21 16:42:30 +03:00
input CommunityInput {
slug: String
name: String
desc: String
pic: String
}