contentful-ui-extensions-sdk
Advanced tools
Comparing version 4.0.0-alpha.21 to 4.0.0-alpha.22
@@ -0,1 +1,8 @@ | ||
# [4.0.0-alpha.22](https://github.com/contentful/ui-extensions-sdk/compare/v4.0.0-alpha.21...v4.0.0-alpha.22) (2021-07-06) | ||
### Bug Fixes | ||
* missing space types and SerializedJSONValue ([#837](https://github.com/contentful/ui-extensions-sdk/issues/837)) ([3dda7f0](https://github.com/contentful/ui-extensions-sdk/commit/3dda7f00093ca39f82f010b2c391862410ee48ec)) | ||
# [4.0.0-alpha.21](https://github.com/contentful/ui-extensions-sdk/compare/v4.0.0-alpha.20...v4.0.0-alpha.21) (2021-07-02) | ||
@@ -2,0 +9,0 @@ |
@@ -1,2 +0,2 @@ | ||
export type { TagProps as Tag, TeamProps as Team, TagVisibility, UserProps as User, AssetProps as Asset, TaskProps as Task, ScheduledActionProps as ScheduledAction, ContentTypeProps as ContentType, EditorInterfaceProps as EditorInterface, SpaceMembershipProps as SpaceMembership, ContentFields as ContentTypeField, ContentTypeFieldValidation, EntryProps as Entry, RoleProps as Role, KeyValueMap, QueryOptions, } from 'contentful-management/types'; | ||
export type { TagProps as Tag, TeamProps as Team, UserProps as User, AssetProps as Asset, TaskProps as Task, ScheduledActionProps as ScheduledAction, ContentTypeProps as ContentType, EditorInterfaceProps as EditorInterface, SpaceMembershipProps as SpaceMembership, ContentFields as ContentTypeField, ContentTypeFieldValidation, EntryProps as Entry, RoleProps as Role, KeyValueMap, QueryOptions, TagVisibility, } from 'contentful-management/types'; | ||
export interface CanonicalRequest { | ||
@@ -3,0 +3,0 @@ method: 'GET' | 'PUT' | 'POST' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS'; |
import { ContentTypeFieldValidation } from './entities'; | ||
import type { Items } from './utils'; | ||
import type { Items, SerializedJSONValue } from './utils'; | ||
import { ValidationError } from './validation-error'; | ||
@@ -20,3 +20,3 @@ export interface FieldAPI { | ||
/** Sets the value for the field and locale. */ | ||
setValue: <Value = any>(value: Value) => Promise<Value>; | ||
setValue: <Value = any>(value: Value) => Promise<SerializedJSONValue | undefined>; | ||
/** Removes the value for the field and locale. */ | ||
@@ -23,0 +23,0 @@ removeValue: () => Promise<void>; |
@@ -70,2 +70,5 @@ import { ContentTypeFieldValidation } from './entities'; | ||
} | ||
export declare type SerializedJSONValue = null | string | number | boolean | Array<SerializedJSONValue> | { | ||
[key: string]: SerializedJSONValue; | ||
}; | ||
export {}; |
{ | ||
"name": "contentful-ui-extensions-sdk", | ||
"description": "SDK to develop custom UI Extension for the Contentful Web App", | ||
"version": "4.0.0-alpha.21", | ||
"version": "4.0.0-alpha.22", | ||
"author": "Contentful GmbH", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
"lint:fix": "npm run lint -- --fix", | ||
"build": "rollup -c --compact", | ||
"build": "npm run check-types && rollup -c --compact", | ||
"build:debug": "npm run build -- --sourcemap", | ||
@@ -38,3 +38,4 @@ "prepublishOnly": "npm run build", | ||
"publish-all": "node ./scripts/publish.js", | ||
"verify": "node ./scripts/verify.js" | ||
"verify": "node ./scripts/verify.js", | ||
"check-types": "tsc --noEmit -m commonjs" | ||
}, | ||
@@ -61,2 +62,3 @@ "devDependencies": { | ||
"chai-as-promised": "7.1.1", | ||
"contentful-management": "^7.27.1", | ||
"cross-spawn": "7.0.3", | ||
@@ -155,5 +157,5 @@ "cypress": "7.6.0", | ||
}, | ||
"dependencies": { | ||
"contentful-management": "^7.27.0" | ||
"peerDependencies": { | ||
"contentful-management": "^7.27.1" | ||
} | ||
} |
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
78769
34
858
56
- Removedcontentful-management@^7.27.0