Documentation
Preparing search index...
@rivetkit/engine-api-full
core
serialization
withParsedProperties
Function withParsedProperties
withParsedProperties
<
RawObjectShape
,
ParsedObjectShape
,
Properties
>
(
objectLike
:
BaseSchema
<
RawObjectShape
,
ParsedObjectShape
>
,
properties
:
{
[
K
in
string
|
number
|
symbol
]
:
|
Properties
[
K
]
|
(
(
parsed
:
ParsedObjectShape
)
=>
Properties
[
K
]
)
}
,
)
:
ObjectLikeSchema
<
RawObjectShape
,
ParsedObjectShape
&
Properties
>
object-like utils are defined in one file to resolve issues with circular imports
Type Parameters
RawObjectShape
ParsedObjectShape
Properties
Parameters
objectLike
:
BaseSchema
<
RawObjectShape
,
ParsedObjectShape
>
properties
:
{
[
K
in
string
|
number
|
symbol
]
:
|
Properties
[
K
]
|
(
(
parsed
:
ParsedObjectShape
)
=>
Properties
[
K
]
)
}
Returns
ObjectLikeSchema
<
RawObjectShape
,
ParsedObjectShape
&
Properties
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation
Loading...
object-like utils are defined in one file to resolve issues with circular imports