@schirkan/reactron-interfaces
Advanced tools
Comparing version 0.10.0-alpha.2 to 0.10.0-alpha.3
@@ -11,2 +11,3 @@ import { IPubSub } from './IPubSub'; | ||
import { IServiceRepository } from './IServiceRepository'; | ||
import { ILogManager } from './ILogManager'; | ||
export interface IBackendService { | ||
@@ -21,2 +22,3 @@ readonly config: IBackendServiceConfig; | ||
readonly webPageManager: IWebPageManager; | ||
readonly logManager: ILogManager; | ||
readonly webComponentsManager: IWebComponentsManager; | ||
@@ -23,0 +25,0 @@ readonly settings: ISettingsManager; |
@@ -9,2 +9,5 @@ export * from './ElectronStore'; | ||
export * from './IInputComponentProps'; | ||
export * from './ILogEntry'; | ||
export * from './ILogManager'; | ||
export * from './ILogWriter'; | ||
export * from './IModuleContext'; | ||
@@ -11,0 +14,0 @@ export * from './IModuleRepository'; |
@@ -8,2 +8,3 @@ /// <reference types="react" /> | ||
import { IComponentLoader } from './IComponentLoader'; | ||
import { ILogWriter } from "./ILogWriter"; | ||
export interface IExtraWebComponentProps { | ||
@@ -19,4 +20,5 @@ className?: string; | ||
readonly componentLoader: IComponentLoader; | ||
readonly log: ILogWriter; | ||
renderComponent: (props: Partial<IWebComponentOptions> & IExtraWebComponentProps) => any; | ||
renderLoading: (text?: string, iconSize?: SizeProp) => any; | ||
} |
import { IModuleContext } from "./IModuleContext"; | ||
import { Router } from 'express'; | ||
import { ILogWriter } from "./ILogWriter"; | ||
export interface IReactronServiceContext extends IModuleContext { | ||
readonly moduleApiRouter: Router; | ||
readonly log: ILogWriter; | ||
getServiceAsync<TService = any>(serviceName: string, moduleName?: string): Promise<TService | undefined>; | ||
} |
{ | ||
"name": "@schirkan/reactron-interfaces", | ||
"version": "0.10.0-alpha.2", | ||
"version": "0.10.0-alpha.3", | ||
"description": "interfaces for reactron modules", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -12,2 +12,3 @@ import { IBackendService } from './IBackendService'; | ||
import { IServiceRepository } from './IServiceRepository'; | ||
import { ILogManager } from './ILogManager'; | ||
@@ -26,2 +27,3 @@ export interface IBackendService { | ||
readonly webPageManager: IWebPageManager; | ||
readonly logManager: ILogManager; | ||
readonly webComponentsManager: IWebComponentsManager; | ||
@@ -28,0 +30,0 @@ readonly settings: ISettingsManager; |
@@ -9,2 +9,5 @@ export * from './ElectronStore'; | ||
export * from './IInputComponentProps'; | ||
export * from './ILogEntry'; | ||
export * from './ILogManager'; | ||
export * from './ILogWriter'; | ||
export * from './IModuleContext'; | ||
@@ -11,0 +14,0 @@ export * from './IModuleRepository'; |
@@ -7,2 +7,3 @@ import { SizeProp } from '@fortawesome/fontawesome-svg-core'; | ||
import { IComponentLoader } from './IComponentLoader'; | ||
import { ILogWriter } from "./ILogWriter"; | ||
@@ -20,2 +21,3 @@ export interface IExtraWebComponentProps { | ||
readonly componentLoader: IComponentLoader; | ||
readonly log: ILogWriter; | ||
@@ -22,0 +24,0 @@ renderComponent: (props: Partial<IWebComponentOptions> & IExtraWebComponentProps) => any; |
import { IModuleContext } from "./IModuleContext"; | ||
import { Router } from 'express'; | ||
import { ILogWriter } from "./ILogWriter"; | ||
export interface IReactronServiceContext extends IModuleContext { | ||
readonly moduleApiRouter: Router; | ||
readonly log: ILogWriter; | ||
@@ -7,0 +9,0 @@ // get service async while starting application |
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
92674
105
2246