Home > @i2analyze/i2connect > spi > VisualQueryOperatorUsageRule
spi.VisualQueryOperatorUsageRule type
A rule that governs the property types and operators that can appear in the conditions of a query item.
Signature:
export type VisualQueryOperatorUsageRule = {
ruleType: 'DENY' | 'ALLOW';
itemTypeId?: string;
propertyTypeIds?: Array<string>;
operators?: Array<VisualQueryConditionOperator>;
aspects?: Array<VisualQueryConditionAspect>;
};
References: VisualQueryConditionOperator, VisualQueryConditionAspect