Workshop - Layout info WIP

This commit is contained in:
Robert committed 2023-10-23 19:33:38 +02:00
1 parent c77d51fb58
commit f4b9b67f1a
25 files changed
+361 -63

No files matched your search

@@ -0,0 +1,23 @@
fragment category on Category {
name
icon
}
fragment layoutInfo on LayoutInfo {
id
deviceProvider
deviceType
model
vendor
logicalLayout
physicalLayout
}
fragment submittedEntry on Entry {
id
name
summary
entryType
downloads
createdAt
}
@@ -10,8 +10,7 @@ query GetEntries($search: String $filter: EntryFilterInput $skip: Int $take: Int
downloads
createdAt
categories {
name
icon
...category
}
}
}
@@ -9,8 +9,7 @@ query GetEntryById($id: Long!) {
createdAt
description
categories {
name
icon
...category
}
latestRelease {
id
@@ -1,14 +1,8 @@
query GetSubmittedEntries($filter: EntryFilterInput) {
submittedEntries(where: $filter order: {createdAt: DESC}) {
id
name
summary
entryType
downloads
createdAt
...submittedEntry
categories {
name
icon
...category
}
}
}
@@ -1,11 +1,6 @@
query GetSubmittedEntryById($id: Long!) {
entry(id: $id) {
id
name
summary
entryType
downloads
createdAt
...submittedEntry
description
categories {
id
@@ -13,5 +8,8 @@ query GetSubmittedEntryById($id: Long!) {
tags {
name
}
layoutInfo {
...layoutInfo
}
}
}
@@ -6,9 +6,7 @@ query SearchEntries($input: String! $type: EntryType) {
entryType
author
categories {
id
name
icon
...category
}
}
}