refactor: cell data transform logic (#5039)

* refactor: cell data transform logic

* chore: remove redundant select option event

* chore: adapt tests to changes
This commit is contained in:
Richard Shiue
2024-04-11 14:49:36 +08:00
committed by GitHub
parent 828f312294
commit b7b4ea2da1
37 changed files with 574 additions and 912 deletions

View File

@ -60,15 +60,6 @@ class SelectOptionCellBackendService {
return DatabaseEventDeleteSelectOption(payload).send();
}
Future<FlowyResult<SelectOptionCellDataPB, FlowyError>> getCellData() {
final payload = CellIdPB()
..viewId = viewId
..fieldId = fieldId
..rowId = rowId;
return DatabaseEventGetSelectOptionCellData(payload).send();
}
Future<FlowyResult<void, FlowyError>> select({
required Iterable<String> optionIds,
}) {