AnchorPoint
Properties
Name | Type |
---|---|
schema | EmbeddedModelSchema |
id | string |
verified | boolean |
fullpath | string |
created | GroupedTimestamp |
updated | GroupedTimestamp |
deleted | GroupedTimestamp |
platform | PlatformEnum |
anchor | ReferencedAnchor |
score | Score |
Example
import { AnchorPoint } from '@pieces.app/pieces-os-client'
// TODO: Update the object below with actual values
const example: AnchorPoint = {
"schema": null,
"id": null,
"verified": null,
"fullpath": null,
"created": null,
"updated": null,
"deleted": null,
"platform": null,
"anchor": null,
"score": 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 AnchorPoint
console.log(exampleParsed)