close

Filter

loading table of contents...

CoreMedia Content Cloud v13 Upgrade Guide / Version 2512.0

Table Of Contents

7.4.2.1 Public API changes for Localization / Severity

The following types / consts / classes are now deprecated. You can find additional information about what to use instead in the code documentation:

  • Severity of @coremedia/studio-client.base-models

  • ILocalization, ILocalizationWithIcon, ITypeLocalization, IPropertyLocalization and IContentTypeLocalization of @coremedia/studio-client.cap-base-models

  • IContentTypeLocalizationRegistry#getLocalizationByContentType of @coremedia/studio-client.cap-base-models

For the interfaces WorkflowIssueLocalization, WorkflowIssuesLocalization and WorkflowLocalization of @coremedia/studio-client.workflow-plugin-models we now have explicit configuration interfaces WorkflowIssueLocalizationConfig, WorkflowIssuesLocalizationConfig and WorkflowLocalizationConfig.

While the former is meant to provide consistent, more strict access to registered Localization, the latter is meant to provide configuration where some properties can be undefined or have shorthand syntax. The configuration interfaces are now also used when registering new workflows via the CustomWorkflow API.

This means two things:

  • In case you have made use of the non-configuration interfaces inside your custom code, e.g., in function signatures or to store local variables, you might need to switch to the new configuration interfaces instead.

  • You might be able to simplify code that utilizes localization interfaces, as many properties can no longer be undefined and have their shorthand syntax resolved to the explicit syntax.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.