mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Implemented most of the updating mechanism
This commit is contained in:
1 parent
0cd65a2ebf
commit
acd005e4a2
27 files changed
+1055
-383
No files matched your search
@@ -1,5 +1,29 @@
|
||||
query GetReleases($branch: String!, $platform: Platform!, $take: Int!, $after: String) {
|
||||
publishedReleases(
|
||||
first: $take
|
||||
after: $after
|
||||
where: {
|
||||
and: [
|
||||
{ branch: { eq: $branch } }
|
||||
{ artifacts: { some: { platform: { eq: $platform } } } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
endCursor
|
||||
}
|
||||
nodes {
|
||||
id
|
||||
version
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
query GetReleaseById($id: String!) {
|
||||
release(id: $id) {
|
||||
publishedRelease(id: $id) {
|
||||
branch
|
||||
commit
|
||||
version
|
||||
@@ -23,9 +47,10 @@ fragment fileInfo on ArtifactFileInfo {
|
||||
downloadSize
|
||||
}
|
||||
|
||||
query GetNextRelease($currentVersion: String!, $branch: String!, $platform: Platform!) {
|
||||
nextRelease(version: $currentVersion, branch: $branch, platform: $platform) {
|
||||
query GetNextRelease($currentVersion: String, $branch: String!, $platform: Platform!) {
|
||||
nextPublishedRelease(version: $currentVersion, branch: $branch, platform: $platform) {
|
||||
id
|
||||
version
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user