9.0.10076 • Published 4 years ago

@acoustic-content-sdk/redux-feature-delivery-content v9.0.10076

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

npm

Implementation of a redux feature to convert authoring content into delivery content.

API Documentation

Home > @acoustic-content-sdk/redux-feature-delivery-content

redux-feature-delivery-content package

Implementation of a redux feature to convert authoring content into delivery content.

Interfaces

InterfaceDescription
DeliveryContentFeatureState
ResolveContentItemPayload

Variables

VariableDescription
ACTION_ADD_DELIVERY_CONTENT_IF_NONEXISTENT
ACTION_ADD_DELIVERY_CONTENT
ACTION_RESOLVE_CONTENT_ITEM
ACTION_SET_DELIVERY_CONTENTDo not add a side effect to this action
addDeliveryContentAction
addDeliveryContentIfNonExistentActionAdds this content item to the store only if the item does not exist, yet. If the item does not exist, this triggers a addDeliveryContentAction.
DELIVERY_CONTENT_FEATURE
deliveryContentFeatureExposes the feature module selector
deliveryContentFeatureReducer
deliveryContentReducerreducers for authoring content
MODULEModule name
resolveContentItemAction
selectDeliveryContentFeatureSelect the delivery content feature
selectDeliveryContentItem
setDeliveryContentAction
VERSIONVersion and build number of the package

Type Aliases

Type AliasDescription
AddDeliveryContentAction
AddDeliveryContentIfNonExistentAction
DeliveryContentState
ResolveContentItemAction
SetDeliveryContentAction

Home > @acoustic-content-sdk/redux-feature-delivery-content > DeliveryContentFeatureState

DeliveryContentFeatureState interface

Signature:

export interface DeliveryContentFeatureState 

Properties

PropertyTypeDescription
deliveryContentDeliveryContentState

Home > @acoustic-content-sdk/redux-feature-delivery-content > ResolveContentItemPayload

ResolveContentItemPayload interface

Signature:

export interface ResolveContentItemPayload 

Properties

PropertyTypeDescription
apiURLURL
assetsRecord<string, AuthoringAsset>
contentItemAuthoringContentItem
contentTypesRecord<string, AuthoringType>
layoutsRecord<string, AuthoringLayoutItem>

Home > @acoustic-content-sdk/redux-feature-delivery-content > ACTION_ADD_DELIVERY_CONTENT_IF_NONEXISTENT

ACTION_ADD_DELIVERY_CONTENT_IF_NONEXISTENT variable

Signature:

ACTION_ADD_DELIVERY_CONTENT_IF_NONEXISTENT = "ACTION_ADD_DELIVERY_CONTENT_IF_NONEXISTENT"

Home > @acoustic-content-sdk/redux-feature-delivery-content > ACTION_ADD_DELIVERY_CONTENT

ACTION_ADD_DELIVERY_CONTENT variable

Signature:

ACTION_ADD_DELIVERY_CONTENT = "ACTION_ADD_DELIVERY_CONTENT"

Home > @acoustic-content-sdk/redux-feature-delivery-content > ACTION_RESOLVE_CONTENT_ITEM

ACTION_RESOLVE_CONTENT_ITEM variable

Signature:

ACTION_RESOLVE_CONTENT_ITEM = "ACTION_RESOLVE_CONTENT_ITEM"

Home > @acoustic-content-sdk/redux-feature-delivery-content > ACTION_SET_DELIVERY_CONTENT

ACTION_SET_DELIVERY_CONTENT variable

Do not add a side effect to this action

Signature:

ACTION_SET_DELIVERY_CONTENT = "ACTION_SET_DELIVERY_CONTENT"

Home > @acoustic-content-sdk/redux-feature-delivery-content > addDeliveryContentAction

addDeliveryContentAction variable

Signature:

addDeliveryContentAction: UnaryFunction<ContentItemWithLayout, AddDeliveryContentAction>

Home > @acoustic-content-sdk/redux-feature-delivery-content > addDeliveryContentIfNonExistentAction

addDeliveryContentIfNonExistentAction variable

Adds this content item to the store only if the item does not exist, yet. If the item does not exist, this triggers a addDeliveryContentAction.

Signature:

