Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@schirkan/reactron-interfaces

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schirkan/reactron-interfaces - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

src/IReactronComponentContext.ts

2

package.json
{
"name": "@schirkan/reactron-interfaces",
"version": "0.0.7",
"version": "0.0.8",
"description": "interfaces for reactron modules",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,16 +0,6 @@

import { SizeProp } from '@fortawesome/fontawesome-svg-core';
import { IPubSub } from './IPubSub';
import { IWebComponentOptions } from './IWebComponentOptions';
import * as Electron from 'electron';
import { IModuleContext } from './IModuleContext';
import { IReactronComponentContext } from './IReactronComponentContext';
export interface IReactronComponentProps<TOptions = any> extends IModuleContext {
readonly componentName: string;
readonly moduleApiPath: string;
readonly options: TOptions;
readonly electron: Electron.AllElectron;
readonly topics: IPubSub;
renderComponent: (props: Partial<IWebComponentOptions>) => any;
renderLoading: (text?: string, iconSize?: SizeProp) => any;
export interface IReactronComponentProps<TOptions = any> {
readonly options: TOptions;
readonly context: IReactronComponentContext;
}
import { IReactronServiceContext } from "./IReactronServiceContext";
export interface IReactronService<TOptions = any> {
new(): IReactronService<TOptions>;
start(context: IReactronServiceContext): Promise<void>;

@@ -6,0 +5,0 @@ stop?(): Promise<void>;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc