Socket
Socket
Sign inDemoInstall

noodl-types

Package Overview
Dependencies
Maintainers
1
Versions
240
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.58 to 1.0.59

8

dist/componentTypes.d.ts

@@ -5,3 +5,3 @@ import { ActionObject } from './actionTypes';

import { ActionChain, EmitObject, GotoObject, Path, TextBoardObject } from './uncategorizedTypes';
export declare type AnyComponentObject = ButtonComponentObject | DividerComponentObject | FooterComponentObject | HeaderComponentObject | ImageComponentObject | LabelComponentObject | ListComponentObject | ListItemComponentObject | MapComponentObject | PageComponentObject | PluginComponentObject | PluginHeadComponentObject | PluginBodyTailComponentObject | PopUpComponentObject | RegisterComponentObject | SelectComponentObject | ScrollViewComponentObject | TextFieldComponentObject | TextViewComponentObject | VideoComponentObject | ViewComponentObject;
export declare type AnyComponentObject = ButtonComponentObject | DividerComponentObject | EcosDocComponentObject | FooterComponentObject | HeaderComponentObject | ImageComponentObject | LabelComponentObject | ListComponentObject | ListItemComponentObject | MapComponentObject | PageComponentObject | PluginComponentObject | PluginHeadComponentObject | PluginBodyTailComponentObject | PopUpComponentObject | RegisterComponentObject | SelectComponentObject | ScrollViewComponentObject | TextFieldComponentObject | TextViewComponentObject | VideoComponentObject | ViewComponentObject;
export declare type UncommonComponentObjectProps = {

@@ -15,3 +15,5 @@ [key in EventType]: ActionChain;

dataKey?: string;
ecosObj?: any;
emit?: EmitObject;
global?: true;
image?: string;

@@ -57,2 +59,6 @@ isEditable?: boolean;

}
export interface EcosDocComponentObject extends ComponentObject, Pick<UncommonComponentObjectProps, 'ecosObj'> {
type: 'ecosDoc';
[key: string]: any;
}
export interface FooterComponentObject extends ComponentObject {

@@ -59,0 +65,0 @@ type: 'footer';

@@ -122,2 +122,3 @@ import { StyleObject } from './styleTypes';

divider(value: unknown): value is T.DividerComponentObject;
ecosDoc(value: unknown): value is T.EcosDocComponentObject;
footer(value: unknown): value is T.FooterComponentObject;

@@ -124,0 +125,0 @@ header(value: unknown): value is T.HeaderComponentObject;

@@ -101,2 +101,5 @@ "use strict";

},
ecosDoc: function (value) {
return u.isObj(value) && value.type === 'ecosDoc';
},
footer: function (value) {

@@ -103,0 +106,0 @@ return u.isObj(value) && value.type === 'footer';

2

package.json
{
"name": "noodl-types",
"version": "1.0.58",
"version": "1.0.59",
"description": "NOODL TypeScript Definitions",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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