noodl-types
Advanced tools
Comparing version 1.0.26 to 1.0.27
@@ -16,3 +16,3 @@ export interface UncommonActionObjectProps { | ||
} | ||
export declare type AnyActionObject = BuiltInActionObject | EvalActionObject | PageJumpActionObject | PopupActionObject | PopupDismissActionObject | RefreshActionObject | SaveActionObject; | ||
export declare type AnyActionObject = BuiltInActionObject | EvalActionObject | PageJumpActionObject | PopupActionObject | PopupDismissActionObject | RefreshActionObject | SaveActionObject | UpdateActionObject; | ||
export interface ActionObject<T extends string = any> { | ||
@@ -19,0 +19,0 @@ actionType: T; |
@@ -31,3 +31,3 @@ import { ActionObject } from './actionTypes'; | ||
}; | ||
export interface ComponentObject<T extends string = any> extends Record<EventType, ActionChain> { | ||
export interface ComponentObject<T extends string = any> extends Partial<Record<EventType, ActionChain>> { | ||
type: T; | ||
@@ -34,0 +34,0 @@ style?: StyleObject; |
@@ -1,4 +0,4 @@ | ||
import { ActionObject } from './actionTypes'; | ||
import { AnyActionObject } from './actionTypes'; | ||
import { StyleObject } from './styleTypes'; | ||
export declare type ActionChain = (ActionObject | EmitObject | GotoObject)[]; | ||
export declare type ActionChain = (AnyActionObject | EmitObject | GotoObject)[]; | ||
export interface EmitObject { | ||
@@ -5,0 +5,0 @@ emit: { |
{ | ||
"name": "noodl-types", | ||
"version": "1.0.26", | ||
"version": "1.0.27", | ||
"description": "NOODL TypeScript Definitions", | ||
@@ -33,3 +33,3 @@ "author": "Christopher Tran <christopher@aitmed.com>", | ||
}, | ||
"gitHead": "2984864726bbd27d81c48acd5eb2d30c56249af5" | ||
"gitHead": "25460efb2e7eecb9f1a00546bb3590a17f58e0ac" | ||
} |
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
65847