@pipedream/types
Advanced tools
Comparing version
@@ -188,5 +188,21 @@ /// <reference types="node" /> | ||
} | ||
export interface SourceRunOptions { | ||
event: JSONValue; | ||
} | ||
export declare type SourceHttpRunOptions = { | ||
method: string; | ||
path: string; | ||
query: { | ||
[key: string]: string; | ||
}; | ||
headers: { | ||
[key: string]: string; | ||
}; | ||
bodyRaw?: string; | ||
body?: { | ||
[key: string]: JSONValue; | ||
}; | ||
}; | ||
export declare type SourceTimerRunOptions = { | ||
timestamp: number; | ||
interval_seconds: number; | ||
}; | ||
export declare type SourceRunOptions = SourceHttpRunOptions | SourceTimerRunOptions; | ||
export interface ActionRunOptions { | ||
@@ -193,0 +209,0 @@ $: Pipedream; |
{ | ||
"name": "@pipedream/types", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Pipedream TypeScript types", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
17482
2.3%598
2.75%