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-auth-content

v9.0.10076

Published

Implementation of a redux feature to manage authoring content.

Downloads

140

Readme

npm

Implementation of the feature store that manages content items.

API Documentation

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

redux-feature-auth-content package

Implementation of a redux feature to manage authoring content.

Functions

| Function | Description | | --- | --- | | isAuthoringContentItem(aValue) | |

Interfaces

| Interface | Description | | --- | --- | | AuthContentEmbedItemPayload | | | AuthContentFeatureState | | | AuthContentPropertyUpdatePayload | |

Variables

| Variable | Description | | --- | --- | | ACTION_ADD_AUTH_CONTENT_IF_NONEXISTENT | | | ACTION_ADD_AUTH_CONTENT | | | ACTION_AUTH_CONTENT_EMBED_ITEM | | | ACTION_AUTH_CONTENT_PROPERTY_UPDATE | | | ACTION_GUARANTEE_AUTH_CONTENT | | | ACTION_LOAD_AUTH_CONTENT | | | ACTION_REMOVE_AUTH_CONTENT | | | ACTION_SAVE_AUTH_CONTENT_BATCH | | | ACTION_SAVE_AUTH_CONTENT | | | ACTION_SET_AUTH_CONTENT | Do not add a side effect to this action | | addAuthoringContentAction | | | addAuthoringContentIfNonExistentAction | Adds this content item to the store only if the item does not exist, yet. If the item does not exist, this triggers a addAuthoringContentAction. | | AUTH_CONTENT_FEATURE | | | authContentEmbedItem | | | authContentFeatureReducer | | | authContentPropertyUpdateAction | | | authoringContentFeature | Exposes the feature module selector | | authoringContentReducer | reducers for authoring content | | guaranteeAuthoringContentAction | Loads the content item if it does not exist. If the item does not exist, this triggers a loadAuthoringContentAction. | | loadAuthoringContentAction | | | migrateContentItems | | | MODULE | Module name | | removeAuthoringContentAction | | | saveAuthoringContentAction | | | saveAuthoringContentBatchAction | | | selectAuthContentFeature | Select the auth.contenting feature | | selectAuthoringContentItem | | | setAuthoringContentAction | | | VERSION | Version and build number of the package |

Type Aliases

| Type Alias | Description | | --- | --- | | AddAuthoringContentAction | | | AddAuthoringContentIfNonExistentAction | | | AuthContentEmbedItemAction | | | AuthContentPropertyUpdateAction | | | AuthoringContentActions | | | AuthoringContentActionsPayload | | | AuthoringContentBatchItems | | | AuthoringContentSaveItem | | | AuthoringContentState | | | GuaranteeAuthoringContentAction | | | LoadAuthoringContentAction | | | RemoveAuthoringContentAction | | | SaveAuthoringContentAction | | | SaveAuthoringContentBatchAction | | | SetAuthoringContentAction | |

Home > @acoustic-content-sdk/redux-feature-auth-content > isAuthoringContentItem

isAuthoringContentItem() function

Signature:

export declare function isAuthoringContentItem(aValue: any): aValue is AuthoringContentItem;

Parameters

| Parameter | Type | Description | | --- | --- | --- | | aValue | any | |

Returns:

aValue is AuthoringContentItem

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentEmbedItemPayload

AuthContentEmbedItemPayload interface

Signature:

export interface AuthContentEmbedItemPayload 

Properties

| Property | Type | Description | | --- | --- | --- | | accessor | AccessorType | | | bInsert | boolean | | | id | AuthoringContentItem | string | | | item | AuthoringContentItem | string | |

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentFeatureState

AuthContentFeatureState interface

Signature:

export interface AuthContentFeatureState 

Properties

| Property | Type | Description | | --- | --- | --- | | authContent | AuthoringContentState | |

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentPropertyUpdatePayload

AuthContentPropertyUpdatePayload interface

Signature:

export interface AuthContentPropertyUpdatePayload 

Properties

| Property | Type | Description | | --- | --- | --- | | accessor | AccessorType | | | id | string | | | value | any | |

Home > @acoustic-content-sdk/redux-feature-auth-content > ACTION_ADD_AUTH_CONTENT_IF_NONEXISTENT

ACTION_ADD_AUTH_CONTENT_IF_NONEXISTENT variable

Signature:

ACTION_ADD_AUTH_CONTENT_IF_NONEXISTENT = "ACTION_ADD_AUTH_CONTENT_IF_NONEXISTENT"

Home > @acoustic-content-sdk/redux-feature-auth-content > ACTION_ADD_AUTH_CONTENT

ACTION_ADD_AUTH_CONTENT variable

Signature:

ACTION_ADD_AUTH_CONTENT = "ACTION_ADD_AUTH_CONTENT"

