Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import {ApiMethod, ApiMethodNoArgument, WebViewApiService} from "electron-rpc-api";
import {LoginFieldContainer, MailPasswordFieldContainer, PasswordFieldContainer} from "_@shared/model/container";
import {AccountNotificationOutput} from "./notification-output";
export interface Endpoints {
fillLogin: ApiMethod;
login2fa: ApiMethod;
login: ApiMethod;
notification: ApiMethodNoArgument;
unlock: ApiMethod;
}
export const IPC_WEBVIEW_API = new WebViewApiService({channel: `${process.env.APP_ENV_PACKAGE_NAME}:webview-api`});