Changes
2 changed files (+82/-0)
-
-
@@ -0,0 +1,41 @@// SPDX-FileCopyrightText: 2025 Shota FUJI <pockawoooh@gmail.com> // SPDX-License-Identifier: AGPL-3.0-only package workspace import ( "context" "connectrpc.com/connect" "google.golang.org/protobuf/proto" errorV1 "pocka.jp/x/yamori/proto/go/error/v1" workspaceV2 "pocka.jp/x/yamori/proto/go/workspace/v2" ) func deleteCustomAttributeDefinitionSystemError( message string, ) *connect.Response[workspaceV2.DeleteCustomAttributeDefinitionResponse] { return connect.NewResponse(&workspaceV2.DeleteCustomAttributeDefinitionResponse{ Result: &workspaceV2.DeleteCustomAttributeDefinitionResponse_SystemError{ SystemError: &errorV1.SystemError{ Message: proto.String(message), }, }, }) } func (s *Service) DeleteCustomAttributeDefinition( ctx context.Context, req *connect.Request[workspaceV2.DeleteCustomAttributeDefinitionRequest], ) ( *connect.Response[workspaceV2.DeleteCustomAttributeDefinitionResponse], error, ) { _ = s.core.Logger.With( "service", "yamori.workspace.v2.WorkspaceService", "method", "DeleteCustomAttributeDefinition", ) return deleteCustomAttributeDefinitionSystemError("Not implemented"), nil }
-
-
-
@@ -0,0 +1,41 @@// SPDX-FileCopyrightText: 2025 Shota FUJI <pockawoooh@gmail.com> // SPDX-License-Identifier: AGPL-3.0-only package workspace import ( "context" "connectrpc.com/connect" "google.golang.org/protobuf/proto" errorV1 "pocka.jp/x/yamori/proto/go/error/v1" workspaceV2 "pocka.jp/x/yamori/proto/go/workspace/v2" ) func putCustomAttributeDefinitionSystemError( message string, ) *connect.Response[workspaceV2.PutCustomAttributeDefinitionResponse] { return connect.NewResponse(&workspaceV2.PutCustomAttributeDefinitionResponse{ Result: &workspaceV2.PutCustomAttributeDefinitionResponse_SystemError{ SystemError: &errorV1.SystemError{ Message: proto.String(message), }, }, }) } func (s *Service) PutCustomAttributeDefinition( ctx context.Context, req *connect.Request[workspaceV2.PutCustomAttributeDefinitionRequest], ) ( *connect.Response[workspaceV2.PutCustomAttributeDefinitionResponse], error, ) { _ = s.core.Logger.With( "service", "yamori.workspace.v2.WorkspaceService", "method", "PutCustomAttributeDefinition", ) return putCustomAttributeDefinitionSystemError("Not implemented"), nil }
-