Preparing search index...
The search index is not available
@umbraco-cms/backoffice
@umbraco-cms/backoffice
packages/core/content
UmbContentValidationRepository
Interface UmbContentValidationRepository<DetailModelType>
interface
UmbContentValidationRepository
<
DetailModelType
extends
UmbContentDetailModel
,
>
{
validateCreate
(
model
:
DetailModelType
,
parentUnique
:
null
|
string
,
)
:
Promise
<
UmbRepositoryResponse
<
string
>
>
;
validateSave
(
model
:
DetailModelType
,
variantIds
:
UmbVariantId
[]
,
)
:
Promise
<
UmbRepositoryResponse
<
string
>
>
;
}
Type Parameters
DetailModelType
extends
UmbContentDetailModel
Implemented by
UmbMemberValidationRepository
Index
Methods
validate
Create
validate
Save
Methods
validate
Create
validateCreate
(
model
:
DetailModelType
,
parentUnique
:
null
|
string
,
)
:
Promise
<
UmbRepositoryResponse
<
string
>
>
Parameters
model
:
DetailModelType
parentUnique
:
null
|
string
Returns
Promise
<
UmbRepositoryResponse
<
string
>
>
validate
Save
validateSave
(
model
:
DetailModelType
,
variantIds
:
UmbVariantId
[]
,
)
:
Promise
<
UmbRepositoryResponse
<
string
>
>
Parameters
model
:
DetailModelType
variantIds
:
UmbVariantId
[]
Returns
Promise
<
UmbRepositoryResponse
<
string
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
validate
Create
validate
Save
@umbraco-cms/backoffice
Loading...