Aktualizace balicku, strnakovani, uprava hlavni stranky
This commit is contained in:
@@ -2,9 +2,12 @@ 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 {
|
||||
pointsOfInterest {
|
||||
...pointOfInterestListInfo
|
||||
query poiList($limit: Int!, $offset: Int) {
|
||||
pointsOfInterest (limit: $limit, offset: $offset) {
|
||||
totalItemsCount
|
||||
items {
|
||||
...pointOfInterestListInfo
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,9 +15,12 @@ ${FRAGMENT_POI_LIST_INFO}
|
||||
`;
|
||||
|
||||
export const POI_PUBLIC_LIST = gql`
|
||||
query poiList {
|
||||
pointsOfInterest(public: true) {
|
||||
...pointOfInterestListInfo
|
||||
query poiList($limit: Int!, $offset: Int) {
|
||||
pointsOfInterest(limit: $limit, offset: $offset, public: true) {
|
||||
totalItemsCount
|
||||
items {
|
||||
...pointOfInterestListInfo
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user