1 | import { Secret } from "./internal/invoker/Payload";
|
2 | import { EventHandlerMetadata } from "./metadata/automationMetadata";
|
3 | import { OnEvent } from "./onEvent";
|
4 | export interface EventFired<T = any> {
|
5 | data: T;
|
6 | extensions: {
|
7 | operationName: string;
|
8 | };
|
9 | secrets?: Secret[];
|
10 | }
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | export interface HandleEvent<T = any, P = any> {
|
18 | handle: OnEvent<T, P>;
|
19 | }
|
20 | export declare type SelfDescribingHandleEvent<T = any, P = any> = HandleEvent<T, P> & EventHandlerMetadata;
|
21 |
|
\ | No newline at end of file |