mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Workshop - Improves default entry handling in workshop
Core - Modifies the Artemis data folder path based on the build configuration. Plugins - Adds a confirmation dialog to prompt the user to restart if a plugin requires admin rights. Startup wizard - Updates the installation progress bar in the startup wizard. Workshop - Changes category retrieval to be based on EntryType. Workshop - Adds the ability to include default entries when searching the workshop.
This commit is contained in:
1 parent
f0cbc3e561
commit
565647f1ed
19 files changed
+55
-43
No files matched your search
@@ -1,5 +1,5 @@
|
||||
query GetCategories {
|
||||
categories(order: {name: ASC}) {
|
||||
query GetCategories($entryType: EntryType) {
|
||||
categories(where: {entryType: {in: [$entryType, null]}} order: {name: ASC}) {
|
||||
id
|
||||
name
|
||||
icon
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
query GetEntriesv2($search: String $filter: EntryFilterInput $order: [EntrySortInput!] $first: Int $after: String) {
|
||||
entriesV2(search: $search where: $filter order: $order first: $first after: $after) {
|
||||
query GetEntries($search: String $includeDefaults: Boolean $filter: EntryFilterInput $order: [EntrySortInput!] $first: Int $after: String) {
|
||||
entriesV2(search: $search includeDefaults: $includeDefaults where: $filter order: $order first: $first after: $after) {
|
||||
totalCount
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
@@ -22,6 +22,7 @@ query GetPopularEntries {
|
||||
|
||||
query GetDefaultEntries($first: Int, $after: String) {
|
||||
entriesV2(
|
||||
includeDefaults: true
|
||||
where: { defaultEntryInfo: { entryId: { gt: 0 } } }
|
||||
first: $first
|
||||
after: $after
|
||||
|
||||
@@ -7,6 +7,7 @@ type Category {
|
||||
id: Long!
|
||||
name: String!
|
||||
icon: String!
|
||||
entryType: EntryType
|
||||
}
|
||||
|
||||
"Information about the offset pagination."
|
||||
@@ -166,7 +167,7 @@ type Query {
|
||||
skip: Int
|
||||
take: Int
|
||||
search: String
|
||||
popular: Boolean
|
||||
includeDefaults: Boolean
|
||||
order: [EntrySortInput!] @cost(weight: "10")
|
||||
where: EntryFilterInput @cost(weight: "10")
|
||||
): EntriesCollectionSegment
|
||||
@@ -180,7 +181,7 @@ type Query {
|
||||
@cost(weight: "10")
|
||||
entriesV2(
|
||||
search: String
|
||||
popular: Boolean
|
||||
includeDefaults: Boolean
|
||||
"Returns the first _n_ elements from the list."
|
||||
first: Int
|
||||
"Returns the elements in the list that come after the specified cursor."
|
||||
@@ -273,12 +274,14 @@ input CategoryFilterInput {
|
||||
id: LongOperationFilterInput
|
||||
name: StringOperationFilterInput
|
||||
icon: StringOperationFilterInput
|
||||
entryType: NullableOfEntryTypeOperationFilterInput
|
||||
}
|
||||
|
||||
input CategorySortInput {
|
||||
id: SortEnumType @cost(weight: "10")
|
||||
name: SortEnumType @cost(weight: "10")
|
||||
icon: SortEnumType @cost(weight: "10")
|
||||
entryType: SortEnumType @cost(weight: "10")
|
||||
}
|
||||
|
||||
input CreateEntryInput {
|
||||
@@ -509,6 +512,13 @@ input LongOperationFilterInput {
|
||||
nlte: Long @cost(weight: "10")
|
||||
}
|
||||
|
||||
input NullableOfEntryTypeOperationFilterInput {
|
||||
eq: EntryType @cost(weight: "10")
|
||||
neq: EntryType @cost(weight: "10")
|
||||
in: [EntryType] @cost(weight: "10")
|
||||
nin: [EntryType] @cost(weight: "10")
|
||||
}
|
||||
|
||||
input NullableOfKeyboardLayoutTypeOperationFilterInput {
|
||||
eq: KeyboardLayoutType @cost(weight: "10")
|
||||
neq: KeyboardLayoutType @cost(weight: "10")
|
||||
|
||||
Reference in new issue
Block a user