# SyGridRowsTransferredDetail

SyGridRowsTransferredDetail의 필드와 허용 값, 이 타입을 사용하는 API입니다.

Canonical: https://grid.syidax.com/ko/docs/types/SyGridRowsTransferredDetail/

<a id="definition"></a>

## 타입 정의

물음표(?)는 선택 항목이고 readonly는 직접 변경하지 않는 값입니다. 유니온(|)은 허용된 형태 중 하나를 뜻합니다. 함수는 해당 시점에 Grid가 호출할 콜백입니다.

```typescript
export interface SyGridRowsTransferredDetail {
  readonly transferId: string;
  readonly sourceZoneId: string;
  readonly targetZoneId: string;
  readonly mode: 'move' | 'copy';
  readonly report: SyGridRowTransferReport;
  readonly outcome:
    | { readonly outcome: 'applied'; readonly sourceWritten: boolean; readonly targetWritten: boolean }
    | { readonly outcome: 'reverted'; readonly failedSide: 'source' | 'target'; readonly error: string; readonly targetUndone: boolean }
    | { readonly outcome: 'compromised'; readonly [extra: string]: unknown };
  readonly commit: unknown;
}
```

<a id="used-by"></a>

## 이 타입을 사용하는 API

- [rowsTransferred](https://grid.syidax.com/ko/docs/events/rowsTransferred.md) — 드롭 영역 간 행 전달 결과를 알립니다. 실제 이동·복사·거절 결과를 확인합니다.

<a id="parents"></a>

## 이 타입을 포함하는 계약

- [SyGridEventMap](https://grid.syidax.com/ko/docs/types/SyGridEventMap.md)

<a id="related"></a>

## 연결된 타입

- [SyGridRowTransferReport](https://grid.syidax.com/ko/docs/types/SyGridRowTransferReport.md)
