npm package diff
Package: @forge/events
Versions: 1.0.1-experimental-1f6d749 - 1.0.1-experimental-f40d60a
File: package/out/types.d.ts
Index: package/out/types.d.ts
===================================================================
--- package/out/types.d.ts
+++ package/out/types.d.ts
@@ -21,10 +21,13 @@
export interface AppEventRequest {
type: string;
}
export declare type AppEventResult = AppEventSuccess | AppEventError;
-export declare type AppEventSuccess = {};
+export declare type AppEventSuccess = {
+ type: 'success';
+};
export interface AppEventError {
+ type: 'error';
errorType: AppEventErrorType;
errorMessage: string;
}
export declare type AppEventErrorType = 'VALIDATION_ERROR' | 'AUTHENTICATION_ERROR' | 'RATE_LIMIT' | 'SERVICE_UNAVAILABLE' | `OTHER`;