Moves system-level operations (auth, billing, admin) to use the /metadata endpoint instead of /graphql. This cleans up the endpoint separation so /graphql is purely for core objects (Company, People, etc.) and /metadata handles all system operations. Part of prep work for webhook/API key core migration.
7 lines
210 B
TypeScript
7 lines
210 B
TypeScript
import { ApolloClient, InMemoryCache } from '@apollo/client';
|
|
|
|
export const mockedApolloClient = new ApolloClient({
|
|
uri: process.env.REACT_APP_SERVER_BASE_URL + '/metadata',
|
|
cache: new InMemoryCache(),
|
|
});
|