This repository has been archived on 2023-12-17. You can view files and clone it, but cannot push or open issues or pull requests.
extension/src/types.ts

35 lines
1.1 KiB
TypeScript

import {
WebRequest,
Proxy,
Tabs,
WebNavigation,
Menus,
} from "webextension-polyfill";
import OnHeadersReceivedDetailsType = WebRequest.OnHeadersReceivedDetailsType;
import OnBeforeRequestDetailsType = WebRequest.OnBeforeRequestDetailsType;
import OnBeforeSendHeadersDetailsType = WebRequest.OnBeforeSendHeadersDetailsType;
import OnCompletedDetailsType = WebRequest.OnCompletedDetailsType;
import OnErrorOccurredDetailsType = WebRequest.OnErrorOccurredDetailsType;
import BlockingResponse = WebRequest.BlockingResponse;
import OnRequestDetailsType = Proxy.OnRequestDetailsType;
import HttpHeaders = WebRequest.HttpHeaders;
import StreamFilter = WebRequest.StreamFilter;
import HttpHeadersItemType = WebRequest.HttpHeadersItemType;
import OnBeforeNavigateDetailsType = WebNavigation.OnBeforeNavigateDetailsType;
export {
OnHeadersReceivedDetailsType,
OnBeforeRequestDetailsType,
OnBeforeSendHeadersDetailsType,
OnCompletedDetailsType,
OnErrorOccurredDetailsType,
BlockingResponse,
OnRequestDetailsType,
HttpHeaders,
StreamFilter,
HttpHeadersItemType,
Tabs,
OnBeforeNavigateDetailsType,
Menus,
};