Files
harvester-ui-extension/pkg/harvester/model-loader-require.lib.js
2024-10-23 17:00:46 +02:00

6 lines
253 B
JavaScript

// Import all shell models. We could try to be smart here and only pull in the one's that harvester uses... but there's a lot across a
// number of stores
export default function modelLoaderRequire(type) {
return require(`@shell/models/${ type }`);
}