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.3",
"version": "1.1.4",
"description": "Pipedream SDK",
"main": "dist/server/server/index.js",
"module": "dist/server/server/index.js",
Expand Down
15 changes: 15 additions & 0 deletions packages/sdk/src/shared/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,19 @@
dynamicPropsId?: string;

query?: string;

/**
* A 0 indexed page number. Use with APIs that accept a
* numeric page number for pagination.
*/
page?: number;

/**
* A string representing the context for the previous options
* execution. Use with APIs that accept a token representing the last
* record for pagination.
*/
prevContext?: never;
};

/**
Expand Down Expand Up @@ -787,13 +800,13 @@
params.q = opts.q;
}
if (opts?.hasActions != null) {
params.has_actions = opts.hasActions ? "1" : "0";

Check failure on line 803 in packages/sdk/src/shared/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

Expected newline between test and consequent of ternary expression

Check failure on line 803 in packages/sdk/src/shared/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

Expected newline between consequent and alternate of ternary expression
}
if (opts?.hasComponents != null) {
params.has_components = opts.hasComponents ? "1" : "0";

Check failure on line 806 in packages/sdk/src/shared/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

Expected newline between test and consequent of ternary expression

Check failure on line 806 in packages/sdk/src/shared/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

Expected newline between consequent and alternate of ternary expression
}
if (opts?.hasTriggers != null) {
params.has_triggers = opts.hasTriggers ? "1" : "0";

Check failure on line 809 in packages/sdk/src/shared/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

Expected newline between test and consequent of ternary expression

Check failure on line 809 in packages/sdk/src/shared/index.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

Expected newline between consequent and alternate of ternary expression
}
this.addRelationOpts(params, opts);
return this.makeAuthorizedRequest<GetAppsResponse>(
Expand Down Expand Up @@ -949,6 +962,8 @@
prop_name: opts.propName,
configured_props: opts.configuredProps,
dynamic_props_id: opts.dynamicPropsId,
page: opts.page,
prev_context: opts.prevContext,
};
return this.makeConnectRequest<ConfigureComponentResponse>("/components/configure", {
method: "POST",
Expand Down
Loading