IO-921 Multiple Prod List configurations.
This commit is contained in:
@@ -21,6 +21,22 @@ export const UPDATE_ASSOCIATION = gql`
|
||||
returning {
|
||||
id
|
||||
active
|
||||
authlevel
|
||||
default_prod_list_view
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const UPDATE_ACTIVE_PROD_LIST_VIEW = gql`
|
||||
mutation UPDATE_ACTIVE_PROD_LIST_VIEW($assocId: uuid, $view: String) {
|
||||
update_associations(
|
||||
where: { id: { _eq: $assocId } }
|
||||
_set: { default_prod_list_view: $view }
|
||||
) {
|
||||
returning {
|
||||
id
|
||||
default_prod_list_view
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ export const QUERY_BODYSHOP = gql`
|
||||
associations {
|
||||
authlevel
|
||||
useremail
|
||||
default_prod_list_view
|
||||
user {
|
||||
authid
|
||||
email
|
||||
|
||||
Reference in New Issue
Block a user