| 
									
										
										
										
											2023-02-26 16:27:17 +08:00
										 |  |  | import 'dart:collection'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-05 16:26:27 +08:00
										 |  |  | import 'package:appflowy_backend/protobuf/flowy-database/database_entities.pb.dart'; | 
					
						
							| 
									
										
										
										
											2023-02-26 16:27:17 +08:00
										 |  |  | import 'package:appflowy_backend/protobuf/flowy-error/errors.pb.dart'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import '../grid/presentation/widgets/filter/filter_info.dart'; | 
					
						
							|  |  |  | import 'field/field_controller.dart'; | 
					
						
							|  |  |  | import 'row/row_cache.dart'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | typedef OnFieldsChanged = void Function(UnmodifiableListView<FieldInfo>); | 
					
						
							|  |  |  | typedef OnFiltersChanged = void Function(List<FilterInfo>); | 
					
						
							|  |  |  | typedef OnDatabaseChanged = void Function(DatabasePB); | 
					
						
							|  |  |  | typedef OnRowsChanged = void Function( | 
					
						
							|  |  |  |   List<RowInfo>, | 
					
						
							|  |  |  |   RowsChangedReason, | 
					
						
							|  |  |  | ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | typedef OnError = void Function(FlowyError); |