import { LabelDropReviewPM, } from "../PM/LabelDropReviewPM";
export const labelDropReviewAdapter = {
    defaultVM: [],
    subscribe: (appObjects, setVM) => {
        const pm = LabelDropReviewPM.get(appObjects);
        if (!pm) {
            appObjects.submitError("labelDropReviewAdapter", "Unable to find LabelDropReviewPM");
            return;
        }
        pm.addView(setVM);
    },
    unsubscribe: (appObjects, setVM) => {
        LabelDropReviewPM.get(appObjects)?.removeView(setVM);
    },
};
//# sourceMappingURL=labelDropReviewAdapter.js.map