'use strict';
import { getInternalResourceMeta } from '../server/resources/internal-resource-meta.js';
import { resourceDescriptionTypes } from '../core/resource-description/resource-description.js';
import { wellKnownMetaProps } from '../../../fd-toolbox-core/constants/meta-constants.js';

var __defProp=Object['defineProperty'],__name=(_0x553363,_0x3d07d5)=>__defProp(_0x553363,'name',{'value':_0x3d07d5,'configurable':!![]});function descriptionProperty(_0x24d909){return _0x26615c=>{((async()=>{const _0x394317=await getInternalResourceMeta(_0x26615c['name'],![]);_0x394317?.['properties']&&(_0x394317['description']={'type':resourceDescriptionTypes['default'],'resourceDescriptionProperty':_0x24d909,'useImage':wellKnownMetaProps['imageUrl']in _0x394317['properties']});})());};}__name(descriptionProperty,'descriptionProperty');

export { descriptionProperty };
