@schirkan/reactron-interfaces
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,2 +0,2 @@ | ||
import { IFieldDefinition } from './IObjectDefinition'; | ||
import { IFieldDefinition, IInput } from './IObjectDefinition'; | ||
import { IReactronComponentContext } from './IReactronComponentContext'; | ||
@@ -9,2 +9,4 @@ export interface IInputComponentProps<TValue = any> { | ||
valueChange: (definition: IFieldDefinition, newValue: TValue) => void; | ||
getDefaultInputControl: <TValueOfDefinition = any>(definition: IFieldDefinition) => IInput<TValueOfDefinition>; | ||
getDefaultDetailsControl: <TValueOfDefinition = any>(definition: IFieldDefinition) => IInput<TValueOfDefinition>; | ||
} |
@@ -8,3 +8,3 @@ import { IInputComponentProps } from './IInputComponentProps'; | ||
declare type IOptionDefinitionValueType = 'object' | 'number' | 'boolean' | 'string' | 'style' | 'webComponent' | 'password'; | ||
declare type IInput<TValue> = { | ||
export declare type IInput<TValue> = { | ||
module: string; | ||
@@ -11,0 +11,0 @@ component: string; |
{ | ||
"name": "@schirkan/reactron-interfaces", | ||
"version": "0.10.1", | ||
"version": "1.0.3", | ||
"lockfileVersion": 1, | ||
@@ -50,12 +50,6 @@ "requires": true, | ||
}, | ||
"@types/events": { | ||
"version": "1.2.0", | ||
"resolved": "http://registry.npmjs.org/@types/events/-/events-1.2.0.tgz", | ||
"integrity": "sha512-KEIlhXnIutzKwRbQkGWb/I4HFqBuUykAdHgDED6xqwXJfONCjF5VoE0cXEiurh3XauygxzeDzgtXUqvLkxFzzA==", | ||
"dev": true | ||
}, | ||
"@types/express": { | ||
"version": "4.16.0", | ||
"resolved": "https://registry.npmjs.org/@types/express/-/express-4.16.0.tgz", | ||
"integrity": "sha512-TtPEYumsmSTtTetAPXlJVf3kEqb6wZK0bZojpJQrnD/djV4q1oB6QQ8aKvKqwNPACoe02GNiy5zDzcYivR5Z2w==", | ||
"version": "4.16.1", | ||
"resolved": "https://registry.npmjs.org/@types/express/-/express-4.16.1.tgz", | ||
"integrity": "sha512-V0clmJow23WeyblmACoxbHBu2JKlE5TiIme6Lem14FnPW9gsttyHtk6wq7njcdIWH1njAaFgR8gW09lgY98gQg==", | ||
"dev": true, | ||
@@ -69,8 +63,7 @@ "requires": { | ||
"@types/express-serve-static-core": { | ||
"version": "4.16.0", | ||
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.16.0.tgz", | ||
"integrity": "sha512-lTeoCu5NxJU4OD9moCgm0ESZzweAx0YqsAcab6OB0EB3+As1OaHtKnaGJvcngQxYsi9UNv0abn4/DRavrRxt4w==", | ||
"version": "4.16.1", | ||
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.16.1.tgz", | ||
"integrity": "sha512-QgbIMRU1EVRry5cIu1ORCQP4flSYqLM1lS5LYyGWfKnFT3E58f0gKto7BR13clBFVrVZ0G0rbLZ1hUpSkgQQOA==", | ||
"dev": true, | ||
"requires": { | ||
"@types/events": "*", | ||
"@types/node": "*", | ||
@@ -77,0 +70,0 @@ "@types/range-parser": "*" |
{ | ||
"name": "@schirkan/reactron-interfaces", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "interfaces for reactron modules", | ||
@@ -26,9 +26,9 @@ "keywords": [ | ||
"devDependencies": { | ||
"@fortawesome/fontawesome-svg-core": "^1.2.12", | ||
"@fortawesome/fontawesome-svg-core": "^1.2.13", | ||
"@types/electron": "^1.6.10", | ||
"@types/express": "^4.16.1", | ||
"@types/node": "^10.12.18", | ||
"@types/react": "^16.7.20", | ||
"@types/node": "^10.12.19", | ||
"@types/react": "^16.7.22", | ||
"typescript": "^3.2.4" | ||
} | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { IFieldDefinition } from './IObjectDefinition'; | ||
import { IFieldDefinition, IInput } from './IObjectDefinition'; | ||
import { IReactronComponentContext } from './IReactronComponentContext'; | ||
@@ -10,2 +10,4 @@ | ||
valueChange: (definition: IFieldDefinition, newValue: TValue) => void; | ||
getDefaultInputControl: <TValueOfDefinition=any>(definition: IFieldDefinition) => IInput<TValueOfDefinition>; | ||
getDefaultDetailsControl: <TValueOfDefinition=any>(definition: IFieldDefinition) => IInput<TValueOfDefinition>; | ||
} |
@@ -10,3 +10,3 @@ import { IInputComponentProps } from './IInputComponentProps'; | ||
type IOptionDefinitionValueType = 'object' | 'number' | 'boolean' | 'string' | 'style' | 'webComponent' | 'password'; | ||
type IInput<TValue> = { module: string, component: string } | ((props: IInputComponentProps<TValue>) => any) | (new (props: IInputComponentProps<TValue>) => any); | ||
export type IInput<TValue> = { module: string, component: string } | ((props: IInputComponentProps<TValue>) => any) | (new (props: IInputComponentProps<TValue>) => any); | ||
type IValues<TValue> = IOptionDefinitionValue<TValue>[] | ((context: IReactronComponentContext) => Promise<IOptionDefinitionValue<TValue>[]>); | ||
@@ -13,0 +13,0 @@ |
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
102944
2435