Skip to main content

Interface: ResourceVisitor

Properties

onEnterObject

Optional onEnterObject: (path: string, value: TypedValue, schema: InternalTypeSchema) => void

Type declaration

▸ (path, value, schema): void

Parameters
NameType
pathstring
valueTypedValue
schemaInternalTypeSchema
Returns

void

Defined in

packages/core/src/typeschema/crawler.ts:8


onExitObject

Optional onExitObject: (path: string, value: TypedValue, schema: InternalTypeSchema) => void

Type declaration

▸ (path, value, schema): void

Parameters
NameType
pathstring
valueTypedValue
schemaInternalTypeSchema
Returns

void

Defined in

packages/core/src/typeschema/crawler.ts:9


onEnterResource

Optional onEnterResource: (path: string, value: TypedValue, schema: InternalTypeSchema) => void

Type declaration

▸ (path, value, schema): void

Parameters
NameType
pathstring
valueTypedValue
schemaInternalTypeSchema
Returns

void

Defined in

packages/core/src/typeschema/crawler.ts:10


onExitResource

Optional onExitResource: (path: string, value: TypedValue, schema: InternalTypeSchema) => void

Type declaration

▸ (path, value, schema): void

Parameters
NameType
pathstring
valueTypedValue
schemaInternalTypeSchema
Returns

void

Defined in

packages/core/src/typeschema/crawler.ts:11


visitProperty

Optional visitProperty: (parent: TypedValue, key: string, path: string, propertyValues: (undefined | TypedValue | TypedValue[])[], schema: InternalTypeSchema) => void

Type declaration

▸ (parent, key, path, propertyValues, schema): void

Parameters
NameType
parentTypedValue
keystring
pathstring
propertyValues(undefined | TypedValue | TypedValue[])[]
schemaInternalTypeSchema
Returns

void

Defined in

packages/core/src/typeschema/crawler.ts:12