Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/sdk",
"version": "1.1.6",
"version": "1.2.0",
"description": "Pipedream SDK",
"main": "dist/server/server/index.js",
"module": "dist/server/server/index.js",
Expand Down
22 changes: 22 additions & 0 deletions packages/sdk/src/shared/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,25 @@ export type V1DeployedComponent<T extends ConfigurableProps = any> = { // eslint
name_slug: string;
callback_observations?: unknown;
};

export type V1EmittedEvent = {
/**
* The event's payload.
*/
e: Record<string, any>; // eslint-disable-line @typescript-eslint/no-explicit-any

/**
* The event's type (set to "emit" currently).
*/
k: string;

/**
* The event's timestamp in epoch milliseconds.
*/
ts: number;

/**
* The event's unique ID.
*/
id: string;
}
Loading
Loading