Skip to main content

core.resourcevisitor

Home > @medplum/core > ResourceVisitor

ResourceVisitor interface

Signature:

export interface ResourceVisitor 

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

(Optional)