Body, Mind & Soul — API Reference
    Preparing search index...

    Variable TRIGGER_CONSUMER_REGISTRYConst

    TRIGGER_CONSUMER_REGISTRY: {
        action: {
            excludeConditions: Set<string>;
            excludeHooks: Set<string>;
            excludeOutcomes: Set<string>;
            hookMode: string;
        };
        cancel: {
            excludeConditions: Set<string>;
            excludeHooks: Set<any>;
            excludeOutcomes: Set<string>;
            hookMode: string;
        };
        card: {
            excludeConditions: Set<string>;
            excludeHooks: Set<string>;
            excludeOutcomes: Set<string>;
            hookMode: string;
        };
        channel: {
            excludeConditions: Set<any>;
            excludeHooks: Set<any>;
            excludeOutcomes: Set<any>;
            hookMode: string;
        };
        effect: {
            excludeConditions: Set<string>;
            excludeHooks: Set<any>;
            excludeOutcomes: Set<string>;
            hookMode: string;
        };
        feature: {
            excludeConditions: Set<string>;
            excludeHooks: Set<string>;
            excludeOutcomes: Set<string>;
            hookMode: string;
        };
        hold: {
            excludeConditions: Set<any>;
            excludeHooks: Set<any>;
            excludeOutcomes: Set<any>;
            hookMode: string;
        };
        item: {
            excludeConditions: Set<string>;
            excludeHooks: Set<string>;
            excludeOutcomes: Set<string>;
            hookMode: string;
        };
        keyword: {
            excludeConditions: Set<string>;
            excludeHooks: Set<any>;
            excludeOutcomes: Set<string>;
            hookMode: string;
        };
        reactive: {
            excludeConditions: Set<string>;
            excludeHooks: Set<any>;
            excludeOutcomes: Set<string>;
            hookMode: string;
        };
        stackableEffect: {
            excludeConditions: Set<string>;
            excludeHooks: Set<any>;
            excludeOutcomes: Set<string>;
            hookMode: string;
        };
        stage: {
            excludeConditions: Set<string>;
            excludeHooks: Set<any>;
            excludeOutcomes: Set<string>;
            hookMode: string;
        };
    } = ...

    Registry of per-document-type trigger filtering rules.

    hookMode: "hook" — triggers fire on a named hook (features, effects, items, cards) "iterator" — triggers fire per-swing-target (actions, reactive, cancel, keyword) "hookAndIterator"— both (channel, hold — TBD)

    excludeHooks: Set of hook keys to hide from the hook selector. excludeConditions: Set of condition keys to hide. excludeOutcomes: Set of outcome keys to hide.

    Type Declaration

    • action: {
          excludeConditions: Set<string>;
          excludeHooks: Set<string>;
          excludeOutcomes: Set<string>;
          hookMode: string;
      }
    • cancel: {
          excludeConditions: Set<string>;
          excludeHooks: Set<any>;
          excludeOutcomes: Set<string>;
          hookMode: string;
      }
    • card: {
          excludeConditions: Set<string>;
          excludeHooks: Set<string>;
          excludeOutcomes: Set<string>;
          hookMode: string;
      }
    • channel: {
          excludeConditions: Set<any>;
          excludeHooks: Set<any>;
          excludeOutcomes: Set<any>;
          hookMode: string;
      }
    • effect: {
          excludeConditions: Set<string>;
          excludeHooks: Set<any>;
          excludeOutcomes: Set<string>;
          hookMode: string;
      }
    • feature: {
          excludeConditions: Set<string>;
          excludeHooks: Set<string>;
          excludeOutcomes: Set<string>;
          hookMode: string;
      }
    • hold: {
          excludeConditions: Set<any>;
          excludeHooks: Set<any>;
          excludeOutcomes: Set<any>;
          hookMode: string;
      }
    • item: {
          excludeConditions: Set<string>;
          excludeHooks: Set<string>;
          excludeOutcomes: Set<string>;
          hookMode: string;
      }
    • keyword: {
          excludeConditions: Set<string>;
          excludeHooks: Set<any>;
          excludeOutcomes: Set<string>;
          hookMode: string;
      }
    • reactive: {
          excludeConditions: Set<string>;
          excludeHooks: Set<any>;
          excludeOutcomes: Set<string>;
          hookMode: string;
      }
    • stackableEffect: {
          excludeConditions: Set<string>;
          excludeHooks: Set<any>;
          excludeOutcomes: Set<string>;
          hookMode: string;
      }
    • stage: {
          excludeConditions: Set<string>;
          excludeHooks: Set<any>;
          excludeOutcomes: Set<string>;
          hookMode: string;
      }