# GridCellNotesAdapter

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

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

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

## 타입 정의

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

```typescript
export interface GridCellNotesAdapter {
  load(cell: GridNoteCell): Promise<GridCellNote | null>;
  save(cell: GridNoteCell, text: string | null, expectedRevision: string | null): Promise<GridNoteSaveResult>;
}
```

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

## 이 타입을 사용하는 API

- [cellNotesAdapter](https://grid.syidax.com/ko/docs/options/cellNotesAdapter.md) — 독립 셀 메모의 조회와 revision 기반 원자적 저장을 구현합니다. 내장 임시 저장소로 자동 대체되지 않습니다.

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

## 연결된 타입

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