Skip to main content

core.crawlervisitor

Home > @medplum/core > CrawlerVisitor

CrawlerVisitor interface

Signature:

export interface CrawlerVisitor 

Properties

Property

Modifiers

Type

Description

onEnterObject?

(path: string, value: TypedValueWithPath, schema: InternalTypeSchema) => void

(Optional)

onEnterResource?

(path: string, value: TypedValueWithPath, schema: InternalTypeSchema) => void

(Optional)

onExitObject?

(path: string, value: TypedValueWithPath, schema: InternalTypeSchema) => void

(Optional)

onExitResource?

(path: string, value: TypedValueWithPath, schema: InternalTypeSchema) => void

(Optional)

visitProperty

(parent: TypedValueWithPath, key: string, path: string, propertyValues: (TypedValueWithPath | TypedValueWithPath[])[], schema: InternalTypeSchema) => void