Socket
Socket
Sign inDemoInstall

noodl-types

Package Overview
Dependencies
Maintainers
1
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

noodl-types - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

11

dist/actionTypes.d.ts

@@ -5,2 +5,7 @@ import { IfObject } from './commonTypes';

actionType: T;
dataKey?: any;
dataObject?: any;
reload?: boolean;
viewTag?: string;
wait?: boolean | number;
[key: string]: any;

@@ -11,2 +16,4 @@ }

funcName: FuncName;
contentType?: string;
viewTag?: string;
}

@@ -38,3 +45,7 @@ export interface EvalActionObject extends ActionObject {

actionType: 'updateObject';
dataObject?: string;
dataKey?: string;
} | {
actionType: 'updateObject';
object?: T;
};

8

dist/componentTypes.d.ts

@@ -0,3 +1,4 @@

import { ActionObject } from './actionTypes';
import { StyleObject } from './styleTypes';
export declare type ComponentType = 'button' | 'divider' | 'footer' | 'header' | 'image' | 'label' | 'list' | 'listItem' | 'plugin' | 'pluginHead' | 'popUp' | 'select' | 'scrollView' | 'textField' | 'textView' | 'video' | 'view';
export declare type ComponentType = 'button' | 'divider' | 'footer' | 'header' | 'image' | 'label' | 'list' | 'listItem' | 'plugin' | 'pluginHead' | 'pluginBodyTail' | 'popUp' | 'register' | 'select' | 'scrollView' | 'textField' | 'textView' | 'video' | 'view';
export interface ComponentObject<T extends string = any> {

@@ -45,2 +46,7 @@ type: T;

}
export interface RegisterComponentObject extends ComponentObject {
type: 'register';
onEvent?: string;
actions?: ActionObject[];
}
export interface SelectComponentObject extends ComponentObject {

@@ -47,0 +53,0 @@ type: 'select';

@@ -5,20 +5,38 @@ export interface StyleObject {

activeColor?: string;
background?: string;
backgroundColor?: string;
border?: StyleBorderObject;
borderWidth?: string;
borderColor?: string;
borderRadius?: string;
boxSizing?: string;
boxShadow?: string;
color?: string;
colorDefault?: string;
colorSelected?: string;
contentSize?: {
width?: string;
height?: string;
};
display?: string;
fontColor?: string;
fontSize?: string;
fontFamily?: string;
fontStyle?: 'bold' | string;
fontWeight?: string;
height?: string;
isHidden?: boolean;
isHideCondition?: string;
left?: string;
lineHeight?: string;
outline?: string;
padding?: string;
paddingLeft?: string;
paddingRight?: string;
position?: string;
required?: string;
outline?: string;
shadow?: string;
textAlign?: StyleTextAlign;
textColor?: string;
textIndent?: string;
top?: string;
width?: string;
shadow?: string;
zIndex?: number;
[styleKey: string]: any;

@@ -25,0 +43,0 @@ }

46

package.json
{
"name": "noodl-types",
"version": "1.0.3",
"description": "NOODL TypeScript Definitions",
"author": "Christopher Tran <christopher@aitmed.com>",
"homepage": "",
"license": "ISC",
"types": "dist/index.d.ts",
"directories": {
"dist": "dist"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "http://gitlab.aitmed.com/pfftdammitchris/aitmed-noodl-web.git"
},
"scripts": {
"build": "rm -rf dist && tsc",
"start": "rm -rf dist && tsc --watch",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"gitHead": "88d8d80399260f43ad8cef8bc991e637e0b37e4e"
"name": "noodl-types",
"version": "1.0.4",
"description": "NOODL TypeScript Definitions",
"author": "Christopher Tran <christopher@aitmed.com>",
"homepage": "",
"license": "ISC",
"types": "dist/index.d.ts",
"scripts": {
"build": "rm -rf dist && tsc",
"start": "rm -rf dist && tsc --watch",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"directories": {
"dist": "dist"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "http://gitlab.aitmed.com/pfftdammitchris/aitmed-noodl-web.git"
},
"gitHead": "7038fdb3d86a4155e91dc2d8d97745e421dc102a"
}
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