Add functionality to save source browse searches

This commit is contained in:
schroda
2024-05-08 04:01:23 +02:00
parent 93f76d6b7e
commit 5cb541b684
11 changed files with 337 additions and 37 deletions

View File

@@ -65,6 +65,10 @@ export const PARTIAL_SOURCE_FIELDS = gql`
pkgName
repo
}
meta {
key
value
}
}
`;

File diff suppressed because one or more lines are too long

View File

@@ -83,3 +83,22 @@ export const UPDATE_SOURCE_PREFERENCES = gql`
}
}
`;
export const SET_SOURCE_METADATA = gql`
mutation SET_SOURCE_METADATA($input: SetSourceMetaInput!) {
setSourceMeta(input: $input) {
clientMutationId
meta {
key
value
source {
id
meta {
key
value
}
}
}
}
}
`;