Aktualizace balicku, strnakovani, uprava hlavni stranky

This commit is contained in:
Michal Kváček
2023-12-12 23:42:16 +01:00
parent 8c7e237053
commit c8ea17c1ec
67 changed files with 1372 additions and 774 deletions
+12 -6
View File
@@ -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
}
}
}