rename some things in the sdk (#2809)

* rename some things in the sdk

* fix docs

* rename some types exported from rust
This commit is contained in:
Aiden McClelland
2025-01-15 16:58:50 +00:00
committed by GitHub
parent e012a29b5e
commit 5e103770fd
17 changed files with 61 additions and 36 deletions

View File

@@ -5,7 +5,7 @@ import { sdk } from "../test/output.sdk"
describe("host", () => {
test("Testing that the types work", () => {
async function test(effects: Effects) {
const foo = sdk.host.multi(effects, "foo")
const foo = sdk.MultiHost.of(effects, "foo")
const fooOrigin = await foo.bindPort(80, {
protocol: "http" as const,
preferredExternalPort: 80,