api-extensions.ts 312 B

1234567891011121314
  1. import gql from 'graphql-tag';
  2. export const testApiExtensions = gql`
  3. enum TestErrorType {
  4. UNCAUGHT_ERROR
  5. THROWN_ERROR
  6. CAPTURED_ERROR
  7. CAPTURED_MESSAGE
  8. DATABASE_ERROR
  9. }
  10. extend type Mutation {
  11. createTestError(errorType: TestErrorType!): Boolean
  12. }
  13. `;