Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaec3e9e

Browse files
authored
chore: include codersdk comments in typescript output (#20348)
Some comments are likely still omitted as guts does not cover all casesright now. And some cases are omitted because the output format isambiguous on how best to format it.
1 parenta6461ab commitaec3e9e

File tree

4 files changed

+1896
-27
lines changed

4 files changed

+1896
-27
lines changed

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ require (
9696
github.com/chromedp/chromedpv0.14.1
9797
github.com/cli/safeexecv1.0.1
9898
github.com/coder/flogv1.1.0
99-
github.com/coder/gutsv1.6.0
99+
github.com/coder/gutsv1.6.1
100100
github.com/coder/prettyv0.0.0-20230908205945-e89ba86370e0
101101
github.com/coder/quartzv0.2.1
102102
github.com/coder/retryv1.5.1

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -928,8 +928,8 @@ github.com/coder/go-httpstat v0.0.0-20230801153223-321c88088322 h1:m0lPZjlQ7vdVp
928928
github.com/coder/go-httpstatv0.0.0-20230801153223-321c88088322/go.mod h1:rOLFDDVKVFiDqZFXoteXc97YXx7kFi9kYqR+2ETPkLQ=
929929
github.com/coder/go-scim/pkg/v2v2.0.0-20230221055123-1d63c1222136 h1:0RgB61LcNs24WOxc3PBvygSNTQurm0PYPujJjLLOzs0=
930930
github.com/coder/go-scim/pkg/v2v2.0.0-20230221055123-1d63c1222136/go.mod h1:VkD1P761nykiq75dz+4iFqIQIZka189tx1BQLOp0Skc=
931-
github.com/coder/gutsv1.6.0 h1:N7zotzWubbT49kiH/RENHNQglW68tyMYymMU452q9yg=
932-
github.com/coder/gutsv1.6.0/go.mod h1:FaECwB632JE8nYi7nrKfO0PVjbOl4+hSWupKO2Z99JI=
931+
github.com/coder/gutsv1.6.1 h1:bMVBtDNP/1gW58NFRBdzStAQzXlveMrLAnORpwE9tYo=
932+
github.com/coder/gutsv1.6.1/go.mod h1:FaECwB632JE8nYi7nrKfO0PVjbOl4+hSWupKO2Z99JI=
933933
github.com/coder/pqv1.10.5-0.20250807075151-6ad9b0a25151 h1:YAxwg3lraGNRwoQ18H7R7n+wsCqNve7Brdvj0F1rDnU=
934934
github.com/coder/pqv1.10.5-0.20250807075151-6ad9b0a25151/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
935935
github.com/coder/prettyv0.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
@@ -17,6 +17,9 @@ func main() {
1717
log.Fatalf("new convert: %v",err)
1818
}
1919

20+
// Include golang comments to typescript output.
21+
gen.PreserveComments()
22+
2023
generateDirectories:=map[string]string{
2124
"github.com/coder/coder/v2/codersdk":"",
2225
"github.com/coder/coder/v2/coderd/healthcheck/health":"Health",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp