Libraries v5.0.0
← Back to Website
All Versions
Preparing search index...
@cleverbrush/orm
VariantReadSchema
Type Alias VariantReadSchema<S, K>
VariantReadSchema
:
ObjectSchemaBuilder
<
Omit
<
SchemaProps
<
ObjectReadSchema
<
S
,
keyof
ReadRelations
<
S
>
>
>
,
keyof
SchemaProps
<
VariantBody
<
S
,
K
>
>
|
Discriminator
<
S
>
,
>
&
OrphanProps
<
Omit
<
SchemaProps
<
ObjectReadSchema
<
VariantBody
<
S
,
K
>
,
keyof
ReadRelations
<
VariantBody
<
S
,
K
>
>
,
>
,
>
,
VariantKey
<
S
,
K
>
|
Discriminator
<
S
>
,
>
,
VariantMap
<
S
>
[
K
]
,
>
&
{
-
readonly
[
P
in
keyof
Pick
<
SchemaProps
<
S
>
,
Extract
<
Discriminator
<
S
>
,
keyof
SchemaProps
<
S
>
>
,
>
]
-?:
SchemaBuilder
<
K
>
}
&
Record
<
Exclude
<
Discriminator
<
S
>
,
keyof
SchemaProps
<
S
>
>
,
SchemaBuilder
<
K
>
,
>
,
>
Runtime object schema for one polymorphic discriminator branch.
Type Parameters
S
extends
ReadObject
K
extends
keyof
VariantMap
<
S
>
&
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
← Back to Website
All Versions
Libraries v5.0.0
Loading...
Runtime object schema for one polymorphic discriminator branch.