Use new "metas" mutations

This commit is contained in:
schroda
2026-01-24 21:04:06 +01:00
parent 14d7ec0ae5
commit 474b98abb5
16 changed files with 791 additions and 347 deletions

View File

@@ -38,9 +38,9 @@ export const UPDATE_SOURCE_PREFERENCES = gql`
export const SET_SOURCE_METADATA = gql`
${SOURCE_META_FIELDS}
mutation SET_SOURCE_METADATA($input: SetSourceMetaInput!) {
setSourceMeta(input: $input) {
meta {
mutation SET_SOURCE_METADATA($input: SetSourceMetasInput!) {
setSourceMetas(input: $input) {
metas {
...SOURCE_META_FIELDS
}
}
@@ -50,9 +50,9 @@ export const SET_SOURCE_METADATA = gql`
export const DELETE_SOURCE_METADATA = gql`
${SOURCE_META_FIELDS}
mutation DELETE_SOURCE_METADATA($input: DeleteSourceMetaInput!) {
deleteSourceMeta(input: $input) {
meta {
mutation DELETE_SOURCE_METADATA($input: DeleteSourceMetasInput!) {
deleteSourceMetas(input: $input) {
metas {
...SOURCE_META_FIELDS
}
}