@@ -25,62 +25,19 @@ export interface GraphQLTestContext {
2525 ) => Promise < TResult > ;
2626}
2727
28- /**
29- * Legacy v4-style GraphQL options for backward compatibility.
30- *
31- * @deprecated Use `preset` instead for v5 configuration.
32- */
33- export interface LegacyGraphileOptions {
34- /**
35- * V4-style plugins to append.
36- * These plugins use the builder.hook() API which is NOT compatible with v5.
37- * For v5, convert these to proper v5 plugins and use the `preset` option instead.
38- *
39- * @deprecated Use preset.plugins for v5 plugins
40- */
41- // eslint-disable-next-line @typescript-eslint/no-explicit-any
42- appendPlugins ?: any [ ] ;
43- /**
44- * V4-style graphile build options.
45- *
46- * @deprecated Use preset.schema for v5 schema options
47- */
48- // eslint-disable-next-line @typescript-eslint/no-explicit-any
49- graphileBuildOptions ?: Record < string , any > ;
50- /**
51- * V4-style PostGraphile options override.
52- *
53- * @deprecated Use preset for v5 configuration
54- */
55- // eslint-disable-next-line @typescript-eslint/no-explicit-any
56- overrideSettings ?: Record < string , any > ;
57- }
58-
5928/**
6029 * Input for GraphQL test connections.
61- *
62- * Supports both v5 preset-based configuration (recommended) and
63- * legacy v4-style configuration (deprecated, for backward compatibility).
6430 */
31+
6532export interface GetConnectionsInput {
6633 useRoot ?: boolean ;
6734 schemas : string [ ] ;
6835 authRole ?: string ;
6936 /**
70- * V5 preset configuration (recommended) .
37+ * V5 preset configuration.
7138 * Can include extends, plugins, schema options, etc.
7239 */
7340 preset ?: GraphileConfig . Preset ;
74- /**
75- * Legacy v4-style graphile options for backward compatibility.
76- *
77- * NOTE: v4-style plugins (using builder.hook()) are NOT compatible with v5.
78- * If you use appendPlugins with v4 plugins, they will be ignored.
79- * Convert your plugins to v5 format and use the `preset` option instead.
80- *
81- * @deprecated Use preset for v5 configuration
82- */
83- graphile ?: LegacyGraphileOptions ;
8441}
8542
8643export interface GraphQLResponse < T > {
0 commit comments