A parsed reference enriched with display name and path from the database. Uses extra=\"ignore\" (not \"forbid\") because SDK dicts may contain fields not yet modelled here. Adding \"forbid\" would cause runtime deserialization failures whenever the SDK adds a new field.
| Name | Type |
|---|---|
refType |
ReferenceType |
entityId |
string |
displayName |
string |
materializedPath |
string |
import type { ResolvedReferenceInput } from '@knowledge-stack/ksapi'
// TODO: Update the object below with actual values
const example = {
"refType": null,
"entityId": null,
"displayName": null,
"materializedPath": null,
} satisfies ResolvedReferenceInput
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 ResolvedReferenceInput
console.log(exampleParsed)[Back to top] [Back to API list] [Back to Model list] [Back to README]