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-type

v9.0.10076

Published

Implementation of the feature store that manages content types.

Downloads

99

Readme

npm

Implementation of the feature store that manages content types.

API Documentation

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

redux-feature-auth-type package

Implementation of a redux feature to manage authoring types.

Functions

| Function | Description | | --- | --- | | rxElementType(aAuthoringTypes$, aLogger, aScheduler) | Resolves the element type, either directly from the element or from the authoring type |

Interfaces

| Interface | Description | | --- | --- | | AuthTypeFeatureState | |

Variables

| Variable | Description | | --- | --- | | ACTION_ADD_AUTH_CONTENT_TYPE_IF_NONEXISTENT | | | ACTION_ADD_AUTH_CONTENT_TYPE | | | ACTION_GUARANTEE_AUTH_CONTENT_TYPE | | | ACTION_LOAD_AUTH_CONTENT_TYPE | | | ACTION_SET_AUTH_CONTENT_TYPE | Do not add a side effect to this action | | addAuthoringContentTypeAction | | | addAuthoringContentTypeIfNonExistentAction | Adds this content type to the store only if the type does not exist, yet. If the type does not exist, this triggers a addAuthoringContentTypeAction. | | AUTH_TYPE_FEATURE | | | authoringTypeFeature | Exposes the feature module selector | | authoringTypeReducer | reducers for templates | | authTypeFeatureReducer | | | guaranteeAuthoringContentTypeAction | Loads the content type if it does not exist. If the type does not exist, this triggers a loadAuthoringContentTypeAction. | | loadAuthoringContentTypeAction | | | selectAuthType | | | selectAuthTypeFeature | Select the authoring type feature | | setAuthoringContentTypeAction | | | VERSION | Version and build number of the package |

Type Aliases

| Type Alias | Description | | --- | --- | | AddAuthoringContentTypeAction | | | AddAuthoringContentTypeIfNonExistentAction | | | AuthoringTypeState | | | GuaranteeAuthoringContentTypeAction | | | LoadAuthoringContentTypeAction | | | SetAuthoringContentTypeAction | |

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

rxElementType() function

Resolves the element type, either directly from the element or from the authoring type

Signature:

export declare function rxElementType(aAuthoringTypes$: Observable<AuthoringTypeState>, aLogger: Logger, aScheduler?: SchedulerLike): UnaryFunction<AccessorType, OperatorFunction<RenderingContext, ELEMENT_TYPE>>;

Parameters

| Parameter | Type | Description | | --- | --- | --- | | aAuthoringTypes$ | Observable<AuthoringTypeState> | the set of available authoring types | | aLogger | Logger | optional logger | | aScheduler | SchedulerLike | optional scheduler |

Returns:

UnaryFunction<AccessorType, OperatorFunction<RenderingContext, ELEMENT_TYPE>>

the resolved type or undefined if the type could not be determined

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

AuthTypeFeatureState interface

Signature:

export interface AuthTypeFeatureState 

Properties

| Property | Type | Description | | --- | --- | --- | | authType | AuthoringTypeState | |

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

ACTION_ADD_AUTH_CONTENT_TYPE_IF_NONEXISTENT variable

Signature:

ACTION_ADD_AUTH_CONTENT_TYPE_IF_NONEXISTENT = "ACTION_ADD_AUTH_CONTENT_TYPE_IF_NONEXISTENT"

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

ACTION_ADD_AUTH_CONTENT_TYPE variable

Signature:

ACTION_ADD_AUTH_CONTENT_TYPE = "ACTION_ADD_AUTH_CONTENT_TYPE"

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

ACTION_GUARANTEE_AUTH_CONTENT_TYPE variable

Signature:

ACTION_GUARANTEE_AUTH_CONTENT_TYPE = "ACTION_GUARANTEE_AUTH_CONTENT_TYPE"

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

ACTION_LOAD_AUTH_CONTENT_TYPE variable

Signature:

ACTION_LOAD_AUTH_CONTENT_TYPE = "ACTION_LOAD_AUTH_CONTENT_TYPE"

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

ACTION_SET_AUTH_CONTENT_TYPE variable

Do not add a side effect to this action

Signature:

ACTION_SET_AUTH_CONTENT_TYPE = "ACTION_SET_AUTH_CONTENT_TYPE"

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

addAuthoringContentTypeAction variable

Signature:

addAuthoringContentTypeAction: UnaryFunction<AuthoringType, AddAuthoringContentTypeAction>

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

addAuthoringContentTypeIfNonExistentAction variable

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

Signature:

addAuthoringContentTypeIfNonExistentAction: UnaryFunction<AuthoringType, AddAuthoringContentTypeIfNonExistentAction>

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

AUTH_TYPE_FEATURE variable

Signature:

AUTH_TYPE_FEATURE = "authType"

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

authoringTypeFeature variable

Exposes the feature module selector

Signature:

authoringTypeFeature: import("@acoustic-content-sdk/redux-store").ReduxFeatureModule<Record<string, import("@acoustic-content-sdk/api").AuthoringType>, AuthTypeFeatureState, import("redux").AnyAction, import("redux").AnyAction, any>

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

authoringTypeReducer variable

reducers for templates

Signature:

authoringTypeReducer: Reducer<AuthoringTypeState, AddAuthoringContentTypeAction | SetAuthoringContentTypeAction>

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

authTypeFeatureReducer variable

Signature:

authTypeFeatureReducer: {
    authType: import("redux").Reducer<Record<string, import("@acoustic-content-sdk/api").AuthoringType>, import("./auth.type.actions").AddAuthoringContentTypeAction | import("./auth.type.actions").SetAuthoringContentTypeAction>;
}

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

guaranteeAuthoringContentTypeAction variable

Loads the content type if it does not exist. If the type does not exist, this triggers a loadAuthoringContentTypeAction.

Signature:

guaranteeAuthoringContentTypeAction: UnaryFunction<string, GuaranteeAuthoringContentTypeAction>

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

loadAuthoringContentTypeAction variable

Signature:

loadAuthoringContentTypeAction: UnaryFunction<string, LoadAuthoringContentTypeAction>

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

selectAuthType variable

Signature:

selectAuthType: UnaryFunction<string, UnaryFunction<AuthoringTypeState, AuthoringType>>

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

selectAuthTypeFeature variable

Select the authoring type feature

Signature:

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

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

setAuthoringContentTypeAction variable

Signature:

setAuthoringContentTypeAction: UnaryFunction<AuthoringType, SetAuthoringContentTypeAction>

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

AuthoringTypeState type

Signature:

export declare type AuthoringTypeState = Record<string, AuthoringType>;

Home > @acoustic-content-sdk/redux-feature-auth-type > AuthTypeFeatureState > authType

AuthTypeFeatureState.authType property

Signature:

[AUTH_TYPE_FEATURE]: AuthoringTypeState;