Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@schirkan/reactron-interfaces

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schirkan/reactron-interfaces - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

.npmignore

1

index.d.ts

@@ -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';

2

package.json
{
"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[];
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc