@contentful/node-apps-toolkit
Advanced tools
Comparing version 3.9.0 to 3.9.1
@@ -0,1 +1,8 @@ | ||
## [3.9.1](https://github.com/contentful/node-apps-toolkit/compare/v3.9.0...v3.9.1) (2024-10-23) | ||
### Bug Fixes | ||
* app action request function event handler type [EXT-5710] ([#706](https://github.com/contentful/node-apps-toolkit/issues/706)) ([e9e7071](https://github.com/contentful/node-apps-toolkit/commit/e9e7071047663d5751915cbb1d3cc10902a14713)) | ||
# [3.9.0](https://github.com/contentful/node-apps-toolkit/compare/v3.8.0...v3.9.0) (2024-09-16) | ||
@@ -2,0 +9,0 @@ |
@@ -109,3 +109,7 @@ import { AppActionCategoryType, AppInstallationProps, AssetProps, BulkActionProps, CommentProps, ContentTypeProps, EntryProps, EnvironmentTemplateInstallationProps, PlainClientAPI, ReleaseActionProps, ReleaseProps, ScheduledActionProps, TaskProps } from 'contentful-management'; | ||
}; | ||
type FunctionEventHandlers = { | ||
/** | ||
* T: Possibility to type app action category | ||
* U: Possibility to type app action body (only applies to the Custom category) | ||
*/ | ||
type FunctionEventHandlers<T extends AppActionCategoryType = never, U extends AppActionRequestBody<T> = never> = { | ||
[GRAPHQL_FIELD_MAPPING_EVENT]: { | ||
@@ -120,3 +124,3 @@ event: GraphQLFieldTypeMappingRequest; | ||
[APP_ACTION_CALL]: { | ||
event: AppActionRequest<AppActionCategoryType>; | ||
event: AppActionRequest<T, U>; | ||
response: AppActionResponse; | ||
@@ -123,0 +127,0 @@ }; |
{ | ||
"name": "@contentful/node-apps-toolkit", | ||
"version": "3.9.0", | ||
"version": "3.9.1", | ||
"description": "A collection of helpers and utilities for creating NodeJS Contentful Apps", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
68106
939