SeededScoreIncrement
This is the body for a respective scores increment, This will enable us to know what material we want to increment, all of which are optional, if it is defined we will attempt to increment the material.
Properties
Name | Type |
---|---|
schema | EmbeddedModelSchema |
asset | SeededScore |
assets | SeededScore |
website | SeededScore |
websites | SeededScore |
anchor | SeededScore |
anchors | SeededScore |
anchorPoint | SeededScore |
anchorPoints | SeededScore |
annotation | SeededScore |
annotations | SeededScore |
conversation | SeededScore |
conversations | SeededScore |
conversationMessage | SeededScore |
conversationMessages | SeededScore |
share | SeededScore |
shares | SeededScore |
sensitive | SeededScore |
sensitives | SeededScore |
hint | SeededScore |
hints | SeededScore |
person | SeededScore |
persons | SeededScore |
tag | SeededScore |
tags | SeededScore |
workstreamSummary | SeededScore |
workstreamSummaries | SeededScore |
workstreamEvents | SeededScore |
workstreamEvent | SeededScore |
ranges | SeededScore |
range | SeededScore |
Example
import { SeededScoreIncrement } from '@pieces.app/pieces-os-client'
// TODO: Update the object below with actual values
const example: SeededScoreIncrement = {
"schema": null,
"asset": null,
"assets": null,
"website": null,
"websites": null,
"anchor": null,
"anchors": null,
"anchorPoint": null,
"anchorPoints": null,
"annotation": null,
"annotations": null,
"conversation": null,
"conversations": null,
"conversationMessage": null,
"conversationMessages": null,
"share": null,
"shares": null,
"sensitive": null,
"sensitives": null,
"hint": null,
"hints": null,
"person": null,
"persons": null,
"tag": null,
"tags": null,
"workstreamSummary": null,
"workstreamSummaries": null,
"workstreamEvents": null,
"workstreamEvent": null,
"ranges": null,
"range": 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 SeededScoreIncrement
console.log(exampleParsed)