Skip to content

chore(codersdk): move all tailscale imports out of codersdk #12735

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Prev Previous commit
Next Next commit
fixup! make gen
  • Loading branch information
coadler committed Mar 25, 2024
commit 8540911ecf5c40b25e2bf5222eb8832fce73d8f7
1 change: 1 addition & 0 deletions codersdk/healthsdk/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
"github.com/coder/coder/v2/codersdk"
)

// @typescript-ignore HealthClient
type HealthClient struct {
client *codersdk.Client
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/apitypings/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ type Maps struct {

// objName prepends the package name of a type if it is outside of codersdk.
func objName(obj types.Object) string {
if pkgName := obj.Pkg().Name(); pkgName != "codersdk" {
if pkgName := obj.Pkg().Name(); pkgName != "codersdk" && pkgName != "healthsdk" {
return cases.Title(language.English).String(pkgName) + obj.Name()
}
return obj.Name()
Expand Down
59 changes: 28 additions & 31 deletions site/src/api/typesGenerated.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.