npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

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

v9.0.10076

Published

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

Downloads

121

Readme

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

| Interface | Description | | --- | --- | | DeliveryContentFeatureState | | | ResolveContentItemPayload | |

Variables

| Variable | Description | | --- | --- | | ACTION_ADD_DELIVERY_CONTENT_IF_NONEXISTENT | | | ACTION_ADD_DELIVERY_CONTENT | | | ACTION_RESOLVE_CONTENT_ITEM | | | ACTION_SET_DELIVERY_CONTENT | Do not add a side effect to this action | | addDeliveryContentAction | | | addDeliveryContentIfNonExistentAction | 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. | | DELIVERY_CONTENT_FEATURE | | | deliveryContentFeature | Exposes the feature module selector | | deliveryContentFeatureReducer | | | deliveryContentReducer | reducers for authoring content | | MODULE | Module name | | resolveContentItemAction | | | selectDeliveryContentFeature | Select the delivery content feature | | selectDeliveryContentItem | | | setDeliveryContentAction | | | VERSION | Version and build number of the package |

Type Aliases

| Type Alias | Description | | --- | --- | | AddDeliveryContentAction | | | AddDeliveryContentIfNonExistentAction | | | DeliveryContentState | | | ResolveContentItemAction | | | SetDeliveryContentAction | |

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

DeliveryContentFeatureState interface

Signature:

export interface DeliveryContentFeatureState 

Properties

| Property | Type | Description | | --- | --- | --- | | deliveryContent | DeliveryContentState | |

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

ResolveContentItemPayload interface

Signature:

export interface ResolveContentItemPayload 

Properties

| Property | Type | Description | | --- | --- | --- | | apiURL | URL | | | assets | Record<string, AuthoringAsset> | | | contentItem | AuthoringContentItem | | | contentTypes | Record<string, AuthoringType> | | | layouts | Record<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>;