mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
b909d93a24
commit
9c00ca224a
5 files changed
+11
-4
No files matched your search
@@ -4,5 +4,6 @@ export type { LensExtensionRuntimeEnv } from "./lens-runtime";
|
||||
// APIs
|
||||
export * from "./lens-main-extension"
|
||||
export { BaseStore } from "../common/base-store"
|
||||
export { appEventBus, AppEvent } from "../common/event-bus"
|
||||
export { appEventBus } from "../common/event-bus"
|
||||
export type { AppEvent } from "../common/event-bus"
|
||||
export { Singleton } from "../common/utils"
|
||||
@@ -6,7 +6,8 @@ export * from "./lens-extension"
|
||||
export * from "./lens-renderer-extension"
|
||||
export { DynamicPageType, PageRegistry } from "./page-registry"
|
||||
export { AppPreferenceRegistry } from "./app-preference-registry"
|
||||
export { appEventBus, AppEvent } from "../common/event-bus"
|
||||
export { appEventBus } from "../common/event-bus"
|
||||
export type { AppEvent } from "../common/event-bus"
|
||||
export { Singleton } from "../common/utils"
|
||||
|
||||
// TODO: add more common re-usable UI components + refactor interfaces (Props -> ComponentProps)
|
||||
|
||||
+3
-1
@@ -89,7 +89,9 @@ async function main() {
|
||||
extensionLoader.extensions.replace(await extensionManager.load())
|
||||
extensionLoader.broadcastExtensions()
|
||||
|
||||
appEventBus.emit({name: "app", action: "start"})
|
||||
setTimeout(() => {
|
||||
appEventBus.emit({name: "app", action: "start"})
|
||||
}, 1000)
|
||||
}
|
||||
|
||||
app.on("ready", main);
|
||||
|
||||
Reference in new issue
Block a user