mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 07:26:09 +00:00 
			
		
		
		
	Début ajout sembast
This commit is contained in:
		
							parent
							
								
									f93587c745
								
							
						
					
					
						commit
						2d826d5248
					
				
					 8 changed files with 305 additions and 159 deletions
				
			
		
							
								
								
									
										18
									
								
								aidedejeu_flutter/lib/databases/database.dart
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								aidedejeu_flutter/lib/databases/database.dart
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | |||
| import 'package:aidedejeu_flutter/models/filters.dart'; | ||||
| import 'package:aidedejeu_flutter/models/items.dart'; | ||||
| 
 | ||||
| abstract class BaseDB { | ||||
|   Future<Item> getItemWithId(String id); | ||||
| 
 | ||||
|   Future<Item> loadChildrenItems(Item item, List<Filter> filters); | ||||
| 
 | ||||
|   Future<List<RaceItem>> loadRaces(); | ||||
| 
 | ||||
|   Future<List<SubRaceItem>> loadSubRaces(RaceItem race); | ||||
| 
 | ||||
|   Future<List<T>> loadTypedItems<T extends Item>({String itemType, Item item}); | ||||
| 
 | ||||
|   Future<List<BackgroundItem>> loadBackgrounds(); | ||||
| 
 | ||||
|   Future<List<SubBackgroundItem>> loadSubBackgrounds(Item item); | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez