"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MetadataChangeType = exports.WatchEvent = exports.TreeNodeEvent = void 0;
var TreeNodeEvent;
(function (TreeNodeEvent) {
    TreeNodeEvent[TreeNodeEvent["WillChangeExpansionState"] = 1] = "WillChangeExpansionState";
    TreeNodeEvent[TreeNodeEvent["DidChangeExpansionState"] = 2] = "DidChangeExpansionState";
    TreeNodeEvent[TreeNodeEvent["WillChangeParent"] = 3] = "WillChangeParent";
    TreeNodeEvent[TreeNodeEvent["DidChangeParent"] = 4] = "DidChangeParent";
    TreeNodeEvent[TreeNodeEvent["DidDispose"] = 5] = "DidDispose";
    TreeNodeEvent[TreeNodeEvent["BranchDidUpdate"] = 6] = "BranchDidUpdate";
    TreeNodeEvent[TreeNodeEvent["DidChangePath"] = 7] = "DidChangePath";
    TreeNodeEvent[TreeNodeEvent["DidProcessWatchEvent"] = 8] = "DidProcessWatchEvent";
    TreeNodeEvent[TreeNodeEvent["WillProcessWatchEvent"] = 9] = "WillProcessWatchEvent";
    TreeNodeEvent[TreeNodeEvent["DidChangeMetadata"] = 10] = "DidChangeMetadata";
    TreeNodeEvent[TreeNodeEvent["DidResolveChildren"] = 11] = "DidResolveChildren";
    TreeNodeEvent[TreeNodeEvent["WillResolveChildren"] = 12] = "WillResolveChildren";
})(TreeNodeEvent || (exports.TreeNodeEvent = TreeNodeEvent = {}));
var WatchEvent;
(function (WatchEvent) {
    /**
     * 节点添加事件
     */
    WatchEvent[WatchEvent["Added"] = 1] = "Added";
    /**
     * 节点移除事件
     */
    WatchEvent[WatchEvent["Removed"] = 2] = "Removed";
    /**
     * 避免过多的调用该事件
     * 该事件会执行较大成本的节点刷新
     */
    WatchEvent[WatchEvent["Changed"] = 3] = "Changed";
    /**
     * 节点移动事件
     */
    WatchEvent[WatchEvent["Moved"] = 4] = "Moved";
})(WatchEvent || (exports.WatchEvent = WatchEvent = {}));
var MetadataChangeType;
(function (MetadataChangeType) {
    MetadataChangeType[MetadataChangeType["Added"] = 1] = "Added";
    MetadataChangeType[MetadataChangeType["Updated"] = 2] = "Updated";
    MetadataChangeType[MetadataChangeType["Removed"] = 3] = "Removed";
})(MetadataChangeType || (exports.MetadataChangeType = MetadataChangeType = {}));
//# sourceMappingURL=watcher.js.map