Esposter
Preparing search index...
@esposter/db-schema
createAzureMetadataEntitySchema
Function createAzureMetadataEntitySchema
createAzureMetadataEntitySchema
<
TEntity
extends
CompositeKeyEntityConstraint
,
T
extends
ZodType
<
string
,
unknown
,
$ZodTypeInternals
<
string
,
unknown
>
>
,
>
(
schema
:
ZodObject
<
TEntity
>
,
typeSchema
:
T
,
)
:
ZodObject
<
{
-
readonly
[
P
in
string
|
number
|
symbol
]
:
(
{
-
readonly
[
P
in
string
|
number
|
symbol
]
:
(
TEntity
&
{
createdAt
:
ZodDate
;
deletedAt
:
ZodNullable
<
ZodDate
>
;
updatedAt
:
ZodDate
;
}
)
[
P
]
}
&
{
type
:
T
}
)
[
P
]
}
,
$strip
,
>
Type Parameters
TEntity
extends
CompositeKeyEntityConstraint
T
extends
ZodType
<
string
,
unknown
,
$ZodTypeInternals
<
string
,
unknown
>
>
Parameters
schema
:
ZodObject
<
TEntity
>
typeSchema
:
T
Returns
ZodObject
<
{
-
readonly
[
P
in
string
|
number
|
symbol
]
:
(
{
-
readonly
[
P
in
string
|
number
|
symbol
]
:
(
TEntity
&
{
createdAt
:
ZodDate
;
deletedAt
:
ZodNullable
<
ZodDate
>
;
updatedAt
:
ZodDate
;
}
)
[
P
]
}
&
{
type
:
T
}
)
[
P
]
}
,
$strip
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Esposter
Loading...