@appsemble/types
Advanced tools
Comparing version 0.19.8 to 0.19.9
@@ -258,4 +258,6 @@ import { Action, BaseMessage, HTTPMethods, LogAction, Theme } from '@appsemble/sdk/src/types'; | ||
* Get a property from an object. | ||
* | ||
* If the prop is an array, nested properties will be retrieved in sequence. | ||
*/ | ||
prop: number | string; | ||
prop: number[] | string[] | number | string; | ||
/** | ||
@@ -459,2 +461,12 @@ * Recursively strip all nullish values from an object or array. | ||
} | ||
export interface AnalyticsAction extends BaseActionDefinition<'analytics'> { | ||
/** | ||
* The analytics event target name. | ||
*/ | ||
target: string; | ||
/** | ||
* Additional config to pass to analytics. | ||
*/ | ||
config?: Remapper; | ||
} | ||
export interface ConditionActionDefinition extends BaseActionDefinition<'condition'> { | ||
@@ -715,3 +727,3 @@ /** | ||
}; | ||
export declare type ActionDefinition = BaseActionDefinition<'dialog.error'> | BaseActionDefinition<'dialog.ok'> | BaseActionDefinition<'flow.back'> | BaseActionDefinition<'flow.cancel'> | BaseActionDefinition<'flow.finish'> | BaseActionDefinition<'flow.next'> | BaseActionDefinition<'link.back'> | BaseActionDefinition<'link.next'> | BaseActionDefinition<'noop'> | BaseActionDefinition<'team.join'> | BaseActionDefinition<'team.list'> | BaseActionDefinition<'throw'> | ConditionActionDefinition | DialogActionDefinition | EmailActionDefinition | EventActionDefinition | FlowToActionDefinition | LinkActionDefinition | LogActionDefinition | MessageActionDefinition | RequestActionDefinition | ResourceCountActionDefinition | ResourceCreateActionDefinition | ResourceDeleteActionDefinition | ResourceGetActionDefinition | ResourceQueryActionDefinition | ResourceSubscriptionStatusActionDefinition | ResourceSubscriptionSubscribeActionDefinition | ResourceSubscriptionToggleActionDefinition | ResourceSubscriptionUnsubscribeActionDefinition | ResourceUpdateActionDefinition | ShareActionDefinition | StaticActionDefinition | StorageReadActionDefinition | StorageWriteActionDefinition | UserLoginAction | UserRegisterAction | UserUpdateAction; | ||
export declare type ActionDefinition = AnalyticsAction | BaseActionDefinition<'dialog.error'> | BaseActionDefinition<'dialog.ok'> | BaseActionDefinition<'flow.back'> | BaseActionDefinition<'flow.cancel'> | BaseActionDefinition<'flow.finish'> | BaseActionDefinition<'flow.next'> | BaseActionDefinition<'link.back'> | BaseActionDefinition<'link.next'> | BaseActionDefinition<'noop'> | BaseActionDefinition<'team.join'> | BaseActionDefinition<'team.list'> | BaseActionDefinition<'throw'> | ConditionActionDefinition | DialogActionDefinition | EmailActionDefinition | EventActionDefinition | FlowToActionDefinition | LinkActionDefinition | LogActionDefinition | MessageActionDefinition | RequestActionDefinition | ResourceCountActionDefinition | ResourceCreateActionDefinition | ResourceDeleteActionDefinition | ResourceGetActionDefinition | ResourceQueryActionDefinition | ResourceSubscriptionStatusActionDefinition | ResourceSubscriptionSubscribeActionDefinition | ResourceSubscriptionToggleActionDefinition | ResourceSubscriptionUnsubscribeActionDefinition | ResourceUpdateActionDefinition | ShareActionDefinition | StaticActionDefinition | StorageReadActionDefinition | StorageWriteActionDefinition | UserLoginAction | UserRegisterAction | UserUpdateAction; | ||
export interface ActionType { | ||
@@ -718,0 +730,0 @@ /** |
{ | ||
"name": "@appsemble/types", | ||
"version": "0.19.8", | ||
"version": "0.19.9", | ||
"description": "TypeScript definitions reused within Appsemble internally", | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@appsemble/sdk": "0.19.8", | ||
"@appsemble/sdk": "0.19.9", | ||
"@fortawesome/fontawesome-common-types": "^0.2.0", | ||
@@ -36,0 +36,0 @@ "jsonschema": "^1.0.0", |
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
47440
1627
+ Added@appsemble/sdk@0.19.9(transitive)
- Removed@appsemble/sdk@0.19.8(transitive)
Updated@appsemble/sdk@0.19.9