query gifts($sort: [String!]) { gifts(filter: { status: { _eq: "published" } }, sort: $sort) { status id name url prix used description from reserved photo { id filename_disk } } } mutation UpdateItem($id: ID!, $reserved: Boolean!, $name: String!) { update_gifts_item(id: $id, data: { reserved: $reserved, from: $name }) { id } }