IGetInsightOptions
Configuration options for getting a single insight.
export interface IGetInsightOptions
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (ALPHA) (Optional) Ask the backend to return the parameters that the insight references. | ||
boolean | (Optional) Ask the backend to return the insight’s object-level permissions. | ||
boolean | (Optional) Specify if information about the users that created/modified the insight should be loaded. |
Property details
IGetInsightOptions.loadParameterspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Ask the backend to return the parameters that the insight references.
loadParameters?: boolean;
Remarks
Defaults to false. Without them, insightValidParameters cannot validate the stored parameter values against their definitions and returns all of them.
IGetInsightOptions.loadPermissionsproperty
Ask the backend to return the insight’s object-level permissions.
loadPermissions?: boolean;
Remarks
Defaults to false.
IGetInsightOptions.loadUserDataproperty
Specify if information about the users that created/modified the insight should be loaded.
loadUserData?: boolean;
Remarks
Defaults to false.
If user is inactive or logged in user has not rights to access this information than users that created/modified is undefined.