Skip to content
Source
Sign inSign up

graphql.config.ts

13 lines521 Bytes

1import { defineConfig } from "@effect/graphql-generator/Config";
2​
3// `schema/expo.graphql` is api.expo.dev's schema, read by introspection
4// (`vp run generate:expo-schema`). The EAS Simulator operations are the ones
5// eas-cli's `simulator:*` commands send; Expo does not document them.
6export default defineConfig({
7 schema: "./schema/expo.graphql",
8 documents: ["src/device/**/*.graphql"],
9 scalars: {
10 // Feature gates arrive as an object of gate name to boolean.
11 JSONObject: "effect/Schema#Json",
12 },
13});