Sha256: 798d68139f24158126315ac55e2290377ffc7e9180b35261c15ed5615dcb196a

Contents?: true

Size: 652 Bytes

Versions: 26

Compression:

Stored size: 652 Bytes

Contents

import type { RequestController } from './RequestController'

export const IS_PATCHED_MODULE: unique symbol = Symbol('isPatchedModule')

export type RequestCredentials = 'omit' | 'include' | 'same-origin'

export type HttpRequestEventMap = {
  request: [
    args: {
      request: Request
      requestId: string
      controller: RequestController
    }
  ]
  response: [
    args: {
      response: Response
      isMockedResponse: boolean
      request: Request
      requestId: string
    }
  ]
  unhandledException: [
    args: {
      error: unknown
      request: Request
      requestId: string
      controller: RequestController
    }
  ]
}

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
clapton-0.0.6 lib/clapton/javascripts/node_modules/@mswjs/interceptors/src/glossary.ts
clapton-0.0.5 lib/clapton/javascripts/node_modules/@mswjs/interceptors/src/glossary.ts
clapton-0.0.4 lib/clapton/javascripts/node_modules/@mswjs/interceptors/src/glossary.ts
clapton-0.0.3 lib/clapton/javascripts/node_modules/@mswjs/interceptors/src/glossary.ts
clapton-0.0.2 lib/clapton/javascripts/node_modules/@mswjs/interceptors/src/glossary.ts
clapton-0.0.1 lib/clapton/javascripts/node_modules/@mswjs/interceptors/src/glossary.ts