You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -182,21 +165,6 @@ export type AaaQuery = { user:
182
165
"
183
166
`;
184
167
185
-
exports[`TypeScript Operations Plugin > Selection Set > Should generate the correct intersection for fragments when using with interfaces with same type 2`] =`
186
-
"export type Unnamed_1_QueryVariables = Exact<{ [key: string]: never; }>;
187
-
188
-
189
-
export type Unnamed_1_Query = {b:
190
-
| { id: string, x: number }
191
-
|Record<PropertyKey, never>
192
-
|null};
193
-
194
-
export type AFragment = {id: string};
195
-
196
-
export type BFragment = {x: number};
197
-
"
198
-
`;
199
-
200
168
exports[`TypeScript Operations Plugin > Selection Set > Should have valid __typename usage and split types according to that (with usage) 1`] =`
export type AdditionalInfoFragment = {message: string};
288
-
289
-
type UserResult1_User_Fragment = {id: string};
290
-
291
-
type UserResult1_Error3_Fragment = {info: { message2: string } |null};
292
-
293
-
export type UserResult1Fragment =
294
-
| UserResult1_User_Fragment
295
-
| UserResult1_Error3_Fragment
296
-
;
297
-
298
-
type UserResult_User_Fragment = {id: string};
299
-
300
-
type UserResult_Error2_Fragment = {message: string};
301
-
302
-
export type UserResultFragment =
303
-
| UserResult_User_Fragment
304
-
| UserResult_Error2_Fragment
305
-
;
306
-
"
307
-
`;
308
-
309
-
exports[`TypeScript Operations Plugin > Union & Interfaces > Should handle union selection sets with both FragmentSpreads and InlineFragments with flattenGeneratedTypes 1`] =`
310
-
"export type UserQueryQueryVariables = Exact<{ [key: string]: never; }>;
exports[`TypeScript Operations Plugin > Union & Interfaces > Should handle union selection sets with both FragmentSpreads and InlineFragments with flattenGeneratedTypes and directives 1`] =`
339
-
"export type UserQueryQueryVariables = Exact<{ [key: string]: never; }>;
0 commit comments