core/schema/input.graphql

87 lines
1.2 KiB
GraphQL
Raw Normal View History

2024-02-02 12:03:44 +00: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 16:59:12 +00:00
id: Int
2024-02-02 12:03:44 +00: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
comment: Boolean
2024-02-07 15:39:55 +00:00
rating: Boolean
2024-02-02 12:03:44 +00:00
topic: String
created_by: Int
after: Int
2024-02-29 12:39:55 +00:00
sort: ReactionSort
2024-02-02 12:03:44 +00:00
}
2024-03-04 07:35:33 +00:00
input NotificationSeenInput {
notifications: [Int]
thread: Int
}