This repository has been archived on 2022-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
api/graphql/schema/version.graphql

73 lines
679 B
GraphQL

enum VersionCode {
PL
pl
EN
en
DE
de
UK
uk
IT
it
FR
fr
US
us
NL
nl
ES
es
RO
ro
RU
ru
GR
gr
TR
tr
CS
cs
CH
ch
PT
pt
BR
br
HU
hu
SK
sk
}
type Version {
code: VersionCode!
name: String!
host: String!
timezone: String!
}
input VersionFilter {
code: [VersionCode!]
codeNEQ: [VersionCode!]
host: [String!]
hostNEQ: [String!]
hostMATCH: String
hostIEQ: String
}
type VersionList {
items: [Version!]
total: Int!
}
extend type Query {
versions(
filter: VersionFilter
limit: Int
offset: Int
sort: [String!]
): VersionList!
version(code: VersionCode!): Version
}