diff --git a/proto/gen/api/v1/auth_service.pb.go b/proto/gen/api/v1/auth_service.pb.go index db0c768..9ff6cdd 100644 --- a/proto/gen/api/v1/auth_service.pb.go +++ b/proto/gen/api/v1/auth_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: api/v1/auth_service.proto @@ -482,7 +482,7 @@ func file_api_v1_auth_service_proto_rawDescGZIP() []byte { } var file_api_v1_auth_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_api_v1_auth_service_proto_goTypes = []interface{}{ +var file_api_v1_auth_service_proto_goTypes = []any{ (*GetAuthStatusRequest)(nil), // 0: slash.api.v1.GetAuthStatusRequest (*GetAuthStatusResponse)(nil), // 1: slash.api.v1.GetAuthStatusResponse (*SignInRequest)(nil), // 2: slash.api.v1.SignInRequest @@ -519,7 +519,7 @@ func file_api_v1_auth_service_proto_init() { } file_api_v1_user_service_proto_init() if !protoimpl.UnsafeEnabled { - file_api_v1_auth_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_auth_service_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*GetAuthStatusRequest); i { case 0: return &v.state @@ -531,7 +531,7 @@ func file_api_v1_auth_service_proto_init() { return nil } } - file_api_v1_auth_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_auth_service_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*GetAuthStatusResponse); i { case 0: return &v.state @@ -543,7 +543,7 @@ func file_api_v1_auth_service_proto_init() { return nil } } - file_api_v1_auth_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_auth_service_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SignInRequest); i { case 0: return &v.state @@ -555,7 +555,7 @@ func file_api_v1_auth_service_proto_init() { return nil } } - file_api_v1_auth_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_auth_service_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*SignInResponse); i { case 0: return &v.state @@ -567,7 +567,7 @@ func file_api_v1_auth_service_proto_init() { return nil } } - file_api_v1_auth_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_auth_service_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*SignUpRequest); i { case 0: return &v.state @@ -579,7 +579,7 @@ func file_api_v1_auth_service_proto_init() { return nil } } - file_api_v1_auth_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_auth_service_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*SignUpResponse); i { case 0: return &v.state @@ -591,7 +591,7 @@ func file_api_v1_auth_service_proto_init() { return nil } } - file_api_v1_auth_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_auth_service_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*SignOutRequest); i { case 0: return &v.state @@ -603,7 +603,7 @@ func file_api_v1_auth_service_proto_init() { return nil } } - file_api_v1_auth_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_auth_service_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*SignOutResponse); i { case 0: return &v.state diff --git a/proto/gen/api/v1/auth_service_grpc.pb.go b/proto/gen/api/v1/auth_service_grpc.pb.go index dd68ce1..0ad77bc 100644 --- a/proto/gen/api/v1/auth_service_grpc.pb.go +++ b/proto/gen/api/v1/auth_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) // source: api/v1/auth_service.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( AuthService_GetAuthStatus_FullMethodName = "/slash.api.v1.AuthService/GetAuthStatus" @@ -44,8 +44,9 @@ func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient { } func (c *authServiceClient) GetAuthStatus(ctx context.Context, in *GetAuthStatusRequest, opts ...grpc.CallOption) (*GetAuthStatusResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAuthStatusResponse) - err := c.cc.Invoke(ctx, AuthService_GetAuthStatus_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AuthService_GetAuthStatus_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -53,8 +54,9 @@ func (c *authServiceClient) GetAuthStatus(ctx context.Context, in *GetAuthStatus } func (c *authServiceClient) SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SignInResponse) - err := c.cc.Invoke(ctx, AuthService_SignIn_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AuthService_SignIn_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -62,8 +64,9 @@ func (c *authServiceClient) SignIn(ctx context.Context, in *SignInRequest, opts } func (c *authServiceClient) SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*SignUpResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SignUpResponse) - err := c.cc.Invoke(ctx, AuthService_SignUp_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AuthService_SignUp_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -71,8 +74,9 @@ func (c *authServiceClient) SignUp(ctx context.Context, in *SignUpRequest, opts } func (c *authServiceClient) SignOut(ctx context.Context, in *SignOutRequest, opts ...grpc.CallOption) (*SignOutResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SignOutResponse) - err := c.cc.Invoke(ctx, AuthService_SignOut_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AuthService_SignOut_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/proto/gen/api/v1/collection_service.pb.go b/proto/gen/api/v1/collection_service.pb.go index b0bf4db..7e12a9e 100644 --- a/proto/gen/api/v1/collection_service.pb.go +++ b/proto/gen/api/v1/collection_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: api/v1/collection_service.proto @@ -859,7 +859,7 @@ func file_api_v1_collection_service_proto_rawDescGZIP() []byte { } var file_api_v1_collection_service_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_api_v1_collection_service_proto_goTypes = []interface{}{ +var file_api_v1_collection_service_proto_goTypes = []any{ (*Collection)(nil), // 0: slash.api.v1.Collection (*ListCollectionsRequest)(nil), // 1: slash.api.v1.ListCollectionsRequest (*ListCollectionsResponse)(nil), // 2: slash.api.v1.ListCollectionsResponse @@ -915,7 +915,7 @@ func file_api_v1_collection_service_proto_init() { } file_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_api_v1_collection_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Collection); i { case 0: return &v.state @@ -927,7 +927,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ListCollectionsRequest); i { case 0: return &v.state @@ -939,7 +939,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ListCollectionsResponse); i { case 0: return &v.state @@ -951,7 +951,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*GetCollectionRequest); i { case 0: return &v.state @@ -963,7 +963,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*GetCollectionResponse); i { case 0: return &v.state @@ -975,7 +975,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*GetCollectionByNameRequest); i { case 0: return &v.state @@ -987,7 +987,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*GetCollectionByNameResponse); i { case 0: return &v.state @@ -999,7 +999,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*CreateCollectionRequest); i { case 0: return &v.state @@ -1011,7 +1011,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*CreateCollectionResponse); i { case 0: return &v.state @@ -1023,7 +1023,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*UpdateCollectionRequest); i { case 0: return &v.state @@ -1035,7 +1035,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*UpdateCollectionResponse); i { case 0: return &v.state @@ -1047,7 +1047,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*DeleteCollectionRequest); i { case 0: return &v.state @@ -1059,7 +1059,7 @@ func file_api_v1_collection_service_proto_init() { return nil } } - file_api_v1_collection_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_collection_service_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*DeleteCollectionResponse); i { case 0: return &v.state diff --git a/proto/gen/api/v1/collection_service_grpc.pb.go b/proto/gen/api/v1/collection_service_grpc.pb.go index e4fb422..56c6b7f 100644 --- a/proto/gen/api/v1/collection_service_grpc.pb.go +++ b/proto/gen/api/v1/collection_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) // source: api/v1/collection_service.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( CollectionService_ListCollections_FullMethodName = "/slash.api.v1.CollectionService/ListCollections" @@ -54,8 +54,9 @@ func NewCollectionServiceClient(cc grpc.ClientConnInterface) CollectionServiceCl } func (c *collectionServiceClient) ListCollections(ctx context.Context, in *ListCollectionsRequest, opts ...grpc.CallOption) (*ListCollectionsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ListCollectionsResponse) - err := c.cc.Invoke(ctx, CollectionService_ListCollections_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, CollectionService_ListCollections_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -63,8 +64,9 @@ func (c *collectionServiceClient) ListCollections(ctx context.Context, in *ListC } func (c *collectionServiceClient) GetCollection(ctx context.Context, in *GetCollectionRequest, opts ...grpc.CallOption) (*GetCollectionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetCollectionResponse) - err := c.cc.Invoke(ctx, CollectionService_GetCollection_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, CollectionService_GetCollection_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -72,8 +74,9 @@ func (c *collectionServiceClient) GetCollection(ctx context.Context, in *GetColl } func (c *collectionServiceClient) GetCollectionByName(ctx context.Context, in *GetCollectionByNameRequest, opts ...grpc.CallOption) (*GetCollectionByNameResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetCollectionByNameResponse) - err := c.cc.Invoke(ctx, CollectionService_GetCollectionByName_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, CollectionService_GetCollectionByName_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -81,8 +84,9 @@ func (c *collectionServiceClient) GetCollectionByName(ctx context.Context, in *G } func (c *collectionServiceClient) CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*CreateCollectionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateCollectionResponse) - err := c.cc.Invoke(ctx, CollectionService_CreateCollection_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, CollectionService_CreateCollection_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -90,8 +94,9 @@ func (c *collectionServiceClient) CreateCollection(ctx context.Context, in *Crea } func (c *collectionServiceClient) UpdateCollection(ctx context.Context, in *UpdateCollectionRequest, opts ...grpc.CallOption) (*UpdateCollectionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateCollectionResponse) - err := c.cc.Invoke(ctx, CollectionService_UpdateCollection_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, CollectionService_UpdateCollection_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -99,8 +104,9 @@ func (c *collectionServiceClient) UpdateCollection(ctx context.Context, in *Upda } func (c *collectionServiceClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteCollectionResponse) - err := c.cc.Invoke(ctx, CollectionService_DeleteCollection_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, CollectionService_DeleteCollection_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/proto/gen/api/v1/common.pb.go b/proto/gen/api/v1/common.pb.go index 9294e10..a985318 100644 --- a/proto/gen/api/v1/common.pb.go +++ b/proto/gen/api/v1/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: api/v1/common.proto @@ -162,7 +162,7 @@ func file_api_v1_common_proto_rawDescGZIP() []byte { } var file_api_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_api_v1_common_proto_goTypes = []interface{}{ +var file_api_v1_common_proto_goTypes = []any{ (RowStatus)(0), // 0: slash.api.v1.RowStatus (Visibility)(0), // 1: slash.api.v1.Visibility } diff --git a/proto/gen/api/v1/shortcut_service.pb.go b/proto/gen/api/v1/shortcut_service.pb.go index 7f3acf2..718128e 100644 --- a/proto/gen/api/v1/shortcut_service.pb.go +++ b/proto/gen/api/v1/shortcut_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: api/v1/shortcut_service.proto @@ -1162,7 +1162,7 @@ func file_api_v1_shortcut_service_proto_rawDescGZIP() []byte { } var file_api_v1_shortcut_service_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_api_v1_shortcut_service_proto_goTypes = []interface{}{ +var file_api_v1_shortcut_service_proto_goTypes = []any{ (*Shortcut)(nil), // 0: slash.api.v1.Shortcut (*OpenGraphMetadata)(nil), // 1: slash.api.v1.OpenGraphMetadata (*ListShortcutsRequest)(nil), // 2: slash.api.v1.ListShortcutsRequest @@ -1230,7 +1230,7 @@ func file_api_v1_shortcut_service_proto_init() { } file_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_api_v1_shortcut_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Shortcut); i { case 0: return &v.state @@ -1242,7 +1242,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*OpenGraphMetadata); i { case 0: return &v.state @@ -1254,7 +1254,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ListShortcutsRequest); i { case 0: return &v.state @@ -1266,7 +1266,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ListShortcutsResponse); i { case 0: return &v.state @@ -1278,7 +1278,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*GetShortcutRequest); i { case 0: return &v.state @@ -1290,7 +1290,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*GetShortcutResponse); i { case 0: return &v.state @@ -1302,7 +1302,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*GetShortcutByNameRequest); i { case 0: return &v.state @@ -1314,7 +1314,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*GetShortcutByNameResponse); i { case 0: return &v.state @@ -1326,7 +1326,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*CreateShortcutRequest); i { case 0: return &v.state @@ -1338,7 +1338,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*CreateShortcutResponse); i { case 0: return &v.state @@ -1350,7 +1350,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*UpdateShortcutRequest); i { case 0: return &v.state @@ -1362,7 +1362,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*UpdateShortcutResponse); i { case 0: return &v.state @@ -1374,7 +1374,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*DeleteShortcutRequest); i { case 0: return &v.state @@ -1386,7 +1386,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*DeleteShortcutResponse); i { case 0: return &v.state @@ -1398,7 +1398,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*GetShortcutAnalyticsRequest); i { case 0: return &v.state @@ -1410,7 +1410,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*GetShortcutAnalyticsResponse); i { case 0: return &v.state @@ -1422,7 +1422,7 @@ func file_api_v1_shortcut_service_proto_init() { return nil } } - file_api_v1_shortcut_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_shortcut_service_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*GetShortcutAnalyticsResponse_AnalyticsItem); i { case 0: return &v.state diff --git a/proto/gen/api/v1/shortcut_service_grpc.pb.go b/proto/gen/api/v1/shortcut_service_grpc.pb.go index cc227d4..c461790 100644 --- a/proto/gen/api/v1/shortcut_service_grpc.pb.go +++ b/proto/gen/api/v1/shortcut_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) // source: api/v1/shortcut_service.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( ShortcutService_ListShortcuts_FullMethodName = "/slash.api.v1.ShortcutService/ListShortcuts" @@ -57,8 +57,9 @@ func NewShortcutServiceClient(cc grpc.ClientConnInterface) ShortcutServiceClient } func (c *shortcutServiceClient) ListShortcuts(ctx context.Context, in *ListShortcutsRequest, opts ...grpc.CallOption) (*ListShortcutsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ListShortcutsResponse) - err := c.cc.Invoke(ctx, ShortcutService_ListShortcuts_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ShortcutService_ListShortcuts_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -66,8 +67,9 @@ func (c *shortcutServiceClient) ListShortcuts(ctx context.Context, in *ListShort } func (c *shortcutServiceClient) GetShortcut(ctx context.Context, in *GetShortcutRequest, opts ...grpc.CallOption) (*GetShortcutResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetShortcutResponse) - err := c.cc.Invoke(ctx, ShortcutService_GetShortcut_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ShortcutService_GetShortcut_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -75,8 +77,9 @@ func (c *shortcutServiceClient) GetShortcut(ctx context.Context, in *GetShortcut } func (c *shortcutServiceClient) GetShortcutByName(ctx context.Context, in *GetShortcutByNameRequest, opts ...grpc.CallOption) (*GetShortcutByNameResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetShortcutByNameResponse) - err := c.cc.Invoke(ctx, ShortcutService_GetShortcutByName_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ShortcutService_GetShortcutByName_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -84,8 +87,9 @@ func (c *shortcutServiceClient) GetShortcutByName(ctx context.Context, in *GetSh } func (c *shortcutServiceClient) CreateShortcut(ctx context.Context, in *CreateShortcutRequest, opts ...grpc.CallOption) (*CreateShortcutResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateShortcutResponse) - err := c.cc.Invoke(ctx, ShortcutService_CreateShortcut_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ShortcutService_CreateShortcut_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -93,8 +97,9 @@ func (c *shortcutServiceClient) CreateShortcut(ctx context.Context, in *CreateSh } func (c *shortcutServiceClient) UpdateShortcut(ctx context.Context, in *UpdateShortcutRequest, opts ...grpc.CallOption) (*UpdateShortcutResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateShortcutResponse) - err := c.cc.Invoke(ctx, ShortcutService_UpdateShortcut_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ShortcutService_UpdateShortcut_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -102,8 +107,9 @@ func (c *shortcutServiceClient) UpdateShortcut(ctx context.Context, in *UpdateSh } func (c *shortcutServiceClient) DeleteShortcut(ctx context.Context, in *DeleteShortcutRequest, opts ...grpc.CallOption) (*DeleteShortcutResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteShortcutResponse) - err := c.cc.Invoke(ctx, ShortcutService_DeleteShortcut_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ShortcutService_DeleteShortcut_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -111,8 +117,9 @@ func (c *shortcutServiceClient) DeleteShortcut(ctx context.Context, in *DeleteSh } func (c *shortcutServiceClient) GetShortcutAnalytics(ctx context.Context, in *GetShortcutAnalyticsRequest, opts ...grpc.CallOption) (*GetShortcutAnalyticsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetShortcutAnalyticsResponse) - err := c.cc.Invoke(ctx, ShortcutService_GetShortcutAnalytics_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ShortcutService_GetShortcutAnalytics_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/proto/gen/api/v1/subscription_service.pb.go b/proto/gen/api/v1/subscription_service.pb.go index 94cddf1..3bc3ff0 100644 --- a/proto/gen/api/v1/subscription_service.pb.go +++ b/proto/gen/api/v1/subscription_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: api/v1/subscription_service.proto @@ -405,7 +405,7 @@ func file_api_v1_subscription_service_proto_rawDescGZIP() []byte { var file_api_v1_subscription_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_api_v1_subscription_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_api_v1_subscription_service_proto_goTypes = []interface{}{ +var file_api_v1_subscription_service_proto_goTypes = []any{ (PlanType)(0), // 0: slash.api.v1.PlanType (*Subscription)(nil), // 1: slash.api.v1.Subscription (*GetSubscriptionRequest)(nil), // 2: slash.api.v1.GetSubscriptionRequest @@ -437,7 +437,7 @@ func file_api_v1_subscription_service_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_api_v1_subscription_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_subscription_service_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Subscription); i { case 0: return &v.state @@ -449,7 +449,7 @@ func file_api_v1_subscription_service_proto_init() { return nil } } - file_api_v1_subscription_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_subscription_service_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*GetSubscriptionRequest); i { case 0: return &v.state @@ -461,7 +461,7 @@ func file_api_v1_subscription_service_proto_init() { return nil } } - file_api_v1_subscription_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_subscription_service_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*GetSubscriptionResponse); i { case 0: return &v.state @@ -473,7 +473,7 @@ func file_api_v1_subscription_service_proto_init() { return nil } } - file_api_v1_subscription_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_subscription_service_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*UpdateSubscriptionRequest); i { case 0: return &v.state @@ -485,7 +485,7 @@ func file_api_v1_subscription_service_proto_init() { return nil } } - file_api_v1_subscription_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_subscription_service_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*UpdateSubscriptionResponse); i { case 0: return &v.state diff --git a/proto/gen/api/v1/subscription_service_grpc.pb.go b/proto/gen/api/v1/subscription_service_grpc.pb.go index a4b3ae2..9927e17 100644 --- a/proto/gen/api/v1/subscription_service_grpc.pb.go +++ b/proto/gen/api/v1/subscription_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) // source: api/v1/subscription_service.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( SubscriptionService_GetSubscription_FullMethodName = "/slash.api.v1.SubscriptionService/GetSubscription" @@ -40,8 +40,9 @@ func NewSubscriptionServiceClient(cc grpc.ClientConnInterface) SubscriptionServi } func (c *subscriptionServiceClient) GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*GetSubscriptionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetSubscriptionResponse) - err := c.cc.Invoke(ctx, SubscriptionService_GetSubscription_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, SubscriptionService_GetSubscription_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -49,8 +50,9 @@ func (c *subscriptionServiceClient) GetSubscription(ctx context.Context, in *Get } func (c *subscriptionServiceClient) UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*UpdateSubscriptionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateSubscriptionResponse) - err := c.cc.Invoke(ctx, SubscriptionService_UpdateSubscription_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, SubscriptionService_UpdateSubscription_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/proto/gen/api/v1/user_service.pb.go b/proto/gen/api/v1/user_service.pb.go index fa1e7c6..ece0305 100644 --- a/proto/gen/api/v1/user_service.pb.go +++ b/proto/gen/api/v1/user_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: api/v1/user_service.proto @@ -1224,7 +1224,7 @@ func file_api_v1_user_service_proto_rawDescGZIP() []byte { var file_api_v1_user_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_api_v1_user_service_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_api_v1_user_service_proto_goTypes = []interface{}{ +var file_api_v1_user_service_proto_goTypes = []any{ (Role)(0), // 0: slash.api.v1.Role (*User)(nil), // 1: slash.api.v1.User (*ListUsersRequest)(nil), // 2: slash.api.v1.ListUsersRequest @@ -1295,7 +1295,7 @@ func file_api_v1_user_service_proto_init() { } file_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_api_v1_user_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*User); i { case 0: return &v.state @@ -1307,7 +1307,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ListUsersRequest); i { case 0: return &v.state @@ -1319,7 +1319,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ListUsersResponse); i { case 0: return &v.state @@ -1331,7 +1331,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*GetUserRequest); i { case 0: return &v.state @@ -1343,7 +1343,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*GetUserResponse); i { case 0: return &v.state @@ -1355,7 +1355,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*CreateUserRequest); i { case 0: return &v.state @@ -1367,7 +1367,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*CreateUserResponse); i { case 0: return &v.state @@ -1379,7 +1379,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*UpdateUserRequest); i { case 0: return &v.state @@ -1391,7 +1391,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*UpdateUserResponse); i { case 0: return &v.state @@ -1403,7 +1403,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*DeleteUserRequest); i { case 0: return &v.state @@ -1415,7 +1415,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*DeleteUserResponse); i { case 0: return &v.state @@ -1427,7 +1427,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ListUserAccessTokensRequest); i { case 0: return &v.state @@ -1439,7 +1439,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*ListUserAccessTokensResponse); i { case 0: return &v.state @@ -1451,7 +1451,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*CreateUserAccessTokenRequest); i { case 0: return &v.state @@ -1463,7 +1463,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*CreateUserAccessTokenResponse); i { case 0: return &v.state @@ -1475,7 +1475,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*DeleteUserAccessTokenRequest); i { case 0: return &v.state @@ -1487,7 +1487,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*DeleteUserAccessTokenResponse); i { case 0: return &v.state @@ -1499,7 +1499,7 @@ func file_api_v1_user_service_proto_init() { return nil } } - file_api_v1_user_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_service_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*UserAccessToken); i { case 0: return &v.state @@ -1512,7 +1512,7 @@ func file_api_v1_user_service_proto_init() { } } } - file_api_v1_user_service_proto_msgTypes[13].OneofWrappers = []interface{}{} + file_api_v1_user_service_proto_msgTypes[13].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/proto/gen/api/v1/user_service_grpc.pb.go b/proto/gen/api/v1/user_service_grpc.pb.go index 2f8cfff..6bc7f40 100644 --- a/proto/gen/api/v1/user_service_grpc.pb.go +++ b/proto/gen/api/v1/user_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) // source: api/v1/user_service.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( UserService_ListUsers_FullMethodName = "/slash.api.v1.UserService/ListUsers" @@ -59,8 +59,9 @@ func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient { } func (c *userServiceClient) ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ListUsersResponse) - err := c.cc.Invoke(ctx, UserService_ListUsers_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_ListUsers_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -68,8 +69,9 @@ func (c *userServiceClient) ListUsers(ctx context.Context, in *ListUsersRequest, } func (c *userServiceClient) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetUserResponse) - err := c.cc.Invoke(ctx, UserService_GetUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_GetUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -77,8 +79,9 @@ func (c *userServiceClient) GetUser(ctx context.Context, in *GetUserRequest, opt } func (c *userServiceClient) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateUserResponse) - err := c.cc.Invoke(ctx, UserService_CreateUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_CreateUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -86,8 +89,9 @@ func (c *userServiceClient) CreateUser(ctx context.Context, in *CreateUserReques } func (c *userServiceClient) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateUserResponse) - err := c.cc.Invoke(ctx, UserService_UpdateUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_UpdateUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -95,8 +99,9 @@ func (c *userServiceClient) UpdateUser(ctx context.Context, in *UpdateUserReques } func (c *userServiceClient) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteUserResponse) - err := c.cc.Invoke(ctx, UserService_DeleteUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_DeleteUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -104,8 +109,9 @@ func (c *userServiceClient) DeleteUser(ctx context.Context, in *DeleteUserReques } func (c *userServiceClient) ListUserAccessTokens(ctx context.Context, in *ListUserAccessTokensRequest, opts ...grpc.CallOption) (*ListUserAccessTokensResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ListUserAccessTokensResponse) - err := c.cc.Invoke(ctx, UserService_ListUserAccessTokens_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_ListUserAccessTokens_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -113,8 +119,9 @@ func (c *userServiceClient) ListUserAccessTokens(ctx context.Context, in *ListUs } func (c *userServiceClient) CreateUserAccessToken(ctx context.Context, in *CreateUserAccessTokenRequest, opts ...grpc.CallOption) (*CreateUserAccessTokenResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateUserAccessTokenResponse) - err := c.cc.Invoke(ctx, UserService_CreateUserAccessToken_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_CreateUserAccessToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -122,8 +129,9 @@ func (c *userServiceClient) CreateUserAccessToken(ctx context.Context, in *Creat } func (c *userServiceClient) DeleteUserAccessToken(ctx context.Context, in *DeleteUserAccessTokenRequest, opts ...grpc.CallOption) (*DeleteUserAccessTokenResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteUserAccessTokenResponse) - err := c.cc.Invoke(ctx, UserService_DeleteUserAccessToken_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_DeleteUserAccessToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/proto/gen/api/v1/user_setting_service.pb.go b/proto/gen/api/v1/user_setting_service.pb.go index 7fa632b..5d729c6 100644 --- a/proto/gen/api/v1/user_setting_service.pb.go +++ b/proto/gen/api/v1/user_setting_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: api/v1/user_setting_service.proto @@ -508,7 +508,7 @@ func file_api_v1_user_setting_service_proto_rawDescGZIP() []byte { var file_api_v1_user_setting_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_api_v1_user_setting_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_api_v1_user_setting_service_proto_goTypes = []interface{}{ +var file_api_v1_user_setting_service_proto_goTypes = []any{ (UserSetting_Locale)(0), // 0: slash.api.v1.UserSetting.Locale (UserSetting_ColorTheme)(0), // 1: slash.api.v1.UserSetting.ColorTheme (*UserSetting)(nil), // 2: slash.api.v1.UserSetting @@ -542,7 +542,7 @@ func file_api_v1_user_setting_service_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_api_v1_user_setting_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_setting_service_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*UserSetting); i { case 0: return &v.state @@ -554,7 +554,7 @@ func file_api_v1_user_setting_service_proto_init() { return nil } } - file_api_v1_user_setting_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_setting_service_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*GetUserSettingRequest); i { case 0: return &v.state @@ -566,7 +566,7 @@ func file_api_v1_user_setting_service_proto_init() { return nil } } - file_api_v1_user_setting_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_setting_service_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*GetUserSettingResponse); i { case 0: return &v.state @@ -578,7 +578,7 @@ func file_api_v1_user_setting_service_proto_init() { return nil } } - file_api_v1_user_setting_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_setting_service_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*UpdateUserSettingRequest); i { case 0: return &v.state @@ -590,7 +590,7 @@ func file_api_v1_user_setting_service_proto_init() { return nil } } - file_api_v1_user_setting_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_user_setting_service_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*UpdateUserSettingResponse); i { case 0: return &v.state diff --git a/proto/gen/api/v1/user_setting_service_grpc.pb.go b/proto/gen/api/v1/user_setting_service_grpc.pb.go index 2bbe043..8d89e95 100644 --- a/proto/gen/api/v1/user_setting_service_grpc.pb.go +++ b/proto/gen/api/v1/user_setting_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) // source: api/v1/user_setting_service.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( UserSettingService_GetUserSetting_FullMethodName = "/slash.api.v1.UserSettingService/GetUserSetting" @@ -42,8 +42,9 @@ func NewUserSettingServiceClient(cc grpc.ClientConnInterface) UserSettingService } func (c *userSettingServiceClient) GetUserSetting(ctx context.Context, in *GetUserSettingRequest, opts ...grpc.CallOption) (*GetUserSettingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetUserSettingResponse) - err := c.cc.Invoke(ctx, UserSettingService_GetUserSetting_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserSettingService_GetUserSetting_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -51,8 +52,9 @@ func (c *userSettingServiceClient) GetUserSetting(ctx context.Context, in *GetUs } func (c *userSettingServiceClient) UpdateUserSetting(ctx context.Context, in *UpdateUserSettingRequest, opts ...grpc.CallOption) (*UpdateUserSettingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateUserSettingResponse) - err := c.cc.Invoke(ctx, UserSettingService_UpdateUserSetting_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserSettingService_UpdateUserSetting_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/proto/gen/api/v1/workspace_service.pb.go b/proto/gen/api/v1/workspace_service.pb.go index 66a4cd4..4c0f531 100644 --- a/proto/gen/api/v1/workspace_service.pb.go +++ b/proto/gen/api/v1/workspace_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: api/v1/workspace_service.proto @@ -742,7 +742,7 @@ func file_api_v1_workspace_service_proto_rawDescGZIP() []byte { } var file_api_v1_workspace_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_api_v1_workspace_service_proto_goTypes = []interface{}{ +var file_api_v1_workspace_service_proto_goTypes = []any{ (*WorkspaceProfile)(nil), // 0: slash.api.v1.WorkspaceProfile (*WorkspaceSetting)(nil), // 1: slash.api.v1.WorkspaceSetting (*AutoBackupWorkspaceSetting)(nil), // 2: slash.api.v1.AutoBackupWorkspaceSetting @@ -786,7 +786,7 @@ func file_api_v1_workspace_service_proto_init() { file_api_v1_common_proto_init() file_api_v1_subscription_service_proto_init() if !protoimpl.UnsafeEnabled { - file_api_v1_workspace_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_workspace_service_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*WorkspaceProfile); i { case 0: return &v.state @@ -798,7 +798,7 @@ func file_api_v1_workspace_service_proto_init() { return nil } } - file_api_v1_workspace_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_workspace_service_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*WorkspaceSetting); i { case 0: return &v.state @@ -810,7 +810,7 @@ func file_api_v1_workspace_service_proto_init() { return nil } } - file_api_v1_workspace_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_workspace_service_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*AutoBackupWorkspaceSetting); i { case 0: return &v.state @@ -822,7 +822,7 @@ func file_api_v1_workspace_service_proto_init() { return nil } } - file_api_v1_workspace_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_workspace_service_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*GetWorkspaceProfileRequest); i { case 0: return &v.state @@ -834,7 +834,7 @@ func file_api_v1_workspace_service_proto_init() { return nil } } - file_api_v1_workspace_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_workspace_service_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*GetWorkspaceProfileResponse); i { case 0: return &v.state @@ -846,7 +846,7 @@ func file_api_v1_workspace_service_proto_init() { return nil } } - file_api_v1_workspace_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_workspace_service_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*GetWorkspaceSettingRequest); i { case 0: return &v.state @@ -858,7 +858,7 @@ func file_api_v1_workspace_service_proto_init() { return nil } } - file_api_v1_workspace_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_workspace_service_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*GetWorkspaceSettingResponse); i { case 0: return &v.state @@ -870,7 +870,7 @@ func file_api_v1_workspace_service_proto_init() { return nil } } - file_api_v1_workspace_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_workspace_service_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*UpdateWorkspaceSettingRequest); i { case 0: return &v.state @@ -882,7 +882,7 @@ func file_api_v1_workspace_service_proto_init() { return nil } } - file_api_v1_workspace_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_workspace_service_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*UpdateWorkspaceSettingResponse); i { case 0: return &v.state diff --git a/proto/gen/api/v1/workspace_service_grpc.pb.go b/proto/gen/api/v1/workspace_service_grpc.pb.go index 04588da..ce95d79 100644 --- a/proto/gen/api/v1/workspace_service_grpc.pb.go +++ b/proto/gen/api/v1/workspace_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) // source: api/v1/workspace_service.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( WorkspaceService_GetWorkspaceProfile_FullMethodName = "/slash.api.v1.WorkspaceService/GetWorkspaceProfile" @@ -42,8 +42,9 @@ func NewWorkspaceServiceClient(cc grpc.ClientConnInterface) WorkspaceServiceClie } func (c *workspaceServiceClient) GetWorkspaceProfile(ctx context.Context, in *GetWorkspaceProfileRequest, opts ...grpc.CallOption) (*GetWorkspaceProfileResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetWorkspaceProfileResponse) - err := c.cc.Invoke(ctx, WorkspaceService_GetWorkspaceProfile_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WorkspaceService_GetWorkspaceProfile_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -51,8 +52,9 @@ func (c *workspaceServiceClient) GetWorkspaceProfile(ctx context.Context, in *Ge } func (c *workspaceServiceClient) GetWorkspaceSetting(ctx context.Context, in *GetWorkspaceSettingRequest, opts ...grpc.CallOption) (*GetWorkspaceSettingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetWorkspaceSettingResponse) - err := c.cc.Invoke(ctx, WorkspaceService_GetWorkspaceSetting_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WorkspaceService_GetWorkspaceSetting_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -60,8 +62,9 @@ func (c *workspaceServiceClient) GetWorkspaceSetting(ctx context.Context, in *Ge } func (c *workspaceServiceClient) UpdateWorkspaceSetting(ctx context.Context, in *UpdateWorkspaceSettingRequest, opts ...grpc.CallOption) (*UpdateWorkspaceSettingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateWorkspaceSettingResponse) - err := c.cc.Invoke(ctx, WorkspaceService_UpdateWorkspaceSetting_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WorkspaceService_UpdateWorkspaceSetting_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/proto/gen/store/activity.pb.go b/proto/gen/store/activity.pb.go index a76db70..194d71d 100644 --- a/proto/gen/store/activity.pb.go +++ b/proto/gen/store/activity.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: store/activity.proto @@ -182,7 +182,7 @@ func file_store_activity_proto_rawDescGZIP() []byte { } var file_store_activity_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_store_activity_proto_goTypes = []interface{}{ +var file_store_activity_proto_goTypes = []any{ (*ActivityShorcutCreatePayload)(nil), // 0: slash.store.ActivityShorcutCreatePayload (*ActivityShorcutViewPayload)(nil), // 1: slash.store.ActivityShorcutViewPayload } @@ -200,7 +200,7 @@ func file_store_activity_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_store_activity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_store_activity_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ActivityShorcutCreatePayload); i { case 0: return &v.state @@ -212,7 +212,7 @@ func file_store_activity_proto_init() { return nil } } - file_store_activity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_store_activity_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ActivityShorcutViewPayload); i { case 0: return &v.state diff --git a/proto/gen/store/collection.pb.go b/proto/gen/store/collection.pb.go index bf7b7dc..b280f6f 100644 --- a/proto/gen/store/collection.pb.go +++ b/proto/gen/store/collection.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: store/collection.proto @@ -182,7 +182,7 @@ func file_store_collection_proto_rawDescGZIP() []byte { } var file_store_collection_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_store_collection_proto_goTypes = []interface{}{ +var file_store_collection_proto_goTypes = []any{ (*Collection)(nil), // 0: slash.store.Collection (Visibility)(0), // 1: slash.store.Visibility } @@ -202,7 +202,7 @@ func file_store_collection_proto_init() { } file_store_common_proto_init() if !protoimpl.UnsafeEnabled { - file_store_collection_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_store_collection_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Collection); i { case 0: return &v.state diff --git a/proto/gen/store/common.pb.go b/proto/gen/store/common.pb.go index bb28ef5..a4ca3cc 100644 --- a/proto/gen/store/common.pb.go +++ b/proto/gen/store/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: store/common.proto @@ -161,7 +161,7 @@ func file_store_common_proto_rawDescGZIP() []byte { } var file_store_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_store_common_proto_goTypes = []interface{}{ +var file_store_common_proto_goTypes = []any{ (RowStatus)(0), // 0: slash.store.RowStatus (Visibility)(0), // 1: slash.store.Visibility } diff --git a/proto/gen/store/shortcut.pb.go b/proto/gen/store/shortcut.pb.go index 7d94976..8667110 100644 --- a/proto/gen/store/shortcut.pb.go +++ b/proto/gen/store/shortcut.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: store/shortcut.proto @@ -283,7 +283,7 @@ func file_store_shortcut_proto_rawDescGZIP() []byte { } var file_store_shortcut_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_store_shortcut_proto_goTypes = []interface{}{ +var file_store_shortcut_proto_goTypes = []any{ (*Shortcut)(nil), // 0: slash.store.Shortcut (*OpenGraphMetadata)(nil), // 1: slash.store.OpenGraphMetadata (RowStatus)(0), // 2: slash.store.RowStatus @@ -307,7 +307,7 @@ func file_store_shortcut_proto_init() { } file_store_common_proto_init() if !protoimpl.UnsafeEnabled { - file_store_shortcut_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_store_shortcut_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Shortcut); i { case 0: return &v.state @@ -319,7 +319,7 @@ func file_store_shortcut_proto_init() { return nil } } - file_store_shortcut_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_store_shortcut_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*OpenGraphMetadata); i { case 0: return &v.state diff --git a/proto/gen/store/user_setting.pb.go b/proto/gen/store/user_setting.pb.go index d1a9fce..445f8d4 100644 --- a/proto/gen/store/user_setting.pb.go +++ b/proto/gen/store/user_setting.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: store/user_setting.proto @@ -477,7 +477,7 @@ func file_store_user_setting_proto_rawDescGZIP() []byte { var file_store_user_setting_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_store_user_setting_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_store_user_setting_proto_goTypes = []interface{}{ +var file_store_user_setting_proto_goTypes = []any{ (UserSettingKey)(0), // 0: slash.store.UserSettingKey (LocaleUserSetting)(0), // 1: slash.store.LocaleUserSetting (ColorThemeUserSetting)(0), // 2: slash.store.ColorThemeUserSetting @@ -504,7 +504,7 @@ func file_store_user_setting_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_store_user_setting_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_store_user_setting_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*UserSetting); i { case 0: return &v.state @@ -516,7 +516,7 @@ func file_store_user_setting_proto_init() { return nil } } - file_store_user_setting_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_store_user_setting_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*AccessTokensUserSetting); i { case 0: return &v.state @@ -528,7 +528,7 @@ func file_store_user_setting_proto_init() { return nil } } - file_store_user_setting_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_store_user_setting_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*AccessTokensUserSetting_AccessToken); i { case 0: return &v.state @@ -541,7 +541,7 @@ func file_store_user_setting_proto_init() { } } } - file_store_user_setting_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_store_user_setting_proto_msgTypes[0].OneofWrappers = []any{ (*UserSetting_AccessTokens)(nil), (*UserSetting_Locale)(nil), (*UserSetting_ColorTheme)(nil), diff --git a/proto/gen/store/workspace_setting.pb.go b/proto/gen/store/workspace_setting.pb.go index 1ff01c5..6c095b5 100644 --- a/proto/gen/store/workspace_setting.pb.go +++ b/proto/gen/store/workspace_setting.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: store/workspace_setting.proto @@ -462,7 +462,7 @@ func file_store_workspace_setting_proto_rawDescGZIP() []byte { var file_store_workspace_setting_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_store_workspace_setting_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_store_workspace_setting_proto_goTypes = []interface{}{ +var file_store_workspace_setting_proto_goTypes = []any{ (WorkspaceSettingKey)(0), // 0: slash.store.WorkspaceSettingKey (*WorkspaceSetting)(nil), // 1: slash.store.WorkspaceSetting (*AutoBackupWorkspaceSetting)(nil), // 2: slash.store.AutoBackupWorkspaceSetting @@ -486,7 +486,7 @@ func file_store_workspace_setting_proto_init() { } file_store_common_proto_init() if !protoimpl.UnsafeEnabled { - file_store_workspace_setting_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_store_workspace_setting_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*WorkspaceSetting); i { case 0: return &v.state @@ -498,7 +498,7 @@ func file_store_workspace_setting_proto_init() { return nil } } - file_store_workspace_setting_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_store_workspace_setting_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*AutoBackupWorkspaceSetting); i { case 0: return &v.state @@ -511,7 +511,7 @@ func file_store_workspace_setting_proto_init() { } } } - file_store_workspace_setting_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_store_workspace_setting_proto_msgTypes[0].OneofWrappers = []any{ (*WorkspaceSetting_LicenseKey)(nil), (*WorkspaceSetting_SecretSession)(nil), (*WorkspaceSetting_EnableSignup)(nil),