addDeliveryContentIfNonExistentAction: UnaryFunction<ContentItemWithLayout, AddDeliveryContentIfNonExistentAction>

Home > @acoustic-content-sdk/redux-feature-delivery-content > DELIVERY_CONTENT_FEATURE

DELIVERY_CONTENT_FEATURE variable

Signature:

DELIVERY_CONTENT_FEATURE = "deliveryContent"

Home > @acoustic-content-sdk/redux-feature-delivery-content > deliveryContentFeature

deliveryContentFeature variable

Exposes the feature module selector

Signature:

deliveryContentFeature: import("@acoustic-content-sdk/redux-store").ReduxFeatureModule<Record<string, import("@acoustic-content-sdk/api").ContentItemWithLayout>, DeliveryContentFeatureState, import("redux").AnyAction, import("redux").AnyAction, any>

Home > @acoustic-content-sdk/redux-feature-delivery-content > deliveryContentFeatureReducer

deliveryContentFeatureReducer variable

Signature:

deliveryContentFeatureReducer: {
    deliveryContent: import("redux").Reducer<Record<string, import("@acoustic-content-sdk/api").ContentItemWithLayout>, import("redux").AnyAction>;
}

Home > @acoustic-content-sdk/redux-feature-delivery-content > deliveryContentReducer

deliveryContentReducer variable

reducers for authoring content

Signature:

deliveryContentReducer: Reducer<DeliveryContentState>

Home > @acoustic-content-sdk/redux-feature-delivery-content > MODULE

MODULE variable

Module name

Signature:

MODULE = "@acoustic-content-sdk/redux-feature-delivery-content"

Home > @acoustic-content-sdk/redux-feature-delivery-content > resolveContentItemAction

resolveContentItemAction variable

Signature:

resolveContentItemAction: UnaryFunction<ResolveContentItemPayload, ResolveContentItemAction>

Home > @acoustic-content-sdk/redux-feature-delivery-content > selectDeliveryContentFeature

selectDeliveryContentFeature variable

Select the delivery content feature

Signature:

selectDeliveryContentFeature: import("rxjs").UnaryFunction<Record<string, any>, Record<string, import("@acoustic-content-sdk/api").ContentItemWithLayout>>

Home > @acoustic-content-sdk/redux-feature-delivery-content > selectDeliveryContentItem

selectDeliveryContentItem variable

Signature:

selectDeliveryContentItem: UnaryFunction<string, UnaryFunction<DeliveryContentState, ContentItemWithLayout>>

Home > @acoustic-content-sdk/redux-feature-delivery-content > setDeliveryContentAction

setDeliveryContentAction variable

Signature:

setDeliveryContentAction: UnaryFunction<ContentItemWithLayout, SetDeliveryContentAction>

Home > @acoustic-content-sdk/redux-feature-delivery-content > 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/redux-feature-delivery-content > DeliveryContentState

DeliveryContentState type

Signature:

export declare type DeliveryContentState = Record<string, ContentItemWithLayout>;

Home > @acoustic-content-sdk/redux-feature-delivery-content > DeliveryContentFeatureState > deliveryContent

DeliveryContentFeatureState.deliveryContent property

Signature:

[DELIVERY_CONTENT_FEATURE]: DeliveryContentState;

Home > @acoustic-content-sdk/redux-feature-delivery-content > ResolveContentItemPayload > apiURL

ResolveContentItemPayload.apiURL property

Signature:

apiURL: URL;

Home > @acoustic-content-sdk/redux-feature-delivery-content > ResolveContentItemPayload > assets

ResolveContentItemPayload.assets property

Signature:

assets: Record<string, AuthoringAsset>;

Home > @acoustic-content-sdk/redux-feature-delivery-content > ResolveContentItemPayload > contentItem

ResolveContentItemPayload.contentItem property

Signature:

contentItem: AuthoringContentItem;

Home > @acoustic-content-sdk/redux-feature-delivery-content > ResolveContentItemPayload > contentTypes

ResolveContentItemPayload.contentTypes property

Signature:

contentTypes: Record<string, AuthoringType>;

Home > @acoustic-content-sdk/redux-feature-delivery-content > ResolveContentItemPayload > layouts

ResolveContentItemPayload.layouts property

Signature:

layouts: Record<string, AuthoringLayoutItem>;