Skip to main content

core.resourcevisitor

Home > @medplum/core > ResourceVisitor

ResourceVisitor interface

Signature:

export interface ResourceVisitor 

Properties

PropertyModifiersTypeDescription
onEnterObject?(path: string, value: TypedValue, schema: InternalTypeSchema) => void(Optional)
onEnterResource?(path: string, value: TypedValue, schema: InternalTypeSchema) => void(Optional)
onExitObject?(path: string, value: TypedValue, schema: InternalTypeSchema) => void(Optional)
onExitResource?(path: string, value: TypedValue, schema: InternalTypeSchema) => void(Optional)
visitProperty?(parent: TypedValue, key: string, path: string, propertyValues: (TypedValue | TypedValue[] | undefined)[], schema: InternalTypeSchema) => void(Optional)