types: drop the proto builders

Remove the Proto() methods and RegisterMethodToV1Enum; the v1 API builds
responses from the state views directly now.
This commit is contained in:
Kristoffer Dalby
2026-06-17 18:04:40 +00:00
parent 8f5e2e7291
commit db6b99d414
6 changed files with 1 additions and 235 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ func TestPreAuthKeyACLTags(t *testing.T) {
require.NoError(t, err)
require.Len(t, listedPaks, 1)
gotTags := listedPaks[0].Proto().GetAclTags()
gotTags := listedPaks[0].Tags
slices.Sort(gotTags)
assert.Equal(t, expectedTags, gotTags)
},