export type AttachmentUpload = {
  refId?: number | null;
  refType: string;
  title?: string;
  description?: string;
  version?: number;
  regUserId: string;
  projectId: number;
  file: File | Blob;
  path?: string;
};

export type AttachmentSearch = {
  projectId: number;
  page?: number;
  size?: number;
  keyword?: string;
  searchType?: "전체" | "제목" | "작성자";
  startDate?: string;
  endDate?: string;
  sortField?: string;
  sortDirection?: "ASC" | "DESC";
  refType?: "WORKFLOW_STEP" | "DATASET" | "TRAINING_SCRIPT" | "workflows";
  refId?: number;
};
