@schirkan/reactron-interfaces
Advanced tools
Comparing version 0.2.2 to 0.3.0
@@ -6,2 +6,3 @@ export * from './src/IBackendService'; | ||
export * from './src/IExpressApp'; | ||
export * from './src/IInputComponent'; | ||
export * from './src/IModuleContext'; | ||
@@ -8,0 +9,0 @@ export * from './src/IModuleRepositoryItem'; |
{ | ||
"name": "@schirkan/reactron-interfaces", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "interfaces for reactron modules", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,6 +8,6 @@ type IOptionDefinitionValueType = 'object' | 'number' | 'boolean' | 'string' | 'style' | 'webComponent'; | ||
export interface IFieldDefinition { | ||
name: string; | ||
displayName: string; | ||
description?: string; | ||
export interface IFieldDefinition extends IObjectDefinition { | ||
// name: string; | ||
// displayName: string; | ||
// description?: string; | ||
valueType: IOptionDefinitionValueType; | ||
@@ -19,3 +19,3 @@ defaultValue?: any; | ||
values?: IOptionDefinitionValue[]; | ||
fields?: IFieldDefinition[]; | ||
// fields?: IFieldDefinition[]; | ||
isArray?: boolean; | ||
@@ -30,2 +30,4 @@ textRows?: number; | ||
fields?: IFieldDefinition[]; | ||
inputControl?: string; // Name of input component 'moduleName.componentName' | ||
inputForm?: string; // Name of input component 'moduleName.componentName' | ||
} |
import { IObjectDefinition } from "./IObjectDefinition"; | ||
type ComponentType = 'web' | 'input' | string; | ||
export interface IReactronComponentDefinition<TOptions = any> extends IObjectDefinition { | ||
component: new (props: TOptions) => React.Component<TOptions>; | ||
type?: ComponentType; // default = 'web' | ||
} |
@@ -0,1 +1,7 @@ | ||
export interface ISystemSettingsAutoRefresh { | ||
from: number; | ||
to: number; | ||
interval: number; | ||
} | ||
export interface ISystemSettings { | ||
@@ -5,4 +11,4 @@ lang: string; | ||
timezone: string; | ||
theme: string; | ||
startupPath: string; | ||
autorefresh: ISystemSettingsAutoRefresh[]; | ||
} |
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
17383
33
398