kambed / FoodzillaFrontendIos

Foodzilla - Frontend Ios of TUL project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FE iOS: Search&Filter

RadekBucki opened this issue · comments

  • Use this query
query search($pageSize: Int, $currentPage: Int, $phrase: String, $filters: [FilterType], $sort: [RecipeSort]) {
    search(input: {
        phrase: $phrase
        pageSize: $pageSize
        currentPage: $currentPage
        filters: $filters
        sort: $sort
    }) {
        currentPage
        numberOfPages
        opinion
        recipes {
            name
        }
    }
}