@eggjs/tegg-types
Advanced tools
| export interface FetchEvent extends Event { | ||
| request: Request; | ||
| waitUntil(f: Promise<any>): void; | ||
| respondWith(r: Response | PromiseLike<Response>): void; | ||
| } |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmV0Y2guanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmZXRjaC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0= |
| export * from './fetch'; | ||
| export * from './ServiceWorkerContext'; |
| "use strict"; | ||
| var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
| if (k2 === undefined) k2 = k; | ||
| var desc = Object.getOwnPropertyDescriptor(m, k); | ||
| if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
| desc = { enumerable: true, get: function() { return m[k]; } }; | ||
| } | ||
| Object.defineProperty(o, k2, desc); | ||
| }) : (function(o, m, k, k2) { | ||
| if (k2 === undefined) k2 = k; | ||
| o[k2] = m[k]; | ||
| })); | ||
| var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
| for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| __exportStar(require("./fetch"), exports); | ||
| __exportStar(require("./ServiceWorkerContext"), exports); | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsMENBQXdCO0FBQ3hCLHlEQUF1QyJ9 |
| import { FetchEvent } from './fetch'; | ||
| export interface ServiceWorkerContextInit<T> { | ||
| event: T; | ||
| } | ||
| export interface ServiceWorkerContext<Event, Response> { | ||
| event: Event; | ||
| get response(): Response | undefined; | ||
| set response(response: Response); | ||
| get body(): any | undefined; | ||
| set body(body: any); | ||
| } | ||
| export type ServiceWorkerFetchContext = ServiceWorkerContext<FetchEvent, Response>; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VydmljZVdvcmtlckNvbnRleHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJTZXJ2aWNlV29ya2VyQ29udGV4dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0= |
+2
-2
| { | ||
| "name": "@eggjs/tegg-types", | ||
| "version": "3.78.3", | ||
| "version": "3.78.7", | ||
| "description": "tegg types", | ||
@@ -48,3 +48,3 @@ "keywords": [ | ||
| }, | ||
| "gitHead": "dad5ee61b9676cff8522f4ef15436e36d5c321c4" | ||
| "gitHead": "edd12e992c78fde061a4cd6c18d7173fa50061dc" | ||
| } |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
130994
1.76%190
3.26%2616
1.59%3
Infinity%