msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
23 stars 15 forks source link

GAPS 2D scanner -- parse text stream on server #5364

Closed CarlosNZ closed 5 hours ago

CarlosNZ commented 2 days ago

Suggested implementation:

andreievg commented 2 days ago

Great. I think we can use enum to specify if it's id or GS1 string being passed as the first input.

assetExists === false

I think it's better as a union result variant (one variant for found one variant for not found).