Skip to content

Commit d459a10

Browse files
authored
chore: update schema (#948)
1 parent 624a77c commit d459a10

File tree

13 files changed

+672
-965
lines changed

13 files changed

+672
-965
lines changed

cmd/config/example.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -391,12 +391,10 @@ func commandExample(cCtx *cli.Context) error { //nolint:funlen,maintidx
391391
Memory: 4096,
392392
},
393393
EnablePublicAccess: ptr(true),
394-
Replicas: ptr(uint8(1)),
395-
Networking: nil,
396-
Storage: &model.ConfigPostgresStorage{
394+
Storage: &model.ConfigPostgresResourcesStorage{
397395
Capacity: 20,
398396
},
399-
Autoscaler: nil,
397+
Replicas: nil,
400398
},
401399
Settings: &model.ConfigPostgresSettings{
402400
Jit: ptr("off"),

cmd/config/validate_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func expectedConfig() *model.ConfigConfig {
206206
Postgres: &model.ConfigPostgres{
207207
Version: ptr("14.6-20230406-2"),
208208
Resources: &model.ConfigPostgresResources{
209-
Storage: &model.ConfigPostgresStorage{
209+
Storage: &model.ConfigPostgresResourcesStorage{
210210
Capacity: 1,
211211
},
212212
},

dockercompose/main_test.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,8 @@ func getConfig() *model.ConfigConfig { //nolint:maintidx
337337
Memory: 500,
338338
},
339339
EnablePublicAccess: ptr(false),
340-
Replicas: ptr(uint8(1)),
341-
Networking: nil,
342340
Storage: nil,
343-
Autoscaler: nil,
341+
Replicas: nil,
344342
},
345343
Settings: nil,
346344
},

flake.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
github.com/google/go-cmp v0.6.0
1717
github.com/google/uuid v1.6.0
1818
github.com/hashicorp/go-getter v1.7.8
19-
github.com/nhost/be v0.0.0-20250206085705-d58c2e4dc6b9
19+
github.com/nhost/be v0.0.0-20250211083240-96c835d9c359
2020
github.com/pelletier/go-toml/v2 v2.2.3
2121
github.com/rs/cors/wrapper/gin v0.0.0-20240830163046-1084d89a1692
2222
github.com/sirupsen/logrus v1.9.3

go.sum

+6
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,12 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
10351035
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
10361036
github.com/nhost/be v0.0.0-20250206085705-d58c2e4dc6b9 h1:pRGRBbNAVFS/QSHULpXogU6v2rNDr2/EYGIQZcUP3qY=
10371037
github.com/nhost/be v0.0.0-20250206085705-d58c2e4dc6b9/go.mod h1:ptZc9rgaLJcew/L9b8w0nN4AfOGxqUINqMvCe4uMV/M=
1038+
github.com/nhost/be v0.0.0-20250206162232-abfad0d0fc9c h1:WhKuYjtjt8nK/lMa+P2m4zJzBm+MeCzAT83c3eztWsU=
1039+
github.com/nhost/be v0.0.0-20250206162232-abfad0d0fc9c/go.mod h1:ptZc9rgaLJcew/L9b8w0nN4AfOGxqUINqMvCe4uMV/M=
1040+
github.com/nhost/be v0.0.0-20250207083244-0a46c4feae7b h1:FvP6PyJZExw/3XFJyOJ7XTzpjrQ6wVpLloX1vw6HrAw=
1041+
github.com/nhost/be v0.0.0-20250207083244-0a46c4feae7b/go.mod h1:ptZc9rgaLJcew/L9b8w0nN4AfOGxqUINqMvCe4uMV/M=
1042+
github.com/nhost/be v0.0.0-20250211083240-96c835d9c359 h1:vFgKEHSPsLQbw1kpW1fuD+ZKmkolP1xINJ/r9G1X3II=
1043+
github.com/nhost/be v0.0.0-20250211083240-96c835d9c359/go.mod h1:ptZc9rgaLJcew/L9b8w0nN4AfOGxqUINqMvCe4uMV/M=
10381044
github.com/onsi/gomega v1.34.1 h1:EUMJIKUjM8sKjYbtxQI9A4z2o+rruxnzNvpknOXie6k=
10391045
github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY=
10401046
github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M=

nhostclient/graphql/models_gen.go

+18-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

project/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func DefaultConfig() (*model.ConfigConfig, error) {
2626
},
2727
Postgres: &model.ConfigPostgres{ //nolint:exhaustruct
2828
Resources: &model.ConfigPostgresResources{ //nolint:exhaustruct
29-
Storage: &model.ConfigPostgresStorage{
29+
Storage: &model.ConfigPostgresResourcesStorage{
3030
Capacity: 1,
3131
},
3232
},

0 commit comments

Comments
 (0)