validateReportPageBody()
Home > @gooddata/sdk-model > validateReportPageBody
validateReportPageBody() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Validates the structural invariants of a page body the type system cannot express: slot localIdentifiers are unique, layout weights are positive, every slot is placed by the layout, and every layout slotId resolves (unresolved ones are warnings — they render as empty areas).
Signature:
export declare function validateReportPageBody(body: IReportPageBody): IReportPageBodyValidationIssue[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
body |
Returns: