show stories in dropdown

This commit is contained in:
Riley Davis
2017-06-09 14:10:21 -06:00
parent 06da4d7d26
commit de665b3a0d
12 changed files with 233 additions and 4 deletions
+11 -1
View File
@@ -112,6 +112,16 @@ input UsersQuery {
sort: SORT_ORDER = REVERSE_CHRONOLOGICAL
}
# AssetsQuery allows teh ability to query assets by specific fields
input AssetsQuery {
# a search string to match against titles, authors, urls, etc.
value: String = ""
# Limit the number of results to be returned
limit: Int = 10
}
################################################################################
## Comments
################################################################################
@@ -586,7 +596,7 @@ type RootQuery {
comment(id: ID!): Comment
# All assets. Requires the `ADMIN` role.
assets: [Asset]
assets(query: AssetsQuery!): [Asset]
# Find or create an asset by url, or just find with the ID.
asset(id: ID, url: String): Asset