SeededWorkstreamSummary
This is a seeded version of a WorkstreamSummary
Properties
| Name | Type |
|---|---|
| schema | EmbeddedModelSchema |
| events | FlattenedWorkstreamEvents |
| name | string |
| annotations | Array<SeededAnnotation> |
| ranges | FlattenedRanges |
| model | Model |
| websites | FlattenedWebsites |
| anchors | FlattenedAnchors |
| assets | FlattenedAssets |
| conversations | FlattenedConversations |
| persons | FlattenedPersons |
| applications | Applications |
Example
import { SeededWorkstreamSummary } from '@pieces.app/pieces-os-client'
// TODO: Update the object below with actual values
const example: SeededWorkstreamSummary = {
"schema": null,
"events": null,
"name": null,
"annotations": null,
"ranges": null,
"model": null,
"websites": null,
"anchors": null,
"assets": null,
"conversations": null,
"persons": null,
"applications": null,
}
console.log(example)
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as SeededWorkstreamSummary
console.log(exampleParsed)