Putting in some temporary workarounds regarding the typesystem

Without these changes we can't build the app using `yarn build-pkg harvester` because it complains about missing modules in @rancher/shell imports. I believe this will be resolved by https://github.com/rancher/dashboard/issues/11797#issue-2502509655 and we should remove this change once that occurs.
This commit is contained in:
Cody Jackson
2024-10-23 17:00:57 +02:00
committed by Francesco Torchia
parent d761b88ba0
commit 2d2615128c
9 changed files with 48 additions and 39 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
//@ts-nocheck
import { CoreStoreSpecifics, CoreStoreConfig } from '@shell/core/types';
import { SteveFactory, steveStoreInit } from '@shell/plugins/steve/index';
@@ -27,12 +28,12 @@ const harvesterFactory = (): CoreStoreSpecifics => {
return steveFactory;
};
const config: CoreStoreConfig = {
namespace: PRODUCT_NAME,
namespace: PRODUCT_NAME,
isClusterStore: true
};
export default {
specifics: harvesterFactory(),
config,
init: steveStoreInit
init: steveStoreInit
};