Skip to main content

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

NameType
schemaEmbeddedModelSchema
assetSeededScore
assetsSeededScore
websiteSeededScore
websitesSeededScore
anchorSeededScore
anchorsSeededScore
anchorPointSeededScore
anchorPointsSeededScore
annotationSeededScore
annotationsSeededScore
conversationSeededScore
conversationsSeededScore
conversationMessageSeededScore
conversationMessagesSeededScore
shareSeededScore
sharesSeededScore
sensitiveSeededScore
sensitivesSeededScore
hintSeededScore
hintsSeededScore
personSeededScore
personsSeededScore
tagSeededScore
tagsSeededScore
workstreamSummarySeededScore
workstreamSummariesSeededScore
workstreamEventsSeededScore
workstreamEventSeededScore
rangesSeededScore
rangeSeededScore

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)