mirror of
https://github.com/coder/coder.git
synced 2026-09-21 12:44:32 +08:00
chore: include codersdk comments in typescript output (#20348)
Some comments are likely still omitted as guts does not cover all cases right now. And some cases are omitted because the output format is ambiguous on how best to format it.
This commit is contained in:
@@ -96,7 +96,7 @@ require (
|
||||
github.com/chromedp/chromedp v0.14.1
|
||||
github.com/cli/safeexec v1.0.1
|
||||
github.com/coder/flog v1.1.0
|
||||
github.com/coder/guts v1.6.0
|
||||
github.com/coder/guts v1.6.1
|
||||
github.com/coder/pretty v0.0.0-20230908205945-e89ba86370e0
|
||||
github.com/coder/quartz v0.2.1
|
||||
github.com/coder/retry v1.5.1
|
||||
|
||||
@@ -928,8 +928,8 @@ github.com/coder/go-httpstat v0.0.0-20230801153223-321c88088322 h1:m0lPZjlQ7vdVp
|
||||
github.com/coder/go-httpstat v0.0.0-20230801153223-321c88088322/go.mod h1:rOLFDDVKVFiDqZFXoteXc97YXx7kFi9kYqR+2ETPkLQ=
|
||||
github.com/coder/go-scim/pkg/v2 v2.0.0-20230221055123-1d63c1222136 h1:0RgB61LcNs24WOxc3PBvygSNTQurm0PYPujJjLLOzs0=
|
||||
github.com/coder/go-scim/pkg/v2 v2.0.0-20230221055123-1d63c1222136/go.mod h1:VkD1P761nykiq75dz+4iFqIQIZka189tx1BQLOp0Skc=
|
||||
github.com/coder/guts v1.6.0 h1:N7zotzWubbT49kiH/RENHNQglW68tyMYymMU452q9yg=
|
||||
github.com/coder/guts v1.6.0/go.mod h1:FaECwB632JE8nYi7nrKfO0PVjbOl4+hSWupKO2Z99JI=
|
||||
github.com/coder/guts v1.6.1 h1:bMVBtDNP/1gW58NFRBdzStAQzXlveMrLAnORpwE9tYo=
|
||||
github.com/coder/guts v1.6.1/go.mod h1:FaECwB632JE8nYi7nrKfO0PVjbOl4+hSWupKO2Z99JI=
|
||||
github.com/coder/pq v1.10.5-0.20250807075151-6ad9b0a25151 h1:YAxwg3lraGNRwoQ18H7R7n+wsCqNve7Brdvj0F1rDnU=
|
||||
github.com/coder/pq v1.10.5-0.20250807075151-6ad9b0a25151/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
|
||||
github.com/coder/pretty v0.0.0-20230908205945-e89ba86370e0 h1:3A0ES21Ke+FxEM8CXx9n47SZOKOpgSE1bbJzlE4qPVs=
|
||||
|
||||
@@ -17,6 +17,9 @@ func main() {
|
||||
log.Fatalf("new convert: %v", err)
|
||||
}
|
||||
|
||||
// Include golang comments to typescript output.
|
||||
gen.PreserveComments()
|
||||
|
||||
generateDirectories := map[string]string{
|
||||
"github.com/coder/coder/v2/codersdk": "",
|
||||
"github.com/coder/coder/v2/coderd/healthcheck/health": "Health",
|
||||
|
||||
Generated
+1890
-24
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user