diff --git a/src/common/application-update/application-update-status-channel.injectable.ts b/src/common/application-update/application-update-status-channel.injectable.ts index 552b6ec6fe..1f68ab12ae 100644 --- a/src/common/application-update/application-update-status-channel.injectable.ts +++ b/src/common/application-update/application-update-status-channel.injectable.ts @@ -13,7 +13,7 @@ export type ApplicationUpdateStatusEventId = | "download-for-update-failed"; export interface ApplicationUpdateStatusChannelMessage { eventId: ApplicationUpdateStatusEventId; version?: string } -export type ApplicationUpdateStatusChannel = Channel; +export type ApplicationUpdateStatusChannel = Channel; const applicationUpdateStatusChannelInjectable = getInjectable({ id: "application-update-status-channel", diff --git a/src/common/ask-boolean/ask-boolean-answer-channel.injectable.ts b/src/common/ask-boolean/ask-boolean-answer-channel.injectable.ts index dfe2a7d2a2..abdaa31a53 100644 --- a/src/common/ask-boolean/ask-boolean-answer-channel.injectable.ts +++ b/src/common/ask-boolean/ask-boolean-answer-channel.injectable.ts @@ -6,7 +6,7 @@ import { getInjectable } from "@ogre-tools/injectable"; import type { Channel } from "../channel/channel-injection-token"; import { channelInjectionToken } from "../channel/channel-injection-token"; -type AskBooleanAnswerChannel = Channel<{ id: string; value: boolean }, never>; +type AskBooleanAnswerChannel = Channel<{ id: string; value: boolean }>; const askBooleanAnswerChannelInjectable = getInjectable({ id: "ask-boolean-answer-channel", diff --git a/src/common/ask-boolean/ask-boolean-question-channel.injectable.ts b/src/common/ask-boolean/ask-boolean-question-channel.injectable.ts index 63e9cdfb39..10cdf4511e 100644 --- a/src/common/ask-boolean/ask-boolean-question-channel.injectable.ts +++ b/src/common/ask-boolean/ask-boolean-question-channel.injectable.ts @@ -7,7 +7,7 @@ import type { Channel } from "../channel/channel-injection-token"; import { channelInjectionToken } from "../channel/channel-injection-token"; export interface AskBooleanQuestionParameters { id: string; title: string; question: string } -export type AskBooleanQuestionChannel = Channel; +export type AskBooleanQuestionChannel = Channel; const askBooleanQuestionChannelInjectable = getInjectable({ id: "ask-boolean-question-channel", diff --git a/src/common/channel/channel-injection-token.ts b/src/common/channel/channel-injection-token.ts index 5d5da231c9..be62efef4f 100644 --- a/src/common/channel/channel-injection-token.ts +++ b/src/common/channel/channel-injection-token.ts @@ -5,7 +5,7 @@ import { getInjectionToken } from "@ogre-tools/injectable"; -export interface Channel { +export interface Channel { id: string; _messageTemplate?: MessageTemplate; _returnTemplate?: ReturnTemplate; diff --git a/src/common/channel/channel.test.ts b/src/common/channel/channel.test.ts index 102567dbb9..b64eb4349a 100644 --- a/src/common/channel/channel.test.ts +++ b/src/common/channel/channel.test.ts @@ -14,7 +14,7 @@ import createLensWindowInjectable from "../../main/start-main-application/lens-w import type { Channel } from "./channel-injection-token"; import closeAllWindowsInjectable from "../../main/start-main-application/lens-window/hide-all-windows/close-all-windows.injectable"; -type TestChannel = Channel; +type TestChannel = Channel; describe("channel", () => { describe("messaging from main to renderer, given listener for channel in a window and application has started", () => { diff --git a/src/common/front-end-routing/app-navigation-channel.injectable.ts b/src/common/front-end-routing/app-navigation-channel.injectable.ts index 95bf8db771..7a0d9436cd 100644 --- a/src/common/front-end-routing/app-navigation-channel.injectable.ts +++ b/src/common/front-end-routing/app-navigation-channel.injectable.ts @@ -7,7 +7,7 @@ import type { Channel } from "../channel/channel-injection-token"; import { channelInjectionToken } from "../channel/channel-injection-token"; import { IpcRendererNavigationEvents } from "../../renderer/navigation/events"; -export type AppNavigationChannel = Channel; +export type AppNavigationChannel = Channel; const appNavigationChannelInjectable = getInjectable({ id: "app-navigation-channel", diff --git a/src/common/front-end-routing/cluster-frame-navigation-channel.injectable.ts b/src/common/front-end-routing/cluster-frame-navigation-channel.injectable.ts index cc8704d65e..fa72cf2372 100644 --- a/src/common/front-end-routing/cluster-frame-navigation-channel.injectable.ts +++ b/src/common/front-end-routing/cluster-frame-navigation-channel.injectable.ts @@ -7,7 +7,7 @@ import type { Channel } from "../channel/channel-injection-token"; import { channelInjectionToken } from "../channel/channel-injection-token"; import { IpcRendererNavigationEvents } from "../../renderer/navigation/events"; -export type ClusterFrameNavigationChannel = Channel; +export type ClusterFrameNavigationChannel = Channel; const clusterFrameNavigationChannelInjectable = getInjectable({ id: "cluster-frame-navigation-channel", diff --git a/src/common/root-frame-rendered-channel/root-frame-rendered-channel.injectable.ts b/src/common/root-frame-rendered-channel/root-frame-rendered-channel.injectable.ts index 189c582ca0..dc7471ed23 100644 --- a/src/common/root-frame-rendered-channel/root-frame-rendered-channel.injectable.ts +++ b/src/common/root-frame-rendered-channel/root-frame-rendered-channel.injectable.ts @@ -6,7 +6,7 @@ import { getInjectable } from "@ogre-tools/injectable"; import type { Channel } from "../channel/channel-injection-token"; import { channelInjectionToken } from "../channel/channel-injection-token"; -export type RootFrameRenderedChannel = Channel; +export type RootFrameRenderedChannel = Channel; const rootFrameRenderedChannelInjectable = getInjectable({ id: "root-frame-rendered-channel", diff --git a/src/common/sync-box/sync-box-channel.injectable.ts b/src/common/sync-box/sync-box-channel.injectable.ts index 15a090d002..7b9262f607 100644 --- a/src/common/sync-box/sync-box-channel.injectable.ts +++ b/src/common/sync-box/sync-box-channel.injectable.ts @@ -6,7 +6,7 @@ import { getInjectable } from "@ogre-tools/injectable"; import type { Channel } from "../channel/channel-injection-token"; import { channelInjectionToken } from "../channel/channel-injection-token"; -export type SyncBoxChannel = Channel<{ id: string; value: unknown }, never>; +export type SyncBoxChannel = Channel<{ id: string; value: unknown }>; const syncBoxChannelInjectable = getInjectable({ id: "sync-box-channel",