composables, mazani letu, skeletony

This commit is contained in:
Michal Kváček
2023-07-24 17:31:54 +02:00
parent 4648c30f90
commit 864db6c6a2
53 changed files with 732 additions and 273 deletions
+9
View File
@@ -8,3 +8,12 @@ query copilotsList {
}
}
`;
export const COPILOTS_DETAIL = gql`
query copilot($id: Int!) {
copilot(id: $id) {
id
name
}
}
`;
+11 -1
View File
@@ -1,5 +1,5 @@
import gql from "graphql-tag";
import {FRAGMENT_POI_LIST_INFO} from "src/graphql/fragments/poi";
import {FRAGMENT_POI_FULL_INFO, FRAGMENT_POI_LIST_INFO} from "src/graphql/fragments/poi";
export const POI_LIST = gql`
query poiList {
@@ -10,3 +10,13 @@ query poiList {
${FRAGMENT_POI_LIST_INFO}
`;
export const POI_DETAIL = gql`
query poiDetail($id: Int!) {
pointOfInterest(id: $id) {
...pointOfInterestFullInfo
}
}
${FRAGMENT_POI_FULL_INFO}
`;