@schirkan/reactron-interfaces
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"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>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12909
27
303