Skip to content

Commit 3414366

Browse files
committed
chore: add tailscale objects to generating TS
1 parent 7c798ff commit 3414366

File tree

4 files changed

+42
-7
lines changed

4 files changed

+42
-7
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ require (
204204
github.com/charmbracelet/bubbles v0.20.0
205205
github.com/charmbracelet/bubbletea v1.2.1
206206
github.com/charmbracelet/lipgloss v1.0.0
207-
github.com/coder/guts v0.0.0-20241217135054-91872b97bcd2
207+
github.com/coder/guts v0.0.0-20241217141209-abb2d09b4aa5
208208
github.com/coder/serpent v0.10.0
209209
github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21
210210
github.com/emersion/go-smtp v0.21.2

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ github.com/coder/guts v0.0.0-20241217134542-eb67bc6472d0 h1:5P/Sry+tzvwVMLNXchSL
226226
github.com/coder/guts v0.0.0-20241217134542-eb67bc6472d0/go.mod h1:SfmxjDaSfPjzKJ9mGU4sA/1OHU+u66uRfhFF+y4BARQ=
227227
github.com/coder/guts v0.0.0-20241217135054-91872b97bcd2 h1:U3zzDzY9Hk6Cr6cVB1DUf9SdBINci12B6Xs1xWUp4gU=
228228
github.com/coder/guts v0.0.0-20241217135054-91872b97bcd2/go.mod h1:SfmxjDaSfPjzKJ9mGU4sA/1OHU+u66uRfhFF+y4BARQ=
229+
github.com/coder/guts v0.0.0-20241217141209-abb2d09b4aa5 h1:IFKvGmAZ0ziutzyhtkQ7kK+y7CEKobq5hNPacC9aHJs=
230+
github.com/coder/guts v0.0.0-20241217141209-abb2d09b4aa5/go.mod h1:SfmxjDaSfPjzKJ9mGU4sA/1OHU+u66uRfhFF+y4BARQ=
229231
github.com/coder/pq v1.10.5-0.20240813183442-0c420cb5a048 h1:3jzYUlGH7ZELIH4XggXhnTnP05FCYiAFeQpoN+gNR5I=
230232
github.com/coder/pq v1.10.5-0.20240813183442-0c420cb5a048/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
231233
github.com/coder/pretty v0.0.0-20230908205945-e89ba86370e0 h1:3A0ES21Ke+FxEM8CXx9n47SZOKOpgSE1bbJzlE4qPVs=

scripts/apitypings/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ func main() {
3131
// We want the referenced types generated.
3232
referencePackages := map[string]string{
3333
"github.com/coder/serpent": "Serpent",
34+
"tailscale.com/derp": "",
35+
// Conflicting name "DERPRegion"
36+
"tailscale.com/tailcfg": "Tail",
3437
}
3538
for pkg, prefix := range referencePackages {
3639
err = gen.IncludeReference(pkg, prefix)

site/src/api/typesGenerated.ts

Lines changed: 36 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy