code: def _adapt_typ(typ: str) -> str:
      from dvc_data.index.diff import ADD, DELETE, MODIFY
  
      if typ == MODIFY:
          return "modified"
  
      if typ == ADD:
          return "added"
  
      if typ == DELETE:
          return "deleted"
  
      return typ
  
file_path: dvc/dvc/repo/data.py
imports: import os
  import posixpath
  from typing import TYPE_CHECKING, Any, Dict, Iterable, List, TypedDict, Union
  from dvc.fs.callbacks import DEFAULT_CALLBACK
  from dvc.ui import ui
label_desc: Use image node_id 2 for calling a global function with example usage: _adapt_typ(typ) and returns: typ, str, str, str