"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.labelDropReviewAdapter = void 0;
const LabelDropReviewPM_1 = require("../PM/LabelDropReviewPM");
exports.labelDropReviewAdapter = {
    defaultVM: [],
    subscribe: (appObjects, setVM) => {
        const pm = LabelDropReviewPM_1.LabelDropReviewPM.get(appObjects);
        if (!pm) {
            appObjects.submitError("labelDropReviewAdapter", "Unable to find LabelDropReviewPM");
            return;
        }
        pm.addView(setVM);
    },
    unsubscribe: (appObjects, setVM) => {
        LabelDropReviewPM_1.LabelDropReviewPM.get(appObjects)?.removeView(setVM);
    },
};
//# sourceMappingURL=labelDropReviewAdapter.js.map