'use strict';
import { crudActions } from '../../../fd-toolbox/enums/enums.js';

var __defProp=Object['defineProperty'],__name=(_0x2c3e94,_0x56206c)=>__defProp(_0x2c3e94,'name',{'value':_0x56206c,'configurable':!![]});function isReadOnlyResource(_0x994f60){return _0x994f60&&_0x994f60['supportedCrudActions']['length']===0x1*-0x37f+-0x1032*0x1+-0x9d9*-0x2&&_0x994f60['supportedCrudActions']['includes'](crudActions['view']);}__name(isReadOnlyResource,'isReadOnlyResource');function isCreateOnlyResource(_0x4240a7){return _0x4240a7&&_0x4240a7['supportedCrudActions']['length']===0x5da+-0x4*0x87+0x13f*-0x3&&_0x4240a7['supportedCrudActions']['includes'](crudActions['create']);}__name(isCreateOnlyResource,'isCreateOnlyResource');

export { isCreateOnlyResource, isReadOnlyResource };
