noodl-types
Advanced tools
Comparing version 1.0.68 to 1.0.69
@@ -5,3 +5,3 @@ import { ActionObject } from './actionTypes'; | ||
import { ActionChain, EmitObject, GotoObject, Path, TextBoardObject } from './uncategorizedTypes'; | ||
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 AnyComponentObject = ButtonComponentObject | DividerComponentObject | EcosDocComponentObject | FooterComponentObject | HeaderComponentObject | ImageComponentObject | LabelComponentObject | ListComponentObject | ListItemComponentObject | MapComponentObject | PageComponentObject | PluginComponentObject | PluginHeadComponentObject | PluginBodyTopComponentObject | PluginBodyTailComponentObject | PopUpComponentObject | RegisterComponentObject | SelectComponentObject | ScrollViewComponentObject | TextFieldComponentObject | TextViewComponentObject | VideoComponentObject | ViewComponentObject; | ||
export declare type UncommonComponentObjectProps = { | ||
@@ -102,2 +102,6 @@ [key in EventType]: ActionChain; | ||
} | ||
export interface PluginBodyTopComponentObject extends ComponentObject, Pick<UncommonComponentObjectProps, 'path'> { | ||
type: 'pluginBodyTop'; | ||
[key: string]: any; | ||
} | ||
export interface PluginBodyTailComponentObject extends ComponentObject, Pick<UncommonComponentObjectProps, 'path'> { | ||
@@ -104,0 +108,0 @@ type: 'pluginBodyTail'; |
@@ -140,2 +140,3 @@ import { StyleObject } from './styleTypes'; | ||
pluginHead(value: unknown): value is T.PluginHeadComponentObject; | ||
pluginBodyTop(value: unknown): value is T.PluginBodyTopComponentObject; | ||
pluginBodyTail(value: unknown): value is T.PluginBodyTailComponentObject; | ||
@@ -142,0 +143,0 @@ popUp(value: unknown): value is T.PopUpComponentObject; |
@@ -146,2 +146,5 @@ "use strict"; | ||
}, | ||
pluginBodyTop: function (value) { | ||
return u.isObj(value) && value.type === 'pluginBodyTop'; | ||
}, | ||
pluginBodyTail: function (value) { | ||
@@ -148,0 +151,0 @@ return u.isObj(value) && value.type === 'pluginBodyTail'; |
{ | ||
"name": "noodl-types", | ||
"version": "1.0.68", | ||
"version": "1.0.69", | ||
"description": "NOODL TypeScript Definitions", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
81034
1482