Skip to content

Commit

Permalink
Merge pull request #230 from ecordell/matcursor
Browse files Browse the repository at this point in the history
regenerate clients for api v1.35.0
  • Loading branch information
vroldanbet authored Aug 19, 2024
2 parents d63c74a + c870b49 commit 04f6ffc
Show file tree
Hide file tree
Showing 14 changed files with 194 additions and 122 deletions.
8 changes: 5 additions & 3 deletions magefiles/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (g Gen) All() error {
const (
ProtoPath = "proto/authzed/api"
BufRepository = "buf.build/authzed/api"
BufTag = "0306d77e12c14b40d178dd20db79b0e61b5879a4"
BufTag = "v1.35.0"
)

// Proto runs proto codegen
Expand All @@ -49,11 +49,13 @@ func generateVersionFiles() error {
for _, entry := range entries {
if entry.IsDir() && !strings.HasSuffix(entry.Name(), "_test") {
var b bytes.Buffer
tmpl.Execute(&b, map[string]string{
if err := tmpl.Execute(&b, map[string]string{
"package": entry.Name(),
"bufRepo": BufRepository,
"bufTag": BufTag,
})
}); err != nil {
return fmt.Errorf("failed to execute version template: %w", err)
}

versionPath := filepath.Join(ProtoPath, entry.Name(), "zz_generated.version.go")
if err := os.WriteFile(versionPath, b.Bytes(), 0o644); err != nil {
Expand Down
4 changes: 4 additions & 0 deletions proto/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,10 @@
"completedMembers": {
"type": "boolean",
"title": "completed_members is a boolean flag that indicates that the cursor has reached the end of the permission sets"
},
"startingKey": {
"type": "string",
"description": "starting_key is a string cursor used by some backends to resume the stream from a specific point."
}
}
},
Expand Down
232 changes: 122 additions & 110 deletions proto/authzed/api/materialize/v0/watchpermissionsets.pb.go

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions proto/authzed/api/materialize/v0/watchpermissionsets_vtproto.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/authzed/api/materialize/zz_generated.version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package materialize

const (
BufRepository = "buf.build/authzed/api"
BufTag = "0306d77e12c14b40d178dd20db79b0e61b5879a4"
BufTag = "v1.35.0"
)
2 changes: 1 addition & 1 deletion proto/authzed/api/v0/zz_generated.version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package v0

const (
BufRepository = "buf.build/authzed/api"
BufTag = "0306d77e12c14b40d178dd20db79b0e61b5879a4"
BufTag = "v1.35.0"
)
3 changes: 2 additions & 1 deletion proto/authzed/api/v1/experimental_service.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion proto/authzed/api/v1/permission_service.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion proto/authzed/api/v1/schema_service.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion proto/authzed/api/v1/watch_service.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/authzed/api/v1/zz_generated.version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package v1

const (
BufRepository = "buf.build/authzed/api"
BufTag = "0306d77e12c14b40d178dd20db79b0e61b5879a4"
BufTag = "v1.35.0"
)
3 changes: 2 additions & 1 deletion proto/authzed/api/v1alpha1/watchresources_service.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/authzed/api/v1alpha1/zz_generated.version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package v1alpha1

const (
BufRepository = "buf.build/authzed/api"
BufTag = "0306d77e12c14b40d178dd20db79b0e61b5879a4"
BufTag = "v1.35.0"
)

0 comments on commit 04f6ffc

Please sign in to comment.