UNPKG

@graphql-tools/prisma-loader

Version:

A set of utils for faster development of GraphQL tools

8 lines (7 loc) 320 B
import _ from 'lodash'; export const cloudApiEndpoint = process.env['CLOUD_API_ENDPOINT'] || 'https://api.cloud.prisma.sh'; export const clusterEndpointMap = { 'prisma-eu1': 'https://eu1.prisma.sh', 'prisma-us1': 'https://us1.prisma.sh', }; export const clusterEndpointMapReverse = _.invert(clusterEndpointMap);