Libraries v5.0.0
← Back to Website
All Versions
Preparing search index...
@cleverbrush/knex-schema
EntityReadSchema
Type Alias EntityReadSchema<S, Relations, Variants>
EntityReadSchema
:
{
"[READ_ENTITY]"
:
{
polymorphic
:
Variants
;
relations
:
Relations
}
;
notNullable
()
:
EntityReadSchema
<
ReturnType
<
S
[
"notNullable"
]
>
,
Relations
,
Variants
,
>
;
nullable
()
:
EntityReadSchema
<
ReturnType
<
S
[
"nullable"
]
>
,
Relations
,
Variants
,
>
;
optional
()
:
EntityReadSchema
<
ReturnType
<
S
[
"optional"
]
>
,
Relations
,
Variants
,
>
;
required
()
:
EntityReadSchema
<
ReturnType
<
S
[
"required"
]
>
,
Relations
,
Variants
,
>
;
}
&
S
Attach entity graph information to schema extension types without changing validation.
Type Parameters
S
extends
ReadObject
Relations
Variants
=
{}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
← Back to Website
All Versions
Libraries v5.0.0
Loading...
Attach entity graph information to schema extension types without changing validation.