npm package diff
Package: @forge/api
Versions: 3.8.1-experimental-10722bc - 3.9.2-next.1
File: package/out/webTrigger.d.ts
Index: package/out/webTrigger.d.ts
===================================================================
--- package/out/webTrigger.d.ts
+++ package/out/webTrigger.d.ts
@@ -3,6 +3,29 @@
deleteUrl: (webTriggerUrl: string) => Promise<void>;
getUrlIds: (webTriggerUrl: string) => Promise<string[]>;
}
export declare const webTrigger: WebTriggerAPI;
+/** @experimental */
+export interface WebTriggerResponse {
+ statusCode: number;
+ statusText?: string;
+ body?: string;
+ headers?: {
+ [key: string]: string[];
+ };
+}
+/** @experimental */
+export interface WebTriggerContext {
+ installContext: `ari:${string}`;
+}
+/** @experimental */
+export declare type WebTriggerMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
+/** @experimental */
+export interface WebTriggerRequest {
+ method: WebTriggerMethod;
+ body: string;
+ path: string;
+ headers: Record<string, string[]>;
+ queryParameters: Record<string, string[]>;
+}
export {};
//# sourceMappingURL=webTrigger.d.ts.map
\ No newline at end of file