@tunebond/mesh v0.0.1
Installation
pnpm add @tunebond/mesh
yarn add @tunebond/mesh
npm i @tunebond/mesh
This library depends on the
@tunebond/form
model
definitions and @tunebond/call
query logic.
It takes a call request as a standard model sort of thing, and the model schema as you would think of the graph, and then converts it into the lower-level underlying graph, and back.
{
read: {
site: {
list: false,
link: [
{
form: 'link',
name: 'form-link',
base: 'form-link/base-code',
head: 'site/code',
},
{
form: 'link',
name: 'host-link',
base: 'host-link/base-code',
head: 'site/code',
},
{
form: 'link',
name: 'host-name-link',
base: 'host-link/code',
head: 'host-name-link/base-code',
},
{
form: 'text',
name: 'host-name',
base: 'host-name/base-code',
head: 'host-name-link/code',
},
],
find: [
{
base: { link: 'form-link/name' },
head: 'form'
},
{
base: { link: 'host-link/name' },
head: 'host'
},
{
base: { link: 'host-name/head' },
head: 'org1'
}
],
read: {
code: true,
}
}
}
}
License
MIT
TuneBond
This is being developed by the folks at TuneBond, a California-based project for helping humanity master information and computation. TuneBond started off in the winter of 2008 as a spark of an idea, to forming a company 10 years later in the winter of 2018, to a seed of a project just beginning its development phases. It is entirely bootstrapped by working full time and running Etsy and Amazon shops. Also find us on Facebook, Twitter, and LinkedIn. Check out our other GitHub projects as well!
11 months ago