contentful-ui-extensions-sdk
Advanced tools
Comparing version 3.10.9 to 3.10.10
{ | ||
"name": "contentful-ui-extensions-sdk", | ||
"description": "SDK to develop custom UI Extension for the Contentful Web App", | ||
"version": "3.10.9", | ||
"version": "3.10.10", | ||
"author": "Contentful GmbH", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -92,7 +92,2 @@ declare module 'contentful-ui-extensions-sdk' { | ||
type onValueChangedType = (callback: (value: any) => void) => Function | ||
type onValueChangeWithLocaleType = (locale: string, callback: (value: any) => void) => Function | ||
type onIsDisabledChangedType = (callback: Function) => Function | ||
type onIsDisabledChangedWithLocaleType = (locale: string, callback: Function) => Function | ||
interface EntryFieldAPI { | ||
@@ -119,7 +114,11 @@ /** The ID of a field is defined in an entry's content type. */ | ||
/** Calls the callback every time the value of the field is changed by an external event or when setValue() is called. */ | ||
onValueChanged: onValueChangeWithLocaleType | ||
onValueChanged: onValueChangedType | ||
onValueChanged: { | ||
(callback: (value: any) => void): () => void | ||
(locale: string, callback: (value: any) => void): () => void | ||
} | ||
/** Calls the callback when the disabled status of the field changes. */ | ||
onIsDisabledChanged: onIsDisabledChangedWithLocaleType | ||
onIsDisabledChanged: onIsDisabledChangedType | ||
onIsDisabledChanged: { | ||
(callback: (isDisabled: boolean) => void): () => void | ||
(locale: string, callback: (isDisabled: boolean) => void): () => void | ||
} | ||
} | ||
@@ -126,0 +125,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
90351
0