@coreo/node
v0.0.3
Published
Node library for Coreo
Downloads
3
Readme
Coreo
Node.js library for Coreo
API
const coreo = new Coreo(key);
coreo.query(graphql);
coreo.records.get(id);
coreo.records.create(payload);
const project = coreo.project(id);
project.records.get(id); # Alias for coreo.records.get(id, projectId)
project.records.create(payload);
Coreo api: CoreoAPI query(graphql): Promise records.get(id): Promise records.verify(id) project(id): CoreoProject
CoreoAPI get, post, request, etc... query(graphql): Promise
CoreoRecords get(id) update(id, data) verify(id) children(id)
CoreoRecord constructor(api, records, data)
lat, lng, data, etc...
delete()
update(data): Promise<CoreoRecord>
verify()
CoreoProject constructor(api, id)
id, name, slug, etc... (get() function to populate these?)
records.get(): Promise<CoreoRecord[]>
records.create(data): Promise<CoreoRecord>
CoreoUser id, name, email, etc...