feat: 831 - prices methods getProofs, getProof and getUsers + fixed uploadProof #926
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
dart
. We needed to keep up.getProofs
,getProof
andgetUsers
uploadProof
Price
,PriceProduct
andLocation
Part of
Files
New files:
flavor.dart
: Flavor is used to refer to a specific Open*Facts project.get_price_count_parameters_helper.dart
: Helper class for API query parameters with price count filters.get_proofs_order.dart
: Field for the "order by" clause of "get proofs".get_proofs_parameters.dart
: Parameters for the "get proofs" API query.get_proofs_result.dart
: List of proof objects returned by the "get proofs" method.get_proofs_result.g.dart
: generatedget_users_order.dart
: Field for the "order by" clause of "get users".get_users_parameters.dart
: Parameters for the "get users" API query.get_users_result.dart
: List of price user objects returned by the "get users" method.get_users_result.g.dart
: generatedprice_user.dart
: Price user object.price_user.g.dart
: generatedImpacted files:
api_prices_test.dart
: added tests for new methodsgetProofs
,getProof
andgetUsers
; fixed test of methoduploadProof
badge_base.g.dart
: unrelated file generation changeevents_base.g.dart
: unrelated file generation changeget_locations_parameters.dart
: refactoringget_locations_result.g.dart
: unrelated file generation changeget_parameters_helper.dart
: refactoringget_prices_parameters.dart
: refactoringget_prices_result.g.dart
: unrelated file generation changekey_stats.g.dart
: unrelated file generation changeknowledge_panel_element.g.dart
: unrelated file generation changeleaderboard_entry.g.dart
: unrelated file generation changelocation.dart
: new fieldpriceCount
location.g.dart
: generatedocr_ingredients_result.g.dart
: unrelated file generation changeocr_packaging_result.g.dart
: unrelated file generation changeold_product_result.g.dart
: unrelated file generation changeopen_prices_api_client.dart
: new methodsgetProofs
,getProof
andgetUsers
; fixed methoduploadProof
openfoodfacts.dart
: exported the new filesprice.dart
: new fieldsproof
,location
andproduct
price.g.dart
: generatedprice_product.dart
: new fieldsprice_product.g.dart
: generatedproduct.g.dart
: unrelated file generation changeproduct_stats.g.dart
: unrelated file generation changeproduct_tag.g.dart
: unrelated file generation changeproof.dart
: removed old field (that provoked test failure anyway)proof.g.dart
: generatedpubspec.yaml
: upgraded packages to more recent versions - while not too recent eitherspelling_corrections.g.dart
: unrelated file generation change