utility-function-extractor/README.md

31 lines
898 B
Markdown
Raw Normal View History

2021-10-06 11:29:09 +00:00
## About
This repository creates a react webpage that allows to extract a utility function from possibly inconsistent binary comparisons
## Object structure
The core structure is json array of objects. Only the "name" attribute is required; the (numerical) id is also internally required but it's created on the fly. The reason that ids are needed is that comparing objects is annoying.
2021-10-06 12:14:18 +00:00
The `isReferenceValue` property determines the display at the end, but it is optional.
2021-10-06 11:29:09 +00:00
2021-11-25 11:09:17 +00:00
So internally this would look like:
```
[
{
"id": 1,
"name": "Peter Parker",
"someOptionalKey": "...",
2021-10-06 11:29:09 +00:00
"anotherMoreOptionalKey": "...",
"isReferenceValue": true
},
{
"id": 2,
"name": "Spiderman",
"someOptionalKey": "...",
"anotherMoreOptionalKey": "..."
}
]
2022-01-28 20:51:29 +00:00
```
## Netlify
https://github.com/netlify/netlify-plugin-nextjs/#readme