Private
Readonly
fetchThe fetch function used for every request
The fetch function used for every request
Optional
init: RequestInitPrivate
Readonly
rawThe raw openapi-fetch client is used for every request exposed by the openapi schema
Annotation of the prediction: 1 to accept the prediction, 0 to refuse it, and -1 for skip
ID of the insight
Optional
update?: 0 | 1Send the update to Openfoodfacts if update=1
, don't send the update otherwise. This parameter is useful if the update is performed client-side
1
@enum {integer}
Generated using TypeDoc
MDN Reference