Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
6d24e66
Adding new project? and oauth? params to CreateServerClientOpts
dylburger Sep 26, 2024
9b7dcf1
Small refactor
dylburger Sep 26, 2024
975d669
Simplifying
dylburger Sep 26, 2024
651d41b
Fixing JSDoc
dylburger Sep 26, 2024
71dd92f
CodeRabbit fix
dylburger Sep 26, 2024
ad1804d
Merge remote-tracking branch 'origin/master' into sdk/connect-workflo…
dylburger Oct 7, 2024
4385093
AppId -> AppNameSlug
dylburger Oct 7, 2024
87d8d86
Forcing OAuth for invoking workflows for external users
dylburger Oct 7, 2024
ce22436
Mocking client and mock OAuth client once
dylburger Oct 8, 2024
d4a8394
Improving tests
dylburger Oct 8, 2024
1b02d65
Small comment
dylburger Oct 8, 2024
0bce50e
Adding support for baseWorkflowDomain, ID vs URL
dylburger Oct 8, 2024
075e400
Adding authType to invokeWorkflow example
dylburger Oct 8, 2024
7c7b4ac
Merge remote-tracking branch 'origin/master' into sdk/connect-workflo…
dylburger Oct 28, 2024
ccf848e
Biz PR feedback
dylburger Oct 28, 2024
9a4af88
Merge remote-tracking branch 'origin/master' into sdk/connect-workflo…
dylburger Oct 28, 2024
faf0f8d
ServerClient -> BackendClient
dylburger Oct 29, 2024
5e85ef5
Updating all names to noun-verb form.
dylburger Oct 29, 2024
85748a4
Merge remote-tracking branch 'origin/master' into sdk/connect-workflo…
dylburger Oct 29, 2024
06a17b5
1.0.0
dylburger Oct 29, 2024
e63a89f
Fixing browser / server exports
dylburger Oct 30, 2024
bfbc249
createClient -> createBackendClient
dylburger Oct 30, 2024
314b644
frontend: createClient -> createFrontendClient
dylburger Oct 30, 2024
1a1faf0
Adding `npm link` docs
dylburger Oct 30, 2024
0e9866f
Adding cd
dylburger Oct 30, 2024
cf31cda
Fixing one command
dylburger Oct 30, 2024
fe7a66d
Localize the Node.js version change
jverce Oct 30, 2024
0c20e6c
Adding npm watch
dylburger Oct 30, 2024
6d23fb9
New lock file
dylburger Oct 30, 2024
2db68e3
Merge branch 'sdk/connect-workflow-invocation' of github.com:Pipedrea…
dylburger Oct 30, 2024
aa7fb1a
Move contributor guide to its own file
jverce Oct 30, 2024
9999664
Apply suggestion from CodeRabbit
jverce Oct 30, 2024
89ff7c1
Cosmetic changes in the README
jverce Oct 30, 2024
7964dde
Revert to old naming convention
jverce Oct 31, 2024
3429a92
A bit of test cleanup
jverce Oct 31, 2024
1886bd9
Final touches
jverce Oct 31, 2024
d27a9b1
Fix typo
jverce Oct 31, 2024
e775d04
Lint markdown files in the SDK
jverce Oct 31, 2024
60ac2da
Fix indentation in docstring
jverce Oct 31, 2024
4695be5
Verify that project ID is present
jverce Oct 31, 2024
a97736d
Only lint SDK files
jverce Oct 31, 2024
003aea7
Name Github workflow accordingly
jverce Oct 31, 2024
9525871
Fix pnpm case
jverce Oct 31, 2024
0e0b7b3
TS suggestions from CodeRabbit
jverce Oct 31, 2024
0f4f1a3
Dry the tests as per CodeRabbit
jverce Nov 1, 2024
4d89d5c
Use latest checkout action
jverce Nov 1, 2024
866efdd
Limit concurrency of the SDK CI/CD workflows
jverce Nov 1, 2024
60e9e81
Merge branch 'master' into sdk/connect-workflow-invocation
jverce Nov 1, 2024
3025cf5
Validate workflow URLs better
jverce Nov 1, 2024
7ec1156
Disable linting on ts-ignore lines
jverce Nov 1, 2024
a33b75f
More URL sanitizing
jverce Nov 1, 2024
6596349
Merge branch 'master' into sdk/connect-workflow-invocation
jverce Nov 1, 2024
7994412
Merge branch 'master' into sdk/connect-workflow-invocation
jverce Nov 4, 2024
0c7ca6f
Turn enums into const
jverce Nov 4, 2024
29ab565
Enhance param validation for workflow invocation
jverce Nov 4, 2024
401522c
YOLO version
jverce Nov 4, 2024
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
17 changes: 4 additions & 13 deletions packages/sdk/src/browser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,10 @@ type CreateBrowserClientOpts = {
};

/**
* A unique identifier for an app.
* The name slug for an app, a unique, human-readable identifier like "github" or "google_sheets".
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* Find this in the Authentication section for any app's page at https://pipedream.com/apps
*/
type AppId = string;

/**
* Object representing an app to start connecting with.
*/
type StartConnectApp = {
/**
* The unique identifier of the app.
*/
id: AppId;
};
type AppNameSlug = string;

/**
* The result of a successful connection.
Expand Down Expand Up @@ -61,7 +52,7 @@ type StartConnectOpts = {
/**
* The app to connect to, either as an ID or an object containing the ID.
*/
app: AppId | StartConnectApp;
app: AppNameSlug;

/**
* The OAuth app ID to connect to.
Expand Down
Loading
Loading