From a53a5682d51d35e3d2f62a7fa8c93e22db2f3103 Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Thu, 16 Oct 2025 12:07:17 -0500 Subject: [PATCH] chore: update coder/guts to v1.6.0 (#20346) - Removes redudant generic type parameters - Removes unexported values from generted output --- go.mod | 2 +- go.sum | 4 ++-- site/src/api/typesGenerated.ts | 29 +---------------------------- 3 files changed, 4 insertions(+), 31 deletions(-) diff --git a/go.mod b/go.mod index 6a59e061b2..228d3a83ff 100644 --- a/go.mod +++ b/go.mod @@ -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.5.0 + github.com/coder/guts v1.6.0 github.com/coder/pretty v0.0.0-20230908205945-e89ba86370e0 github.com/coder/quartz v0.2.1 github.com/coder/retry v1.5.1 diff --git a/go.sum b/go.sum index 0bbf3ba604..0f97c2e718 100644 --- a/go.sum +++ b/go.sum @@ -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.5.0 h1:a94apf7xMf5jDdg1bIHzncbRiTn3+BvBZgrFSDbUnyI= -github.com/coder/guts v1.5.0/go.mod h1:0Sbv5Kp83u1Nl7MIQiV2zmacJ3o02I341bkWkjWXSUQ= +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/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= diff --git a/site/src/api/typesGenerated.ts b/site/src/api/typesGenerated.ts index 1deb951b79..f6679d3d31 100644 --- a/site/src/api/typesGenerated.ts +++ b/site/src/api/typesGenerated.ts @@ -1811,7 +1811,7 @@ export interface HealthcheckReport { } // From codersdk/idpsync.go -export interface IDPSyncMapping { +export interface IDPSyncMapping { readonly Given: string; readonly Gets: ResourceIdType; } @@ -4666,30 +4666,3 @@ export interface WorkspacesResponse { readonly workspaces: readonly Workspace[]; readonly count: number; } - -// From codersdk/deployment.go -export const annotationEnterpriseKey = "enterprise"; - -// From codersdk/deployment.go -export const annotationExternalProxies = "external_workspace_proxies"; - -// From codersdk/deployment.go -export const annotationFormatDuration = "format_duration"; - -// From codersdk/deployment.go -export const annotationSecretKey = "secret"; - -// From codersdk/insights.go -export const insightsTimeLayout = "2006-01-02T15:04:05Z07:00"; - -// From codersdk/notifications.go -export const maxCustomNotificationMessageLen = 2000; - -// From codersdk/notifications.go -export const maxCustomNotificationTitleLen = 120; - -// From healthsdk/interfaces.go -export const safeMTU = 1378; - -// From codersdk/workspacedisplaystatus.go -export const unknownStatus = "Unknown";