<commit_before>import { ApolloClient } from 'apollo-client';
import { createHttpLink } from 'apollo-link-http';
import { InMemoryCache } from 'apollo-cache-inmemory';
import { withClientState } from 'apollo-link-state';

import * as MediaPlayerQueryResolvers from './mediaPlayer/queries';
import * as MediaPlayerMutationResolvers from './mediaPlayer/mutations';

import * as GiveQueryResolvers from './withGive/queries';
import * as GiveMutationResolvers from './withGive/mutations';

const ClientStateLink = withClientState({
  Query: {
    ...MediaPlayerQueryResolvers,
    ...GiveQueryResolvers,
  },
  Mutation: {
    ...MediaPlayerMutationResolvers,
    ...GiveMutationResolvers,
  },
});

export default new ApolloClient({
  link: ClientStateLink.concat(
    createHttpLink({ uri: 'https://api.newspring.cc/graphql' }),
  ),
  cache: new InMemoryCache(),
});<commit_msg>Point to alpha api (#193)<commit_after>import { ApolloClient } from 'apollo-client';
import { createHttpLink } from 'apollo-link-http';
import { InMemoryCache } from 'apollo-cache-inmemory';
import { withClientState } from 'apollo-link-state';

import * as MediaPlayerQueryResolvers from './mediaPlayer/queries';
import * as MediaPlayerMutationResolvers from './mediaPlayer/mutations';

import * as GiveQueryResolvers from './withGive/queries';
import * as GiveMutationResolvers from './withGive/mutations';

const ClientStateLink = withClientState({
  Query: {
    ...MediaPlayerQueryResolvers,
    ...GiveQueryResolvers,
  },
  Mutation: {
    ...MediaPlayerMutationResolvers,
    ...GiveMutationResolvers,
  },
});

export default new ApolloClient({
  link: ClientStateLink.concat(
    createHttpLink({ uri: 'https://alpha-api.newspring.cc/graphql' }),
  ),
  cache: new InMemoryCache(),
});
{'fraction_non_alphanumeric': 0.13333333333333333, 'fraction_numerical': 0.001694915254237288, 'mean_word_length': 4.712903225806452, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3056382', 'n_tokens_mistral': 562, 'n_tokens_neox': 543, 'n_words': 118}