mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
18 lines
526 B
JavaScript
18 lines
526 B
JavaScript
// import { GraphQLSchema } from 'meteor/vulcan:core';
|
|
// // import Events from './collection.js';
|
|
// import { requestAnalyticsAsync } from './helpers.js';
|
|
|
|
// GraphQLSchema.addMutation('eventTrack(eventName: String, properties: JSON): JSON');
|
|
|
|
// const resolvers = {
|
|
// Mutation: {
|
|
// eventTrack: (root, { eventName, properties }, context) => {
|
|
// const user = context.currentUser || {_id: 'anonymous'};
|
|
|
|
|
|
// return properties;
|
|
// },
|
|
// },
|
|
// };
|
|
|
|
// GraphQLSchema.addResolvers(resolvers);
|