Closed monsieurtanuki closed 4 months ago
updatePrice
updateProof
uploadProof
getPrices
getProofs
New files:
update_price_parameters.dart
update_proof_parameters.dart
Impacted files:
api_prices_test.dart
uriHelper
get_prices_parameters.dart
get_proofs_parameters.dart
http_helper.dart
open_prices_api_client.dart
createPrice
openfoodfacts.dart
price.dart
updated
price.g.dart
proof.dart
locationOSMId
locationOSMType
locationId
date
currency
location
proof.g.dart
Thank you @teolemon for your review!
What
updatePrice
andupdateProof
uploadProof
,getPrices
andgetProofs
Fixes bug(s)
Files
New files:
update_price_parameters.dart
: Parameters for the "update price" API query.update_proof_parameters.dart
: Parameters for the "update proof" API query.Impacted files:
api_prices_test.dart
: added tests forupdatePrice
andupdateProof
; refactored the access touriHelper
get_prices_parameters.dart
: added 2 parameters forgetPrices
queriesget_proofs_parameters.dart
: added 9 parameters forgetProofs
querieshttp_helper.dart
: minor refactoring for PATCH queries in Pricesopen_prices_api_client.dart
: new methodsupdatePrice
andupdateProof
; new parameters foruploadProof
; refactoredcreatePrice
openfoodfacts.dart
: added the new 2 filesprice.dart
: added fieldupdated
price.g.dart
: generatedproof.dart
: added fieldslocationOSMId
,locationOSMType
,locationId
,date
,currency
,updated
andlocation
proof.g.dart
: generated