diff --git a/backend/pkg/proto/admin/v1/adminv1connect/team.connect.go b/backend/pkg/proto/admin/v1/adminv1connect/team.connect.go index f3282c01..db94b233 100644 --- a/backend/pkg/proto/admin/v1/adminv1connect/team.connect.go +++ b/backend/pkg/proto/admin/v1/adminv1connect/team.connect.go @@ -5,13 +5,12 @@ package adminv1connect import ( + connect "connectrpc.com/connect" context "context" errors "errors" + v1 "github.com/ictsc/ictsc-regalia/backend/pkg/proto/admin/v1" http "net/http" strings "strings" - - connect "connectrpc.com/connect" - v1 "github.com/ictsc/ictsc-regalia/backend/pkg/proto/admin/v1" ) // This is a compile-time assertion to ensure that this generated file and the connect package are diff --git a/backend/pkg/proto/admin/v1/team.pb.go b/backend/pkg/proto/admin/v1/team.pb.go index 5b16bffb..71bd5e2a 100644 --- a/backend/pkg/proto/admin/v1/team.pb.go +++ b/backend/pkg/proto/admin/v1/team.pb.go @@ -1,19 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: admin/v1/team.proto package adminv1 import ( - reflect "reflect" - sync "sync" - _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( @@ -24,13 +23,12 @@ const ( ) type Team struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Organization string `protobuf:"bytes,4,opt,name=organization,proto3" json:"organization,omitempty"` unknownFields protoimpl.UnknownFields - - Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Organization string `protobuf:"bytes,4,opt,name=organization,proto3" json:"organization,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Team) Reset() { @@ -85,9 +83,9 @@ func (x *Team) GetOrganization() string { } type ListTeamsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListTeamsRequest) Reset() { @@ -121,11 +119,10 @@ func (*ListTeamsRequest) Descriptor() ([]byte, []int) { } type ListTeamsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Teams []*Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"` unknownFields protoimpl.UnknownFields - - Teams []*Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListTeamsResponse) Reset() { @@ -166,11 +163,10 @@ func (x *ListTeamsResponse) GetTeams() []*Team { } type GetTeamRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` unknownFields protoimpl.UnknownFields - - Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamRequest) Reset() { @@ -211,11 +207,10 @@ func (x *GetTeamRequest) GetCode() int64 { } type GetTeamResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamResponse) Reset() { @@ -256,11 +251,10 @@ func (x *GetTeamResponse) GetTeam() *Team { } type CreateTeamRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateTeamRequest) Reset() { @@ -301,11 +295,10 @@ func (x *CreateTeamRequest) GetTeam() *Team { } type CreateTeamResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateTeamResponse) Reset() { @@ -346,12 +339,11 @@ func (x *CreateTeamResponse) GetTeam() *Team { } type UpdateTeamRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` + UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` unknownFields protoimpl.UnknownFields - - Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateTeamRequest) Reset() { @@ -399,11 +391,10 @@ func (x *UpdateTeamRequest) GetUpdateMask() *fieldmaskpb.FieldMask { } type UpdateTeamResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateTeamResponse) Reset() { @@ -444,11 +435,10 @@ func (x *UpdateTeamResponse) GetTeam() *Team { } type DeleteTeamRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` unknownFields protoimpl.UnknownFields - - Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteTeamRequest) Reset() { @@ -489,9 +479,9 @@ func (x *DeleteTeamRequest) GetCode() int64 { } type DeleteTeamResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteTeamResponse) Reset() { diff --git a/frontend/packages/proto/proto/admin/v1/team_pb.ts b/frontend/packages/proto/proto/admin/v1/team_pb.ts index 190dbfef..b58f5ec5 100644 --- a/frontend/packages/proto/proto/admin/v1/team_pb.ts +++ b/frontend/packages/proto/proto/admin/v1/team_pb.ts @@ -13,7 +13,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file admin/v1/team.proto. */ export const file_admin_v1_team: GenFile = /*@__PURE__*/ - fileDesc("ChNhZG1pbi92MS90ZWFtLnByb3RvEghhZG1pbi52MSJVCgRUZWFtEhcKBGNvZGUYAiABKANCCbpIBiIEEGQgARIVCgRuYW1lGAMgASgJQge6SARyAhABEh0KDG9yZ2FuaXphdGlvbhgEIAEoCUIHukgEcgIQASISChBMaXN0VGVhbXNSZXF1ZXN0IjoKEUxpc3RUZWFtc1Jlc3BvbnNlEiUKBXRlYW1zGAEgAygLMg4uYWRtaW4udjEuVGVhbUIGukgDyAEBIikKDkdldFRlYW1SZXF1ZXN0EhcKBGNvZGUYASABKANCCbpIBiIEEGQgASI3Cg9HZXRUZWFtUmVzcG9u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tUmVzcG9uc2Uy7gIKC1RlYW1TZXJ2aWNlEkQKCUxpc3RUZWFtcxIaLmFkbWluLnYxLkxpc3RUZWFtc1JlcXVlc3QaGy5hZG1pbi52MS5MaXN0VGVhbXNSZXNwb25zZRI+CgdHZXRUZWFtEhguYWRtaW4udjEuR2V0VGVhbVJlcXVlc3QaGS5hZG1pbi52MS5HZXRUZWFtUmVzcG9uc2USRwoKQ3JlYXRlVGVhbRIbLmFkbWluLnYxLkNyZWF0ZVRlYW1SZXF1ZXN0GhwuYWRtaW4udjEuQ3JlYXRlVGVhbVJlc3BvbnNlEkcKClVwZGF0ZVRlYW0SGy5hZG1pbi52MS5VcGRhdGVUZWFtUmVxdWVzdBocLmFkbWluLnYxLlVwZGF0ZVRlYW1SZXNwb25zZRJHCgpEZWxldGVUZWFtEhsuYWRtaW4udjEuRGVsZXRlVGVhbVJlcXVlc3QaHC5hZG1pbi52MS5EZWxldGVUZWFtUmVzcG9uc2VCnQEKDGNvbS5hZG1pbi52MUIJVGVhbVByb3RvUAFaQWdpdGh1Yi5jb20vaWN0c2MvaWN0c2MtcmVnYWxpYS9iYWNrZW5kL3BrZy9wcm90by9hZG1pbi92MTthZG1pbnYxogIDQVhYqgIIQWRtaW4uVjHKAghBZG1pblxWMeICFEFkbWluXFYxXEdQQk1ldGFkYXRh6gIJQWRtaW46OlYxYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_field_mask]); /** * @generated from message admin.v1.Team @@ -148,6 +148,11 @@ export type UpdateTeamRequest = Message<"admin.v1.UpdateTeamRequest"> & { * @generated from field: admin.v1.Team team = 1; */ team?: Team; + + /** + * @generated from field: google.protobuf.FieldMask update_mask = 2; + */ + updateMask?: FieldMask; }; /** @@ -165,11 +170,6 @@ export type UpdateTeamResponse = Message<"admin.v1.UpdateTeamResponse"> & { * @generated from field: admin.v1.Team team = 1; */ team?: Team; - - /** - * @generated from field: google.protobuf.FieldMask update_mask = 2; - */ - updateMask?: FieldMask; }; /**