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
Raw Normal View History

2020-11-06 19:23:12 +00:00
enum VersionCode {
PL
pl
2020-11-06 19:23:12 +00:00
EN
en
2020-11-06 19:23:12 +00:00
DE
de
2020-11-06 19:23:12 +00:00
UK
uk
2020-11-06 19:23:12 +00:00
IT
it
2020-11-06 19:23:12 +00:00
FR
fr
2020-11-06 19:23:12 +00:00
US
us
2020-11-06 19:23:12 +00:00
NL
nl
2020-11-06 19:23:12 +00:00
ES
es
2020-11-06 19:23:12 +00:00
RO
ro
2020-11-06 19:23:12 +00:00
RU
ru
2020-11-06 19:23:12 +00:00
GR
gr
2020-11-06 19:23:12 +00:00
TR
tr
2020-11-06 19:23:12 +00:00
CS
cs
2020-11-06 19:23:12 +00:00
CH
ch
2020-11-06 19:23:12 +00:00
PT
pt
2020-11-06 19:23:12 +00:00
BR
br
2020-11-06 19:23:12 +00:00
HU
hu
2021-01-01 15:13:49 +00:00
SK
sk
2020-11-06 19:23:12 +00:00
}
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!
2020-11-06 19:23:12 +00:00
version(code: VersionCode!): Version
}