Interface: ResourceVisitor
Properties
onEnterObject
• Optional
onEnterObject: (path
: string
, value
: TypedValue
, schema
: InternalTypeSchema
) => void
Type declaration
▸ (path
, value
, schema
): void
Parameters
Name | Type |
---|---|
path | string |
value | TypedValue |
schema | InternalTypeSchema |
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
Name | Type |
---|---|
path | string |
value | TypedValue |
schema | InternalTypeSchema |
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
Name | Type |
---|---|
path | string |
value | TypedValue |
schema | InternalTypeSchema |
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
Name | Type |
---|---|
path | string |
value | TypedValue |
schema | InternalTypeSchema |
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
Name | Type |
---|---|
parent | TypedValue |
key | string |
path | string |
propertyValues | (undefined | TypedValue | TypedValue [])[] |
schema | InternalTypeSchema |
Returns
void
Defined in
packages/core/src/typeschema/crawler.ts:12