mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Adapt merge conflicts
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
c6861b6f6e
commit
fabe910cf0
@ -0,0 +1,23 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||||
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { getInjectionToken } from "@ogre-tools/injectable";
|
||||||
|
import type { Runnable, RunnableSync } from "@k8slens/run-many";
|
||||||
|
|
||||||
|
export const beforeQuitOfFrontEndInjectionToken = getInjectionToken<RunnableSync>({
|
||||||
|
id: "before-quit-of-front-end",
|
||||||
|
});
|
||||||
|
|
||||||
|
export const beforeQuitOfBackEndInjectionToken = getInjectionToken<RunnableSync>({
|
||||||
|
id: "before-quit-of-back-end",
|
||||||
|
});
|
||||||
|
|
||||||
|
export const afterWindowIsOpenedInjectionToken = getInjectionToken<Runnable>({
|
||||||
|
id: "after-window-is-opened",
|
||||||
|
});
|
||||||
|
|
||||||
|
export const afterRootFrameIsReadyInjectionToken = getInjectionToken<Runnable>({
|
||||||
|
id: "after-root-frame-is-ready",
|
||||||
|
});
|
||||||
@ -14,7 +14,6 @@ const startReactiveTrayMenuIconInjectable = getInjectable({
|
|||||||
const reactiveTrayMenuIcon = di.inject(reactiveTrayMenuIconInjectable);
|
const reactiveTrayMenuIcon = di.inject(reactiveTrayMenuIconInjectable);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: "start-reactive-tray-menu-icon",
|
|
||||||
run: () => {
|
run: () => {
|
||||||
reactiveTrayMenuIcon.start();
|
reactiveTrayMenuIcon.start();
|
||||||
},
|
},
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
import { getGlobalOverride } from "../common/test-utils/get-global-override";
|
import { getGlobalOverride } from "@k8slens/test-utils";
|
||||||
import bootstrapInjectable from "./bootstrap.injectable";
|
import bootstrapInjectable from "./bootstrap.injectable";
|
||||||
|
|
||||||
export default getGlobalOverride(bootstrapInjectable, () => ({
|
export default getGlobalOverride(bootstrapInjectable, () => ({
|
||||||
|
|||||||
@ -17,7 +17,7 @@ const bootstrapInjectable = getInjectable({
|
|||||||
await bootstrap(di);
|
await bootstrap(di);
|
||||||
},
|
},
|
||||||
|
|
||||||
runAfter: di.inject(startFrameInjectable),
|
runAfter: startFrameInjectable,
|
||||||
}),
|
}),
|
||||||
|
|
||||||
causesSideEffects: true,
|
causesSideEffects: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user