QueryValidationMessage
Interface in @bimworks/jssdk.
API catalogue · @bimworks/jssdk · Interface
TypeScript#
interface QueryValidationMessageOne finding of Bim.validateQuery: what the editor marks in a query that parses.
Members#
| Member | Kind | Description |
|---|---|---|
| code | Property | The check that found it (unknownIfcClass, invalidRegex, ...) or FEATURE_NOT_VISIBLE; absent for a check without a code. |
| column | Property | 1-based; absent when unknown. |
| line | Property | 1-based; absent when unknown. |
| message | Property | line L:C: ..., as the editor and the chat show it. |
| severity | Property | ERROR or WARNING. |
code#
TypeScript#
code?: stringThe check that found it (unknownIfcClass, invalidRegex, ...) or FEATURE_NOT_VISIBLE; absent for a check without a code.
column#
TypeScript#
column?: number1-based; absent when unknown.
line#
TypeScript#
line?: number1-based; absent when unknown.
message#
TypeScript#
message: stringline L:C: ..., as the editor and the chat show it.
severity#
TypeScript#
severity: "ERROR" | "WARNING"ERROR or WARNING.