'use strict';
import { createError } from '../../../../fd-toolbox/errors/errors.js';

var __defProp=Object['defineProperty'],__name=(_0x5b8d17,_0x3deda5)=>__defProp(_0x5b8d17,'name',{'value':_0x3deda5,'configurable':!![]});function checkSupportedCrudActions(_0x4505b0,_0x3139f8){if(!_0x4505b0['supportedCrudActions']['includes'](_0x3139f8))throw createError('Crud\x20action\x20'+_0x3139f8+'\x20is\x20not\x20supported\x20by\x20resource\x20'+_0x4505b0['resourceName']);}__name(checkSupportedCrudActions,'checkSupportedCrudActions');

export { checkSupportedCrudActions };
