Skip to main content

FlattenedSensitives

This is a flattened representation of multiple sensitive pieces of data.

Properties

NameType
schemaEmbeddedModelSchema
iterableArray<ReferencedSensitive>
scoreScore

Example

import { FlattenedSensitives } from '@pieces.app/pieces-os-client'

// TODO: Update the object below with actual values
const example: FlattenedSensitives = {
"schema": null,
"iterable": 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 FlattenedSensitives
console.log(exampleParsed)