![npm](https://img.shields.io/npm/v/@acoustic-content-sdk/api.svg?style=flat-square)
API Documentation
Home > @acoustic-content-sdk/api
api package
Enumerations
Functions
Interfaces
Interface | Description |
---|
AbstractElement | |
ActivePage | |
ActivePageV2 | |
Asset | |
AssetPublishApproval | |
AuthoringAsset | |
AuthoringAssetMetadata | |
AuthoringAssetProfileRendition | |
AuthoringCategoryElement | |
AuthoringCommerceProductCategoryElement | |
AuthoringCommerceProductElement | |
AuthoringContentItem | |
AuthoringContentItemThumbnail | |
AuthoringContentThumbnail | |
AuthoringDatetimeElement | |
AuthoringElement | |
AuthoringFileElement | |
AuthoringFormattedTextElement | |
AuthoringGroup | |
AuthoringGroupElement | |
AuthoringImage | |
AuthoringImageElement | |
AuthoringLayout | |
AuthoringLayoutItem | |
AuthoringLayoutMapping | |
AuthoringLayoutMappingLayout | |
AuthoringLayoutMappingMapping | |
AuthoringLayoutMappingType | |
AuthoringLinkElement | |
AuthoringLocationElement | |
AuthoringNumberElement | |
AuthoringOption | |
AuthoringOptionSelectionElement | |
AuthoringPlaceholder | |
AuthoringReference | |
AuthoringReferenceElement | |
AuthoringReferenceValue | |
AuthoringSelectedLayout | |
AuthoringText | |
AuthoringTextElement | |
AuthoringThumbnail | |
AuthoringToggleElement | |
AuthoringType | |
AuthoringUiExtensions | |
AuthoringVariableTypeElement | |
AuthoringVideo | |
AuthoringVideoElement | |
AuthStatus | Exposes the authentication status |
BaseAuthoringItem | Base interface for all items |
BaseDeliveryItem | Base interface for all items |
Category | Category is a reference element. The contents that are stored in the category element are references to categories created in content hub. When ?include=metadata is used, the categories property is included which has the full name path for each selected category.Note: When you set categories on the category element, you need to add the UUID of the category to the categoryIds property. The categories property, which returns the name path of the category is a read-only property and is not used when the content is updated. If you set it during an update, it is ignored. |
CategoryElement | Category is a reference element. The contents that are stored in the category element are references to categories created in content hub. When ?include=metadata is used, the categories property is included which has the full name path for each selected category.Note: When you set categories on the category element, you need to add the UUID of the category to the categoryIds property. The categories property, which returns the name path of the category is a read-only property and is not used when the content is updated. If you set it during an update, it is ignored. |
ContentItem | Representation of a generic content item. |
ContentItemWithLayout | |
ContentPublishApproval | |
DateElement | Common base class for all date elements |
DeliveryAccess | |
DeliveryAsset | |
DeliveryCategoryElement | |
DeliveryContentItem | |
DeliveryContentMetadata | Common fields in all metadata records |
DeliveryFileElement | |
DeliveryGroupElement | |
DeliveryGroupElementMetadata | |
DeliveryImageAsset | |
DeliveryImageCrop | |
DeliveryImageElement | |
DeliveryImageRendition | |
DeliveryImageTransform | |
DeliveryLayoutRef | |
DeliveryLinkElement | |
DeliveryLocationElement | |
DeliveryReferenceElement | |
DeliveryReferenceElementMetadata | |
DeliverySelectedLayout | |
DeliveryThumbnail | |
DeliveryVideoElement | |
DynamicLoggerFactory | Instantiator for loggers. Clients of the SDK can use this interface to inject their custom logger implementation. |
ElementMap | |
ElementWithMarkup | |
ErrorDetail | |
ErrorResponse | JSON structure of an error response |
ExtendedContext | |
ExtendedContextV2 | |
File | |
FileElement | Common base class for all file elements |
FormattedTextElement | Common base class for all text elements |
Group | Interface that represents a grouping of elements |
GroupElement | Common base class for all group elements |
HttpResourceOptions | |
HubContext | |
HubInfo | Exposes information required to access the content hub REST API. This information can be obtained via the 'Watson Content Hub information' section. |
HubInfoConfig | Base class for services providing hub information. We need a base class to be able to specify this service as injectable |
IbmCommerce | |
Image | |
ImageElement | Common base class for all image elements |
Layout | Representation of a layout descriptor in the delivery artifacts |
Link | |
LinkElement | Common base class for all link elements |
Location | |
LocationElement | |
Logger | Abstraction of the logger interface, trying to be as generic as possible. The identity of the logger is passed at creation time via the factory. Note that this interface is compatible to the console instance. |
LoggerFactory | Instantiator for loggers. Clients of the SDK can use this interface to inject their custom logger implementation. |
LoggerService | Service to return a logger for a given name. Calling the getter multiple times with the same name will return the same instance of the logger. |
MultiDateElement | Date element uses a string property, the value must be an ISO 8601 date time. |
MultiFileElement | |
MultiFormattedTextElement | The text element holds text value in a JSON string. |
MultiGroupElement | The text element holds text value in a JSON string. |
MultiImageElement | |
MultiLinkElement | Link element has three text fields linkURL, linkText, and linkDescription. |
MultiNumberElement | The Number element stores the value in the JSON as a number type. |
MultiOptionSelectionElement | The text element holds text value in a JSON string. |
MultiProductElement | The text element holds text value in a JSON string. |
MultiReferenceElement | |
MultiTextElement | The text element holds text value in a JSON string. |
MultiToggleElement | Toggle just uses JSON Boolean. |
MultiVideoElement | |
NumberElement | Common base class for all number elements |
OptionSelection | Representation of a selection |
OptionSelectionElement | Common base class for all options election elements |
PageSearchResult | |
ProductElement | |
Query | |
ReferenceElement | Common base class for all reference elements |
RenderingContext | |
RenderingContextGroupElement | |
RenderingContextInterceptor | Interceptor that can expose transforms for the rendering contexts. |
RenderingContextProvider | |
RenderingContextProviderV2 | |
RenderingContextQueryResult | |
RenderingContextReferenceElement | |
RenderingContextSearchResult | |
RenderingContextV2 | |
Rendition | |
Resource | |
SdkActiveRouteEvent | |
SdkErrorResponse | Response sent when processing a message fails |
SdkMessageHandler | |
SdkMessagePayload | Base interfaces for events that can be sent to the SDK |
SdkModeEvent | |
SdkNavigateByPathEvent | |
SdkNavigateByPathResponse | Response to the navigation event |
SdkRefreshEvent | |
SdkRouteEvent | |
SdkSetModeEvent | |
SdkSetModeResponse | Response to the set mode event |
SdkSubscribeActiveRouteEvent | |
SdkSubscribeActiveRouteEventResponse | |
SdkSubscribeEventResponse | Response to a subscription |
SdkSubscribeModeEvent | |
SdkSubscribeModeEventResponse | |
SdkSubscribeRouteEvent | |
SdkSubscribeRouteEventResponse | |
SdkUnsubscribeEvent | |
SearchResult | |
SearchResults | |
SingleDateElement | Date element uses a string property, the value must be an ISO 8601 date time. |
SingleFileElement | File element is the most basic asset reference element. It is a reference element that is used to point to an asset in content hub. Except for asset ID, all the other properties are read-only and are added from the asset at the time it is selected on a content.With asset references most of the properties are read-only and come from the asset. So when you set a file on file element you need to set the asset.id property. The other information is fetched automatically by the content service and stored in read-only fields. |
SingleFormattedTextElement | The text element holds text value in a JSON string. |
SingleGroupElement | The text element holds group value in a JSON string. |
SingleImageElement | Image is one of the more complex elements and the following section describes a normal image without an image profile configured. For information on updating and formatting the image element, go to Updating image element format.Note: You are always selecting a rendition of an asset and not the asset directly. As a result interactions with image elements involve setting and updating a rendition reference. Most other fields that are displayed in image element are read only! |
SingleLinkElement | Link element has three text fields linkURL, linkText, and linkDescription. |
SingleNumberElement | The Number element stores the value in the JSON as a number type. |
SingleOptionSelectionElement | The text element holds text value in a JSON string. |
SingleProductElement | The text element holds text value in a JSON string. |
SingleReferenceElement | |
SingleTextElement | The text element holds text value in a JSON string. |
SingleToggleElement | Toggle just uses JSON Boolean. |
SingleVideoElement | Standard video element is similar to the file element. The video asset is represented in the asset section. Optionally a video asset can have a caption and a thumbnail as well, and in this case both of these point two resources in content hub. As mentioned with file, most of the properties here are inlined data from the asset/resource and is read-only. To update a video asset or its caption/thumbnail update the relevant asset/resource ID. The related information is retrieved again and added. Attempts to change the read-only fields are ignored. |
Site | |
SiteChild | |
SiteContext | |
SiteDeliveryContentItem | |
SiteNavigationDeliveryContentItem | Delivery record for the site content item843fb991-7413-4517-bfcb-b59fc4b1f449 |
SiteNavigationPage | Reference to a page in the site navigation |
SitePage | |
SitePagesQueryResult | |
SiteRoot | |
Tenant | |
TextElement | Common base class for all text elements |
ToggleElement | Common base class for all toggle elements |
TypeRef | Reference to a content type |
UrlConfig | Exposes the URL configuration to the client.See HubInfoConfig |
User | Representation of a user |
Video | |
VideoElement | Common base class for all video elements |
WchHttp | |
WchSdk | |
WchSdkRouter | |
WchSdkSearch | |
WchSdkVersion | Defines the version number and the build date of the SDK. |
Variables
Type Aliases
Home > @acoustic-content-sdk/api > CYCLE_HANDLING
CYCLE_HANDLING enum
Cycle handling strategy
Signature:
export declare enum CYCLE_HANDLING
Enumeration Members
Member | Value | Description |
---|
BREAK | 0 | Stop rendering contexts at detected cycles |
RESOLVE | 1 | Resolve cycles by building cyclic in-memory structures |
Home > @acoustic-content-sdk/api > DraftStatus
DraftStatus enum
Possible values for draft status
Signature:
export declare enum DraftStatus
Enumeration Members
Member | Value | Description |
---|
APPROVED | "approved" | |
IN_PROGRESS | "in-progress" | |
IN_REVIEW | "in-review" | |
Home > @acoustic-content-sdk/api > SdkMode
SdkMode enum
Signature:
export declare enum SdkMode
Enumeration Members
Member | Value | Description |
---|
PROTECTED | "protected" | |
PUBLIC | "public" | |
Home > @acoustic-content-sdk/api > Status
Status enum
Signature:
export declare enum Status
Enumeration Members
Member | Value | Description |
---|
DRAFT | "draft" | |
READY | "ready" | |
RETIRED | "retired" | |
Home > @acoustic-content-sdk/api > TENANT_TIER
TENANT_TIER enum
Signature:
export declare enum TENANT_TIER
Enumeration Members
Member | Value | Description |
---|
BASE | "Base" | |
PLUS | "Plus" | |
STANDARD | "Standard" | |
TRIAL | "Trial" | |
Home > @acoustic-content-sdk/api > createVersion
createVersion() function
Warning: This API is now obsolete.
Constructs a version object from a version string and a build date
Signature:
export declare function createVersion(aVersionString: string, aBuildDate: string): WchSdkVersion;
Parameters
Parameter | Type | Description |
---|
aVersionString | string | the version string such as in package json |
aBuildDate | string | the build date in ISO format |
Returns:
WchSdkVersion
the SDK version object
Home > @acoustic-content-sdk/api > createVersionString
createVersionString() function
Converts the version object into a version string
Signature:
export declare function createVersionString(aVersion: WchSdkVersion): string;
Parameters
Parameter | Type | Description |
---|
aVersion | WchSdkVersion | the version object |
Returns:
string
the version string
Home > @acoustic-content-sdk/api > AbstractElement
AbstractElement interface
Signature:
export interface AbstractElement
Properties
Home > @acoustic-content-sdk/api > ActivePage
ActivePage interface
Signature:
export interface ActivePage extends RenderingContextProvider
Properties
Property | Type | Description |
---|
onRenderingContext | Observable<RenderingContext> | Retrieves the rendering context for the content item rendered for the currently selected page. |
Home > @acoustic-content-sdk/api > ActivePageV2
ActivePageV2 interface
Signature:
export interface ActivePageV2 extends RenderingContextProviderV2
Properties
Property | Type | Description |
---|
renderingContext$ | Observable<RenderingContextV2> | Retrieves the rendering context for the content item rendered for the currently selected page. |
Home > @acoustic-content-sdk/api > Asset
Asset interface
Signature:
export interface Asset
Properties
Home > @acoustic-content-sdk/api > AssetPublishApproval
AssetPublishApproval interface
Signature:
export interface AssetPublishApproval
Properties
Home > @acoustic-content-sdk/api > AuthoringAsset
AuthoringAsset interface
Signature:
export interface AuthoringAsset extends BaseAuthoringItem
Properties
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata
AuthoringAssetMetadata interface
Signature:
export interface AuthoringAssetMetadata
Properties
Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition
AuthoringAssetProfileRendition interface
Signature:
export interface AuthoringAssetProfileRendition
Properties
Home > @acoustic-content-sdk/api > AuthoringCategoryElement
AuthoringCategoryElement interface
Signature:
export interface AuthoringCategoryElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringCommerceProductCategoryElement
AuthoringCommerceProductCategoryElement interface
Signature:
export interface AuthoringCommerceProductCategoryElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringCommerceProductElement
AuthoringCommerceProductElement interface
Signature:
export interface AuthoringCommerceProductElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringContentItem
AuthoringContentItem interface
Signature:
export interface AuthoringContentItem extends BaseAuthoringItem
Properties
Home > @acoustic-content-sdk/api > AuthoringContentItemThumbnail
AuthoringContentItemThumbnail interface
Signature:
export interface AuthoringContentItemThumbnail extends AuthoringThumbnail
Properties
Property | Type | Description |
---|
id | string | |
Home > @acoustic-content-sdk/api > AuthoringContentThumbnail
AuthoringContentThumbnail interface
Signature:
export interface AuthoringContentThumbnail
Properties
Property | Type | Description |
---|
imageElement | string | |
source | 'imageElementOrType' | 'imageElement' | 'type' | 'none' | |
Home > @acoustic-content-sdk/api > AuthoringDatetimeElement
AuthoringDatetimeElement interface
Signature:
export interface AuthoringDatetimeElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringElement
AuthoringElement interface
Signature:
export interface AuthoringElement
Properties
Property | Type | Description |
---|
allowMultipleValues | boolean | Indicates whether content items using this content-type can contain multiple values of this element. Valid for all element types except category, toggle and location. |
elementType | ELEMENT_TYPE | 'productcategory' | 'product' | Specifies the type of this element. |
fieldLabel | string | When allowMultipleValues is true, specifies a display name for each value within the multi valued list. |
helpText | string | The informational text to show the content author when setting the value of this element. |
key | string | The element identifer. Within content items, elements are referred to by key only. |
label | string | The display name of the element. |
maximumValues | number | When allowMulitpleValues is true, indicates the maximum number of values are that allowed. |
minimumValues | number | When allowMulitpleValues is true, indicates the minimum number of values are that required. |
placeholder | AuthoringPlaceholder | |
required | boolean | Indicates whether content items must specify a value for this element. |
role | AUTHORING_ELEMENT_ROLE[] | |
uiExtensions | AuthoringUiExtensions | |
Home > @acoustic-content-sdk/api > AuthoringFileElement
AuthoringFileElement interface
Signature:
export interface AuthoringFileElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringFormattedTextElement
AuthoringFormattedTextElement interface
Signature:
export interface AuthoringFormattedTextElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringGroup
AuthoringGroup interface
Signature:
export interface AuthoringGroup<T>
Properties
Home > @acoustic-content-sdk/api > AuthoringGroupElement
AuthoringGroupElement interface
Signature:
export interface AuthoringGroupElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringImage
AuthoringImage interface
Signature:
export interface AuthoringImage
Properties
Home > @acoustic-content-sdk/api > AuthoringImageElement
AuthoringImageElement interface
Signature:
export interface AuthoringImageElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringLayout
AuthoringLayout interface
Signature:
export interface AuthoringLayout
Properties
Home > @acoustic-content-sdk/api > AuthoringLayoutItem
AuthoringLayoutItem interface
Signature:
export interface AuthoringLayoutItem extends Layout
Properties
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping
AuthoringLayoutMapping interface
Signature:
export interface AuthoringLayoutMapping extends BaseAuthoringItem
Properties
Home > @acoustic-content-sdk/api > AuthoringLayoutMappingLayout
AuthoringLayoutMappingLayout interface
Signature:
export interface AuthoringLayoutMappingLayout
Properties
Property | Type | Description |
---|
id | string | |
name | string | |
Home > @acoustic-content-sdk/api > AuthoringLayoutMappingMapping
AuthoringLayoutMappingMapping interface
Signature:
export interface AuthoringLayoutMappingMapping
Properties
Home > @acoustic-content-sdk/api > AuthoringLayoutMappingType
AuthoringLayoutMappingType interface
Signature:
export interface AuthoringLayoutMappingType
Properties
Property | Type | Description |
---|
id | string | |
name | string | |
Home > @acoustic-content-sdk/api > AuthoringLinkElement
AuthoringLinkElement interface
Signature:
export interface AuthoringLinkElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringLocationElement
AuthoringLocationElement interface
Signature:
export interface AuthoringLocationElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringNumberElement
AuthoringNumberElement interface
Signature:
export interface AuthoringNumberElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringOption
AuthoringOption interface
Signature:
export interface AuthoringOption
Properties
Home > @acoustic-content-sdk/api > AuthoringOptionSelectionElement
AuthoringOptionSelectionElement interface
Signature:
export interface AuthoringOptionSelectionElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringPlaceholder
AuthoringPlaceholder interface
Signature:
export interface AuthoringPlaceholder
Properties
Property | Type | Description |
---|
show | boolean | |
text | string | |
Home > @acoustic-content-sdk/api > AuthoringReference
AuthoringReference interface
Signature:
export interface AuthoringReference
Properties
Property | Type | Description |
---|
elementType | typeof ELEMENT_TYPE_REFERENCE | |
value | AuthoringReferenceValue[] | |
values | AuthoringReferenceValue[] | |
Home > @acoustic-content-sdk/api > AuthoringReferenceElement
AuthoringReferenceElement interface
Signature:
export interface AuthoringReferenceElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringReferenceValue
AuthoringReferenceValue interface
Signature:
export interface AuthoringReferenceValue
Properties
Home > @acoustic-content-sdk/api > AuthoringSelectedLayout
AuthoringSelectedLayout interface
Signature:
export interface AuthoringSelectedLayout
Properties
Home > @acoustic-content-sdk/api > AuthoringText
AuthoringText interface
Signature:
export interface AuthoringText
Properties
Home > @acoustic-content-sdk/api > AuthoringTextElement
AuthoringTextElement interface
Signature:
export interface AuthoringTextElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringThumbnail
AuthoringThumbnail interface
Signature:
export interface AuthoringThumbnail
Properties
Property | Type | Description |
---|
id | string | |
path | string | |
url | string | |
Home > @acoustic-content-sdk/api > AuthoringToggleElement
AuthoringToggleElement interface
Signature:
export interface AuthoringToggleElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringType
AuthoringType interface
Signature:
export interface AuthoringType extends BaseAuthoringItem
Properties
Home > @acoustic-content-sdk/api > AuthoringUiExtensions
AuthoringUiExtensions interface
Signature:
export interface AuthoringUiExtensions
Properties
Home > @acoustic-content-sdk/api > AuthoringVariableTypeElement
AuthoringVariableTypeElement interface
Signature:
export interface AuthoringVariableTypeElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthoringVideo
AuthoringVideo interface
Signature:
export interface AuthoringVideo
Properties
Home > @acoustic-content-sdk/api > AuthoringVideoElement
AuthoringVideoElement interface
Signature:
export interface AuthoringVideoElement extends AuthoringElement
Properties
Home > @acoustic-content-sdk/api > AuthStatus
AuthStatus interface
Exposes the authentication status
Signature:
export interface AuthStatus
Properties
Property | Type | Description |
---|
authenticated$ | Observable<boolean> | Exposes the flag that tells if the system is authenticated. This is e.g. used to decide to use the delivery or mydelivery routes. |
Home > @acoustic-content-sdk/api > BaseAuthoringItem
BaseAuthoringItem interface
Base interface for all items
Signature:
export interface BaseAuthoringItem
Properties
Property | Type | Description |
---|
classification | string | The classification defines the document type. For content items, all documents are classified as "content". |
created | string | The created date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only. |
creatorId | string | |
description | string | The description of the item. |
id | string | The ID of the content item. |
lastModified | string | The last modified date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only. |
lastModifierId | string | name of user for now, this property may change once user management is defined (read only). |
linkedDocId | string | Optionally the ID of the ready item |
name | string | The name of the content item. |
path | string | |
rev | string | The current revision of the document. |
Home > @acoustic-content-sdk/api > BaseDeliveryItem
BaseDeliveryItem interface
Base interface for all items
Signature:
export interface BaseDeliveryItem
Properties
Property | Type | Description |
---|
classification | string | The classification defines the document type. For content items, all documents are classified as "content". |
created | string | The created date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only. |
creatorId | string | |
description | string | The description of the item. |
id | string | The ID of the content item. |
lastModified | string | The last modified date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only. |
lastModifierId | string | name of user for now, this property may change once user management is defined (read only). |
name | string | The name of the content item. |
rev | string | The current revision of the document. |
Home > @acoustic-content-sdk/api > Category
Category interface
Category is a reference element. The contents that are stored in the category element are references to categories created in content hub. When ?include=metadata is used, the categories property is included which has the full name path for each selected category.
Note: When you set categories on the category element, you need to add the UUID of the category to the categoryIds property. The categories property, which returns the name path of the category is a read-only property and is not used when the content is updated. If you set it during an update, it is ignored.
Signature:
export interface Category
Properties
Home > @acoustic-content-sdk/api > CategoryElement
CategoryElement interface
Category is a reference element. The contents that are stored in the category element are references to categories created in content hub. When ?include=metadata is used, the categories property is included which has the full name path for each selected category.
Note: When you set categories on the category element, you need to add the UUID of the category to the categoryIds property. The categories property, which returns the name path of the category is a read-only property and is not used when the content is updated. If you set it during an update, it is ignored.
Signature:
export interface CategoryElement extends AbstractElement, Category
Properties
Home > @acoustic-content-sdk/api > ContentItem
ContentItem interface
Representation of a generic content item.
Signature:
export interface ContentItem extends BaseDeliveryItem
Properties
Property | Type | Description |
---|
draftId | string | TBD |
draftStatus | DraftStatus | TBD |
elements | {
[key: string]: any;
} | Defined by the type and capture in the schema given by the type, in a real content, this property will be filled with more information.Note, we are using any here, because union types are hard to handle in templates. |
kind | CONTENT_ITEM_KIND[] | Kind of a content item |
locale | string | locale of the document (e.g "en", or "de"). |
projectId | string | The project ID |
tags | Array<string> | The tags describing the content item. |
type | string | this is the link to the content type document this content is based on. |
typeId | string | The ID of the content type this item belongs to. |
Home > @acoustic-content-sdk/api > ContentItemWithLayout
ContentItemWithLayout interface
Signature:
export interface ContentItemWithLayout extends ContentItem
Properties
Property | Type | Description |
---|
id | string | The ID of the content item. |
layouts | Layouts | The layouts for the content item, ordered by mode. The 'default' mode always exists and denotes the default layout. |
selectedLayouts | AuthoringSelectedLayout[] | Optionally the explicitly assigned layouts |
Home > @acoustic-content-sdk/api > ContentPublishApproval
ContentPublishApproval interface
Signature:
export interface ContentPublishApproval
Properties
Home > @acoustic-content-sdk/api > DateElement
DateElement interface
Common base class for all date elements
Signature:
export interface DateElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > DeliveryAccess
DeliveryAccess interface
Signature:
export interface DeliveryAccess
Properties
Home > @acoustic-content-sdk/api > DeliveryAsset
DeliveryAsset interface
Signature:
export interface DeliveryAsset
Properties
Home > @acoustic-content-sdk/api > DeliveryCategoryElement
DeliveryCategoryElement interface
Signature:
export interface DeliveryCategoryElement
Properties
Home > @acoustic-content-sdk/api > DeliveryContentItem
DeliveryContentItem interface
Signature:
export interface DeliveryContentItem
Properties
Property | Type | Description |
---|
$metadata | DeliveryContentMetadata | Metadata record |
Home > @acoustic-content-sdk/api > DeliveryContentMetadata
DeliveryContentMetadata interface
Common fields in all metadata records
Signature:
export interface DeliveryContentMetadata
Properties
Home > @acoustic-content-sdk/api > DeliveryFileElement
DeliveryFileElement interface
Signature:
export interface DeliveryFileElement
Properties
Property | Type | Description |
---|
asset | DeliveryFileAsset | |
url | string | |
Home > @acoustic-content-sdk/api > DeliveryGroupElement
DeliveryGroupElement interface
Signature:
export interface DeliveryGroupElement
Properties
Property | Type | Description |
---|
$metadata | DeliveryGroupElementMetadata | Optional metadata |
Home > @acoustic-content-sdk/api > DeliveryGroupElementMetadata
DeliveryGroupElementMetadata interface
Signature:
export interface DeliveryGroupElementMetadata
Properties
Property | Type | Description |
---|
accessor | string | Accessor that references the group element relative to the root of the authoring data structure |
selectedLayouts | DeliverySelectedLayouts | Optionally the selected layouts for the group element |
Home > @acoustic-content-sdk/api > DeliveryImageAsset
DeliveryImageAsset interface
Signature:
export interface DeliveryImageAsset extends DeliveryAsset
Properties
Home > @acoustic-content-sdk/api > DeliveryImageCrop
DeliveryImageCrop interface
Signature:
export interface DeliveryImageCrop
Properties
Home > @acoustic-content-sdk/api > DeliveryImageElement
DeliveryImageElement interface
Signature:
export interface DeliveryImageElement
Properties
Property | Type | Description |
---|
asset | DeliveryImageAsset | |
mode | DeliveryImageMode | |
renditions | Record<string, DeliveryImageRendition> | |
url | string | |
Home > @acoustic-content-sdk/api > DeliveryImageRendition
DeliveryImageRendition interface
Signature:
export interface DeliveryImageRendition
Properties
Home > @acoustic-content-sdk/api > DeliveryImageTransform
DeliveryImageTransform interface
Signature:
export interface DeliveryImageTransform
Properties
Property | Type | Description |
---|
crop | DeliveryImageCrop | |
scale | DeliveryImageScale | |
Home > @acoustic-content-sdk/api > DeliveryLayoutRef
DeliveryLayoutRef interface
Signature:
export interface DeliveryLayoutRef
Properties
Property | Type | Description |
---|
id | string | |
Home > @acoustic-content-sdk/api > DeliveryLinkElement
DeliveryLinkElement interface
Signature:
export interface DeliveryLinkElement
Properties
Home > @acoustic-content-sdk/api > DeliveryLocationElement
DeliveryLocationElement interface
Signature:
export interface DeliveryLocationElement
Properties
Home > @acoustic-content-sdk/api > DeliveryReferenceElement
DeliveryReferenceElement interface
Signature:
export interface DeliveryReferenceElement
Properties
Property | Type | Description |
---|
$metadata | DeliveryReferenceElementMetadata | |
Home > @acoustic-content-sdk/api > DeliveryReferenceElementMetadata
DeliveryReferenceElementMetadata interface
Signature:
export interface DeliveryReferenceElementMetadata extends Partial<DeliveryContentMetadata>
Properties
Property | Type | Description |
---|
id | string | |
Home > @acoustic-content-sdk/api > DeliverySelectedLayout
DeliverySelectedLayout interface
Signature:
export interface DeliverySelectedLayout
Properties
Property | Type | Description |
---|
layout | DeliveryLayoutRef | |
Home > @acoustic-content-sdk/api > DeliveryThumbnail
DeliveryThumbnail interface
Signature:
export interface DeliveryThumbnail
Properties
Property | Type | Description |
---|
id | string | |
url | string | |
Home > @acoustic-content-sdk/api > DeliveryVideoElement
DeliveryVideoElement interface
Signature:
export interface DeliveryVideoElement
Home > @acoustic-content-sdk/api > DynamicLoggerFactory
DynamicLoggerFactory interface
Instantiator for loggers. Clients of the SDK can use this interface to inject their custom logger implementation.
Signature:
export interface DynamicLoggerFactory
Methods
Method | Description |
---|
get() | Returns a logger that is instantiated lazily (and potentially) multiple times. |
Home > @acoustic-content-sdk/api > ElementMap
ElementMap interface
Signature:
export interface ElementMap<T>
Home > @acoustic-content-sdk/api > ElementWithMarkup
ElementWithMarkup interface
Signature:
export interface ElementWithMarkup
Properties
Property | Type | Description |
---|
$markup | string | Optionally the markup for an element |
Home > @acoustic-content-sdk/api > ErrorDetail
ErrorDetail interface
Signature:
export interface ErrorDetail
Properties
Home > @acoustic-content-sdk/api > ErrorResponse
ErrorResponse interface
JSON structure of an error response
Signature:
export interface ErrorResponse
Properties
Home > @acoustic-content-sdk/api > ExtendedContext
ExtendedContext interface
Signature:
export interface ExtendedContext extends SiteContext
Properties
Property | Type | Description |
---|
hub | HubContext | |
Home > @acoustic-content-sdk/api > ExtendedContextV2
ExtendedContextV2 interface
Signature:
export interface ExtendedContextV2
Properties
Property | Type | Description |
---|
editMode | boolean | Information about edit mode |
hub | HubContext | Information about URLs that can be used to access the REST APIs |
Home > @acoustic-content-sdk/api > File
File interface
Signature:
export interface File
Properties
Property | Type | Description |
---|
asset | Asset | |
url | string | |
Home > @acoustic-content-sdk/api > FileElement
FileElement interface
Common base class for all file elements
Signature:
export interface FileElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > FormattedTextElement
FormattedTextElement interface
Common base class for all text elements
Signature:
export interface FormattedTextElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > Group
Group interface
Interface that represents a grouping of elements
Signature:
export interface Group
Home > @acoustic-content-sdk/api > GroupElement
GroupElement interface
Common base class for all group elements
Signature:
export interface GroupElement extends AbstractElement
Properties
Property | Type | Description |
---|
elementType | 'group' | |
layouts | Layouts | The layouts for the content item, ordered by mode. The 'default' mode always exists and denotes the default layout. |
selectedLayouts | AuthoringSelectedLayout[] | Optionally the explicitly assigned layouts |
typeRef | TypeRef | Reference to the actual type |
Home > @acoustic-content-sdk/api > HttpResourceOptions
HttpResourceOptions interface
Signature:
export interface HttpResourceOptions
Properties
Property | Type | Description |
---|
pollTime | number | |
pollTimeVariation | number | |
retries | number | |
useApi | boolean | Optionally use REST to load resources, default is true |
useBootstrap | boolean | Optionally enable pre-loading from bootstrap, default is true |
useJsonP | boolean | Configure if we should use XHR or JSONp |
useLocalStorage | boolean | Optionally enable pre-loading from local storage, default is true |
usePolling | boolean | Configure if we should use polling at all, default is true |
useStaticResources | boolean | Optionally enable use of static resources, default is true |
Home > @acoustic-content-sdk/api > HubContext
HubContext interface
Signature:
export interface HubContext
Properties
Home > @acoustic-content-sdk/api > HubInfo
HubInfo interface
Exposes information required to access the content hub REST API. This information can be obtained via the 'Watson Content Hub information' section.
Signature:
export interface HubInfo
Properties
Home > @acoustic-content-sdk/api > HubInfoConfig
HubInfoConfig interface
Base class for services providing hub information. We need a base class to be able to specify this service as injectable
Signature:
export interface HubInfoConfig
Properties
Property | Type | Description |
---|
apiUrl | HubInfoUrlProvider | URL to access the API layerNaming of this field according to the field in the rendering context |
baseUrl | HubInfoUrlProvider | URL that represents the base URL of the path based routing of the application. This prefix will be preserved when generating and recognizing URLs. If this property is not configured, then it will be decoded from the window location. |
cycleHandlingStrategy | CYCLE_HANDLING | string | Optionally specify how the SDK is supposed to deal with cyclic references in the content data structure. Per default the rendering context will break cycles by representing the duplicate element in a reference path by an unresolved reference. When configuring the strategy to CYCLE_HANDLING.RESOLVE, the ContentrefComponent will use a resolved refence when rendering the context, instead of the unresolved reference. This bears the risk of an infinite loop during rendering. The actual rendering context objects will still not have cycles, so a JSON serialization of these objects will produce a valid result.Default is CYCLE_HANDLING.BREAK |
fetchLevels | number | Number of levels to fetch per request to the rendering context. If missing all levels will be fetched. |
httpOptions | HttpResourceOptions | Optionally specify how the SDK makes outbound requests |
httpPreviewOptions | HttpResourceOptions | Optionally specify how the SDK makes outbound requests for the preview case |
resourceUrl | HubInfoUrlProvider | URL to access the deliveryNaming of this field according to the field in the rendering context |
Home > @acoustic-content-sdk/api > IbmCommerce
IbmCommerce interface
Signature:
export interface IbmCommerce
Properties
Home > @acoustic-content-sdk/api > Image
Image interface
Signature:
export interface Image
Properties
Home > @acoustic-content-sdk/api > ImageElement
ImageElement interface
Common base class for all image elements
Signature:
export interface ImageElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > Layout
Layout interface
Representation of a layout descriptor in the delivery artifacts
Signature:
export interface Layout
Properties
Property | Type | Description |
---|
id | string | ID of the layout |
name | string | Name of the layout |
template | string | The template description, will be a selector for angular and a filename for handlebars |
templateType | string | The template type, either 'handlebars' or 'angular' |
Home > @acoustic-content-sdk/api > Link
Link interface
Signature:
export interface Link
Properties
Home > @acoustic-content-sdk/api > LinkElement
LinkElement interface
Common base class for all link elements
Signature:
export interface LinkElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > Location
Location interface
Signature:
export interface Location
Properties
Home > @acoustic-content-sdk/api > LocationElement
LocationElement interface
Signature:
export interface LocationElement extends AbstractElement, Location
Properties
Home > @acoustic-content-sdk/api > Logger
Logger interface
Abstraction of the logger interface, trying to be as generic as possible. The identity of the logger is passed at creation time via the factory. Note that this interface is compatible to the console instance.
Signature:
export interface Logger
Methods
Home > @acoustic-content-sdk/api > LoggerFactory
LoggerFactory interface
Instantiator for loggers. Clients of the SDK can use this interface to inject their custom logger implementation.
Signature:
export interface LoggerFactory
Methods
Method | Description |
---|
create(name) | Construct the logger instance. There is no need to protect against the creation of multiple loggers, the caller will make sure that loggers are singletons. |
Home > @acoustic-content-sdk/api > LoggerService
LoggerService interface
Service to return a logger for a given name. Calling the getter multiple times with the same name will return the same instance of the logger.
Signature:
export interface LoggerService
Properties
Property | Type | Description |
---|
get | (name: string) => Logger | Returns a logger for the given name$1$2 -$3 |
Home > @acoustic-content-sdk/api > MultiDateElement
MultiDateElement interface
Date element uses a string property, the value must be an ISO 8601 date time.
Signature:
export interface MultiDateElement extends DateElement
Properties
Property | Type | Description |
---|
values | string[] | |
Home > @acoustic-content-sdk/api > MultiFileElement
MultiFileElement interface
Signature:
export interface MultiFileElement extends FileElement
Properties
Property | Type | Description |
---|
values | File[] | |
Home > @acoustic-content-sdk/api > MultiFormattedTextElement
MultiFormattedTextElement interface
The text element holds text value in a JSON string.
Signature:
export interface MultiFormattedTextElement extends FormattedTextElement
Properties
Property | Type | Description |
---|
values | string[] | |
Home > @acoustic-content-sdk/api > MultiGroupElement
MultiGroupElement interface
The text element holds text value in a JSON string.
Signature:
export interface MultiGroupElement extends GroupElement
Properties
Property | Type | Description |
---|
values | Group[] | |
Home > @acoustic-content-sdk/api > MultiImageElement
MultiImageElement interface
Signature:
export interface MultiImageElement extends ImageElement
Properties
Property | Type | Description |
---|
values | Image[] | |
Home > @acoustic-content-sdk/api > MultiLinkElement
MultiLinkElement interface
Link element has three text fields linkURL, linkText, and linkDescription.
Signature:
export interface MultiLinkElement extends LinkElement
Properties
Property | Type | Description |
---|
values | Link[] | |
Home > @acoustic-content-sdk/api > MultiNumberElement
MultiNumberElement interface
The Number element stores the value in the JSON as a number type.
Signature:
export interface MultiNumberElement extends NumberElement
Properties
Property | Type | Description |
---|
values | number[] | |
Home > @acoustic-content-sdk/api > MultiOptionSelectionElement
MultiOptionSelectionElement interface
The text element holds text value in a JSON string.
Signature:
export interface MultiOptionSelectionElement extends OptionSelectionElement
Properties
Property | Type | Description |
---|
values | OptionSelection[] | |
Home > @acoustic-content-sdk/api > MultiProductElement
MultiProductElement interface
The text element holds text value in a JSON string.
Signature:
export interface MultiProductElement extends ProductElement
Properties
Property | Type | Description |
---|
values | string[] | |
Home > @acoustic-content-sdk/api > MultiReferenceElement
MultiReferenceElement interface
Signature:
export interface MultiReferenceElement extends ReferenceElement
Properties
Property | Type | Description |
---|
values | RenderingContext[] | |
Home > @acoustic-content-sdk/api > MultiTextElement
MultiTextElement interface
The text element holds text value in a JSON string.
Signature:
export interface MultiTextElement extends TextElement
Properties
Property | Type | Description |
---|
values | string[] | |
Home > @acoustic-content-sdk/api > MultiToggleElement
MultiToggleElement interface
Toggle just uses JSON Boolean.
Signature:
export interface MultiToggleElement extends ToggleElement
Properties
Property | Type | Description |
---|
values | boolean[] | |
Home > @acoustic-content-sdk/api > MultiVideoElement
MultiVideoElement interface
Signature:
export interface MultiVideoElement extends VideoElement
Properties
Property | Type | Description |
---|
values | Video[] | |
Home > @acoustic-content-sdk/api > NumberElement
NumberElement interface
Common base class for all number elements
Signature:
export interface NumberElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > OptionSelection
OptionSelection interface
Representation of a selection
Signature:
export interface OptionSelection
Properties
Home > @acoustic-content-sdk/api > OptionSelectionElement
OptionSelectionElement interface
Common base class for all options election elements
Signature:
export interface OptionSelectionElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > PageSearchResult
PageSearchResult interface
Signature:
export interface PageSearchResult extends SearchResult<SitePage>
Properties
Home > @acoustic-content-sdk/api > ProductElement
ProductElement interface
Signature:
export interface ProductElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > Query
Query interface
Signature:
export interface Query
Home > @acoustic-content-sdk/api > ReferenceElement
ReferenceElement interface
Common base class for all reference elements
Signature:
export interface ReferenceElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > RenderingContext
RenderingContext interface
Signature:
export interface RenderingContext extends ContentItemWithLayout
Properties
Home > @acoustic-content-sdk/api > RenderingContextGroupElement
RenderingContextGroupElement interface
Signature:
export interface RenderingContextGroupElement extends DeliveryGroupElement, ElementWithMarkup
Home > @acoustic-content-sdk/api > RenderingContextInterceptor
RenderingContextInterceptor interface
Interceptor that can expose transforms for the rendering contexts.
Signature:
export interface RenderingContextInterceptor
Properties
Property | Type | Description |
---|
opRenderingContext | MonoTypeOperatorFunction<RenderingContext> | operator to intercept a single rendering context |
opRenderingContexts | MonoTypeOperatorFunction<RenderingContext[]> | operator to intercept a multiple rendering contexts |
Home > @acoustic-content-sdk/api > RenderingContextProvider
RenderingContextProvider interface
Signature:
export interface RenderingContextProvider
Properties
Property | Type | Description |
---|
onRenderingContext | Observable<RenderingContext> | Retrieves the rendering context for the content item. |
Home > @acoustic-content-sdk/api > RenderingContextProviderV2
RenderingContextProviderV2 interface
Signature:
export interface RenderingContextProviderV2
Properties
Property | Type | Description |
---|
renderingContext$ | Observable<RenderingContextV2> | Retrieves the rendering context for the content item. |
Home > @acoustic-content-sdk/api > RenderingContextQueryResult
RenderingContextQueryResult interface
Signature:
export interface RenderingContextQueryResult
Properties
Home > @acoustic-content-sdk/api > RenderingContextReferenceElement
RenderingContextReferenceElement interface
Signature:
export interface RenderingContextReferenceElement extends DeliveryReferenceElement, ElementWithMarkup
Home > @acoustic-content-sdk/api > RenderingContextSearchResult
RenderingContextSearchResult interface
Signature:
export interface RenderingContextSearchResult extends SearchResult<RenderingContext>
Properties
Property | Type | Description |
---|
document | RenderingContext | |
Home > @acoustic-content-sdk/api > RenderingContextV2
RenderingContextV2 interface
Signature:
export interface RenderingContextV2 extends DeliveryContentItem
Properties
Property | Type | Description |
---|
$context | ExtendedContextV2 | Rendering context |
Home > @acoustic-content-sdk/api > Rendition
Rendition interface
Signature:
export interface Rendition
Properties
Home > @acoustic-content-sdk/api > Resource
Resource interface
Signature:
export interface Resource
Properties
Home > @acoustic-content-sdk/api > SdkActiveRouteEvent
SdkActiveRouteEvent interface
Signature:
export interface SdkActiveRouteEvent extends SdkMessagePayload
Properties
Property | Type | Description |
---|
page | DeliveryContentItem | |
type | 'WchSdk.router.activeRoute' | |
Home > @acoustic-content-sdk/api > SdkErrorResponse
SdkErrorResponse interface
Response sent when processing a message fails
Signature:
export interface SdkErrorResponse extends SdkMessagePayload
Properties
Property | Type | Description |
---|
error | any | |
Home > @acoustic-content-sdk/api > SdkMessageHandler
SdkMessageHandler interface
Signature:
export interface SdkMessageHandler
Properties
Property | Type | Description |
---|
handle | SdkMessageHandlerCallback | |
Home > @acoustic-content-sdk/api > SdkMessagePayload
SdkMessagePayload interface
Base interfaces for events that can be sent to the SDK
Signature:
export interface SdkMessagePayload
Properties
Property | Type | Description |
---|
id | string | |
type | string | |
Home > @acoustic-content-sdk/api > SdkModeEvent
SdkModeEvent interface
Signature:
export interface SdkModeEvent extends SdkMessagePayload
Properties
Property | Type | Description |
---|
mode | SdkMode | |
type | 'WchSdk.mode' | |
Home > @acoustic-content-sdk/api > SdkNavigateByPathEvent
SdkNavigateByPathEvent interface
Signature:
export interface SdkNavigateByPathEvent extends SdkMessagePayload
Properties
Property | Type | Description |
---|
path | string | |
type | 'WchSdk.router.navigateByPath' | |
Home > @acoustic-content-sdk/api > SdkNavigateByPathResponse
SdkNavigateByPathResponse interface
Response to the navigation event
Signature:
export interface SdkNavigateByPathResponse extends SdkMessagePayload
Properties
Home > @acoustic-content-sdk/api > SdkRefreshEvent
SdkRefreshEvent interface
Signature:
export interface SdkRefreshEvent extends SdkMessagePayload
Properties
Property | Type | Description |
---|
type | 'WchSdk.refresh' | |
Home > @acoustic-content-sdk/api > SdkRouteEvent
SdkRouteEvent interface
Signature:
export interface SdkRouteEvent extends SdkMessagePayload
Properties
Property | Type | Description |
---|
page | DeliveryContentItem | |
route | string | |
type | 'WchSdk.router.route' | |
Home > @acoustic-content-sdk/api > SdkSetModeEvent
SdkSetModeEvent interface
Signature:
export interface SdkSetModeEvent extends SdkMessagePayload
Properties
Property | Type | Description |
---|
mode | SdkMode | |
type | 'WchSdk.setMode' | |
Home > @acoustic-content-sdk/api > SdkSetModeResponse
SdkSetModeResponse interface
Response to the set mode event
Signature:
export interface SdkSetModeResponse extends SdkMessagePayload
Properties
Home > @acoustic-content-sdk/api > SdkSubscribeActiveRouteEvent
SdkSubscribeActiveRouteEvent interface
Signature:
export interface SdkSubscribeActiveRouteEvent extends SdkMessagePayload
Properties
Property | Type | Description |
---|
type | 'WchSdk.router.activeRoute.subscribe' | |
Home > @acoustic-content-sdk/api > SdkSubscribeActiveRouteEventResponse
SdkSubscribeActiveRouteEventResponse interface
Signature:
export interface SdkSubscribeActiveRouteEventResponse extends SdkSubscribeEventResponse
Home > @acoustic-content-sdk/api > SdkSubscribeEventResponse
SdkSubscribeEventResponse interface
Response to a subscription
Signature:
export interface SdkSubscribeEventResponse extends SdkMessagePayload
Properties
Property | Type | Description |
---|
handle | string | |
Home > @acoustic-content-sdk/api > SdkSubscribeModeEvent
SdkSubscribeModeEvent interface
Signature:
export interface SdkSubscribeModeEvent extends SdkMessagePayload
Properties
Property | Type | Description |
---|
type | 'WchSdk.mode.subscribe' | |
Home > @acoustic-content-sdk/api > SdkSubscribeModeEventResponse
SdkSubscribeModeEventResponse interface
Signature:
export interface SdkSubscribeModeEventResponse extends SdkSubscribeEventResponse
Home > @acoustic-content-sdk/api > SdkSubscribeRouteEvent
SdkSubscribeRouteEvent interface
Signature:
export interface SdkSubscribeRouteEvent extends SdkMessagePayload
Properties
Property | Type | Description |
---|
route | string | string[] | The desired route. If the route is a string, then it is the ESCAPED path. If it is a string array, then each array element contains the UNESCAPED path segment |
type | 'WchSdk.router.route.subscribe' | |
Home > @acoustic-content-sdk/api > SdkSubscribeRouteEventResponse
SdkSubscribeRouteEventResponse interface
Signature:
export interface SdkSubscribeRouteEventResponse extends SdkSubscribeEventResponse
Home > @acoustic-content-sdk/api > SdkUnsubscribeEvent
SdkUnsubscribeEvent interface
Signature:
export interface SdkUnsubscribeEvent extends SdkMessagePayload
Properties
Property | Type | Description |
---|
handle | string | |
type | 'WchSdk.unsubscribe' | |
Home > @acoustic-content-sdk/api > SearchResult
SearchResult interface
Signature:
export interface SearchResult<T>
Properties
Home > @acoustic-content-sdk/api > SearchResults
SearchResults interface
Signature:
export interface SearchResults<T>
Properties
Home > @acoustic-content-sdk/api > SingleDateElement
SingleDateElement interface
Date element uses a string property, the value must be an ISO 8601 date time.
Signature:
export interface SingleDateElement extends DateElement
Properties
Property | Type | Description |
---|
value | string | |
Home > @acoustic-content-sdk/api > SingleFileElement
SingleFileElement interface
File element is the most basic asset reference element. It is a reference element that is used to point to an asset in content hub. Except for asset ID, all the other properties are read-only and are added from the asset at the time it is selected on a content.
With asset references most of the properties are read-only and come from the asset. So when you set a file on file element you need to set the asset.id property. The other information is fetched automatically by the content service and stored in read-only fields.
Signature:
export interface SingleFileElement extends FileElement, File
Home > @acoustic-content-sdk/api > SingleFormattedTextElement
SingleFormattedTextElement interface
The text element holds text value in a JSON string.
Signature:
export interface SingleFormattedTextElement extends FormattedTextElement
Properties
Property | Type | Description |
---|
value | string | |
Home > @acoustic-content-sdk/api > SingleGroupElement
SingleGroupElement interface
The text element holds group value in a JSON string.
Signature:
export interface SingleGroupElement extends GroupElement
Properties
Property | Type | Description |
---|
value | Group | |
Home > @acoustic-content-sdk/api > SingleImageElement
SingleImageElement interface
Image is one of the more complex elements and the following section describes a normal image without an image profile configured. For information on updating and formatting the image element, go to Updating image element format.
Note: You are always selecting a rendition of an asset and not the asset directly. As a result interactions with image elements involve setting and updating a rendition reference. Most other fields that are displayed in image element are read only!
Signature:
export interface SingleImageElement extends ImageElement, Image
Home > @acoustic-content-sdk/api > SingleLinkElement
SingleLinkElement interface
Link element has three text fields linkURL, linkText, and linkDescription.
Signature:
export interface SingleLinkElement extends LinkElement, Link
Home > @acoustic-content-sdk/api > SingleNumberElement
SingleNumberElement interface
The Number element stores the value in the JSON as a number type.
Signature:
export interface SingleNumberElement extends NumberElement
Properties
Property | Type | Description |
---|
value | number | |
Home > @acoustic-content-sdk/api > SingleOptionSelectionElement
SingleOptionSelectionElement interface
The text element holds text value in a JSON string.
Signature:
export interface SingleOptionSelectionElement extends OptionSelectionElement
Properties
Property | Type | Description |
---|
value | OptionSelection | |
Home > @acoustic-content-sdk/api > SingleProductElement
SingleProductElement interface
The text element holds text value in a JSON string.
Signature:
export interface SingleProductElement extends ProductElement
Properties
Property | Type | Description |
---|
value | string | |
Home > @acoustic-content-sdk/api > SingleReferenceElement
SingleReferenceElement interface
Signature:
export interface SingleReferenceElement extends ReferenceElement
Properties
Property | Type | Description |
---|
value | RenderingContext | |
Home > @acoustic-content-sdk/api > SingleTextElement
SingleTextElement interface
The text element holds text value in a JSON string.
Signature:
export interface SingleTextElement extends TextElement
Properties
Property | Type | Description |
---|
value | string | |
Home > @acoustic-content-sdk/api > SingleToggleElement
SingleToggleElement interface
Toggle just uses JSON Boolean.
Signature:
export interface SingleToggleElement extends ToggleElement
Properties
Property | Type | Description |
---|
value | boolean | |
Home > @acoustic-content-sdk/api > SingleVideoElement
SingleVideoElement interface
Standard video element is similar to the file element. The video asset is represented in the asset section. Optionally a video asset can have a caption and a thumbnail as well, and in this case both of these point two resources in content hub. As mentioned with file, most of the properties here are inlined data from the asset/resource and is read-only. To update a video asset or its caption/thumbnail update the relevant asset/resource ID. The related information is retrieved again and added. Attempts to change the read-only fields are ignored.
Signature:
export interface SingleVideoElement extends VideoElement, Video
Home > @acoustic-content-sdk/api > Site
Site interface
Signature:
export interface Site extends SiteRoot
Properties
Property | Type | Description |
---|
id | string | |
name | string | |
pages | SiteChild[] | |
Home > @acoustic-content-sdk/api > SiteChild
SiteChild interface
Signature:
export interface SiteChild extends SitePage
Properties
Property | Type | Description |
---|
children | SiteChild[] | |
Home > @acoustic-content-sdk/api > SiteContext
SiteContext interface
Signature:
export interface SiteContext
Properties
Home > @acoustic-content-sdk/api > SiteDeliveryContentItem
SiteDeliveryContentItem interface
Signature:
export interface SiteDeliveryContentItem
Properties
Property | Type | Description |
---|
$metadata | DeliveryContentMetadata | Metadata record |
navigation | DeliveryReferenceElement | Navigation reference |
title | string | Title |
Home > @acoustic-content-sdk/api > SiteNavigationDeliveryContentItem
SiteNavigationDeliveryContentItem interface
Delivery record for the site content item
843fb991-7413-4517-bfcb-b59fc4b1f449
Signature:
export interface SiteNavigationDeliveryContentItem
Properties
Property | Type | Description |
---|
$metadata | DeliveryContentMetadata | Metadata record |
defaultPage | string | Default page |
tree | string | JSON tree. The content is a serialization of SiteNavigation |
Home > @acoustic-content-sdk/api > SiteNavigationPage
SiteNavigationPage interface
Reference to a page in the site navigation
Signature:
export interface SiteNavigationPage
Properties
Property | Type | Description |
---|
children | SiteNavigationPage[] | Optionally, the navigation children of the page |
id | string | ID of the referenced page |
Home > @acoustic-content-sdk/api > SitePage
SitePage interface
Signature:
export interface SitePage extends BaseDeliveryItem
Properties
Home > @acoustic-content-sdk/api > SitePagesQueryResult
SitePagesQueryResult interface
Signature:
export interface SitePagesQueryResult
Properties
Home > @acoustic-content-sdk/api > SiteRoot
SiteRoot interface
Signature:
export interface SiteRoot
Home > @acoustic-content-sdk/api > Tenant
Tenant interface
Signature:
export interface Tenant
Properties
Home > @acoustic-content-sdk/api > TextElement
TextElement interface
Common base class for all text elements
Signature:
export interface TextElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > ToggleElement
ToggleElement interface
Common base class for all toggle elements
Signature:
export interface ToggleElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > TypeRef
TypeRef interface
Reference to a content type
Signature:
export interface TypeRef
Properties
Home > @acoustic-content-sdk/api > UrlConfig
UrlConfig interface
Exposes the URL configuration to the client.
See HubInfoConfig
Signature:
export interface UrlConfig extends HubInfo
Properties
Property | Type | Description |
---|
apiUrl | URL | The base URL used to access WCH APIs. The URL ends with a slash. |
baseUrl | URL | The base URL of the host the application is running on. This can be undefined if the application is rendered standalone as part of the universal renderer. This prefix will be preserved when generating and recognizing URLs.In many cases it is identical to the resourceUrl, but it will e.g. be different for applications that are not hosted on WCH. |
isPreviewMode | boolean | True if the system runs in preview mode, else false. |
resourceUrl | URL | The base URL used to access WCH delivery resources. The URL ends with a slash. |
Home > @acoustic-content-sdk/api > User
User interface
Representation of a user
Signature:
export interface User
Properties
Property | Type | Description |
---|
created | string | Date when this item was created |
creator | string | |
displayName | string | The name of the user that can be displayed in the UI |
externalId | string | The unique external identifier of the user (e.g. BlueID). Although, this field can store email addresses, other types of unique identifiers may be stored too. Do not use this field as a replacement for the user attribute email address. |
firstName | string | The first name of the user |
id | string | The unique internal identifier of the user |
lastLogin | string | Date when this user logged in for the last time before current session |
lastModified | string | Date when this item was modified for the last time |
lastModifier | string | |
lastName | string | The last name of the user |
roles | string[] | The roles of the user that will be used for access control (empty for the anonymous user) |
Home > @acoustic-content-sdk/api > Video
Video interface
Signature:
export interface Video
Properties
Home > @acoustic-content-sdk/api > VideoElement
VideoElement interface
Common base class for all video elements
Signature:
export interface VideoElement extends AbstractElement
Properties
Home > @acoustic-content-sdk/api > WchHttp
WchHttp interface
Signature:
export interface WchHttp
Properties
Property | Type | Description |
---|
getJsonResource | <T>(aUrl: string, aOptions?: HttpResourceOptions) => Observable<T> | Fetches a JSON resource and keeps this live based on the given or the default options$1$2 -$3 |
getTextResource | (aUrl: string, aOptions?: HttpResourceOptions) => Observable<string> | Fetches a string resource and keeps this live based on the given or the default options$1$2 -$3 |
Home > @acoustic-content-sdk/api > WchSdk
WchSdk interface
Signature:
export interface WchSdk
Properties
Property | Type | Description |
---|
logger | LoggerService | Returns a factory to access loggers |
refresh | () => void | Refreshes the rendering context and all JSON data that is currently displayed |
router | WchSdkRouter | |
search | WchSdkSearch | Optional search service |
version | WchSdkVersion | Returns version information from the SDK |
Home > @acoustic-content-sdk/api > WchSdkRouter
WchSdkRouter interface
Signature:
export interface WchSdkRouter
Properties
Property | Type | Description |
---|
activeRenderingContext | () => Observable<RenderingContext> | Returns an observable that represents the active rendering context |
activeRoute | () => Observable<SitePage> | Returns an observable that represents the active route |
navigateByPath | (aPath: string) => PromiseLike<boolean> | |
Home > @acoustic-content-sdk/api > WchSdkSearch
WchSdkSearch interface
Signature:
export interface WchSdkSearch
Properties
Property | Type | Description |
---|
getRenderingContextById | (aId: string, aLevels?: number) => Observable<RenderingContext> | Locates the rendering context identified by the ID$1$2 -$3 $1$2 -$3 |
getRenderingContexts | (aValue: QueryInput, aLevels?: number) => Observable<RenderingContextQueryResult> | Locates all rendering contexts that match a particular query. It is not necessary to add the classification to the query, it will automatically only apply to content for the current site$1$2 -$3 $1$2 -$3 |
getSitePages | (aValue: QueryInput) => Observable<SitePagesQueryResult> | Locates all pages that match a particular query. It is not necessary to add the classification to the query, it will automatically only apply to pages for the current site$1$2 -$3 |
Home > @acoustic-content-sdk/api > WchSdkVersion
WchSdkVersion interface
Defines the version number and the build date of the SDK.
Signature:
export interface WchSdkVersion
Properties
Property | Type | Description |
---|
build | Date | |
version | {
readonly major: string;
readonly minor: string;
readonly patch: string;
} | |
Home > @acoustic-content-sdk/api > CLASSIFICATION_ASSET
CLASSIFICATION_ASSET variable
Signature:
CLASSIFICATION_ASSET = "asset"
Home > @acoustic-content-sdk/api > CLASSIFICATION_CONTENT_TYPE
CLASSIFICATION_CONTENT_TYPE variable
Signature:
CLASSIFICATION_CONTENT_TYPE = "content-type"
Home > @acoustic-content-sdk/api > CLASSIFICATION_CONTENT
CLASSIFICATION_CONTENT variable
Signature:
CLASSIFICATION_CONTENT = "content"
Home > @acoustic-content-sdk/api > CLASSIFICATION_LAYOUT_MAPPING
CLASSIFICATION_LAYOUT_MAPPING variable
Signature:
CLASSIFICATION_LAYOUT_MAPPING = "layout-mapping"
Home > @acoustic-content-sdk/api > CLASSIFICATION_LAYOUT
CLASSIFICATION_LAYOUT variable
Signature:
CLASSIFICATION_LAYOUT = "layout"
Home > @acoustic-content-sdk/api > CLASSIFICATION_PAGE
CLASSIFICATION_PAGE variable
Signature:
CLASSIFICATION_PAGE = "page"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_CATEGORY
ELEMENT_TYPE_CATEGORY variable
Signature:
_ELEMENT_TYPE_CATEGORY = "category"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_DATE
ELEMENT_TYPE_DATE variable
Signature:
_ELEMENT_TYPE_DATE = "datetime"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_FILE
ELEMENT_TYPE_FILE variable
Signature:
_ELEMENT_TYPE_FILE = "file"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_FORMATTED_TEXT
ELEMENT_TYPE_FORMATTED_TEXT variable
Signature:
_ELEMENT_TYPE_FORMATTED_TEXT = "formattedtext"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_GROUP
ELEMENT_TYPE_GROUP variable
Signature:
_ELEMENT_TYPE_GROUP = "group"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_IMAGE
ELEMENT_TYPE_IMAGE variable
Signature:
_ELEMENT_TYPE_IMAGE = "image"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_LINK
ELEMENT_TYPE_LINK variable
Signature:
_ELEMENT_TYPE_LINK = "link"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_LOCATION
ELEMENT_TYPE_LOCATION variable
Signature:
_ELEMENT_TYPE_LOCATION = "location"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_NUMBER
ELEMENT_TYPE_NUMBER variable
Signature:
_ELEMENT_TYPE_NUMBER = "number"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_OPTION_SELECTION
ELEMENT_TYPE_OPTION_SELECTION variable
Signature:
_ELEMENT_TYPE_OPTION_SELECTION = "optionselection"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_PRODUCT
ELEMENT_TYPE_PRODUCT variable
Signature:
_ELEMENT_TYPE_PRODUCT = "product"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_REFERENCE
ELEMENT_TYPE_REFERENCE variable
Signature:
_ELEMENT_TYPE_REFERENCE = "reference"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_TEXT
ELEMENT_TYPE_TEXT variable
Signature:
_ELEMENT_TYPE_TEXT = "text"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_TOGGLE
ELEMENT_TYPE_TOGGLE variable
Signature:
_ELEMENT_TYPE_TOGGLE = "toggle"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_VARIABLE
ELEMENT_TYPE_VARIABLE variable
Signature:
_ELEMENT_TYPE_VARIABLE = "variabletype"
Home > @acoustic-content-sdk/api > ELEMENT_TYPE_VIDEO
ELEMENT_TYPE_VIDEO variable
Signature:
_ELEMENT_TYPE_VIDEO = "video"
Home > @acoustic-content-sdk/api > HEADER_BASICAUTH_TENANT_ID
Signature:
HEADER_BASICAUTH_TENANT_ID = "x-ibm-dx-tenant-id"
Home > @acoustic-content-sdk/api > KEY_ACCEPT_PRIVACY_NOTICE
KEY_ACCEPT_PRIVACY_NOTICE variable
Signature:
KEY_ACCEPT_PRIVACY_NOTICE = "accept-privacy-notice"
Home > @acoustic-content-sdk/api > KEY_ACCESSOR
KEY_ACCESSOR variable
Signature:
KEY_ACCESSOR = "accessor"
Home > @acoustic-content-sdk/api > KEY_BASICAUTH_LOGIN_PASSWORD
KEY_BASICAUTH_LOGIN_PASSWORD variable
Signature:
KEY_BASICAUTH_LOGIN_PASSWORD = "j_password"
Home > @acoustic-content-sdk/api > KEY_BASICAUTH_LOGIN_USERNAME
KEY_BASICAUTH_LOGIN_USERNAME variable
Signature:
KEY_BASICAUTH_LOGIN_USERNAME = "j_username"
Home > @acoustic-content-sdk/api > KEY_CREATOR_ID
KEY_CREATOR_ID variable
Signature:
KEY_CREATOR_ID = "creatorId"
Home > @acoustic-content-sdk/api > KEY_ELEMENT_TYPE
KEY_ELEMENT_TYPE variable
Signature:
KEY_ELEMENT_TYPE = "elementType"
Home > @acoustic-content-sdk/api > KEY_ID
KEY_ID variable
Signature:
KEY_ID = "id"
Home > @acoustic-content-sdk/api > KEY_METADATA
KEY_METADATA variable
Signature:
KEY_METADATA: keyof DeliveryReferenceElement
Home > @acoustic-content-sdk/api > KEY_NAME
KEY_NAME variable
Signature:
KEY_NAME = "name"
Home > @acoustic-content-sdk/api > KEY_STATUS
KEY_STATUS variable
Signature:
KEY_STATUS = "status"
Home > @acoustic-content-sdk/api > KEY_TYPE_ID
KEY_TYPE_ID variable
Signature:
KEY_TYPE_ID = "typeId"
Home > @acoustic-content-sdk/api > KEY_TYPE_REF
KEY_TYPE_REF variable
Signature:
KEY_TYPE_REF = "typeRef"
Home > @acoustic-content-sdk/api > KEY_VALUE
KEY_VALUE variable
Signature:
KEY_VALUE = "value"
Home > @acoustic-content-sdk/api > KEY_VALUES
KEY_VALUES variable
Signature:
KEY_VALUES = "values"
Home > @acoustic-content-sdk/api > KEY_WCH_SEED
KEY_WCH_SEED variable
Signature:
KEY_WCH_SEED = "-wch-seed"
Home > @acoustic-content-sdk/api > PARAM_REDIRECT_LOGIN_TARGET_TENANT
PARAM_REDIRECT_LOGIN_TARGET_TENANT variable
Signature:
PARAM_REDIRECT_LOGIN_TARGET_TENANT = "targetTenant"
Home > @acoustic-content-sdk/api > PARAM_REDIRECT_LOGIN_TARGET_URL
PARAM_REDIRECT_LOGIN_TARGET_URL variable
Signature:
PARAM_REDIRECT_LOGIN_TARGET_URL = "targetUrl"
Home > @acoustic-content-sdk/api > REGEXP_ANONYMOUS_USER_ID
REGEXP_ANONYMOUS_USER_ID variable
Signature:
REGEXP_ANONYMOUS_USER_ID: RegExp
Home > @acoustic-content-sdk/api > REL_PATH_BASICAUTH_LOGIN
REL_PATH_BASICAUTH_LOGIN variable
Signature:
REL_PATH_BASICAUTH_LOGIN = "login/v1/basicauth"
Home > @acoustic-content-sdk/api > REL_PATH_CURRENT_TENANT
REL_PATH_CURRENT_TENANT variable
Signature:
REL_PATH_CURRENT_TENANT = "registry/v1/currenttenant"
Home > @acoustic-content-sdk/api > REL_PATH_CURRENT_USER
REL_PATH_CURRENT_USER variable
Signature:
REL_PATH_CURRENT_USER = "user-profile/v1/users/currentuser"
Home > @acoustic-content-sdk/api > REL_PATH_REDIRECT_LOGIN
REL_PATH_REDIRECT_LOGIN variable
Signature:
REL_PATH_REDIRECT_LOGIN = "login/v1/redirect"
Home > @acoustic-content-sdk/api > REL_PATH_REMOVECOOKIES
REL_PATH_REMOVECOOKIES variable
Signature:
REL_PATH_REMOVECOOKIES = "login/v1/removecookies"
Home > @acoustic-content-sdk/api > REL_PATH_TYPE_BY_ID
REL_PATH_TYPE_BY_ID variable
Signature:
REL_PATH_TYPE_BY_ID = "authoring/v1/types/"
Home > @acoustic-content-sdk/api > SDK_ACTIVE_ROUTE_EVENT_TYPE
SDK_ACTIVE_ROUTE_EVENT_TYPE variable
Event sent to denote a modification of the active route
Signature:
SDK_ACTIVE_ROUTE_EVENT_TYPE = "WchSdk.router.activeRoute"
Home > @acoustic-content-sdk/api > SDK_MODE_EVENT_TYPE
SDK_MODE_EVENT_TYPE variable
Event sent to denote the active mode
Signature:
SDK_MODE_EVENT_TYPE = "WchSdk.mode"
Home > @acoustic-content-sdk/api > SDK_NAVIGATE_BY_PATH_EVENT_TYPE
SDK_NAVIGATE_BY_PATH_EVENT_TYPE variable
Event that triggers a navigation
Signature:
SDK_NAVIGATE_BY_PATH_EVENT_TYPE = "WchSdk.router.navigateByPath"
Home > @acoustic-content-sdk/api > SDK_REFRESH_EVENT_TYPE
SDK_REFRESH_EVENT_TYPE variable
Event that triggers a refresh
Signature:
SDK_REFRESH_EVENT_TYPE = "WchSdk.refresh"
Home > @acoustic-content-sdk/api > SDK_ROUTE_EVENT_TYPE
SDK_ROUTE_EVENT_TYPE variable
Event sent to denote a modification of the route
Signature:
SDK_ROUTE_EVENT_TYPE = "WchSdk.router.route"
Home > @acoustic-content-sdk/api > SDK_SET_MODE_EVENT_TYPE
SDK_SET_MODE_EVENT_TYPE variable
Event that modifies the SDK mode between using public or private routes
Signature:
SDK_SET_MODE_EVENT_TYPE = "WchSdk.setMode"
Home > @acoustic-content-sdk/api > SDK_SUBSCRIBE_ACTIVE_ROUTE_EVENT_TYPE
SDK_SUBSCRIBE_ACTIVE_ROUTE_EVENT_TYPE variable
Event that subscribes a listener for an active route
Signature:
SDK_SUBSCRIBE_ACTIVE_ROUTE_EVENT_TYPE = "WchSdk.router.activeRoute.subscribe"
Home > @acoustic-content-sdk/api > SDK_SUBSCRIBE_MODE_EVENT_TYPE
SDK_SUBSCRIBE_MODE_EVENT_TYPE variable
Event that subscribes a listener for modes
Signature:
SDK_SUBSCRIBE_MODE_EVENT_TYPE = "WchSdk.mode.subscribe"
Home > @acoustic-content-sdk/api > SDK_SUBSCRIBE_ROUTE_EVENT_TYPE
SDK_SUBSCRIBE_ROUTE_EVENT_TYPE variable
Event that subscribes a listener for a specific route
Signature:
SDK_SUBSCRIBE_ROUTE_EVENT_TYPE = "WchSdk.router.route.subscribe"
Home > @acoustic-content-sdk/api > SDK_UNSUBSCRIBE_EVENT_TYPE
SDK_UNSUBSCRIBE_EVENT_TYPE variable
Event that unsubscribes a listener
Signature:
SDK_UNSUBSCRIBE_EVENT_TYPE = "WchSdk.unsubscribe"
Home > @acoustic-content-sdk/api > VALUE_ACCEPT_PRIVACY_NOTICE
VALUE_ACCEPT_PRIVACY_NOTICE variable
Signature:
VALUE_ACCEPT_PRIVACY_NOTICE = "true"
Home > @acoustic-content-sdk/api > VERSION
VERSION variable
Version and build number of the package
Signature:
VERSION: {
version: {
major: string;
minor: string;
patch: string;
branch: string;
};
build: Date;
}
Home > @acoustic-content-sdk/api > WCH_CONFIG_API_URL
WCH_CONFIG_API_URL variable
Name of the 'rel' attribute of a link element used to configure the API URL
Signature:
WCH_CONFIG_API_URL = "wch-config-api-url"
Home > @acoustic-content-sdk/api > WCH_CONFIG_BASE_URL
WCH_CONFIG_BASE_URL variable
Name of the 'rel' attribute of a link element used to configure the base URL
Signature:
WCH_CONFIG_BASE_URL = "wch-config-base-url"
Home > @acoustic-content-sdk/api > WCH_CONFIG_RESOURCE_URL
WCH_CONFIG_RESOURCE_URL variable
Name of the 'rel' attribute of a link element used to configure the delivery URL
Signature:
WCH_CONFIG_RESOURCE_URL = "wch-config-resource-url"
Home > @acoustic-content-sdk/api > WCH_SDK_MODULE_NAME
WCH_SDK_MODULE_NAME variable
Signature:
WCH_SDK_MODULE_NAME = "WchSdk"
Home > @acoustic-content-sdk/api > AUTHORING_CONTENT_ITEM_KIND
AUTHORING_CONTENT_ITEM_KIND type
Signature:
export declare type AUTHORING_CONTENT_ITEM_KIND = 'page' | 'landing-page' | 'catalog-page' | 'email' | 'sample';
Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_DATETIME_SEARCH_KEY
AUTHORING_ELEMENT_DATETIME_SEARCH_KEY type
Signature:
export declare type AUTHORING_ELEMENT_DATETIME_SEARCH_KEY = 'date1' | 'date2' | 'sortableDate1' | 'sortableDate2';
Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_FILE_TYPE
AUTHORING_ELEMENT_FILE_TYPE type
Signature:
export declare type AUTHORING_ELEMENT_FILE_TYPE = 'plain-text' | 'presentation' | 'rich-document' | 'spreadsheet' | 'pdf-document';
Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_IMAGE_TYPE
AUTHORING_ELEMENT_IMAGE_TYPE type
Signature:
export declare type AUTHORING_ELEMENT_IMAGE_TYPE = 'jpg' | 'jpeg' | 'png' | 'gif' | 'svg';
Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_LOCATION_SEARCH_KEY
AUTHORING_ELEMENT_LOCATION_SEARCH_KEY type
Signature:
export declare type AUTHORING_ELEMENT_LOCATION_SEARCH_KEY = 'location1';
Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_NUMBER_SEARCH_KEY
AUTHORING_ELEMENT_NUMBER_SEARCH_KEY type
Signature:
export declare type AUTHORING_ELEMENT_NUMBER_SEARCH_KEY = 'number1' | 'number2' | 'sortableNumber1' | 'sortableNumber2';
Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_ROLE
AUTHORING_ELEMENT_ROLE type
Signature:
export declare type AUTHORING_ELEMENT_ROLE = 'content' | 'configuration';
Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_TEXT_SEARCH_KEY
AUTHORING_ELEMENT_TEXT_SEARCH_KEY type
Signature:
export declare type AUTHORING_ELEMENT_TEXT_SEARCH_KEY = 'string1' | 'string2' | 'string3' | 'string4' | 'sortableString1' | 'sortableString2' | 'sortableString3' | 'sortableString4';
Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_TOGGLE_SEARCH_KEY
AUTHORING_ELEMENT_TOGGLE_SEARCH_KEY type
Signature:
export declare type AUTHORING_ELEMENT_TOGGLE_SEARCH_KEY = 'boolean1' | 'boolean2';
Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_VIDEO_TYPE
AUTHORING_ELEMENT_VIDEO_TYPE type
Signature:
export declare type AUTHORING_ELEMENT_VIDEO_TYPE = 'mp4' | 'mov';
Home > @acoustic-content-sdk/api > AUTHORING_TYPE_KIND
AUTHORING_TYPE_KIND type
Possible values kind
Signature:
export declare type AUTHORING_TYPE_KIND = 'standalone' | 'page' | 'embedded' | 'landing-page' | 'catalog-page' | 'custom-ui' | 'email';
Home > @acoustic-content-sdk/api > CONTENT_ITEM_KIND
CONTENT_ITEM_KIND type
Signature:
export declare type CONTENT_ITEM_KIND = AUTHORING_CONTENT_ITEM_KIND;
Home > @acoustic-content-sdk/api > DeliveryDateElement
DeliveryDateElement type
Signature:
export declare type DeliveryDateElement = string;
Home > @acoustic-content-sdk/api > DeliveryElement
DeliveryElement type
Signature:
export declare type DeliveryElement = SingleDeliveryElements | MultiDeliveryElements;
Home > @acoustic-content-sdk/api > DeliveryFileAsset
DeliveryFileAsset type
Signature:
export declare type DeliveryFileAsset = DeliveryAsset;
Home > @acoustic-content-sdk/api > DeliveryFormattedTextElement
DeliveryFormattedTextElement type
Signature:
export declare type DeliveryFormattedTextElement = string;
Home > @acoustic-content-sdk/api > DeliveryImageMode
DeliveryImageMode type
Signature:
export declare type DeliveryImageMode = 'shared' | 'snapshot';
Home > @acoustic-content-sdk/api > DeliveryImageScale
DeliveryImageScale type
Signature:
export declare type DeliveryImageScale = number;
Home > @acoustic-content-sdk/api > DeliveryLayout
DeliveryLayout type
Signature:
export declare type DeliveryLayout = AuthoringLayoutItem;
Home > @acoustic-content-sdk/api > DeliveryLayoutMapping
DeliveryLayoutMapping type
Signature:
export declare type DeliveryLayoutMapping = AuthoringLayoutMapping;
Home > @acoustic-content-sdk/api > DeliveryNumberElement
DeliveryNumberElement type
Signature:
export declare type DeliveryNumberElement = number;
Home > @acoustic-content-sdk/api > DeliveryOptionsElement
DeliveryOptionsElement type
Signature:
export declare type DeliveryOptionsElement = string;
Home > @acoustic-content-sdk/api > DeliverySelectedLayouts
DeliverySelectedLayouts type
Signature:
export declare type DeliverySelectedLayouts = DeliverySelectedLayout[];
Home > @acoustic-content-sdk/api > DeliveryTextElement
DeliveryTextElement type
Signature:
export declare type DeliveryTextElement = string;
Home > @acoustic-content-sdk/api > DeliveryToggleElement
DeliveryToggleElement type
Signature:
export declare type DeliveryToggleElement = boolean;
Home > @acoustic-content-sdk/api > DeliveryType
DeliveryType type
Signature:
export declare type DeliveryType = AuthoringType;
Home > @acoustic-content-sdk/api > ELEMENT_TYPE
ELEMENT_TYPE type
Signature:
export declare type ELEMENT_TYPE = 'text' | 'number' | 'toggle' | 'formattedtext' | 'link' | 'datetime' | 'file' | 'video' | 'image' | 'reference' | 'category' | 'location' | 'optionselection' | 'group' | 'variabletype' | 'product';
Home > @acoustic-content-sdk/api > Element
Element type
An element is one of the following
Signature:
export declare type Element = LocationElement | SingleReferenceElement | MultiReferenceElement | SingleImageElement | MultiImageElement | SingleVideoElement | MultiVideoElement | SingleFileElement | MultiFileElement | SingleToggleElement | MultiToggleElement | SingleTextElement | MultiTextElement | SingleProductElement | MultiProductElement | SingleNumberElement | MultiNumberElement | SingleLinkElement | MultiLinkElement | SingleFormattedTextElement | MultiFormattedTextElement | SingleOptionSelectionElement | MultiOptionSelectionElement | SingleDateElement | MultiDateElement | SingleGroupElement | MultiGroupElement;
Home > @acoustic-content-sdk/api > GroupType
GroupType type
Signature:
export declare type GroupType = ElementMap<SimpleType>;
Home > @acoustic-content-sdk/api > HubInfoUrlProvider
HubInfoUrlProvider type
Signature:
export declare type HubInfoUrlProvider = null | undefined | StaticHubInfoUrlProvider | ObservableInput<StaticHubInfoUrlProvider>;
Home > @acoustic-content-sdk/api > Layouts
Layouts type
Ordering of the layouts per layout mode
Signature:
export declare type Layouts = Record<string, Layout>;
Home > @acoustic-content-sdk/api > Locale
Locale type
Helper type to identify a locale in the interfaces
Signature:
export declare type Locale = string;
Home > @acoustic-content-sdk/api > Localized
Localized type
Object supporting localizations
Signature:
export declare type Localized = LocalizedText[];
Home > @acoustic-content-sdk/api > LocalizedContext
LocalizedContext type
Localization context that describes the relevance of a locale, this is typically derived from the accept language header
Signature:
export declare type LocalizedContext = Record<Locale, number>;
Home > @acoustic-content-sdk/api > LocalizedText
LocalizedText type
Text with attached locale
Signature:
export declare type LocalizedText = [string, Locale];
Home > @acoustic-content-sdk/api > MultiDeliveryElements
MultiDeliveryElements type
Signature:
export declare type MultiDeliveryElements = DeliveryCategoryElement | DeliveryImageElement[] | DeliveryCategoryElement[] | DeliveryLinkElement[] | DeliveryGroupElement[] | DeliveryReferenceElement[] | DeliveryFileElement[] | DeliveryDateElement[] | DeliveryNumberElement[] | DeliveryFormattedTextElement[] | DeliveryTextElement[] | DeliveryToggleElement[] | DeliveryVideoElement[] | DeliveryOptionsElement[];
Home > @acoustic-content-sdk/api > MultiRenderingContextElements
MultiRenderingContextElements type
Signature:
export declare type MultiRenderingContextElements = Exclude<MultiDeliveryElements, DeliveryGroupElement[] | DeliveryReferenceElement[]> | RenderingContextGroupElement[] | RenderingContextReferenceElement[];
Home > @acoustic-content-sdk/api > QueryInput
QueryInput type
Signature:
export declare type QueryInput = string | string[] | null | undefined | URLSearchParams | Query;
Home > @acoustic-content-sdk/api > QueryValue
QueryValue type
Signature:
export declare type QueryValue = string | number | boolean;
Home > @acoustic-content-sdk/api > RenderingContextElements
RenderingContextElements type
Signature:
export declare type RenderingContextElements = SingleRenderingContextElements | MultiRenderingContextElements;
Home > @acoustic-content-sdk/api > SdkMessageHandlerCallback
SdkMessageHandlerCallback type
Signature:
export declare type SdkMessageHandlerCallback = (aPayload: SdkMessagePayload, aEvent: MessageEvent) => PromiseLike<SdkMessagePayload> | SdkMessagePayload | null | undefined;
Home > @acoustic-content-sdk/api > SimpleType
SimpleType type
Signature:
export declare type SimpleType = string | string[] | number | number[] | Image | Image[] | Date | Date[] | Video | Video[] | File | File[] | boolean | boolean[] | Link | Link[] | OptionSelection | OptionSelection[] | RenderingContext | RenderingContext[] | Category | Location | {
readonly [key: string]: SimpleType;
};
Home > @acoustic-content-sdk/api > SingleDeliveryElements
SingleDeliveryElements type
Signature:
export declare type SingleDeliveryElements = DeliveryImageElement | DeliveryLinkElement | DeliveryGroupElement | DeliveryReferenceElement | DeliveryFileElement | DeliveryDateElement | DeliveryNumberElement | DeliveryFormattedTextElement | DeliveryTextElement | DeliveryToggleElement | DeliveryVideoElement | DeliveryLocationElement | DeliveryOptionsElement;
Home > @acoustic-content-sdk/api > SingleRenderingContextElements
SingleRenderingContextElements type
Signature:
export declare type SingleRenderingContextElements = Exclude<SingleDeliveryElements, DeliveryGroupElement | DeliveryReferenceElement> | RenderingContextGroupElement | RenderingContextReferenceElement;
Home > @acoustic-content-sdk/api > SiteNavigation
SiteNavigation type
The list of root pages
Signature:
export declare type SiteNavigation = SiteNavigationPage[];
Home > @acoustic-content-sdk/api > StaticHubInfoUrlProvider
StaticHubInfoUrlProvider type
Defines the provider of a URL, either as a URL, a string or a callback that generates either
Signature:
export declare type StaticHubInfoUrlProvider = null | undefined | URL | string | (() => StaticHubInfoUrlProvider);
Home > @acoustic-content-sdk/api > AbstractElement > elementType
AbstractElement.elementType property
Signature:
readonly elementType: ELEMENT_TYPE;
Home > @acoustic-content-sdk/api > Asset > altText
Asset.altText property
Signature:
readonly altText?: string;
Home > @acoustic-content-sdk/api > Asset > fileName
Asset.fileName property
Signature:
readonly fileName: string;
Home > @acoustic-content-sdk/api > Asset > fileSize
Asset.fileSize property
Signature:
readonly fileSize: number;
Home > @acoustic-content-sdk/api > Asset > height
Asset.height property
Signature:
readonly height: number;
Home > @acoustic-content-sdk/api > Asset > id
Asset.id property
Signature:
readonly id: string;
Home > @acoustic-content-sdk/api > Asset > mediaType
Asset.mediaType property
Signature:
readonly mediaType: string;
Home > @acoustic-content-sdk/api > Asset > resourceUri
Asset.resourceUri property
Signature:
readonly resourceUri: string;
Home > @acoustic-content-sdk/api > Asset > width
Asset.width property
Signature:
readonly width: number;
Home > @acoustic-content-sdk/api > AssetPublishApproval > enabled
AssetPublishApproval.enabled property
Signature:
enabled?: boolean;
Home > @acoustic-content-sdk/api > AssetPublishApproval > exemptAssetTypes
AssetPublishApproval.exemptAssetTypes property
Signature:
exemptAssetTypes: string[];
Home > @acoustic-content-sdk/api > ActivePageV2 > renderingContext$
ActivePageV2.renderingContext$ property
Retrieves the rendering context for the content item rendered for the currently selected page.
Signature:
renderingContext$: Observable<RenderingContextV2>;
Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > height
AuthoringAssetProfileRendition.height property
Signature:
readonly height: number;
Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > key
AuthoringAssetProfileRendition.key property
Signature:
readonly key: string;
Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > profileId
AuthoringAssetProfileRendition.profileId property
Signature:
readonly profileId: string;
Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > transform
AuthoringAssetProfileRendition.transform property
Signature:
readonly transform: any;
Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > uri
AuthoringAssetProfileRendition.uri property
Signature:
readonly uri: string;
Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > width
AuthoringAssetProfileRendition.width property
Signature:
readonly width: number;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > camera
AuthoringAssetMetadata.camera property
Signature:
readonly camera?: any;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > coverage
AuthoringAssetMetadata.coverage property
Signature:
readonly coverage?: any;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > creator
AuthoringAssetMetadata.creator property
Signature:
readonly creator?: string;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > description
AuthoringAssetMetadata.description property
Signature:
readonly description?: string;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > headline
AuthoringAssetMetadata.headline property
Signature:
readonly headline?: string;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > heigth
AuthoringAssetMetadata.heigth property
Signature:
readonly heigth?: number;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > publisher
AuthoringAssetMetadata.publisher property
Signature:
readonly publisher?: string;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > rights
AuthoringAssetMetadata.rights property
Signature:
readonly rights?: string;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > source
AuthoringAssetMetadata.source property
Signature:
readonly source?: string;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > subject
AuthoringAssetMetadata.subject property
Signature:
readonly subject?: string[];
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > title
AuthoringAssetMetadata.title property
Signature:
readonly title?: string;
Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > width
AuthoringAssetMetadata.width property
Signature:
readonly width?: number;
Home > @acoustic-content-sdk/api > AuthoringCommerceProductCategoryElement > elementType
AuthoringCommerceProductCategoryElement.elementType property
Signature:
elementType: 'productcategory';
Home > @acoustic-content-sdk/api > AuthoringCommerceProductCategoryElement > restrictedParent
AuthoringCommerceProductCategoryElement.restrictedParent property
Signature:
restrictedParent?: string;
Home > @acoustic-content-sdk/api > AuthoringCommerceProductCategoryElement > searchKey
AuthoringCommerceProductCategoryElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringAsset > altText
AuthoringAsset.altText property
Signature:
readonly altText?: string;
Home > @acoustic-content-sdk/api > AuthoringAsset > assetType
AuthoringAsset.assetType property
Signature:
readonly assetType?: string;
Home > @acoustic-content-sdk/api > AuthoringAsset > caption
AuthoringAsset.caption property
Signature:
readonly caption?: string;
Home > @acoustic-content-sdk/api > AuthoringAsset > classification
AuthoringAsset.classification property
The classification defines the document type. For content items, all documents are classified as "content".
Signature:
readonly classification: 'asset';
Home > @acoustic-content-sdk/api > AuthoringAsset > digest
AuthoringAsset.digest property
Signature:
readonly digest?: string;
Home > @acoustic-content-sdk/api > AuthoringAsset > fileName
AuthoringAsset.fileName property
Signature:
readonly fileName?: string;
Home > @acoustic-content-sdk/api > AuthoringAsset > fileSize
AuthoringAsset.fileSize property
Signature:
readonly fileSize?: number;
Home > @acoustic-content-sdk/api > AuthoringAsset > isManaged
AuthoringAsset.isManaged property
Signature:
readonly isManaged: any;
Home > @acoustic-content-sdk/api > AuthoringAsset > mediaType
AuthoringAsset.mediaType property
Signature:
readonly mediaType?: string;
Home > @acoustic-content-sdk/api > AuthoringAsset > metadata
AuthoringAsset.metadata property
Signature:
readonly metadata?: AuthoringAssetMetadata;
Home > @acoustic-content-sdk/api > AuthoringAsset > path
AuthoringAsset.path property
Signature:
readonly path: string;
Home > @acoustic-content-sdk/api > AuthoringAsset > profileRenditions
AuthoringAsset.profileRenditions property
Signature:
readonly profileRenditions?: AuthoringAssetProfileRendition[];
Home > @acoustic-content-sdk/api > AuthoringAsset > resource
AuthoringAsset.resource property
Signature:
readonly resource: string;
Home > @acoustic-content-sdk/api > ActivePage > onRenderingContext
ActivePage.onRenderingContext property
Retrieves the rendering context for the content item rendered for the currently selected page.
Signature:
onRenderingContext: Observable<RenderingContext>;
Home > @acoustic-content-sdk/api > AuthoringContentItem > classification
AuthoringContentItem.classification property
Signature:
classification: 'content';
Home > @acoustic-content-sdk/api > AuthoringContentItem > deliveryAccess
AuthoringContentItem.deliveryAccess property
Signature:
deliveryAccess?: 'secured';
Home > @acoustic-content-sdk/api > AuthoringContentItem > draftStatus
AuthoringContentItem.draftStatus property
Signature:
draftStatus?: DraftStatus;
Home > @acoustic-content-sdk/api > AuthoringContentItem > elements
AuthoringContentItem.elements property
Signature:
elements?: Record<string, any>;
Home > @acoustic-content-sdk/api > AuthoringContentItem > form
AuthoringContentItem.form property
Signature:
form?: any[];
Home > @acoustic-content-sdk/api > AuthoringContentItem > id
AuthoringContentItem.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > keywords
AuthoringContentItem.keywords property
Signature:
keywords?: string[];
Home > @acoustic-content-sdk/api > AuthoringContentItem > kind
AuthoringContentItem.kind property
Signature:
kind?: AUTHORING_CONTENT_ITEM_KIND[];
Home > @acoustic-content-sdk/api > AuthoringContentItem > lastModified
AuthoringContentItem.lastModified property
Signature:
lastModified?: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > lastModifier
AuthoringContentItem.lastModifier property
Signature:
lastModifier?: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > lastModifierId
AuthoringContentItem.lastModifierId property
Signature:
lastModifierId?: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > linkedDocId
AuthoringContentItem.linkedDocId property
Signature:
linkedDocId?: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > links
AuthoringContentItem.links property
Signature:
links?: Record<string, any>;
Home > @acoustic-content-sdk/api > AuthoringContentItem > locale
AuthoringContentItem.locale property
Signature:
locale?: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > projectId
AuthoringContentItem.projectId property
Signature:
projectId?: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > projects
AuthoringContentItem.projects property
Signature:
projects?: string[];
Home > @acoustic-content-sdk/api > AuthoringContentItem > publishing
AuthoringContentItem.publishing property
Signature:
publishing?: Record<string, any>;
Home > @acoustic-content-sdk/api > AuthoringContentItem > review
AuthoringContentItem.review property
Signature:
review?: Record<string, any>;
Home > @acoustic-content-sdk/api > AuthoringContentItem > reviewHistory
AuthoringContentItem.reviewHistory property
Signature:
reviewHistory?: string[];
Home > @acoustic-content-sdk/api > AuthoringContentItem > reviewId
AuthoringContentItem.reviewId property
Signature:
reviewId?: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > schema
AuthoringContentItem.schema property
Signature:
schema?: Record<string, any>;
Home > @acoustic-content-sdk/api > AuthoringContentItem > selectedLayouts
AuthoringContentItem.selectedLayouts property
Signature:
selectedLayouts?: AuthoringSelectedLayout[];
Home > @acoustic-content-sdk/api > AuthoringContentItem > status
AuthoringContentItem.status property
Signature:
status: Status;
Home > @acoustic-content-sdk/api > AuthoringContentItem > systemModified
AuthoringContentItem.systemModified property
Signature:
systemModified?: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > tags
AuthoringContentItem.tags property
Signature:
tags?: string[];
Home > @acoustic-content-sdk/api > AuthoringContentItem > thumbnail
AuthoringContentItem.thumbnail property
Signature:
thumbnail?: AuthoringContentItemThumbnail;
Home > @acoustic-content-sdk/api > AuthoringContentItem > type
AuthoringContentItem.type property
Signature:
type?: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > typeId
AuthoringContentItem.typeId property
Signature:
typeId: string;
Home > @acoustic-content-sdk/api > AuthoringContentItem > valid
AuthoringContentItem.valid property
Signature:
valid?: boolean;
Home > @acoustic-content-sdk/api > AuthoringCategoryElement > elementType
AuthoringCategoryElement.elementType property
Signature:
elementType: 'category';
Home > @acoustic-content-sdk/api > AuthoringCategoryElement > restrictedParents
AuthoringCategoryElement.restrictedParents property
Signature:
restrictedParents?: string[];
Home > @acoustic-content-sdk/api > AuthoringCategoryElement > searchKey
AuthoringCategoryElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringContentThumbnail > imageElement
AuthoringContentThumbnail.imageElement property
Signature:
imageElement?: string;
Home > @acoustic-content-sdk/api > AuthoringContentThumbnail > source
AuthoringContentThumbnail.source property
Signature:
source: 'imageElementOrType' | 'imageElement' | 'type' | 'none';
Home > @acoustic-content-sdk/api > AuthoringContentItemThumbnail > id
AuthoringContentItemThumbnail.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > AuthoringCommerceProductElement > elementType
AuthoringCommerceProductElement.elementType property
Signature:
elementType: 'product';
Home > @acoustic-content-sdk/api > AuthoringCommerceProductElement > restrictedCategories
AuthoringCommerceProductElement.restrictedCategories property
Signature:
restrictedCategories?: string[];
Home > @acoustic-content-sdk/api > AuthoringCommerceProductElement > searchKey
AuthoringCommerceProductElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringDatetimeElement > elementType
AuthoringDatetimeElement.elementType property
Signature:
elementType: 'datetime';
Home > @acoustic-content-sdk/api > AuthoringDatetimeElement > fieldType
AuthoringDatetimeElement.fieldType property
Signature:
fieldType?: 'date' | 'date-time';
Home > @acoustic-content-sdk/api > AuthoringDatetimeElement > searchKey
AuthoringDatetimeElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_DATETIME_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringElement > allowMultipleValues
AuthoringElement.allowMultipleValues property
Indicates whether content items using this content-type can contain multiple values of this element. Valid for all element types except category, toggle and location.
Signature:
allowMultipleValues?: boolean;
Home > @acoustic-content-sdk/api > AuthoringElement > elementType
AuthoringElement.elementType property
Specifies the type of this element.
Signature:
elementType: ELEMENT_TYPE | 'productcategory' | 'product';
Home > @acoustic-content-sdk/api > AuthoringElement > fieldLabel
AuthoringElement.fieldLabel property
When allowMultipleValues is true, specifies a display name for each value within the multi valued list.
Signature:
fieldLabel?: string;
Home > @acoustic-content-sdk/api > AuthoringElement > helpText
AuthoringElement.helpText property
The informational text to show the content author when setting the value of this element.
Signature:
helpText?: string;
Home > @acoustic-content-sdk/api > AuthoringElement > key
AuthoringElement.key property
The element identifer. Within content items, elements are referred to by key only.
Signature:
key: string;
Home > @acoustic-content-sdk/api > AuthoringElement > label
AuthoringElement.label property
The display name of the element.
Signature:
label: string;
Home > @acoustic-content-sdk/api > AuthoringElement > maximumValues
AuthoringElement.maximumValues property
When allowMulitpleValues is true, indicates the maximum number of values are that allowed.
Signature:
maximumValues?: number;
Home > @acoustic-content-sdk/api > AuthoringElement > minimumValues
AuthoringElement.minimumValues property
When allowMulitpleValues is true, indicates the minimum number of values are that required.
Signature:
minimumValues?: number;
Home > @acoustic-content-sdk/api > AuthoringElement > placeholder
AuthoringElement.placeholder property
Signature:
placeholder?: AuthoringPlaceholder;
Home > @acoustic-content-sdk/api > AuthoringElement > required
AuthoringElement.required property
Indicates whether content items must specify a value for this element.
Signature:
required?: boolean;
Home > @acoustic-content-sdk/api > AuthoringElement > role
AuthoringElement.role property
Signature:
role?: AUTHORING_ELEMENT_ROLE[];
Home > @acoustic-content-sdk/api > AuthoringElement > uiExtensions
AuthoringElement.uiExtensions property
Signature:
uiExtensions?: AuthoringUiExtensions;
Home > @acoustic-content-sdk/api > AuthoringFileElement > acceptType
AuthoringFileElement.acceptType property
Signature:
acceptType?: AUTHORING_ELEMENT_FILE_TYPE[];
Home > @acoustic-content-sdk/api > AuthoringFileElement > elementType
AuthoringFileElement.elementType property
Signature:
elementType: 'file';
Home > @acoustic-content-sdk/api > AuthoringFileElement > searchKey
AuthoringFileElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringFormattedTextElement > elementType
AuthoringFormattedTextElement.elementType property
Signature:
elementType: 'formattedtext';
Home > @acoustic-content-sdk/api > AuthoringFormattedTextElement > searchKey
AuthoringFormattedTextElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringGroupElement > elements
AuthoringGroupElement.elements property
Signature:
elements?: any[];
Home > @acoustic-content-sdk/api > AuthoringGroupElement > elementType
AuthoringGroupElement.elementType property
Signature:
elementType: 'group';
Home > @acoustic-content-sdk/api > AuthoringGroupElement > icon
AuthoringGroupElement.icon property
Signature:
icon?: ELEMENT_TYPE;
Home > @acoustic-content-sdk/api > AuthoringGroupElement > kind
AuthoringGroupElement.kind property
Signature:
kind?: AUTHORING_TYPE_KIND[];
Home > @acoustic-content-sdk/api > AuthoringGroupElement > typeRef
AuthoringGroupElement.typeRef property
Signature:
typeRef: TypeRef;
Home > @acoustic-content-sdk/api > AuthoringGroup > elementType
AuthoringGroup.elementType property
Signature:
[KEY_ELEMENT_TYPE]: typeof ELEMENT_TYPE_GROUP;
Home > @acoustic-content-sdk/api > AuthoringGroup > typeRef
AuthoringGroup.typeRef property
Signature:
[KEY_TYPE_REF]: AuthoringReferenceValue;
Home > @acoustic-content-sdk/api > AuthoringGroup > value
AuthoringGroup.value property
Signature:
[KEY_VALUE]?: T;
Home > @acoustic-content-sdk/api > AuthoringGroup > values
AuthoringGroup.values property
Signature:
[KEY_VALUES]?: T[];
Home > @acoustic-content-sdk/api > AuthoringImage > elementType
AuthoringImage.elementType property
Signature:
[KEY_ELEMENT_TYPE]: typeof ELEMENT_TYPE_IMAGE;
Home > @acoustic-content-sdk/api > AuthoringImage > values
AuthoringImage.values property
Signature:
[KEY_VALUES]?: Image[];
Home > @acoustic-content-sdk/api > AuthoringImageElement > acceptType
AuthoringImageElement.acceptType property
Signature:
acceptType?: AUTHORING_ELEMENT_IMAGE_TYPE[];
Home > @acoustic-content-sdk/api > AuthoringImageElement > elementType
AuthoringImageElement.elementType property
Signature:
elementType: 'image';
Home > @acoustic-content-sdk/api > AuthoringImageElement > imageProfile
AuthoringImageElement.imageProfile property
Signature:
imageProfile?: Record<string, any>;
Home > @acoustic-content-sdk/api > AuthoringImageElement > imageProfileId
AuthoringImageElement.imageProfileId property
Signature:
imageProfileId?: string;
Home > @acoustic-content-sdk/api > AuthoringImageElement > searchKey
AuthoringImageElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > _revisions
AuthoringLayoutMapping._revisions property
Signature:
_revisions?: Record<string, string>;
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > classification
AuthoringLayoutMapping.classification property
Signature:
classification: 'layout-mapping';
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > created
AuthoringLayoutMapping.created property
Signature:
created?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > creatorId
AuthoringLayoutMapping.creatorId property
Signature:
creatorId?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > id
AuthoringLayoutMapping.id property
Signature:
id?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > lastModified
AuthoringLayoutMapping.lastModified property
Signature:
lastModified?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > lastModifierId
AuthoringLayoutMapping.lastModifierId property
Signature:
lastModifierId?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > mappings
AuthoringLayoutMapping.mappings property
Signature:
mappings: AuthoringLayoutMappingMapping[];
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > name
AuthoringLayoutMapping.name property
Signature:
name: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > path
AuthoringLayoutMapping.path property
Signature:
path?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > rev
AuthoringLayoutMapping.rev property
Signature:
rev?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > tags
AuthoringLayoutMapping.tags property
Signature:
tags?: string[];
Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > type
AuthoringLayoutMapping.type property
Signature:
type: AuthoringLayoutMappingType;
Home > @acoustic-content-sdk/api > AuthoringLayoutItem > classification
AuthoringLayoutItem.classification property
Signature:
classification: 'layout';
Home > @acoustic-content-sdk/api > AuthoringLayoutItem > id
AuthoringLayoutItem.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutItem > name
AuthoringLayoutItem.name property
Signature:
name: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutItem > path
AuthoringLayoutItem.path property
Signature:
path?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutItem > prerender
AuthoringLayoutItem.prerender property
Signature:
prerender?: boolean;
Home > @acoustic-content-sdk/api > AuthoringLayoutItem > urlTemplate
AuthoringLayoutItem.urlTemplate property
Signature:
urlTemplate?: string;
Home > @acoustic-content-sdk/api > AuthoringLayout > classification
AuthoringLayout.classification property
Signature:
classification: 'layout';
Home > @acoustic-content-sdk/api > AuthoringLayout > id
AuthoringLayout.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > AuthoringLayout > name
AuthoringLayout.name property
Signature:
name?: string;
Home > @acoustic-content-sdk/api > AuthoringLayout > path
AuthoringLayout.path property
Signature:
path?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMappingLayout > id
AuthoringLayoutMappingLayout.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMappingLayout > name
AuthoringLayoutMappingLayout.name property
Signature:
name?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMappingMapping > defaultLayout
AuthoringLayoutMappingMapping.defaultLayout property
Signature:
defaultLayout: AuthoringLayoutMappingLayout;
Home > @acoustic-content-sdk/api > AuthoringLayoutMappingMapping > layoutMode
AuthoringLayoutMappingMapping.layoutMode property
Signature:
layoutMode?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMappingMapping > layouts
AuthoringLayoutMappingMapping.layouts property
Signature:
layouts: AuthoringLayoutMappingLayout[];
Home > @acoustic-content-sdk/api > AuthoringLocationElement > elementType
AuthoringLocationElement.elementType property
Signature:
elementType: 'location';
Home > @acoustic-content-sdk/api > AuthoringLocationElement > searchKey
AuthoringLocationElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_LOCATION_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringLayoutMappingType > id
AuthoringLayoutMappingType.id property
Signature:
id?: string;
Home > @acoustic-content-sdk/api > AuthoringLayoutMappingType > name
AuthoringLayoutMappingType.name property
Signature:
name?: string;
Home > @acoustic-content-sdk/api > AuthoringLinkElement > elementType
AuthoringLinkElement.elementType property
Signature:
elementType: 'link';
Home > @acoustic-content-sdk/api > AuthoringLinkElement > searchKey
AuthoringLinkElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringOption > label
AuthoringOption.label property
Signature:
label: string;
Home > @acoustic-content-sdk/api > AuthoringOption > selection
AuthoringOption.selection property
Signature:
selection: string;
Home > @acoustic-content-sdk/api > AuthoringPlaceholder > show
AuthoringPlaceholder.show property
Signature:
show?: boolean;
Home > @acoustic-content-sdk/api > AuthoringPlaceholder > text
AuthoringPlaceholder.text property
Signature:
text?: string;
Home > @acoustic-content-sdk/api > AuthoringOptionSelectionElement > elementType
AuthoringOptionSelectionElement.elementType property
Signature:
elementType: 'optionselection';
Home > @acoustic-content-sdk/api > AuthoringOptionSelectionElement > options
AuthoringOptionSelectionElement.options property
Signature:
options?: AuthoringOption[];
Home > @acoustic-content-sdk/api > AuthoringOptionSelectionElement > restrictedParents
AuthoringOptionSelectionElement.restrictedParents property
Signature:
restrictedParents?: string[];
Home > @acoustic-content-sdk/api > AuthoringOptionSelectionElement > searchKey
AuthoringOptionSelectionElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringReference > elementType
AuthoringReference.elementType property
Signature:
[KEY_ELEMENT_TYPE]: typeof ELEMENT_TYPE_REFERENCE;
Home > @acoustic-content-sdk/api > AuthoringReference > value
AuthoringReference.value property
Signature:
[KEY_VALUE]?: AuthoringReferenceValue[];
Home > @acoustic-content-sdk/api > AuthoringReference > values
AuthoringReference.values property
Signature:
[KEY_VALUES]?: AuthoringReferenceValue[];
Home > @acoustic-content-sdk/api > AuthoringNumberElement > elementType
AuthoringNumberElement.elementType property
Signature:
elementType: 'number';
Home > @acoustic-content-sdk/api > AuthoringNumberElement > fieldType
AuthoringNumberElement.fieldType property
Signature:
fieldType?: 'integer' | 'decimal';
Home > @acoustic-content-sdk/api > AuthoringNumberElement > maximum
AuthoringNumberElement.maximum property
Signature:
maximum?: number;
Home > @acoustic-content-sdk/api > AuthoringNumberElement > minimum
AuthoringNumberElement.minimum property
Signature:
minimum?: number;
Home > @acoustic-content-sdk/api > AuthoringNumberElement > searchKey
AuthoringNumberElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_NUMBER_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringReferenceValue > creatorId
AuthoringReferenceValue.creatorId property
Signature:
[KEY_CREATOR_ID]?: string;
Home > @acoustic-content-sdk/api > AuthoringReferenceValue > id
AuthoringReferenceValue.id property
Signature:
[KEY_ID]: string;
Home > @acoustic-content-sdk/api > AuthoringReferenceValue > name
AuthoringReferenceValue.name property
Signature:
[KEY_NAME]?: string;
Home > @acoustic-content-sdk/api > AuthoringReferenceValue > status
AuthoringReferenceValue.status property
Signature:
[KEY_STATUS]?: Status;
Home > @acoustic-content-sdk/api > AuthoringReferenceValue > typeId
AuthoringReferenceValue.typeId property
Signature:
[KEY_TYPE_ID]?: string;
Home > @acoustic-content-sdk/api > AuthoringReferenceElement > elementType
AuthoringReferenceElement.elementType property
Signature:
elementType: 'reference';
Home > @acoustic-content-sdk/api > AuthoringReferenceElement > restrictTypes
AuthoringReferenceElement.restrictTypes property
Signature:
restrictTypes?: TypeRef;
Home > @acoustic-content-sdk/api > AuthoringReferenceElement > searchKey
AuthoringReferenceElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringSelectedLayout > layout
AuthoringSelectedLayout.layout property
Signature:
layout: AuthoringLayout;
Home > @acoustic-content-sdk/api > AuthoringSelectedLayout > layoutMode
AuthoringSelectedLayout.layoutMode property
Signature:
layoutMode?: string;
Home > @acoustic-content-sdk/api > AuthoringThumbnail > id
AuthoringThumbnail.id property
Signature:
id?: string;
Home > @acoustic-content-sdk/api > AuthoringThumbnail > path
AuthoringThumbnail.path property
Signature:
path?: string;
Home > @acoustic-content-sdk/api > AuthoringThumbnail > url
AuthoringThumbnail.url property
Signature:
url?: string;
Home > @acoustic-content-sdk/api > AuthoringToggleElement > elementType
AuthoringToggleElement.elementType property
Signature:
elementType: 'toggle';
Home > @acoustic-content-sdk/api > AuthoringToggleElement > searchKey
AuthoringToggleElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TOGGLE_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringToggleElement > statement
AuthoringToggleElement.statement property
Signature:
statement?: string;
Home > @acoustic-content-sdk/api > AuthoringTextElement > displayHeight
AuthoringTextElement.displayHeight property
Signature:
displayHeight?: number;
Home > @acoustic-content-sdk/api > AuthoringTextElement > displayType
AuthoringTextElement.displayType property
Signature:
displayType?: 'singleLine' | 'multiLine';
Home > @acoustic-content-sdk/api > AuthoringTextElement > displayWidth
AuthoringTextElement.displayWidth property
Signature:
displayWidth?: number;
Home > @acoustic-content-sdk/api > AuthoringTextElement > elementType
AuthoringTextElement.elementType property
Signature:
elementType: 'text';
Home > @acoustic-content-sdk/api > AuthoringTextElement > maxLength
AuthoringTextElement.maxLength property
Signature:
maxLength?: number;
Home > @acoustic-content-sdk/api > AuthoringTextElement > minLength
AuthoringTextElement.minLength property
Signature:
minLength?: number;
Home > @acoustic-content-sdk/api > AuthoringTextElement > searchKey
AuthoringTextElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > AuthoringText > elementType
AuthoringText.elementType property
Signature:
[KEY_ELEMENT_TYPE]: typeof ELEMENT_TYPE_TEXT;
Home > @acoustic-content-sdk/api > AuthoringText > value
AuthoringText.value property
Signature:
[KEY_VALUE]?: string;
Home > @acoustic-content-sdk/api > AuthoringText > values
AuthoringText.values property
Signature:
[KEY_VALUES]?: string[];
Home > @acoustic-content-sdk/api > AuthoringType > _revisions
AuthoringType._revisions property
Unknown semantic
Signature:
_revisions?: Record<string, any>;
Home > @acoustic-content-sdk/api > AuthoringType > categories
AuthoringType.categories property
Signature:
categories?: string[];
Home > @acoustic-content-sdk/api > AuthoringType > categoryIds
AuthoringType.categoryIds property
Signature:
categoryIds?: string[];
Home > @acoustic-content-sdk/api > AuthoringType > classification
AuthoringType.classification property
Fixed classification
Signature:
classification: 'content-type';
Home > @acoustic-content-sdk/api > AuthoringType > contentThumbnail
AuthoringType.contentThumbnail property
Optional content thumbnail for the type
Signature:
contentThumbnail?: AuthoringContentThumbnail;
Home > @acoustic-content-sdk/api > AuthoringType > elements
AuthoringType.elements property
Elements on the type, strange that this is an array and not a map
Signature:
elements: AuthoringElement[];
Home > @acoustic-content-sdk/api > AuthoringType > icon
AuthoringType.icon property
Optional icon to be used for the type
Signature:
icon?: ELEMENT_TYPE;
Home > @acoustic-content-sdk/api > AuthoringType > kind
AuthoringType.kind property
Lisz of possible kinds for the authoring type
Signature:
kind?: AUTHORING_TYPE_KIND[];
Home > @acoustic-content-sdk/api > AuthoringType > linkedDocId
AuthoringType.linkedDocId property
Signature:
linkedDocId?: string;
Home > @acoustic-content-sdk/api > AuthoringType > status
AuthoringType.status property
Signature:
status: Status;
Home > @acoustic-content-sdk/api > AuthoringType > tags
AuthoringType.tags property
Signature:
tags?: string[];
Home > @acoustic-content-sdk/api > AuthoringType > thumbnail
AuthoringType.thumbnail property
Optional thumbnail for the type
Signature:
thumbnail?: AuthoringThumbnail;
Home > @acoustic-content-sdk/api > AuthoringType > uiExtensions
AuthoringType.uiExtensions property
Signature:
uiExtensions?: AuthoringUiExtensions;
Home > @acoustic-content-sdk/api > AuthoringUiExtensions > element
AuthoringUiExtensions.element property
Signature:
element?: string;
Home > @acoustic-content-sdk/api > AuthoringUiExtensions > elementBuiltin
AuthoringUiExtensions.elementBuiltin property
Signature:
elementBuiltin?: string;
Home > @acoustic-content-sdk/api > AuthoringUiExtensions > elementConfig
AuthoringUiExtensions.elementConfig property
Signature:
elementConfig: any;
Home > @acoustic-content-sdk/api > AuthStatus > authenticated$
AuthStatus.authenticated$ property
Exposes the flag that tells if the system is authenticated. This is e.g. used to decide to use the delivery
or mydelivery
routes.
Signature:
authenticated$: Observable<boolean>;
Home > @acoustic-content-sdk/api > AuthoringVariableTypeElement > elements
AuthoringVariableTypeElement.elements property
Signature:
elements: Record<string, any>[];
Home > @acoustic-content-sdk/api > AuthoringVariableTypeElement > elementType
AuthoringVariableTypeElement.elementType property
Signature:
elementType: 'variabletype';
Home > @acoustic-content-sdk/api > AuthoringVideo > elementType
AuthoringVideo.elementType property
Signature:
[KEY_ELEMENT_TYPE]: typeof ELEMENT_TYPE_VIDEO;
Home > @acoustic-content-sdk/api > AuthoringVideo > values
AuthoringVideo.values property
Signature:
[KEY_VALUES]?: Video[];
Home > @acoustic-content-sdk/api > BaseAuthoringItem > classification
BaseAuthoringItem.classification property
The classification defines the document type. For content items, all documents are classified as "content".
Signature:
classification?: string;
Home > @acoustic-content-sdk/api > BaseAuthoringItem > created
BaseAuthoringItem.created property
The created date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.
Signature:
created?: string;
Home > @acoustic-content-sdk/api > BaseAuthoringItem > creatorId
BaseAuthoringItem.creatorId property
Signature:
creatorId?: string;
Home > @acoustic-content-sdk/api > BaseAuthoringItem > description
BaseAuthoringItem.description property
The description of the item.
Signature:
readonly description?: string;
Home > @acoustic-content-sdk/api > BaseAuthoringItem > id
BaseAuthoringItem.id property
The ID of the content item.
Signature:
readonly id?: string;
Home > @acoustic-content-sdk/api > BaseAuthoringItem > lastModified
BaseAuthoringItem.lastModified property
The last modified date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.
Signature:
lastModified?: string;
Home > @acoustic-content-sdk/api > BaseAuthoringItem > lastModifierId
BaseAuthoringItem.lastModifierId property
name of user for now, this property may change once user management is defined (read only).
Signature:
lastModifierId?: string;
Home > @acoustic-content-sdk/api > BaseAuthoringItem > linkedDocId
BaseAuthoringItem.linkedDocId property
Optionally the ID of the ready item
Signature:
readonly linkedDocId?: string;
Home > @acoustic-content-sdk/api > BaseAuthoringItem > name
BaseAuthoringItem.name property
The name of the content item.
Signature:
readonly name: string;
Home > @acoustic-content-sdk/api > BaseAuthoringItem > path
BaseAuthoringItem.path property
Signature:
path?: string;
Home > @acoustic-content-sdk/api > BaseAuthoringItem > rev
BaseAuthoringItem.rev property
The current revision of the document.
Signature:
rev?: string;
Home > @acoustic-content-sdk/api > AuthoringVideoElement > acceptType
AuthoringVideoElement.acceptType property
Signature:
acceptType?: AUTHORING_ELEMENT_VIDEO_TYPE[];
Home > @acoustic-content-sdk/api > AuthoringVideoElement > elementType
AuthoringVideoElement.elementType property
Signature:
elementType: 'video';
Home > @acoustic-content-sdk/api > AuthoringVideoElement > searchKey
AuthoringVideoElement.searchKey property
Signature:
searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;
Home > @acoustic-content-sdk/api > CategoryElement > elementType
CategoryElement.elementType property
Signature:
readonly elementType: 'category';
Home > @acoustic-content-sdk/api > Category > categories
Category.categories property
Signature:
readonly categories?: string[];
Home > @acoustic-content-sdk/api > Category > categoryIds
Category.categoryIds property
Signature:
readonly categoryIds?: string[];
Home > @acoustic-content-sdk/api > Category > categoryPaths
Category.categoryPaths property
Signature:
readonly categoryPaths?: string[][];
Home > @acoustic-content-sdk/api > DateElement > elementType
DateElement.elementType property
Signature:
readonly elementType: 'datetime';
Home > @acoustic-content-sdk/api > ContentItemWithLayout > id
ContentItemWithLayout.id property
The ID of the content item.
Signature:
readonly id: string;
Home > @acoustic-content-sdk/api > ContentItemWithLayout > layouts
ContentItemWithLayout.layouts property
The layouts for the content item, ordered by mode. The 'default' mode always exists and denotes the default layout.
Signature:
readonly layouts: Layouts;
Home > @acoustic-content-sdk/api > ContentItemWithLayout > selectedLayouts
ContentItemWithLayout.selectedLayouts property
Optionally the explicitly assigned layouts
Signature:
readonly selectedLayouts?: AuthoringSelectedLayout[];
Home > @acoustic-content-sdk/api > BaseDeliveryItem > classification
BaseDeliveryItem.classification property
The classification defines the document type. For content items, all documents are classified as "content".
Signature:
classification?: string;
Home > @acoustic-content-sdk/api > BaseDeliveryItem > created
BaseDeliveryItem.created property
The created date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.
Signature:
created?: string;
Home > @acoustic-content-sdk/api > BaseDeliveryItem > creatorId
BaseDeliveryItem.creatorId property
Signature:
creatorId?: string;
Home > @acoustic-content-sdk/api > BaseDeliveryItem > description
BaseDeliveryItem.description property
The description of the item.
Signature:
description?: string;
Home > @acoustic-content-sdk/api > BaseDeliveryItem > id
BaseDeliveryItem.id property
The ID of the content item.
Signature:
id?: string;
Home > @acoustic-content-sdk/api > BaseDeliveryItem > lastModified
BaseDeliveryItem.lastModified property
The last modified date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.
Signature:
lastModified?: string;
Home > @acoustic-content-sdk/api > BaseDeliveryItem > lastModifierId
BaseDeliveryItem.lastModifierId property
name of user for now, this property may change once user management is defined (read only).
Signature:
lastModifierId?: string;
Home > @acoustic-content-sdk/api > BaseDeliveryItem > name
BaseDeliveryItem.name property
The name of the content item.
Signature:
name?: string;
Home > @acoustic-content-sdk/api > BaseDeliveryItem > rev
BaseDeliveryItem.rev property
The current revision of the document.
Signature:
rev?: string;
Home > @acoustic-content-sdk/api > ContentPublishApproval > enabled
ContentPublishApproval.enabled property
Signature:
enabled?: boolean;
Home > @acoustic-content-sdk/api > ContentPublishApproval > exemptContentTypes
ContentPublishApproval.exemptContentTypes property
Signature:
exemptContentTypes: string[];
Home > @acoustic-content-sdk/api > ContentItem > draftId
ContentItem.draftId property
TBD
Signature:
draftId?: string;
Home > @acoustic-content-sdk/api > ContentItem > draftStatus
ContentItem.draftStatus property
TBD
Signature:
draftStatus?: DraftStatus;
Home > @acoustic-content-sdk/api > ContentItem > elements
ContentItem.elements property
Defined by the type and capture in the schema given by the type, in a real content, this property will be filled with more information.
Note, we are using any here, because union types are hard to handle in templates.
Signature:
elements: {
[key: string]: any;
};
Home > @acoustic-content-sdk/api > ContentItem > kind
ContentItem.kind property
Kind of a content item
Signature:
kind: CONTENT_ITEM_KIND[];
Home > @acoustic-content-sdk/api > ContentItem > locale
ContentItem.locale property
locale of the document (e.g "en", or "de").
Signature:
locale?: string;
Home > @acoustic-content-sdk/api > ContentItem > projectId
ContentItem.projectId property
The project ID
Signature:
projectId?: string;
Home > @acoustic-content-sdk/api > ContentItem > tags
ContentItem.tags property
The tags describing the content item.
Signature:
tags?: Array<string>;
Home > @acoustic-content-sdk/api > ContentItem > type
ContentItem.type property
this is the link to the content type document this content is based on.
Signature:
type?: string;
Home > @acoustic-content-sdk/api > ContentItem > typeId
ContentItem.typeId property
The ID of the content type this item belongs to.
Signature:
typeId?: string;
Home > @acoustic-content-sdk/api > DeliveryCategoryElement > categoryIds
DeliveryCategoryElement.categoryIds property
Signature:
categoryIds: string[];
Home > @acoustic-content-sdk/api > DeliveryCategoryElement > categoryPath
DeliveryCategoryElement.categoryPath property
Signature:
categoryPath: string[];
Home > @acoustic-content-sdk/api > DeliveryAsset > fileName
DeliveryAsset.fileName property
Signature:
fileName: string;
Home > @acoustic-content-sdk/api > DeliveryAsset > fileSize
DeliveryAsset.fileSize property
Signature:
fileSize: number;
Home > @acoustic-content-sdk/api > DeliveryAsset > id
DeliveryAsset.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > DeliveryAsset > mediaType
DeliveryAsset.mediaType property
Signature:
mediaType: string;
Home > @acoustic-content-sdk/api > DeliveryAsset > resourceUri
DeliveryAsset.resourceUri property
Signature:
resourceUri: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > accessor
DeliveryContentMetadata.accessor property
Accessor that references the main element relative to the root of the authoring data structure
Signature:
accessor: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > classification
DeliveryContentMetadata.classification property
Signature:
classification: 'content';
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > created
DeliveryContentMetadata.created property
Signature:
created: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > creatorId
DeliveryContentMetadata.creatorId property
Signature:
creatorId: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > description
DeliveryContentMetadata.description property
Signature:
description?: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > draftId
DeliveryContentMetadata.draftId property
Signature:
draftId?: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > id
DeliveryContentMetadata.id property
ID of the content item. For group items is this the ID of the hosting content item, for references it's the ID of the referenced item. This ID will always be a 'ready ID'.
Signature:
id: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > keywords
DeliveryContentMetadata.keywords property
Signature:
keywords?: string[];
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > kind
DeliveryContentMetadata.kind property
Signature:
kind?: string[];
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > lastModified
DeliveryContentMetadata.lastModified property
Signature:
lastModified: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > lastModifierId
DeliveryContentMetadata.lastModifierId property
Signature:
lastModifierId: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > locale
DeliveryContentMetadata.locale property
Signature:
locale: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > name
DeliveryContentMetadata.name property
Signature:
name: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > protectedUrl
DeliveryContentMetadata.protectedUrl property
Signature:
protectedUrl: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > rev
DeliveryContentMetadata.rev property
Signature:
rev: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > selectedLayouts
DeliveryContentMetadata.selectedLayouts property
Signature:
selectedLayouts?: DeliverySelectedLayouts;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > systemModified
DeliveryContentMetadata.systemModified property
Signature:
systemModified: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > tags
DeliveryContentMetadata.tags property
Signature:
tags?: string[];
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > thumbnail
DeliveryContentMetadata.thumbnail property
Signature:
thumbnail?: DeliveryThumbnail;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > type
DeliveryContentMetadata.type property
Signature:
type?: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > typeId
DeliveryContentMetadata.typeId property
ID of the type of the content item. Note that for group elements this is the ID of the hosting content item, not of the type of the group element.
Signature:
typeId: string;
Home > @acoustic-content-sdk/api > DeliveryContentMetadata > url
DeliveryContentMetadata.url property
Signature:
url?: string;
Home > @acoustic-content-sdk/api > DeliveryAccess > assets
DeliveryAccess.assets property
Signature:
assets?: string;
Home > @acoustic-content-sdk/api > DeliveryAccess > content
DeliveryAccess.content property
Signature:
content?: string;
Home > @acoustic-content-sdk/api > DeliveryAccess > secureAlways
DeliveryAccess.secureAlways property
Signature:
secureAlways?: boolean;
Home > @acoustic-content-sdk/api > DeliveryFileElement > asset
DeliveryFileElement.asset property
Signature:
asset: DeliveryFileAsset;
Home > @acoustic-content-sdk/api > DeliveryFileElement > url
DeliveryFileElement.url property
Signature:
url: string;
Home > @acoustic-content-sdk/api > DeliveryGroupElement > $metadata
DeliveryGroupElement.$metadata property
Optional metadata
Signature:
$metadata?: DeliveryGroupElementMetadata;
Home > @acoustic-content-sdk/api > DeliveryContentItem > $metadata
DeliveryContentItem.$metadata property
Metadata record
Signature:
$metadata: DeliveryContentMetadata;
Home > @acoustic-content-sdk/api > DeliveryImageAsset > altText
DeliveryImageAsset.altText property
Signature:
altText: string;
Home > @acoustic-content-sdk/api > DeliveryImageAsset > height
DeliveryImageAsset.height property
Signature:
height: number;
Home > @acoustic-content-sdk/api > DeliveryImageAsset > width
DeliveryImageAsset.width property
Signature:
width: number;
Home > @acoustic-content-sdk/api > DeliveryImageCrop > height
DeliveryImageCrop.height property
Signature:
height: number;
Home > @acoustic-content-sdk/api > DeliveryImageCrop > width
DeliveryImageCrop.width property
Signature:
width: number;
Home > @acoustic-content-sdk/api > DeliveryImageCrop > x
DeliveryImageCrop.x property
Signature:
x: number;
Home > @acoustic-content-sdk/api > DeliveryImageCrop > y
DeliveryImageCrop.y property
Signature:
y: number;
Home > @acoustic-content-sdk/api > DeliveryImageRendition > height
DeliveryImageRendition.height property
Signature:
height: number;
Home > @acoustic-content-sdk/api > DeliveryImageRendition > source
DeliveryImageRendition.source property
Signature:
source: string;
Home > @acoustic-content-sdk/api > DeliveryImageRendition > transform
DeliveryImageRendition.transform property
Signature:
transform?: DeliveryImageTransform;
Home > @acoustic-content-sdk/api > DeliveryImageRendition > url
DeliveryImageRendition.url property
Signature:
url: string;
Home > @acoustic-content-sdk/api > DeliveryImageRendition > width
DeliveryImageRendition.width property
Signature:
width: number;
Home > @acoustic-content-sdk/api > DeliveryImageElement > asset
DeliveryImageElement.asset property
Signature:
asset: DeliveryImageAsset;
Home > @acoustic-content-sdk/api > DeliveryImageElement > mode
DeliveryImageElement.mode property
Signature:
mode?: DeliveryImageMode;
Home > @acoustic-content-sdk/api > DeliveryImageElement > renditions
DeliveryImageElement.renditions property
Signature:
renditions: Record<string, DeliveryImageRendition>;
Home > @acoustic-content-sdk/api > DeliveryImageElement > url
DeliveryImageElement.url property
Signature:
url: string;
Home > @acoustic-content-sdk/api > DeliveryGroupElementMetadata > accessor
DeliveryGroupElementMetadata.accessor property
Accessor that references the group element relative to the root of the authoring data structure
Signature:
accessor: string;
Home > @acoustic-content-sdk/api > DeliveryGroupElementMetadata > selectedLayouts
DeliveryGroupElementMetadata.selectedLayouts property
Optionally the selected layouts for the group element
Signature:
selectedLayouts?: DeliverySelectedLayouts;
Home > @acoustic-content-sdk/api > DeliveryImageTransform > crop
DeliveryImageTransform.crop property
Signature:
crop?: DeliveryImageCrop;
Home > @acoustic-content-sdk/api > DeliveryImageTransform > scale
DeliveryImageTransform.scale property
Signature:
scale?: DeliveryImageScale;
Home > @acoustic-content-sdk/api > DeliveryLinkElement > linkDescription
DeliveryLinkElement.linkDescription property
Signature:
linkDescription?: string;
Home > @acoustic-content-sdk/api > DeliveryLinkElement > linkText
DeliveryLinkElement.linkText property
Signature:
linkText: string;
Home > @acoustic-content-sdk/api > DeliveryLinkElement > linkURL
DeliveryLinkElement.linkURL property
Signature:
linkURL: string;
Home > @acoustic-content-sdk/api > DeliveryReferenceElement > $metadata
DeliveryReferenceElement.$metadata property
Signature:
$metadata: DeliveryReferenceElementMetadata;
Home > @acoustic-content-sdk/api > DeliveryReferenceElementMetadata > id
DeliveryReferenceElementMetadata.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > DeliveryLayoutRef > id
DeliveryLayoutRef.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > DeliveryLocationElement > latitude
DeliveryLocationElement.latitude property
Signature:
latitude: number;
Home > @acoustic-content-sdk/api > DeliveryLocationElement > longitude
DeliveryLocationElement.longitude property
Signature:
longitude: number;
Home > @acoustic-content-sdk/api > DeliverySelectedLayout > layout
DeliverySelectedLayout.layout property
Signature:
layout: DeliveryLayoutRef;
Home > @acoustic-content-sdk/api > DynamicLoggerFactory > get
DynamicLoggerFactory.get() method
Returns a logger that is instantiated lazily (and potentially) multiple times.
Signature:
get(): Observable<LoggerFactory>;
Returns:
Observable<LoggerFactory>
observable of the logger factory
Home > @acoustic-content-sdk/api > ElementWithMarkup > $markup
ElementWithMarkup.$markup property
Optionally the markup for an element
Signature:
$markup?: string;
Home > @acoustic-content-sdk/api > DeliveryThumbnail > id
DeliveryThumbnail.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > DeliveryThumbnail > url
DeliveryThumbnail.url property
Signature:
url: string;
Home > @acoustic-content-sdk/api > ErrorResponse > description
ErrorResponse.description property
Signature:
description: string;
Home > @acoustic-content-sdk/api > ErrorResponse > errors
ErrorResponse.errors property
Signature:
errors: ErrorDetail[];
Home > @acoustic-content-sdk/api > ErrorResponse > message
ErrorResponse.message property
Signature:
message: string;
Home > @acoustic-content-sdk/api > ErrorResponse > requestId
ErrorResponse.requestId property
Signature:
requestId: string;
Home > @acoustic-content-sdk/api > ErrorResponse > service
ErrorResponse.service property
Signature:
service: string;
Home > @acoustic-content-sdk/api > ErrorResponse > statusCode
ErrorResponse.statusCode property
Signature:
statusCode: number;
Home > @acoustic-content-sdk/api > ErrorResponse > version
ErrorResponse.version property
Signature:
version: string;
Home > @acoustic-content-sdk/api > ExtendedContext > hub
ExtendedContext.hub property
Signature:
readonly hub?: HubContext;
Home > @acoustic-content-sdk/api > ErrorDetail > locale
ErrorDetail.locale property
Signature:
locale: string;
Home > @acoustic-content-sdk/api > ErrorDetail > message
ErrorDetail.message property
Signature:
message: string;
Home > @acoustic-content-sdk/api > ErrorDetail > name
ErrorDetail.name property
Signature:
name: string;
Home > @acoustic-content-sdk/api > ErrorDetail > parameters
ErrorDetail.parameters property
Signature:
parameters: any;
Home > @acoustic-content-sdk/api > ErrorDetail > stack
ErrorDetail.stack property
Signature:
stack?: string;
Home > @acoustic-content-sdk/api > File > asset
File.asset property
Signature:
readonly asset?: Asset;
Home > @acoustic-content-sdk/api > File > url
File.url property
Signature:
readonly url?: string;
Home > @acoustic-content-sdk/api > ExtendedContextV2 > editMode
ExtendedContextV2.editMode property
Information about edit mode
Signature:
editMode?: boolean;
Home > @acoustic-content-sdk/api > ExtendedContextV2 > hub
ExtendedContextV2.hub property
Information about URLs that can be used to access the REST APIs
Signature:
hub?: HubContext;
Home > @acoustic-content-sdk/api > FileElement > elementType
FileElement.elementType property
Signature:
readonly elementType: 'file';
Home > @acoustic-content-sdk/api > GroupElement > elementType
GroupElement.elementType property
Signature:
readonly elementType: 'group';
Home > @acoustic-content-sdk/api > GroupElement > layouts
GroupElement.layouts property
The layouts for the content item, ordered by mode. The 'default' mode always exists and denotes the default layout.
Signature:
readonly layouts?: Layouts;
Home > @acoustic-content-sdk/api > GroupElement > selectedLayouts
GroupElement.selectedLayouts property
Optionally the explicitly assigned layouts
Signature:
readonly selectedLayouts?: AuthoringSelectedLayout[];
Home > @acoustic-content-sdk/api > GroupElement > typeRef
GroupElement.typeRef property
Reference to the actual type
Signature:
readonly typeRef: TypeRef;
Home > @acoustic-content-sdk/api > FormattedTextElement > elementType
FormattedTextElement.elementType property
Signature:
readonly elementType: 'formattedtext';
Home > @acoustic-content-sdk/api > HttpResourceOptions > pollTime
HttpResourceOptions.pollTime property
Signature:
readonly pollTime?: number;
Home > @acoustic-content-sdk/api > HttpResourceOptions > pollTimeVariation
HttpResourceOptions.pollTimeVariation property
Signature:
readonly pollTimeVariation?: number;
Home > @acoustic-content-sdk/api > HttpResourceOptions > retries
HttpResourceOptions.retries property
Signature:
readonly retries?: number;
Home > @acoustic-content-sdk/api > HttpResourceOptions > useApi
HttpResourceOptions.useApi property
Optionally use REST to load resources, default is true
Signature:
readonly useApi?: boolean;
Home > @acoustic-content-sdk/api > HttpResourceOptions > useBootstrap
HttpResourceOptions.useBootstrap property
Optionally enable pre-loading from bootstrap, default is true
Signature:
readonly useBootstrap?: boolean;
Home > @acoustic-content-sdk/api > HttpResourceOptions > useJsonP
HttpResourceOptions.useJsonP property
Configure if we should use XHR or JSONp
Signature:
readonly useJsonP?: boolean;
Home > @acoustic-content-sdk/api > HttpResourceOptions > useLocalStorage
HttpResourceOptions.useLocalStorage property
Optionally enable pre-loading from local storage, default is true
Signature:
readonly useLocalStorage?: boolean;
Home > @acoustic-content-sdk/api > HttpResourceOptions > usePolling
HttpResourceOptions.usePolling property
Configure if we should use polling at all, default is true
Signature:
readonly usePolling?: boolean;
Home > @acoustic-content-sdk/api > HttpResourceOptions > useStaticResources
HttpResourceOptions.useStaticResources property
Optionally enable use of static resources, default is true
Signature:
readonly useStaticResources?: boolean;
Home > @acoustic-content-sdk/api > HubContext > apiUrl
HubContext.apiUrl property
URL to access the API layer, e.g. 'https://my.digitalexperience.ibm.com/api/345563cf-a83c-40e5-a065-1d6ff36b05c1'
Naming of this field according to the field in the rendering context
Signature:
readonly apiUrl: URL;
Home > @acoustic-content-sdk/api > HubContext > isPreviewMode
HubContext.isPreviewMode property
Flag that indicates if the system is in preview mode.
Signature:
readonly isPreviewMode?: boolean;
Home > @acoustic-content-sdk/api > HubContext > resourceUrl
HubContext.resourceUrl property
URL to access the delivery , e.g. 'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1'
Naming of this field according to the field in the rendering context
Signature:
readonly resourceUrl: URL;
Home > @acoustic-content-sdk/api > HubInfo > apiUrl
HubInfo.apiUrl property
URL to access the API layer, e.g. 'https://my.digitalexperience.ibm.com/api/345563cf-a83c-40e5-a065-1d6ff36b05c1'
Naming of this field according to the field in the rendering context
Signature:
readonly apiUrl: URL | string;
Home > @acoustic-content-sdk/api > HubInfo > resourceUrl
HubInfo.resourceUrl property
URL to access the delivery , e.g. 'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1'
Naming of this field according to the field in the rendering context
Signature:
readonly resourceUrl: URL | string;
Home > @acoustic-content-sdk/api > Image > altText
Image.altText property
Signature:
readonly altText?: string;
Home > @acoustic-content-sdk/api > Image > asset
Image.asset property
Signature:
readonly asset?: Asset;
Home > @acoustic-content-sdk/api > Image > profiles
Image.profiles property
Signature:
readonly profiles?: string[];
Home > @acoustic-content-sdk/api > Image > renditions
Image.renditions property
Signature:
readonly renditions?: {
[key: string]: Rendition;
};
Home > @acoustic-content-sdk/api > Image > url
Image.url property
Signature:
readonly url?: string;
Home > @acoustic-content-sdk/api > HubInfoConfig > apiUrl
HubInfoConfig.apiUrl property
URL to access the API layer
Naming of this field according to the field in the rendering context
Signature:
readonly apiUrl?: HubInfoUrlProvider;
Example 1
'https://my.digitalexperience.ibm.com/api/345563cf-a83c-40e5-a065-1d6ff36b05c1'
Example 2
'https://my.digitalexperience.ibm.com/api/345563cf-a83c-40e5-a065-1d6ff36b05c1/dxsites/mysite'
Home > @acoustic-content-sdk/api > HubInfoConfig > baseUrl
HubInfoConfig.baseUrl property
URL that represents the base URL of the path based routing of the application. This prefix will be preserved when generating and recognizing URLs. If this property is not configured, then it will be decoded from the window location.
Signature:
readonly baseUrl?: HubInfoUrlProvider;
Example 1
'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1'
Example 2
'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1/dxsites/mysite'
Example 3
'https://my.external.example.com/'
Home > @acoustic-content-sdk/api > HubInfoConfig > cycleHandlingStrategy
HubInfoConfig.cycleHandlingStrategy property
Optionally specify how the SDK is supposed to deal with cyclic references in the content data structure. Per default the rendering context will break cycles by representing the duplicate element in a reference path by an unresolved reference. When configuring the strategy to CYCLE_HANDLING.RESOLVE, the ContentrefComponent will use a resolved refence when rendering the context, instead of the unresolved reference. This bears the risk of an infinite loop during rendering. The actual rendering context objects will still not have cycles, so a JSON serialization of these objects will produce a valid result.
Default is CYCLE_HANDLING.BREAK
Signature:
readonly cycleHandlingStrategy?: CYCLE_HANDLING | string;
Home > @acoustic-content-sdk/api > HubInfoConfig > fetchLevels
HubInfoConfig.fetchLevels property
Number of levels to fetch per request to the rendering context. If missing all levels will be fetched.
Signature:
readonly fetchLevels?: number;
Home > @acoustic-content-sdk/api > HubInfoConfig > httpOptions
HubInfoConfig.httpOptions property
Optionally specify how the SDK makes outbound requests
Signature:
readonly httpOptions?: HttpResourceOptions;
Home > @acoustic-content-sdk/api > HubInfoConfig > httpPreviewOptions
HubInfoConfig.httpPreviewOptions property
Optionally specify how the SDK makes outbound requests for the preview case
Signature:
readonly httpPreviewOptions?: HttpResourceOptions;
Home > @acoustic-content-sdk/api > HubInfoConfig > resourceUrl
HubInfoConfig.resourceUrl property
URL to access the delivery
Naming of this field according to the field in the rendering context
Signature:
readonly resourceUrl?: HubInfoUrlProvider;
Example 1
'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1'
Example 2
'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1/dxsites/mysite'
Home > @acoustic-content-sdk/api > ImageElement > elementType
ImageElement.elementType property
Signature:
readonly elementType: 'image';
Home > @acoustic-content-sdk/api > Layout > id
Layout.id property
ID of the layout
Signature:
id: string;
Home > @acoustic-content-sdk/api > Layout > name
Layout.name property
Name of the layout
Signature:
name: string;
Home > @acoustic-content-sdk/api > Layout > template
Layout.template property
The template description, will be a selector for angular and a filename for handlebars
Signature:
template: string;
Home > @acoustic-content-sdk/api > Layout > templateType
Layout.templateType property
The template type, either 'handlebars' or 'angular'
Signature:
templateType: string;
Home > @acoustic-content-sdk/api > Link > linkDescription
Link.linkDescription property
Signature:
readonly linkDescription?: string;
Home > @acoustic-content-sdk/api > Link > linkText
Link.linkText property
Signature:
readonly linkText?: string;
Home > @acoustic-content-sdk/api > Link > linkURL
Link.linkURL property
Signature:
readonly linkURL?: string;
Home > @acoustic-content-sdk/api > LinkElement > elementType
LinkElement.elementType property
Signature:
readonly elementType: 'link';
Home > @acoustic-content-sdk/api > Location > latitude
Location.latitude property
Signature:
readonly latitude?: number;
Home > @acoustic-content-sdk/api > Location > longitude
Location.longitude property
Signature:
readonly longitude?: number;
Home > @acoustic-content-sdk/api > LoggerFactory > create
LoggerFactory.create() method
Construct the logger instance. There is no need to protect against the creation of multiple loggers, the caller will make sure that loggers are singletons.
Signature:
create(name: string): Logger;
Parameters
Parameter | Type | Description |
---|
name | string | name of the logger |
Returns:
Logger
the new logger instance
Home > @acoustic-content-sdk/api > Logger > error
Logger.error() method
Signature:
error(msg: string, ...data: any[]): void;
Parameters
Parameter | Type | Description |
---|
msg | string | |
data | any[] | |
Returns:
void
Home > @acoustic-content-sdk/api > Logger > info
Logger.info() method
Signature:
info(msg: string, ...data: any[]): void;
Parameters
Parameter | Type | Description |
---|
msg | string | |
data | any[] | |
Returns:
void
Home > @acoustic-content-sdk/api > Logger > warn
Logger.warn() method
Signature:
warn(msg: string, ...data: any[]): void;
Parameters
Parameter | Type | Description |
---|
msg | string | |
data | any[] | |
Returns:
void
Home > @acoustic-content-sdk/api > IbmCommerce > apiGatewayHost
IbmCommerce.apiGatewayHost property
Signature:
apiGatewayHost?: string;
Home > @acoustic-content-sdk/api > IbmCommerce > environmentType
IbmCommerce.environmentType property
Signature:
environmentType?: string;
Home > @acoustic-content-sdk/api > IbmCommerce > liveSearchHost
IbmCommerce.liveSearchHost property
Signature:
liveSearchHost?: string;
Home > @acoustic-content-sdk/api > IbmCommerce > liveTransactionHost
IbmCommerce.liveTransactionHost property
Signature:
liveTransactionHost?: string;
Home > @acoustic-content-sdk/api > IbmCommerce > previewSearchHost
IbmCommerce.previewSearchHost property
Signature:
previewSearchHost?: string;
Home > @acoustic-content-sdk/api > IbmCommerce > previewTransactionHost
IbmCommerce.previewTransactionHost property
Signature:
previewTransactionHost?: string;
Home > @acoustic-content-sdk/api > IbmCommerce > tenantId
IbmCommerce.tenantId property
Signature:
tenantId?: string;
Home > @acoustic-content-sdk/api > MultiFileElement > values
MultiFileElement.values property
Signature:
readonly values: File[];
Home > @acoustic-content-sdk/api > LocationElement > elementType
LocationElement.elementType property
Signature:
readonly elementType: 'location';
Home > @acoustic-content-sdk/api > MultiFormattedTextElement > values
MultiFormattedTextElement.values property
Signature:
readonly values: string[];
Home > @acoustic-content-sdk/api > LoggerService > get
LoggerService.get property
Returns a logger for the given name
$1$2 -$3
Signature:
readonly get: (name: string) => Logger;
Home > @acoustic-content-sdk/api > MultiGroupElement > values
MultiGroupElement.values property
Signature:
readonly values: Group[];
Home > @acoustic-content-sdk/api > MultiLinkElement > values
MultiLinkElement.values property
Signature:
readonly values: Link[];
Home > @acoustic-content-sdk/api > MultiImageElement > values
MultiImageElement.values property
Signature:
readonly values: Image[];
Home > @acoustic-content-sdk/api > MultiReferenceElement > values
MultiReferenceElement.values property
Signature:
readonly values: RenderingContext[];
Home > @acoustic-content-sdk/api > MultiNumberElement > values
MultiNumberElement.values property
Signature:
readonly values: number[];
Home > @acoustic-content-sdk/api > MultiDateElement > values
MultiDateElement.values property
Signature:
readonly values: string[];
Home > @acoustic-content-sdk/api > MultiOptionSelectionElement > values
MultiOptionSelectionElement.values property
Signature:
readonly values: OptionSelection[];
Home > @acoustic-content-sdk/api > MultiTextElement > values
MultiTextElement.values property
Signature:
readonly values: string[];
Home > @acoustic-content-sdk/api > NumberElement > elementType
NumberElement.elementType property
Signature:
readonly elementType: 'number';
Home > @acoustic-content-sdk/api > MultiProductElement > values
MultiProductElement.values property
Signature:
readonly values: string[];
Home > @acoustic-content-sdk/api > MultiVideoElement > values
MultiVideoElement.values property
Signature:
readonly values: Video[];
Home > @acoustic-content-sdk/api > OptionSelectionElement > elementType
OptionSelectionElement.elementType property
Signature:
readonly elementType: 'optionselection';
Home > @acoustic-content-sdk/api > MultiToggleElement > values
MultiToggleElement.values property
Signature:
readonly values: boolean[];
Home > @acoustic-content-sdk/api > ReferenceElement > elementType
ReferenceElement.elementType property
Signature:
readonly elementType: 'reference';
Home > @acoustic-content-sdk/api > PageSearchResult > document
PageSearchResult.document property
Signature:
document: SitePage;
Home > @acoustic-content-sdk/api > OptionSelection > label
OptionSelection.label property
Signature:
readonly label?: string;
Home > @acoustic-content-sdk/api > OptionSelection > selection
OptionSelection.selection property
Signature:
readonly selection: string;
Home > @acoustic-content-sdk/api > RenderingContextInterceptor > opRenderingContext
RenderingContextInterceptor.opRenderingContext property
operator to intercept a single rendering context
Signature:
opRenderingContext?: MonoTypeOperatorFunction<RenderingContext>;
Home > @acoustic-content-sdk/api > RenderingContextInterceptor > opRenderingContexts
RenderingContextInterceptor.opRenderingContexts property
operator to intercept a multiple rendering contexts
Signature:
opRenderingContexts?: MonoTypeOperatorFunction<RenderingContext[]>;
Home > @acoustic-content-sdk/api > RenderingContext > category
RenderingContext.category property
Signature:
readonly category?: ElementMap<CategoryElement>;
Home > @acoustic-content-sdk/api > RenderingContext > context
RenderingContext.context property
Signature:
readonly context: ExtendedContext;
Home > @acoustic-content-sdk/api > RenderingContext > datetime
RenderingContext.datetime property
Signature:
readonly datetime?: ElementMap<Date>;
Home > @acoustic-content-sdk/api > RenderingContext > datetimes
RenderingContext.datetimes property
Signature:
readonly datetimes?: ElementMap<Date[]>;
Home > @acoustic-content-sdk/api > RenderingContext > file
RenderingContext.file property
Signature:
readonly file?: ElementMap<SingleFileElement>;
Home > @acoustic-content-sdk/api > RenderingContext > files
RenderingContext.files property
Signature:
readonly files?: ElementMap<File[]>;
Home > @acoustic-content-sdk/api > RenderingContext > formattedtext
RenderingContext.formattedtext property
Signature:
readonly formattedtext?: ElementMap<string>;
Home > @acoustic-content-sdk/api > RenderingContext > formattedtexts
RenderingContext.formattedtexts property
Signature:
readonly formattedtexts?: ElementMap<string[]>;
Home > @acoustic-content-sdk/api > RenderingContext > group
RenderingContext.group property
Signature:
readonly group?: ElementMap<any>;
Home > @acoustic-content-sdk/api > RenderingContext > groups
RenderingContext.groups property
Signature:
readonly groups?: ElementMap<any[]>;
Home > @acoustic-content-sdk/api > RenderingContext > image
RenderingContext.image property
Signature:
readonly image?: ElementMap<SingleImageElement>;
Home > @acoustic-content-sdk/api > RenderingContext > images
RenderingContext.images property
Signature:
readonly images?: ElementMap<Image[]>;
Home > @acoustic-content-sdk/api > RenderingContext > link
RenderingContext.link property
Signature:
readonly link?: ElementMap<SingleLinkElement>;
Home > @acoustic-content-sdk/api > RenderingContext > links
RenderingContext.links property
Signature:
readonly links?: ElementMap<Link[]>;
Home > @acoustic-content-sdk/api > RenderingContext > location
RenderingContext.location property
Signature:
readonly location?: ElementMap<LocationElement>;
Home > @acoustic-content-sdk/api > RenderingContext > markups
RenderingContext.markups property
Signature:
readonly markups: ElementMap<string>;
Home > @acoustic-content-sdk/api > RenderingContext > number
RenderingContext.number property
Signature:
readonly number?: ElementMap<number>;
Home > @acoustic-content-sdk/api > RenderingContext > numbers
RenderingContext.numbers property
Signature:
readonly numbers?: ElementMap<number[]>;
Home > @acoustic-content-sdk/api > RenderingContext > optionselection
RenderingContext.optionselection property
Signature:
readonly optionselection?: ElementMap<OptionSelection>;
Home > @acoustic-content-sdk/api > RenderingContext > optionselections
RenderingContext.optionselections property
Signature:
readonly optionselections?: ElementMap<OptionSelection[]>;
Home > @acoustic-content-sdk/api > RenderingContext > product
RenderingContext.product property
Signature:
readonly product?: ElementMap<string>;
Home > @acoustic-content-sdk/api > RenderingContext > products
RenderingContext.products property
Signature:
readonly products?: ElementMap<string[]>;
Home > @acoustic-content-sdk/api > RenderingContext > reference
RenderingContext.reference property
Signature:
readonly reference?: ElementMap<RenderingContext>;
Home > @acoustic-content-sdk/api > RenderingContext > references
RenderingContext.references property
Signature:
readonly references?: ElementMap<RenderingContext[]>;
Home > @acoustic-content-sdk/api > RenderingContext > text
RenderingContext.text property
Signature:
readonly text?: ElementMap<string>;
Home > @acoustic-content-sdk/api > RenderingContext > texts
RenderingContext.texts property
Signature:
readonly texts?: ElementMap<string[]>;
Home > @acoustic-content-sdk/api > RenderingContext > toggle
RenderingContext.toggle property
Signature:
readonly toggle?: ElementMap<boolean>;
Home > @acoustic-content-sdk/api > RenderingContext > toggles
RenderingContext.toggles property
Signature:
readonly toggles?: ElementMap<boolean[]>;
Home > @acoustic-content-sdk/api > RenderingContext > video
RenderingContext.video property
Signature:
readonly video?: ElementMap<SingleVideoElement>;
Home > @acoustic-content-sdk/api > RenderingContext > videos
RenderingContext.videos property
Signature:
readonly videos?: ElementMap<Video[]>;
Home > @acoustic-content-sdk/api > ProductElement > elementType
ProductElement.elementType property
Signature:
readonly elementType: 'product';
Home > @acoustic-content-sdk/api > RenderingContextProvider > onRenderingContext
RenderingContextProvider.onRenderingContext property
Retrieves the rendering context for the content item.
Signature:
onRenderingContext: Observable<RenderingContext>;
Home > @acoustic-content-sdk/api > RenderingContextProviderV2 > renderingContext$
RenderingContextProviderV2.renderingContext$ property
Retrieves the rendering context for the content item.
Signature:
renderingContext$: Observable<RenderingContextV2>;
Home > @acoustic-content-sdk/api > RenderingContextSearchResult > document
RenderingContextSearchResult.document property
Signature:
document: RenderingContext;
Home > @acoustic-content-sdk/api > RenderingContextQueryResult > numFound
RenderingContextQueryResult.numFound property
Signature:
numFound: number;
Home > @acoustic-content-sdk/api > RenderingContextQueryResult > renderingContexts
RenderingContextQueryResult.renderingContexts property
Signature:
renderingContexts: RenderingContext[];
Home > @acoustic-content-sdk/api > RenderingContextV2 > $context
RenderingContextV2.$context property
Rendering context
Signature:
$context: ExtendedContextV2;
Home > @acoustic-content-sdk/api > Rendition > height
Rendition.height property
Signature:
readonly height: number;
Home > @acoustic-content-sdk/api > Rendition > renditionId
Rendition.renditionId property
Signature:
readonly renditionId: string;
Home > @acoustic-content-sdk/api > Rendition > source
Rendition.source property
Signature:
readonly source: string;
Home > @acoustic-content-sdk/api > Rendition > transform
Rendition.transform property
Signature:
readonly transform?: any;
Home > @acoustic-content-sdk/api > Rendition > url
Rendition.url property
Signature:
readonly url: string;
Home > @acoustic-content-sdk/api > Rendition > width
Rendition.width property
Signature:
readonly width: number;
Home > @acoustic-content-sdk/api > SdkActiveRouteEvent > page
SdkActiveRouteEvent.page property
Signature:
page: DeliveryContentItem;
Home > @acoustic-content-sdk/api > SdkActiveRouteEvent > type
SdkActiveRouteEvent.type property
Signature:
type: 'WchSdk.router.activeRoute';
Home > @acoustic-content-sdk/api > Resource > fileName
Resource.fileName property
Signature:
readonly fileName: string;
Home > @acoustic-content-sdk/api > Resource > resourceId
Resource.resourceId property
Signature:
readonly resourceId: string;
Home > @acoustic-content-sdk/api > Resource > resourceUri
Resource.resourceUri property
Signature:
readonly resourceUri: string;
Home > @acoustic-content-sdk/api > SdkErrorResponse > error
SdkErrorResponse.error property
Signature:
error: any;
Home > @acoustic-content-sdk/api > SdkMessageHandler > handle
SdkMessageHandler.handle property
Signature:
handle: SdkMessageHandlerCallback;
Home > @acoustic-content-sdk/api > SdkModeEvent > mode
SdkModeEvent.mode property
Signature:
mode: SdkMode;
Home > @acoustic-content-sdk/api > SdkModeEvent > type
SdkModeEvent.type property
Signature:
type: 'WchSdk.mode';
Home > @acoustic-content-sdk/api > SdkNavigateByPathEvent > path
SdkNavigateByPathEvent.path property
Signature:
path: string;
Home > @acoustic-content-sdk/api > SdkNavigateByPathEvent > type
SdkNavigateByPathEvent.type property
Signature:
type: 'WchSdk.router.navigateByPath';
Home > @acoustic-content-sdk/api > SdkRefreshEvent > type
SdkRefreshEvent.type property
Signature:
type: 'WchSdk.refresh';
Home > @acoustic-content-sdk/api > SdkSetModeEvent > mode
SdkSetModeEvent.mode property
Signature:
mode: SdkMode;
Home > @acoustic-content-sdk/api > SdkSetModeEvent > type
SdkSetModeEvent.type property
Signature:
type: 'WchSdk.setMode';
Home > @acoustic-content-sdk/api > SdkRouteEvent > page
SdkRouteEvent.page property
Signature:
page: DeliveryContentItem;
Home > @acoustic-content-sdk/api > SdkRouteEvent > route
SdkRouteEvent.route property
Signature:
route: string;
Home > @acoustic-content-sdk/api > SdkRouteEvent > type
SdkRouteEvent.type property
Signature:
type: 'WchSdk.router.route';
Home > @acoustic-content-sdk/api > SdkNavigateByPathResponse > error
SdkNavigateByPathResponse.error property
Signature:
error?: any;
Home > @acoustic-content-sdk/api > SdkNavigateByPathResponse > path
SdkNavigateByPathResponse.path property
Signature:
path: string;
Home > @acoustic-content-sdk/api > SdkNavigateByPathResponse > success
SdkNavigateByPathResponse.success property
Signature:
success: boolean;
Home > @acoustic-content-sdk/api > SdkMessagePayload > id
SdkMessagePayload.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > SdkMessagePayload > type
SdkMessagePayload.type property
Signature:
type: string;
Home > @acoustic-content-sdk/api > SdkSetModeResponse > error
SdkSetModeResponse.error property
Signature:
error?: any;
Home > @acoustic-content-sdk/api > SdkSetModeResponse > mode
SdkSetModeResponse.mode property
Signature:
mode: SdkMode;
Home > @acoustic-content-sdk/api > SdkSubscribeActiveRouteEvent > type
SdkSubscribeActiveRouteEvent.type property
Signature:
type: 'WchSdk.router.activeRoute.subscribe';
Home > @acoustic-content-sdk/api > SdkSubscribeModeEvent > type
SdkSubscribeModeEvent.type property
Signature:
type: 'WchSdk.mode.subscribe';
Home > @acoustic-content-sdk/api > SdkSubscribeEventResponse > handle
SdkSubscribeEventResponse.handle property
Signature:
handle: string;
Home > @acoustic-content-sdk/api > SdkSubscribeRouteEvent > route
SdkSubscribeRouteEvent.route property
The desired route. If the route is a string, then it is the ESCAPED path. If it is a string array, then each array element contains the UNESCAPED path segment
Signature:
route: string | string[];
Home > @acoustic-content-sdk/api > SdkSubscribeRouteEvent > type
SdkSubscribeRouteEvent.type property
Signature:
type: 'WchSdk.router.route.subscribe';
Home > @acoustic-content-sdk/api > SearchResult > document
SearchResult.document property
Signature:
document: T;
Home > @acoustic-content-sdk/api > SdkUnsubscribeEvent > handle
SdkUnsubscribeEvent.handle property
Signature:
handle: string;
Home > @acoustic-content-sdk/api > SdkUnsubscribeEvent > type
SdkUnsubscribeEvent.type property
Signature:
type: 'WchSdk.unsubscribe';
Home > @acoustic-content-sdk/api > SingleFormattedTextElement > value
SingleFormattedTextElement.value property
Signature:
readonly value: string;
Home > @acoustic-content-sdk/api > SearchResults > documents
SearchResults.documents property
Signature:
documents?: T[];
Home > @acoustic-content-sdk/api > SearchResults > numFound
SearchResults.numFound property
Signature:
numFound: number;
Home > @acoustic-content-sdk/api > SingleDateElement > value
SingleDateElement.value property
Signature:
readonly value: string;
Home > @acoustic-content-sdk/api > SingleNumberElement > value
SingleNumberElement.value property
Signature:
readonly value: number;
Home > @acoustic-content-sdk/api > SingleProductElement > value
SingleProductElement.value property
Signature:
readonly value: string;
Home > @acoustic-content-sdk/api > SingleGroupElement > value
SingleGroupElement.value property
Signature:
readonly value: Group;
Home > @acoustic-content-sdk/api > SingleOptionSelectionElement > value
SingleOptionSelectionElement.value property
Signature:
readonly value: OptionSelection;
Home > @acoustic-content-sdk/api > SingleReferenceElement > value
SingleReferenceElement.value property
Signature:
readonly value: RenderingContext;
Home > @acoustic-content-sdk/api > SingleTextElement > value
SingleTextElement.value property
Signature:
readonly value: string;
Home > @acoustic-content-sdk/api > SingleToggleElement > value
SingleToggleElement.value property
Signature:
readonly value: boolean;
Home > @acoustic-content-sdk/api > SiteChild > children
SiteChild.children property
Signature:
children: SiteChild[];
Home > @acoustic-content-sdk/api > Site > id
Site.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > Site > name
Site.name property
Signature:
name?: string;
Home > @acoustic-content-sdk/api > Site > pages
Site.pages property
Signature:
pages: SiteChild[];
Home > @acoustic-content-sdk/api > SiteNavigationDeliveryContentItem > $metadata
SiteNavigationDeliveryContentItem.$metadata property
Metadata record
Signature:
$metadata: DeliveryContentMetadata;
Home > @acoustic-content-sdk/api > SiteNavigationDeliveryContentItem > defaultPage
SiteNavigationDeliveryContentItem.defaultPage property
Default page
Signature:
defaultPage?: string;
Home > @acoustic-content-sdk/api > SiteNavigationDeliveryContentItem > tree
SiteNavigationDeliveryContentItem.tree property
JSON tree. The content is a serialization of SiteNavigation
Signature:
tree: string;
Home > @acoustic-content-sdk/api > SitePage > contentId
SitePage.contentId property
Signature:
contentId: string;
Home > @acoustic-content-sdk/api > SitePage > contentStatus
SitePage.contentStatus property
Signature:
contentStatus: string;
Home > @acoustic-content-sdk/api > SitePage > contentTypeId
SitePage.contentTypeId property
Signature:
contentTypeId: string;
Home > @acoustic-content-sdk/api > SitePage > decodedRoute
SitePage.decodedRoute property
Signature:
decodedRoute: string;
Home > @acoustic-content-sdk/api > SitePage > description
SitePage.description property
Signature:
description?: string;
Home > @acoustic-content-sdk/api > SitePage > externalContext
SitePage.externalContext property
Signature:
externalContext?: any;
Home > @acoustic-content-sdk/api > SitePage > hideFromNavigation
SitePage.hideFromNavigation property
Signature:
hideFromNavigation: boolean;
Home > @acoustic-content-sdk/api > SitePage > id
SitePage.id property
Signature:
id: string;
Home > @acoustic-content-sdk/api > SitePage > name
SitePage.name property
Signature:
name: string;
Home > @acoustic-content-sdk/api > SitePage > parentId
SitePage.parentId property
Signature:
parentId?: string;
Home > @acoustic-content-sdk/api > SitePage > route
Signature:
route: string;
Home > @acoustic-content-sdk/api > SitePage > title
SitePage.title property
Signature:
title?: string;
Home > @acoustic-content-sdk/api > SiteDeliveryContentItem > $metadata
SiteDeliveryContentItem.$metadata property
Metadata record
Signature:
$metadata: DeliveryContentMetadata;
Home > @acoustic-content-sdk/api > SiteDeliveryContentItem > navigation
SiteDeliveryContentItem.navigation property
Navigation reference
Signature:
navigation: DeliveryReferenceElement;
Home > @acoustic-content-sdk/api > SiteDeliveryContentItem > title
SiteDeliveryContentItem.title property
Title
Signature:
title?: string;
Home > @acoustic-content-sdk/api > SiteContext > breadcrumb
SiteContext.breadcrumb property
Signature:
breadcrumb: SitePage[];
Home > @acoustic-content-sdk/api > SiteContext > children
SiteContext.children property
Signature:
children: SitePage[];
Home > @acoustic-content-sdk/api > SiteContext > parent
SiteContext.parent property
Signature:
parent?: SitePage;
Home > @acoustic-content-sdk/api > SiteContext > sibling
SiteContext.sibling property
Signature:
sibling: SitePage[];
Home > @acoustic-content-sdk/api > SiteContext > site
SiteContext.site property
Signature:
site: Site;
Home > @acoustic-content-sdk/api > SitePagesQueryResult > numFound
SitePagesQueryResult.numFound property
Signature:
numFound: number;
Home > @acoustic-content-sdk/api > SitePagesQueryResult > sitePages
SitePagesQueryResult.sitePages property
Signature:
sitePages: SitePage[];
Home > @acoustic-content-sdk/api > SiteNavigationPage > children
SiteNavigationPage.children property
Optionally, the navigation children of the page
Signature:
children?: SiteNavigationPage[];
Home > @acoustic-content-sdk/api > SiteNavigationPage > id
SiteNavigationPage.id property
ID of the referenced page
Signature:
id: string;
Home > @acoustic-content-sdk/api > Tenant > _id
Tenant._id property
Signature:
_id: string;
Home > @acoustic-content-sdk/api > Tenant > capability
Tenant.capability property
Signature:
capability?: string;
Home > @acoustic-content-sdk/api > Tenant > corsWhitelist
Tenant.corsWhitelist property
Signature:
corsWhitelist?: string[];
Home > @acoustic-content-sdk/api > Tenant > defaultContentLocale
Tenant.defaultContentLocale property
Signature:
defaultContentLocale?: string;
Home > @acoustic-content-sdk/api > Tenant > deliveryAccess
Tenant.deliveryAccess property
Signature:
deliveryAccess?: DeliveryAccess;
Home > @acoustic-content-sdk/api > Tenant > ibmCommerce
Tenant.ibmCommerce property
Signature:
ibmCommerce?: IbmCommerce;
Home > @acoustic-content-sdk/api > Tenant > ibmUniqueId
Tenant.ibmUniqueId property
Signature:
ibmUniqueId?: string;
Home > @acoustic-content-sdk/api > Tenant > id
Tenant.id property
Signature:
id?: string;
Home > @acoustic-content-sdk/api > Tenant > isDAMEnabled
Tenant.isDAMEnabled property
Signature:
isDAMEnabled?: boolean;
Home > @acoustic-content-sdk/api > Tenant > isEdgeSideEnabled
Tenant.isEdgeSideEnabled property
Signature:
isEdgeSideEnabled?: boolean;
Home > @acoustic-content-sdk/api > Tenant > locale
Tenant.locale property
Signature:
locale?: string;
Home > @acoustic-content-sdk/api > Tenant > locked
Tenant.locked property
Signature:
locked?: boolean;
Home > @acoustic-content-sdk/api > Tenant > mandatoryAssetPublishApproval
Tenant.mandatoryAssetPublishApproval property
Signature:
mandatoryAssetPublishApproval?: AssetPublishApproval;
Home > @acoustic-content-sdk/api > Tenant > mandatoryContentPublishApproval
Tenant.mandatoryContentPublishApproval property
Signature:
mandatoryContentPublishApproval?: ContentPublishApproval;
Home > @acoustic-content-sdk/api > Tenant > maxAuthors
Tenant.maxAuthors property
Signature:
maxAuthors?: number;
Home > @acoustic-content-sdk/api > Tenant > maxBulkUploadSize
Tenant.maxBulkUploadSize property
Signature:
maxBulkUploadSize?: number;
Home > @acoustic-content-sdk/api > Tenant > maxContentItems
Tenant.maxContentItems property
Signature:
maxContentItems?: number;
Home > @acoustic-content-sdk/api > Tenant > maxDataTransfer
Tenant.maxDataTransfer property
Signature:
maxDataTransfer?: number;
Home > @acoustic-content-sdk/api > Tenant > maxStorageSize
Tenant.maxStorageSize property
Signature:
maxStorageSize?: number;
Home > @acoustic-content-sdk/api > Tenant > maxUploadSize
Tenant.maxUploadSize property
Signature:
maxUploadSize?: number;
Home > @acoustic-content-sdk/api > Tenant > maxUploadSizeFiles
Tenant.maxUploadSizeFiles property
Signature:
maxUploadSizeFiles?: number;
Home > @acoustic-content-sdk/api > Tenant > maxUploadSizeImage
Tenant.maxUploadSizeImage property
Signature:
maxUploadSizeImage?: number;
Home > @acoustic-content-sdk/api > Tenant > maxUploadSizeVideo
Tenant.maxUploadSizeVideo property
Signature:
maxUploadSizeVideo?: number;
Home > @acoustic-content-sdk/api > Tenant > maxUserSessions
Tenant.maxUserSessions property
Signature:
maxUserSessions?: number;
Home > @acoustic-content-sdk/api > Tenant > name
Tenant.name property
Signature:
name?: string;
Home > @acoustic-content-sdk/api > Tenant > tier
Tenant.tier property
Signature:
tier?: TENANT_TIER;
Home > @acoustic-content-sdk/api > Tenant > useSingleUploadSize
Tenant.useSingleUploadSize property
Signature:
useSingleUploadSize?: boolean;
Home > @acoustic-content-sdk/api > Tenant > watsonConfidenceLevel
Tenant.watsonConfidenceLevel property
Signature:
watsonConfidenceLevel?: number;
Home > @acoustic-content-sdk/api > TypeRef > description
TypeRef.description property
Signature:
readonly description?: string;
Home > @acoustic-content-sdk/api > TypeRef > id
TypeRef.id property
Signature:
readonly id: string;
Home > @acoustic-content-sdk/api > TypeRef > name
TypeRef.name property
Signature:
readonly name?: string;
Home > @acoustic-content-sdk/api > UrlConfig > apiUrl
UrlConfig.apiUrl property
The base URL used to access WCH APIs. The URL ends with a slash.
Signature:
readonly apiUrl: URL;
Home > @acoustic-content-sdk/api > UrlConfig > baseUrl
UrlConfig.baseUrl property
The base URL of the host the application is running on. This can be undefined if the application is rendered standalone as part of the universal renderer. This prefix will be preserved when generating and recognizing URLs.
In many cases it is identical to the resourceUrl, but it will e.g. be different for applications that are not hosted on WCH.
Signature:
readonly baseUrl?: URL;
Home > @acoustic-content-sdk/api > UrlConfig > isPreviewMode
UrlConfig.isPreviewMode property
True if the system runs in preview mode, else false.
Signature:
readonly isPreviewMode: boolean;
Home > @acoustic-content-sdk/api > UrlConfig > resourceUrl
UrlConfig.resourceUrl property
The base URL used to access WCH delivery resources. The URL ends with a slash.
Signature:
readonly resourceUrl: URL;
Home > @acoustic-content-sdk/api > ToggleElement > elementType
ToggleElement.elementType property
Signature:
readonly elementType: 'toggle';
Home > @acoustic-content-sdk/api > User > created
User.created property
Date when this item was created
Signature:
created?: string;
Home > @acoustic-content-sdk/api > User > creator
User.creator property
Signature:
creator?: string;
Home > @acoustic-content-sdk/api > User > displayName
User.displayName property
The name of the user that can be displayed in the UI
Signature:
displayName?: string;
Home > @acoustic-content-sdk/api > User > externalId
User.externalId property
The unique external identifier of the user (e.g. BlueID). Although, this field can store email addresses, other types of unique identifiers may be stored too. Do not use this field as a replacement for the user attribute email address.
Signature:
externalId: string;
Home > @acoustic-content-sdk/api > User > firstName
User.firstName property
The first name of the user
Signature:
firstName?: string;
Home > @acoustic-content-sdk/api > User > id
User.id property
The unique internal identifier of the user
Signature:
id: string;
Home > @acoustic-content-sdk/api > User > lastLogin
User.lastLogin property
Date when this user logged in for the last time before current session
Signature:
lastLogin?: string;
Home > @acoustic-content-sdk/api > User > lastModified
User.lastModified property
Date when this item was modified for the last time
Signature:
lastModified?: string;
Home > @acoustic-content-sdk/api > User > lastModifier
User.lastModifier property
Signature:
lastModifier?: string;
Home > @acoustic-content-sdk/api > User > lastName
User.lastName property
The last name of the user
Signature:
lastName?: string;
Home > @acoustic-content-sdk/api > User > roles
User.roles property
The roles of the user that will be used for access control (empty for the anonymous user)
Signature:
roles: string[];
Home > @acoustic-content-sdk/api > TextElement > elementType
TextElement.elementType property
Signature:
readonly elementType: 'text';
Home > @acoustic-content-sdk/api > Video > asset
Video.asset property
Signature:
readonly asset?: Asset;
Home > @acoustic-content-sdk/api > Video > caption
Video.caption property
Signature:
readonly caption?: Resource;
Home > @acoustic-content-sdk/api > Video > thumbnail
Video.thumbnail property
Signature:
readonly thumbnail?: Resource;
Home > @acoustic-content-sdk/api > Video > url
Video.url property
Signature:
readonly url?: string;
Home > @acoustic-content-sdk/api > WchHttp > getJsonResource
WchHttp.getJsonResource property
Fetches a JSON resource and keeps this live based on the given or the default options
$1$2 -$3
Signature:
getJsonResource: <T>(aUrl: string, aOptions?: HttpResourceOptions) => Observable<T>;
Home > @acoustic-content-sdk/api > WchHttp > getTextResource
WchHttp.getTextResource property
Fetches a string resource and keeps this live based on the given or the default options
$1$2 -$3
Signature:
getTextResource: (aUrl: string, aOptions?: HttpResourceOptions) => Observable<string>;
Home > @acoustic-content-sdk/api > WchSdkRouter > activeRenderingContext
WchSdkRouter.activeRenderingContext property
Returns an observable that represents the active rendering context
Signature:
activeRenderingContext: () => Observable<RenderingContext>;
Home > @acoustic-content-sdk/api > WchSdkRouter > activeRoute
WchSdkRouter.activeRoute property
Returns an observable that represents the active route
Signature:
activeRoute: () => Observable<SitePage>;
Home > @acoustic-content-sdk/api > WchSdkRouter > navigateByPath
WchSdkRouter.navigateByPath property
Signature:
navigateByPath: (aPath: string) => PromiseLike<boolean>;
Home > @acoustic-content-sdk/api > VideoElement > elementType
VideoElement.elementType property
Signature:
readonly elementType: 'video';
Home > @acoustic-content-sdk/api > WchSdk > logger
WchSdk.logger property
Returns a factory to access loggers
Signature:
readonly logger?: LoggerService;
Home > @acoustic-content-sdk/api > WchSdk > refresh
WchSdk.refresh property
Refreshes the rendering context and all JSON data that is currently displayed
Signature:
refresh: () => void;
Home > @acoustic-content-sdk/api > WchSdk > router
WchSdk.router property
Signature:
readonly router: WchSdkRouter;
Home > @acoustic-content-sdk/api > WchSdk > search
WchSdk.search property
Optional search service
Signature:
readonly search?: WchSdkSearch;
Home > @acoustic-content-sdk/api > WchSdk > version
WchSdk.version property
Returns version information from the SDK
Signature:
readonly version: WchSdkVersion;
Home > @acoustic-content-sdk/api > WchSdkSearch > getRenderingContextById
WchSdkSearch.getRenderingContextById property
Locates the rendering context identified by the ID
$1$2 -$3 $1$2 -$3
Signature:
getRenderingContextById: (aId: string, aLevels?: number) => Observable<RenderingContext>;
Home > @acoustic-content-sdk/api > WchSdkSearch > getRenderingContexts
WchSdkSearch.getRenderingContexts property
Locates all rendering contexts that match a particular query. It is not necessary to add the classification to the query, it will automatically only apply to content for the current site
$1$2 -$3 $1$2 -$3
Signature:
getRenderingContexts: (aValue: QueryInput, aLevels?: number) => Observable<RenderingContextQueryResult>;
Home > @acoustic-content-sdk/api > WchSdkSearch > getSitePages
WchSdkSearch.getSitePages property
Locates all pages that match a particular query. It is not necessary to add the classification to the query, it will automatically only apply to pages for the current site
$1$2 -$3
Signature:
getSitePages: (aValue: QueryInput) => Observable<SitePagesQueryResult>;
Home > @acoustic-content-sdk/api > WchSdkVersion > build
WchSdkVersion.build property
Signature:
readonly build: Date;
Home > @acoustic-content-sdk/api > WchSdkVersion > version
WchSdkVersion.version property
Signature:
readonly version: {
readonly major: string;
readonly minor: string;
readonly patch: string;
};