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
@@ -1,3 +1,4 @@
//@ts-nocheck
import { _MERGE } from '@shell/plugins/dashboard-store/actions';
import PollerSequential from '@shell/utils/poller-sequential';
@@ -22,7 +23,7 @@ export const actions = {
console.warn('Epinio: Polling started for: ', type);// eslint-disable-line no-console
polling[type] = new PollerSequential(
async() => {
async () => {
console.debug('Epinio: Polling: ', type); // eslint-disable-line no-console
// NOTE - In order for lists to automatically update resources opt to MERGE data in place instead of replace
// (in rancher land these are all handled individually, here we have bulk changes)