Skip to content

Commit 77080f0

Browse files
supabase-cli-releaser[bot]Copilotavallete
authored
chore: sync API types from infrastructure (#5238)
This PR was automatically created to sync API types from the infrastructure repository. Changes were detected in the generated API code after syncing with the latest spec from infrastructure. --------- Co-authored-by: supabase-cli-releaser[bot] <246109035+supabase-cli-releaser[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: avallete <8771783+avallete@users.noreply.github.com>
1 parent da2264c commit 77080f0

5 files changed

Lines changed: 50 additions & 20 deletions

File tree

apps/cli-go/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ require (
4242
github.com/multigres/multigres v0.0.0-20260126223308-f5a52171bbc4
4343
github.com/oapi-codegen/nullable v1.1.0
4444
github.com/olekukonko/tablewriter v1.1.4
45-
github.com/slack-go/slack v0.21.0
45+
github.com/posthog/posthog-go v1.11.2
4646
github.com/spf13/afero v1.15.0
4747
github.com/spf13/cobra v1.10.2
4848
github.com/spf13/pflag v1.0.10
@@ -188,6 +188,7 @@ require (
188188
github.com/go-openapi/swag v0.23.1 // indirect
189189
github.com/go-playground/locales v0.14.1 // indirect
190190
github.com/go-playground/universal-translator v0.18.1 // indirect
191+
github.com/go-test/deep v1.1.1 // indirect
191192
github.com/go-toolsmith/astcast v1.1.0 // indirect
192193
github.com/go-toolsmith/astcopy v1.1.0 // indirect
193194
github.com/go-toolsmith/astequal v1.2.0 // indirect
@@ -334,7 +335,6 @@ require (
334335
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
335336
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
336337
github.com/polyfloyd/go-errorlint v1.8.0 // indirect
337-
github.com/posthog/posthog-go v1.11.2 // indirect
338338
github.com/prometheus/client_golang v1.23.2 // indirect
339339
github.com/prometheus/client_model v0.6.2 // indirect
340340
github.com/prometheus/common v0.67.4 // indirect

apps/cli-go/go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,8 +1004,6 @@ github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnB
10041004
github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY=
10051005
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA=
10061006
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog=
1007-
github.com/slack-go/slack v0.21.0 h1:TAGnZYFp79LAG/oqFzYhFJ9LwEwXJ93heCkPvwjxc7o=
1008-
github.com/slack-go/slack v0.21.0/go.mod h1:K81UmCivcYd/5Jmz8vLBfuyoZ3B4rQC2GHVXHteXiAE=
10091007
github.com/sonatard/noctx v0.1.0 h1:JjqOc2WN16ISWAjAk8M5ej0RfExEXtkEyExl2hLW+OM=
10101008
github.com/sonatard/noctx v0.1.0/go.mod h1:0RvBxqY8D4j9cTTTWE8ylt2vqj2EPI8fHmrxHdsaZ2c=
10111009
github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0=

apps/cli-go/internal/hostnames/delete/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
func Run(ctx context.Context, projectRef string, fsys afero.Fs) error {
15-
resp, err := utils.GetSupabase().V1DeleteHostnameConfigWithResponse(ctx, projectRef)
15+
resp, err := utils.GetSupabase().V1DeleteHostnameConfigWithResponse(ctx, projectRef, nil)
1616
if err != nil {
1717
return errors.Errorf("failed to delete custom hostname: %w", err)
1818
} else if resp.StatusCode() != http.StatusOK {

apps/cli-go/pkg/api/client.gen.go

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

apps/cli-go/pkg/api/types.gen.go

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

0 commit comments

Comments
 (0)