# ═══════════════════════════════════════════════════════════════════════════════
# Schema__Link__Delete__Response - Response body after deleting a link
# DELETE /api/nodes/{label}/links/{target_label}
# ═══════════════════════════════════════════════════════════════════════════════

from osbot_utils.type_safe.Type_Safe                                                         import Type_Safe
from osbot_utils.type_safe.primitives.domains.common.safe_str.Safe_Str__Text                 import Safe_Str__Text
from issues_fs.schemas.graph.Safe_Str__Graph_Types          import Safe_Str__Node_Label


class Schema__Link__Delete__Response(Type_Safe):                                 # Delete link response
    success      : bool                   = False                                # Operation success
    deleted      : bool                   = False                                # Whether link was deleted
    source_label : Safe_Str__Node_Label   = ''                                   # Source node label
    target_label : Safe_Str__Node_Label   = ''                                   # Target node label
    message      : Safe_Str__Text         = ''                                   # Error message if failed
