Reference·JavaScript · @bimworks/jssdkJavaScript

QueryValidationMessage

Interface in @bimworks/jssdk.

API catalogue · @bimworks/jssdk · Interface

TypeScript#
interface QueryValidationMessage

One 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?: string

The check that found it (unknownIfcClass, invalidRegex, ...) or FEATURE_NOT_VISIBLE; absent for a check without a code.

column#

TypeScript#
column?: number

1-based; absent when unknown.

line#

TypeScript#
line?: number

1-based; absent when unknown.

message#

TypeScript#
message: string

line L:C: ..., as the editor and the chat show it.

severity#

TypeScript#
severity: "ERROR" | "WARNING"

ERROR or WARNING.