@schirkan/reactron-interfaces
Advanced tools
Comparing version 1.0.2 to 1.0.3
import { ISystemSettings } from './ISystemSettings'; | ||
import { ElectronStore } from './ElectronStore'; | ||
import { IReactronServices } from './IReactronServices'; | ||
import { IPubSub } from './IPubSub'; | ||
export interface IModuleContext { | ||
readonly topics: IPubSub; | ||
readonly moduleStorage: ElectronStore; | ||
@@ -6,0 +8,0 @@ readonly moduleName: string; |
/// <reference types="react" /> | ||
import { SizeProp } from '@fortawesome/fontawesome-svg-core'; | ||
import { IPubSub } from './IPubSub'; | ||
import { IWebComponentOptions } from './IWebComponentOptions'; | ||
@@ -16,8 +15,7 @@ import { IModuleContext } from './IModuleContext'; | ||
readonly moduleApiPath: string; | ||
readonly log: ILogWriter; | ||
readonly electron: electron.AllElectron; | ||
readonly topics: IPubSub; | ||
readonly componentLoader: IComponentLoader; | ||
readonly log: ILogWriter; | ||
renderComponent: (props: Partial<IWebComponentOptions> & IExtraWebComponentProps) => any; | ||
renderLoading: (text?: string, iconSize?: SizeProp) => any; | ||
} |
@@ -5,4 +5,5 @@ import { IModuleContext } from './IModuleContext'; | ||
export interface IReactronServiceContext extends IModuleContext { | ||
readonly serviceName: string; | ||
readonly moduleApiRouter: Router; | ||
readonly log: ILogWriter; | ||
} |
{ | ||
"name": "@schirkan/reactron-interfaces", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "interfaces for reactron modules", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
import { ISystemSettings } from './ISystemSettings'; | ||
import { ElectronStore } from './ElectronStore'; | ||
import { IReactronServices } from './IReactronServices'; | ||
import { IPubSub } from './IPubSub'; | ||
export interface IModuleContext { | ||
readonly topics: IPubSub; | ||
readonly moduleStorage: ElectronStore; | ||
@@ -7,0 +9,0 @@ readonly moduleName: string; |
import { SizeProp } from '@fortawesome/fontawesome-svg-core'; | ||
import { IPubSub } from './IPubSub'; | ||
import { IWebComponentOptions } from './IWebComponentOptions'; | ||
@@ -17,6 +16,5 @@ import { IModuleContext } from './IModuleContext'; | ||
readonly moduleApiPath: string; | ||
readonly log: ILogWriter; | ||
readonly electron: electron.AllElectron; | ||
readonly topics: IPubSub; | ||
readonly componentLoader: IComponentLoader; | ||
readonly log: ILogWriter; | ||
@@ -23,0 +21,0 @@ renderComponent: (props: Partial<IWebComponentOptions> & IExtraWebComponentProps) => any; |
@@ -6,4 +6,5 @@ import { IModuleContext } from './IModuleContext'; | ||
export interface IReactronServiceContext extends IModuleContext { | ||
readonly serviceName: string; | ||
readonly moduleApiRouter: Router; | ||
readonly log: ILogWriter; | ||
} |
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
102794
2438