t3-code-android-nightly/packages/source-control-github/graphql.config.ts
maria 8f26ed7e27
refactor: halve code comments and cap comment blocks at four lines (#21514)
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
2026-10-24 23:19:17 -03:00

13 lines
495 B
TypeScript

import { defineConfig } from "@effect/graphql-generator/Config";
// Public schema: https://docs.github.com/public/fpt/schema.docs.graphql. Gate Enterprise-missing fields with @include.
export default defineConfig({
schema: "./schema/github.graphql",
documents: ["src/**/*.graphql"],
scalars: {
GitObjectID: "effect/Schema#String",
GitRefname: "effect/Schema#String",
// Preserve GitHub's strings for comparison with other reads.
DateTime: "effect/Schema#String",
},
});