The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 03:37 UTC
| 1 | import { defineConfig } from "@effect/graphql-generator/Config"; |
| 2 | |
| 3 | // `schema/linear.graphql` is the public schema Linear publishes with its SDK |
| 4 | // (https://github.com/linear/linear/blob/master/packages/sdk/src/schema.graphql). |
| 5 | export default defineConfig({ |
| 6 | schema: "./schema/linear.graphql", |
| 7 | documents: ["src/**/*.graphql"], |
| 8 | scalars: { |
| 9 | // Kept as Linear sends it: the tracker passes these on as ISO strings. |
| 10 | DateTime: "effect/Schema#String", |
| 11 | // An attachment's metadata arrives as an object; its shape depends on the integration. |
| 12 | JSONObject: "effect/Schema#Json", |
| 13 | // Documented as stringified JSON, but a template's data has also arrived as an object. |
| 14 | JSON: "effect/Schema#Json", |
| 15 | // Filters compare dates with these; the tracker sends none of them. |
| 16 | DateTimeOrDuration: "effect/Schema#String", |
| 17 | Duration: "effect/Schema#String", |
| 18 | TimelessDate: "effect/Schema#String", |
| 19 | TimelessDateOrDuration: "effect/Schema#String", |
| 20 | }, |
| 21 | }); |