mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 18:19:11 +00:00
14 lines
364 B
GraphQL
14 lines
364 B
GraphQL
type SearchResult {
|
|
"The string that was searched for"
|
|
query: String!
|
|
"A list of albums that matched the query"
|
|
albums: [Album!]!
|
|
"A list of media that matched the query"
|
|
media: [Media!]!
|
|
}
|
|
|
|
extend type Query {
|
|
"Perform a search query on the contents of the media library"
|
|
search(query: String!, limitMedia: Int, limitAlbums: Int): SearchResult!
|
|
}
|