Support configuring automatic downloads by category (#562)

Signed-off-by: Chance Zibolski <chance.zibolski@gmail.com>
This commit is contained in:
Chance Zibolski
2024-01-21 13:31:04 -08:00
committed by GitHub
parent de596426bf
commit 05f57730db
11 changed files with 91 additions and 52 deletions

View File

@@ -74,6 +74,7 @@ export const UPDATE_CATEGORY = gql`
$input: UpdateCategoryInput!
$getDefault: Boolean!
$getIncludeInUpdate: Boolean!
$getIncludeInDownload: Boolean!
$getName: Boolean!
) {
updateCategory(input: $input) {
@@ -82,6 +83,7 @@ export const UPDATE_CATEGORY = gql`
id
default @include(if: $getDefault)
includeInUpdate @include(if: $getIncludeInUpdate)
includeInDownload @include(if: $getIncludeInDownload)
name @include(if: $getName)
}
}
@@ -93,6 +95,7 @@ export const UPDATE_CATEGORIES = gql`
$input: UpdateCategoriesInput!
$getDefault: Boolean!
$getIncludeInUpdate: Boolean!
$getIncludeInDownload: Boolean!
$getName: Boolean!
) {
updateCategories(input: $input) {
@@ -101,6 +104,7 @@ export const UPDATE_CATEGORIES = gql`
id
default @include(if: $getDefault)
includeInUpdate @include(if: $getIncludeInUpdate)
includeInDownload @include(if: $getIncludeInDownload)
name @include(if: $getName)
}
}