DEV Community

Vasyl Stokolosa
Vasyl Stokolosa

Posted on

Review. Do you find it helpful? objectInterface

One time I’ve found difficult to find out what data we should send to a server for that or this request. We have not had a docs, so a good solution was to move required keys to an interface and each time you call it you have correct structured data.

I will appreciate any thoughts and feedbacks.
Thanks!

https://github.com/shystruk/famulus/blob/master/objectInterface.js

Alt text of image

Discussion (0)