Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
8
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Implementation of the feature store that manages content types.

  • 9.0.10076
  • latest
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

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

FunctionDescription
rxElementType(aAuthoringTypes$, aLogger, aScheduler)Resolves the element type, either directly from the element or from the authoring type

Interfaces

InterfaceDescription
AuthTypeFeatureState

Variables

VariableDescription
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_TYPEDo not add a side effect to this action
addAuthoringContentTypeAction
addAuthoringContentTypeIfNonExistentActionAdds 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
authoringTypeFeatureExposes the feature module selector
authoringTypeReducerreducers for templates
authTypeFeatureReducer
guaranteeAuthoringContentTypeActionLoads the content type if it does not exist. If the type does not exist, this triggers a loadAuthoringContentTypeAction.
loadAuthoringContentTypeAction
selectAuthType
selectAuthTypeFeatureSelect the authoring type feature
setAuthoringContentTypeAction
VERSIONVersion and build number of the package

Type Aliases

Type AliasDescription
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

ParameterTypeDescription
aAuthoringTypes$Observable<AuthoringTypeState>the set of available authoring types
aLoggerLoggeroptional logger
aSchedulerSchedulerLikeoptional 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

PropertyTypeDescription
authTypeAuthoringTypeState

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;

Keywords

FAQs

Package last updated on 26 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc