composables, mazani letu, skeletony
This commit is contained in:
@@ -1,12 +1,22 @@
|
||||
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 CREATE_POI = gql`
|
||||
mutation createPointOfInterest($input: CreatePointOfInterestInput!) {
|
||||
createPointOfInterest(input: $input) {
|
||||
...pointOfInterestListInfo
|
||||
...pointOfInterestFullInfo
|
||||
}
|
||||
}
|
||||
|
||||
${FRAGMENT_POI_LIST_INFO}
|
||||
${FRAGMENT_POI_FULL_INFO}
|
||||
`;
|
||||
|
||||
export const EDIT_POI = gql`
|
||||
mutation editPointOfInterest($id: Int!, $input: EditPointOfInterestInput!) {
|
||||
editPointOfInterest(id: $id, input: $input) {
|
||||
...pointOfInterestFullInfo
|
||||
}
|
||||
}
|
||||
|
||||
${FRAGMENT_POI_FULL_INFO}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user