We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 647e18c commit d91741bCopy full SHA for d91741b
packages/sdk/src/server/index.ts
@@ -16,6 +16,12 @@ export type OAuthCredentials = {
16
clientSecret: string;
17
};
18
19
+/**
20
+ * The environment in which the server client is running (e.g., "production",
21
+ * "development").
22
+ */
23
+export type ProjectEnvironment = "development" | "production"
24
+
25
/**
26
* Options for creating a server-side client.
27
* This is used to configure the BackendClient instance.
@@ -25,7 +31,7 @@ export type BackendClientOpts = {
31
* The environment in which the server client is running (e.g., "production",
32
* "development").
33
*/
28
- environment?: string;
34
+ environment?: ProjectEnvironment;
29
35
30
36
37
* The credentials to use for authentication against the Pipedream API.
0 commit comments