FE iOS: Save search
RadekBucki opened this issue · comments
- Use GraphQL mutation:
mutation {
addSavedSearch(input: {
phrase: "String"
filters: [
{
attribute: "name"
equals: "abc"
}
]
sort: [
{
attribute: "name"
direction: "ASC"
}
]
}) {
id
phrase
filters {
attribute
equals
}
sort {
attribute
direction
}
}
}
- Use GraphQL query
{
savedSearch {
id
phrase
filters {
attribute
equals
}
sort {
attribute
direction
}
}
}
- Use GraphQL mutation
mutation {
deleteSavedSearch(id: 1) {
id
phrase
filters {
attribute
equals
}
sort {
attribute
direction
}
}
}