harvester-ui-extension/pkg/harvester/model-loader-require.lib.js
Francesco Torchia f8408469f7
Add Dashboard page
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
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 }`);
}