@eggjs/standalone-decorator 3.78.7 → 3.78.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,3 +6,9 @@ export declare const EVENT_HANDLER_ATTRIBUTE: unique symbol;
6
6
  export type EventType = Record<string, string>;
7
7
  export declare const EventHandler: ImplDecorator<AbstractEventHandler, EventType>;
8
8
  export declare const EventHandlerProto: (type: EventType[keyof EventType], params?: SingletonProtoParams) => (clazz: EggProtoImplClass<AbstractEventHandler>) => void;
9
+ export interface FetchEventLike {
10
+ type: string;
11
+ request: Request;
12
+ respondWith(response: Response | Promise<Response>): void;
13
+ waitUntil?(promise: Promise<unknown>): void;
14
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/standalone-decorator",
3
- "version": "3.78.7",
3
+ "version": "3.78.10",
4
4
  "description": "tegg standalone decorator",
5
5
  "keywords": [
6
6
  "egg",
@@ -36,7 +36,7 @@
36
36
  "node": ">=14.0.0"
37
37
  },
38
38
  "dependencies": {
39
- "@eggjs/tegg-common-util": "^3.78.7",
39
+ "@eggjs/tegg-common-util": "^3.78.10",
40
40
  "reflect-metadata": "^0.1.13"
41
41
  },
42
42
  "publishConfig": {
@@ -50,5 +50,5 @@
50
50
  "ts-node": "^10.9.1",
51
51
  "typescript": "^5.0.4"
52
52
  },
53
- "gitHead": "edd12e992c78fde061a4cd6c18d7173fa50061dc"
53
+ "gitHead": "8a61a3e5e663054a62970caab0e71076e3df1120"
54
54
  }