CoreMedia Content Cloud v11 Upgrade Guide / Version 2110
Table Of Contents
Taken all together, as an example, the ActionScript interface com.coremedia.ui.data.RemoteBean
is
converted to the TypeScript module reference @coremedia/studio-client.ext.client-core/data/RemoteBean
.
Here is the ActionScript and TypeScript import syntax in direct comparison:
ActionScript | TypeScript |
---|---|
// from within the same Maven Module and ActionScript package: // no import necessary! // from with the same Maven Module, but ActionScript package com.coremedia.ui.util: import com.coremedia.ui.data.RemoteBean; // from another Maven module: import com.coremedia.ui.data.RemoteBean; |
// from within the same NPM package and source folder: import RemoteBean from "./RemoteBean"; // from within the same NPM package, but source folder /util: import RemoteBean from "../data/RemoteBean"; // from another NPM package: import RemoteBean from "@coremedia/studio-client.ext.client-core/data/RemoteBean"; |
Table 7.3. Imports ActionScript-TypeScript example comparison