Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@acoustic-content-sdk/redux-feature-auth-type
Advanced tools
Implementation of the feature store that manages content types.
Implementation of the feature store that manages content types.
Home > @acoustic-content-sdk/redux-feature-auth-type
Implementation of a redux feature to manage authoring types.
Function | Description |
---|---|
rxElementType(aAuthoringTypes$, aLogger, aScheduler) | Resolves the element type, either directly from the element or from the authoring type |
Interface | Description |
---|---|
AuthTypeFeatureState |
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 |
Home > @acoustic-content-sdk/redux-feature-auth-type > rxElementType
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>>;
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
Signature:
export interface AuthTypeFeatureState
Property | Type | Description |
---|---|---|
authType | AuthoringTypeState |
Home > @acoustic-content-sdk/redux-feature-auth-type > ACTION_ADD_AUTH_CONTENT_TYPE_IF_NONEXISTENT
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
Signature:
ACTION_ADD_AUTH_CONTENT_TYPE = "ACTION_ADD_AUTH_CONTENT_TYPE"
Home > @acoustic-content-sdk/redux-feature-auth-type > ACTION_GUARANTEE_AUTH_CONTENT_TYPE
Signature:
ACTION_GUARANTEE_AUTH_CONTENT_TYPE = "ACTION_GUARANTEE_AUTH_CONTENT_TYPE"
Home > @acoustic-content-sdk/redux-feature-auth-type > ACTION_LOAD_AUTH_CONTENT_TYPE
Signature:
ACTION_LOAD_AUTH_CONTENT_TYPE = "ACTION_LOAD_AUTH_CONTENT_TYPE"
Home > @acoustic-content-sdk/redux-feature-auth-type > ACTION_SET_AUTH_CONTENT_TYPE
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
Signature:
addAuthoringContentTypeAction: UnaryFunction<AuthoringType, AddAuthoringContentTypeAction>
Home > @acoustic-content-sdk/redux-feature-auth-type > 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.
Signature:
addAuthoringContentTypeIfNonExistentAction: UnaryFunction<AuthoringType, AddAuthoringContentTypeIfNonExistentAction>
Home > @acoustic-content-sdk/redux-feature-auth-type > AUTH_TYPE_FEATURE
Signature:
AUTH_TYPE_FEATURE = "authType"
Home > @acoustic-content-sdk/redux-feature-auth-type > authoringTypeFeature
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
reducers for templates
Signature:
authoringTypeReducer: Reducer<AuthoringTypeState, AddAuthoringContentTypeAction | SetAuthoringContentTypeAction>
Home > @acoustic-content-sdk/redux-feature-auth-type > authTypeFeatureReducer
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
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
Signature:
loadAuthoringContentTypeAction: UnaryFunction<string, LoadAuthoringContentTypeAction>
Home > @acoustic-content-sdk/redux-feature-auth-type > selectAuthType
Signature:
selectAuthType: UnaryFunction<string, UnaryFunction<AuthoringTypeState, AuthoringType>>
Home > @acoustic-content-sdk/redux-feature-auth-type > selectAuthTypeFeature
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
Signature:
setAuthoringContentTypeAction: UnaryFunction<AuthoringType, SetAuthoringContentTypeAction>
Home > @acoustic-content-sdk/redux-feature-auth-type > VERSION
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
Signature:
export declare type AuthoringTypeState = Record<string, AuthoringType>;
Home > @acoustic-content-sdk/redux-feature-auth-type > AuthTypeFeatureState > authType
Signature:
[AUTH_TYPE_FEATURE]: AuthoringTypeState;
FAQs
Implementation of the feature store that manages content types.
We found that @acoustic-content-sdk/redux-feature-auth-type demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.