(obj)
| 6 | const isEmptyObject = (obj) => Object.keys(obj).length === 0 && obj.constructor === Object |
| 7 | |
| 8 | const hasPostProps = (obj) => Object.keys(obj).every((x) => ['name', 'description', 'price', 'quantity'].includes(x)) |
| 9 | |
| 10 | const q = fauna.query |
| 11 |