Home > @acoustic-content-sdk/redux-feature-auth-content > ACTION_AUTH_CONTENT_EMBED_ITEM

ACTION_AUTH_CONTENT_EMBED_ITEM variable

Signature:

ACTION_AUTH_CONTENT_EMBED_ITEM = "ACTION_AUTH_CONTENT_EMBED_ITEM"

Home > @acoustic-content-sdk/redux-feature-auth-content > ACTION_AUTH_CONTENT_PROPERTY_UPDATE

ACTION_AUTH_CONTENT_PROPERTY_UPDATE variable

Signature:

ACTION_AUTH_CONTENT_PROPERTY_UPDATE = "ACTION_AUTH_CONTENT_PROPERTY_UPDATE"

Home > @acoustic-content-sdk/redux-feature-auth-content > ACTION_GUARANTEE_AUTH_CONTENT

ACTION_GUARANTEE_AUTH_CONTENT variable

Signature:

ACTION_GUARANTEE_AUTH_CONTENT = "ACTION_GUARANTEE_AUTH_CONTENT"

Home > @acoustic-content-sdk/redux-feature-auth-content > ACTION_LOAD_AUTH_CONTENT

ACTION_LOAD_AUTH_CONTENT variable

Signature:

ACTION_LOAD_AUTH_CONTENT = "ACTION_LOAD_AUTH_CONTENT"

Home > @acoustic-content-sdk/redux-feature-auth-content > ACTION_REMOVE_AUTH_CONTENT

ACTION_REMOVE_AUTH_CONTENT variable

Signature:

ACTION_REMOVE_AUTH_CONTENT = "ACTION_REMOVE_AUTH_CONTENT"

Home > @acoustic-content-sdk/redux-feature-auth-content > ACTION_SAVE_AUTH_CONTENT_BATCH

ACTION_SAVE_AUTH_CONTENT_BATCH variable

Signature:

ACTION_SAVE_AUTH_CONTENT_BATCH = "ACTION_SAVE_AUTH_CONTENT_BATCH"

Home > @acoustic-content-sdk/redux-feature-auth-content > ACTION_SAVE_AUTH_CONTENT

ACTION_SAVE_AUTH_CONTENT variable

Signature:

ACTION_SAVE_AUTH_CONTENT = "ACTION_SAVE_AUTH_CONTENT"

Home > @acoustic-content-sdk/redux-feature-auth-content > ACTION_SET_AUTH_CONTENT

ACTION_SET_AUTH_CONTENT variable

Do not add a side effect to this action

Signature:

ACTION_SET_AUTH_CONTENT = "ACTION_SET_AUTH_CONTENT"

Home > @acoustic-content-sdk/redux-feature-auth-content > addAuthoringContentAction

addAuthoringContentAction variable

Signature:

addAuthoringContentAction: UnaryFunction<AuthoringContentItem, AddAuthoringContentAction>

Home > @acoustic-content-sdk/redux-feature-auth-content > addAuthoringContentIfNonExistentAction

addAuthoringContentIfNonExistentAction 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 addAuthoringContentAction.

Signature:

addAuthoringContentIfNonExistentAction: UnaryFunction<AuthoringContentItem, AddAuthoringContentIfNonExistentAction>

Home > @acoustic-content-sdk/redux-feature-auth-content > AUTH_CONTENT_FEATURE

AUTH_CONTENT_FEATURE variable

Signature:

AUTH_CONTENT_FEATURE = "authContent"

Home > @acoustic-content-sdk/redux-feature-auth-content > authContentEmbedItem

authContentEmbedItem variable

Signature:

authContentEmbedItem: UnaryFunction<AuthContentEmbedItemPayload, AuthContentEmbedItemAction>

Home > @acoustic-content-sdk/redux-feature-auth-content > authContentFeatureReducer

authContentFeatureReducer variable

Signature:

authContentFeatureReducer: {
    authContent: import("redux").Reducer<Record<string, import("@acoustic-content-sdk/api").AuthoringContentItem>, import("./auth.content.actions").AuthoringContentActions>;
}

Home > @acoustic-content-sdk/redux-feature-auth-content > authContentPropertyUpdateAction

authContentPropertyUpdateAction variable

Signature:

authContentPropertyUpdateAction: (id: string, accessor: string, value: any) => AuthContentPropertyUpdateAction

Home > @acoustic-content-sdk/redux-feature-auth-content > authoringContentFeature

authoringContentFeature variable

Exposes the feature module selector

Signature:

authoringContentFeature: import("@acoustic-content-sdk/redux-store").ReduxFeatureModule<Record<string, import("@acoustic-content-sdk/api").AuthoringContentItem>, AuthContentFeatureState, import("redux").AnyAction, import("redux").AnyAction, any>

