validateDeclarativePublisherEntityV2()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Validates a stored v2 document, document template or page template, named by the bare id the declarative API stores. It runs the sdk-model validator, and an issue on the reference is reported on id.
export declare function validateDeclarativePublisherEntityV2(entity: unknown): IPublisherValidationIssueV2[];
Parameters
Parameter | Type | Description |
|---|---|---|
entity | unknown |
Returns