const stae = require("stae")
const api = stae.createClient({ key: '' })
const writer = stae.createClient({ key: '' })
await writer.source.datum.create({
sourceId: '',
data: {
id: 'example-ticket',
type: 'litter',
notes: 'Somebody littered here!',
status: 'open',
location: {
type: 'Point',
coordinates: [
-117.17734336853027,
32.70988888713549
]
}
}
})