npm package diff
Package: @forge/events
Versions: 1.0.1 - 1.0.1-experimental-93876a6
File: package/out/types.d.ts
Index: package/out/types.d.ts
===================================================================
--- package/out/types.d.ts
+++ package/out/types.d.ts
@@ -17,8 +17,18 @@
queueName: string;
jobId: string;
time: string;
}
+export interface AppEventRequest {
+ type: string;
+}
+export declare type AppEventResult = AppEventSuccess | AppEventError;
+export declare type AppEventSuccess = {};
+export interface AppEventError {
+ errorType: AppEventErrorType;
+ errorMessage: string;
+}
+export declare type AppEventErrorType = 'VALIDATION_ERROR' | 'AUTHENTICATION_ERROR' | 'RATE_LIMIT' | 'SERVICE_UNAVAILABLE' | `OTHER`;
export interface FailedEvent {
errorMessage: string;
payload: Payload;
}