Skip to content

Commit 9c50a8a

Browse files
Fix the Proxy logic (#48)
* Fix imports so that the builder resolves them properly * Expand the env vars in the environment URL * Take over the Proxy client so that it exposes a nicer interface --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Jay Vercellone <jay@pipedream.com>
1 parent acc9221 commit 9c50a8a

File tree

11 files changed

+605
-477
lines changed

11 files changed

+605
-477
lines changed

.fernignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
.prettierrc.yml
66
LICENSE
77

8-
src/wrapper
8+
src/api/resources/proxy/client/Client.ts
99
src/index.ts
10+
src/wrapper

reference.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ await client.projects.retrieveInfo();
18271827

18281828
## Proxy
18291829

1830-
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">get</a>(url64, { ...params }) -> Record<string, unknown></code></summary>
1830+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">get</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
18311831
<dl>
18321832
<dd>
18331833

@@ -1886,7 +1886,7 @@ await client.proxy.get("url_64", {
18861886
</dl>
18871887
</details>
18881888

1889-
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">post</a>(url64, { ...params }) -> Record<string, unknown></code></summary>
1889+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">post</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
18901890
<dl>
18911891
<dd>
18921892

@@ -1948,7 +1948,7 @@ await client.proxy.post("url_64", {
19481948
</dl>
19491949
</details>
19501950

1951-
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">put</a>(url64, { ...params }) -> Record<string, unknown></code></summary>
1951+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">put</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
19521952
<dl>
19531953
<dd>
19541954

@@ -2010,7 +2010,7 @@ await client.proxy.put("url_64", {
20102010
</dl>
20112011
</details>
20122012

2013-
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">delete</a>(url64, { ...params }) -> Record<string, unknown></code></summary>
2013+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">delete</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
20142014
<dl>
20152015
<dd>
20162016

@@ -2069,7 +2069,7 @@ await client.proxy.delete("url_64", {
20692069
</dl>
20702070
</details>
20712071

2072-
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">patch</a>(url64, { ...params }) -> Record<string, unknown></code></summary>
2072+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">patch</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
20732073
<dl>
20742074
<dd>
20752075

0 commit comments

Comments
 (0)