diff --git a/client/coral-admin/src/services/fragmentMatcher.js b/client/coral-admin/src/services/fragmentMatcher.js index daa01a538..afb87d445 100644 --- a/client/coral-admin/src/services/fragmentMatcher.js +++ b/client/coral-admin/src/services/fragmentMatcher.js @@ -7,6 +7,32 @@ const fm = new IntrospectionFragmentMatcher({ introspectionQueryResultData: { __schema: { types: [ + { + kind: 'INTERFACE', + name: 'UserError', + possibleTypes: [ + {name: 'GenericUserError'}, + {name: 'ValidationUserError'} + ] + }, + { + kind: 'INTERFACE', + name: 'Response', + possibleTypes: [ + {name: 'CreateCommentResponse'}, + {name: 'CreateLikeResponse'}, + {name: 'CreateFlagResponse'}, + {name: 'CreateDontAgreeResponse'}, + {name: 'DeleteActionResponse'}, + {name: 'SetUserStatusResponse'}, + {name: 'SuspendUserResponse'}, + {name: 'SetCommentStatusResponse'}, + {name: 'AddCommentTagResponse'}, + {name: 'RemoveCommentTagResponse'}, + {name: 'IgnoreUserResponse'}, + {name: 'StopIgnoringUserResponse'} + ] + }, { kind: 'INTERFACE', name: 'Action', @@ -24,6 +50,15 @@ const fm = new IntrospectionFragmentMatcher({ {name: 'LikeActionSummary'}, {name: 'DontAgreeActionSummary'} ], + }, + { + kind: 'INTERFACE', + name: 'AssetActionSummary', + possibleTypes: [ + {name: 'DefaultAssetActionSummary'}, + {name: 'FlagAssetActionSummary'}, + {name: 'LikeAssetActionSummary'} + ] } ], },