@appsemble/types
Advanced tools
Comparing version 0.18.5 to 0.18.6
@@ -1,2 +0,2 @@ | ||
import { Action, BaseMessage, HTTPMethods, LogAction, RequestLikeActionTypes, Theme } from '@appsemble/sdk/src/types'; | ||
import { Action, BaseMessage, HTTPMethods, LogAction, Theme } from '@appsemble/sdk/src/types'; | ||
import { IconName } from '@fortawesome/fontawesome-common-types'; | ||
@@ -367,3 +367,3 @@ import { Schema } from 'jsonschema'; | ||
*/ | ||
id?: number; | ||
id?: string; | ||
/** | ||
@@ -465,3 +465,3 @@ * The JSON schema to validate resources against before sending it to the backend. | ||
*/ | ||
to: string; | ||
to: string[] | string; | ||
} | ||
@@ -476,3 +476,3 @@ export interface LogActionDefinition extends BaseActionDefinition<'log'> { | ||
} | ||
export interface RequestLikeActionDefinition<T extends RequestLikeActionTypes = RequestLikeActionTypes> extends BaseActionDefinition<T> { | ||
export interface RequestLikeActionDefinition<T extends Action['type'] = Action['type']> extends BaseActionDefinition<T> { | ||
/** | ||
@@ -507,3 +507,3 @@ * The HTTP method to use for making a request. | ||
} | ||
export interface ResourceActionDefinition<T extends RequestLikeActionTypes> extends RequestLikeActionDefinition<T> { | ||
interface ResourceActionDefinition<T extends Action['type']> extends RequestLikeActionDefinition<T> { | ||
/** | ||
@@ -531,4 +531,4 @@ * The name of the resource. | ||
} | ||
export declare type ResourceSubscribeActionDefinition = BaseResourceSubscribeActionDefinition<'resource.subscription.subscribe'>; | ||
export declare type ResourceUnsubscribeActionDefinition = BaseResourceSubscribeActionDefinition<'resource.subscription.unsubscribe'>; | ||
export declare type ResourceSubscriptionSubscribeActionDefinition = BaseResourceSubscribeActionDefinition<'resource.subscription.subscribe'>; | ||
export declare type ResourceSubscriptionUnsubscribeActionDefinition = BaseResourceSubscribeActionDefinition<'resource.subscription.unsubscribe'>; | ||
export declare type ResourceSubscriptionToggleActionDefinition = BaseResourceSubscribeActionDefinition<'resource.subscription.toggle'>; | ||
@@ -560,3 +560,3 @@ export declare type ResourceSubscriptionStatusActionDefinition = Omit<BaseResourceSubscribeActionDefinition<'resource.subscription.status'>, 'action'>; | ||
}; | ||
export declare type ActionDefinition = BaseActionDefinition<'email'> | 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'> | DialogActionDefinition | EventActionDefinition | LinkActionDefinition | LogActionDefinition | MessageActionDefinition | RequestActionDefinition | RequestLikeActionDefinition | ResourceCreateActionDefinition | ResourceDeleteActionDefinition | ResourceGetActionDefinition | ResourceQueryActionDefinition | ResourceSubscribeActionDefinition | ResourceSubscriptionStatusActionDefinition | ResourceSubscriptionToggleActionDefinition | ResourceUnsubscribeActionDefinition | ResourceUpdateActionDefinition | StaticActionDefinition; | ||
export declare type ActionDefinition = BaseActionDefinition<'dialog.error'> | BaseActionDefinition<'dialog.ok'> | BaseActionDefinition<'email'> | 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'> | DialogActionDefinition | EventActionDefinition | LinkActionDefinition | LogActionDefinition | MessageActionDefinition | RequestActionDefinition | ResourceCountActionDefinition | ResourceCreateActionDefinition | ResourceDeleteActionDefinition | ResourceGetActionDefinition | ResourceQueryActionDefinition | ResourceSubscriptionStatusActionDefinition | ResourceSubscriptionSubscribeActionDefinition | ResourceSubscriptionToggleActionDefinition | ResourceSubscriptionUnsubscribeActionDefinition | ResourceUpdateActionDefinition | StaticActionDefinition; | ||
export interface ActionType { | ||
@@ -804,6 +804,10 @@ /** | ||
/** | ||
* The id of the organization to which this app belongs. | ||
* The id of the organization this app belongs to. | ||
*/ | ||
OrganizationId?: string; | ||
/** | ||
* The name of the organization this app belongs to. | ||
*/ | ||
OrganizationName?: string; | ||
/** | ||
* The long description of the app. | ||
@@ -810,0 +814,0 @@ */ |
{ | ||
"name": "@appsemble/types", | ||
"version": "0.18.5", | ||
"version": "0.18.6", | ||
"description": "TypeScript definitions reused within Appsemble internally", | ||
@@ -33,8 +33,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@appsemble/sdk": "0.18.5", | ||
"@fortawesome/fontawesome-common-types": "^0.2.34", | ||
"@appsemble/sdk": "0.18.6", | ||
"@fortawesome/fontawesome-common-types": "^0.2.35", | ||
"jsonschema": "^1.4.0", | ||
"openapi-types": "^7.2.3", | ||
"type-fest": "^0.21.2" | ||
"type-fest": "^1.0.1" | ||
} | ||
} |
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
33714
1191
+ Added@appsemble/sdk@0.18.6(transitive)
+ Addedtype-fest@1.4.0(transitive)
- Removed@appsemble/sdk@0.18.5(transitive)
- Removedtype-fest@0.21.3(transitive)
Updated@appsemble/sdk@0.18.6
Updatedtype-fest@^1.0.1