mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-05 05:36:05 +08:00
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:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user