type alias SmartRuleType

A region rule's path segment: every key of SMART_RULE_TYPES but LineDetection.

Examples

Type a region rule's path segment

import { assertEquals } from "@std/assert";
import type { SmartRuleType } from "./smart-rule-types.ts";

const type: SmartRuleType = "loitering";

assertEquals(type, "loitering");

Definition

Exclude<keyof SMART_RULE_TYPES, "LineDetection">

Usage

import { type SmartRuleType } from ".";