Home > @acoustic-content-sdk/redux-feature-auth-content > authoringContentReducer

authoringContentReducer variable

reducers for authoring content

Signature:

authoringContentReducer: Reducer<AuthoringContentState, AuthoringContentActions>

Home > @acoustic-content-sdk/redux-feature-auth-content > guaranteeAuthoringContentAction

guaranteeAuthoringContentAction variable

Loads the content item if it does not exist. If the item does not exist, this triggers a loadAuthoringContentAction.

Signature:

guaranteeAuthoringContentAction: UnaryFunction<string, GuaranteeAuthoringContentAction>

Home > @acoustic-content-sdk/redux-feature-auth-content > loadAuthoringContentAction

loadAuthoringContentAction variable

Signature:

loadAuthoringContentAction: UnaryFunction<string, LoadAuthoringContentAction>

Home > @acoustic-content-sdk/redux-feature-auth-content > migrateContentItems

migrateContentItems variable

Signature:

migrateContentItems: (contentItems: AuthoringContentItem[]) => AuthoringContentItem[]

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

MODULE variable

Module name

Signature:

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

Home > @acoustic-content-sdk/redux-feature-auth-content > removeAuthoringContentAction

removeAuthoringContentAction variable

Signature:

removeAuthoringContentAction: UnaryFunction<string, RemoveAuthoringContentAction>

Home > @acoustic-content-sdk/redux-feature-auth-content > saveAuthoringContentAction

saveAuthoringContentAction variable

Signature:

saveAuthoringContentAction: UnaryFunction<AuthoringContentSaveItem, SaveAuthoringContentAction>

Home > @acoustic-content-sdk/redux-feature-auth-content > saveAuthoringContentBatchAction

saveAuthoringContentBatchAction variable

Signature:

saveAuthoringContentBatchAction: UnaryFunction<AuthoringContentBatchItems, SaveAuthoringContentBatchAction>

Home > @acoustic-content-sdk/redux-feature-auth-content > selectAuthContentFeature

selectAuthContentFeature variable

Select the auth.contenting feature

Signature:

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

Home > @acoustic-content-sdk/redux-feature-auth-content > selectAuthoringContentItem

selectAuthoringContentItem variable

Signature:

selectAuthoringContentItem: UnaryFunction<string, UnaryFunction<AuthoringContentState, AuthoringContentItem>>

Home > @acoustic-content-sdk/redux-feature-auth-content > setAuthoringContentAction

setAuthoringContentAction variable

Signature:

setAuthoringContentAction: UnaryFunction<AuthoringContentItem, SetAuthoringContentAction>

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

AuthContentEmbedItemAction type

Signature:

export declare type AuthContentEmbedItemAction = PayloadAction<AuthContentEmbedItemPayload>;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthoringContentActions

AuthoringContentActions type

Signature:

export declare type AuthoringContentActions = AddAuthoringContentAction | SetAuthoringContentAction | RemoveAuthoringContentAction;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthoringContentActionsPayload

AuthoringContentActionsPayload type

Signature:

export declare type AuthoringContentActionsPayload = AuthoringContentItem | string;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthoringContentBatchItems

AuthoringContentBatchItems type

Signature:

export declare type AuthoringContentBatchItems = AuthoringContentSaveItem[];

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthoringContentSaveItem

AuthoringContentSaveItem type

Signature:

export declare type AuthoringContentSaveItem = AuthoringContentItem | string;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthoringContentState

AuthoringContentState type

Signature:

export declare type AuthoringContentState = Record<string, AuthoringContentItem>;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentEmbedItemPayload > accessor

AuthContentEmbedItemPayload.accessor property

Signature:

accessor: AccessorType;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentEmbedItemPayload > bInsert

AuthContentEmbedItemPayload.bInsert property

Signature:

bInsert?: boolean;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentEmbedItemPayload > id

AuthContentEmbedItemPayload.id property

Signature:

id: AuthoringContentItem | string;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentEmbedItemPayload > item

AuthContentEmbedItemPayload.item property

Signature:

item: AuthoringContentItem | string;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentPropertyUpdatePayload > accessor

AuthContentPropertyUpdatePayload.accessor property

Signature:

accessor: AccessorType;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentPropertyUpdatePayload > id

AuthContentPropertyUpdatePayload.id property

Signature:

id: string;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentPropertyUpdatePayload > value

AuthContentPropertyUpdatePayload.value property

Signature:

value: any;

Home > @acoustic-content-sdk/redux-feature-auth-content > AuthContentFeatureState > authContent

AuthContentFeatureState.authContent property

Signature:

[AUTH_CONTENT_FEATURE]: AuthoringContentState;