Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): add reloadProps property #16025

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
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
1 change: 1 addition & 0 deletions types/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable @typescript-eslint/ban-types */

Check failure on line 1 in types/src/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

Definition for rule '@typescript-eslint/ban-types' was not found
/* eslint-disable @typescript-eslint/no-explicit-any */
export type JSONValue =
| string
Expand Down Expand Up @@ -70,7 +70,7 @@
/**
* Http Body
*/
body: string | Buffer | NodeJS.ReadableStream;

Check failure on line 73 in types/src/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

'NodeJS' is not defined
/**
* If true, issue the response when the promise returned is resolved, otherwise issue
* the response at the end of the workflow execution
Expand Down Expand Up @@ -115,13 +115,13 @@

export interface IFile {
delete(): Promise<void>;
createReadStream(): Promise<NodeJS.ReadableStream>;

Check failure on line 118 in types/src/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

'NodeJS' is not defined
createWriteStream(contentType?: string, contentLength?: number): Promise<NodeJS.WritableStream>;

Check failure on line 119 in types/src/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

'NodeJS' is not defined
toEncodedString(encoding?: string, start?: number, end?: number): Promise<string>;
toUrl(): Promise<string>;
toFile(localFilePath: string): Promise<void>;
toBuffer(): Promise<Buffer>;
fromReadableStream(readableStream: NodeJS.ReadableStream, contentType?: string, contentSize?: number): Promise<IFile>;

Check failure on line 124 in types/src/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

'NodeJS' is not defined
fromFile(localFilePath: string, contentType?: string): Promise<IFile>;
fromUrl(url: string, options?: any): Promise<IFile>;
toJSON(): any;
Expand Down Expand Up @@ -234,6 +234,7 @@
max?: number;
disabled?: boolean;
hidden?: boolean;
reloadProps?: boolean;
}

// https://pipedream.com/docs/components/api/#interface-props
Expand Down
Loading