Vyhledavani v POI

This commit is contained in:
Michal Kváček
2024-02-01 08:32:27 +01:00
parent c28feade90
commit 418469d81c
5 changed files with 45 additions and 9 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ import gql from "graphql-tag";
import {FRAGMENT_POI_FULL_INFO, FRAGMENT_POI_FULL_PRIVATE_INFO, FRAGMENT_POI_LIST_INFO} from "src/graphql/fragments/poi";
export const POI_LIST = gql`
query poiList($limit: Int!, $offset: Int) {
pointsOfInterest (limit: $limit, offset: $offset) {
query poiList($limit: Int!, $offset: Int, $search: String) {
pointsOfInterest (limit: $limit, offset: $offset, search: $search) {
totalItemsCount
items {
...pointOfInterestListInfo