import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";

var _templateObject, _templateObject2;

import gql from "graphql-tag";
export var DELETE_ELEMENT = gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n    mutation deleteElement($id: ID!) {\n        pageBuilder {\n            deleteElement(id: $id) {\n                error {\n                    code\n                    message\n                }\n            }\n        }\n    }\n"])));
export var UPDATE_ELEMENT = gql(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n    mutation updateElement($id: ID!, $data: PbUpdateElementInput!) {\n        pageBuilder {\n            updateElement(id: $id, data: $data) {\n                data {\n                    id\n                    name\n                    type\n                    category\n                    content\n                    preview {\n                        src\n                    }\n                }\n                error {\n                    message\n                }\n            }\n        }\n    }\n"])));
//# sourceMappingURL=graphql.js.map