oak-domain/lib/types/Trigger.js

36 lines
747 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CHECKER_PRIORITY_MAP = exports.CHECKER_MAX_PRIORITY = exports.TRIGGER_MAX_PRIORITY = exports.TRIGGER_DEFAULT_PRIORITY = exports.TRIGGER_MIN_PRIORITY = void 0;
/**
* 优先级越小越早执行。定义在199之间
*/
exports.TRIGGER_MIN_PRIORITY = 1;
exports.TRIGGER_DEFAULT_PRIORITY = 25;
exports.TRIGGER_MAX_PRIORITY = 50;
exports.CHECKER_MAX_PRIORITY = 99;
/**
* logical可能会更改row和data的值应当最先执行data和row不能修改相关的值
* 允许logicalData去改data中的值
*/
exports.CHECKER_PRIORITY_MAP = {
logicalData: 31,
logical: 33,
row: 51,
data: 61,
relation: 56
};
;
;
;
;
;
;
;
;
;
;
;
;
;
;