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

@ibm-wch-sdk/ngrx-api

v6.0.524

Published

Module that implements @ngrx bindings to the login and logout functionality as offered by the @ibm-wch-sdk/ng modules.

Downloads

232

Readme

ibm-wch-sdk-ngrx-api

Module that implements @ngrx bindings to the login and logout functionality as offered by the ibm-wch-sdk-ng-edit modules.

Details

Refer to the documentation.

Changes

CHANGELOG

Class documentation

Refer to the documentation.

Usage

Install the module via

npm install --save ibm-wch-sdk-ngrx-edit

Prereqs

Rendering Effects Module

This module provides utility classes to connect the ibm-wch-sdk-ng library with the ngrx set of libraries.

Usecase

The @ngrx/store project offers a consistent and efficient way to manage application state. Each aspect of the state is manipulated using a set of actions and persisted by matching reducer functions.

This package offers the actions and reducers related to the concept of a RenderingContext.

Refer to the documentation for more details.

Usage

TBD

Changelog

Current

Added

  • Initial version

@ibm-wch-sdk/ngrx-api

Index

External modules


@ibm-wch-sdk/ngrx-api > "components/component.actions"

External module: "components/component.actions"

Index

Interfaces


@ibm-wch-sdk/ngrx-api > "components/component.selectors"

External module: "components/component.selectors"

Index

Functions


Functions

createComponentSelector

createComponentSelector<T>(aId: string): Selector<ComponentState<T>, T>

Defined in components/component.selectors.ts:5

Type parameters:

T

Parameters:

| Name | Type | | ------ | ------ | | aId | string |

Returns: Selector<ComponentState<T>, T>


@ibm-wch-sdk/ngrx-api > "components/index"

External module: "components/index"

Index


@ibm-wch-sdk/ngrx-api > "index"

External module: "index"

Index


@ibm-wch-sdk/ngrx-api > "rendering/index"

External module: "rendering/index"

Index


@ibm-wch-sdk/ngrx-api > "rendering/rendering.actions"

External module: "rendering/rendering.actions"

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions


Type aliases

RenderingActions

Ƭ RenderingActions: CurrentRenderingContextAction

Defined in rendering/rendering.actions.ts:37


RenderingCommands

Ƭ RenderingCommands: RefreshCommand

Defined in rendering/rendering.actions.ts:36


Variables

<Const> RENDERING_NAMESPACE

● RENDERING_NAMESPACE: "ibm-wch-sdk-ngrx" = "ibm-wch-sdk-ngrx"

Defined in rendering/rendering.actions.ts:5


Functions

<Const> createRefreshCommand

createRefreshCommand(): RefreshCommand

Defined in rendering/rendering.actions.ts:34

Returns: RefreshCommand


@ibm-wch-sdk/ngrx-api > "rendering/rendering.selectors"

External module: "rendering/rendering.selectors"

Index

Variables

Functions


Variables

<Const> selectApiOrigin

● selectApiOrigin: Selector<RenderingState, string> = createSelector(selectRenderingContext, rc => rc.context.hub.apiUrl.origin)

Defined in rendering/rendering.selectors.ts:10


<Const> selectDeliveryOrigin

● selectDeliveryOrigin: Selector<RenderingState, string> = createSelector(selectRenderingContext, rc => rc.context.hub.deliveryUrl.origin)

Defined in rendering/rendering.selectors.ts:11


<Const> selectRenderingState

● selectRenderingState: Selector<any, RenderingState> = createFeatureSelector(RENDERING_NAMESPACE)

Defined in rendering/rendering.selectors.ts:7


<Const> selectSitePage

● selectSitePage: Selector<RenderingState, SitePage> = createSelector(selectRenderingContext, pageFromRenderingContext)

Defined in rendering/rendering.selectors.ts:9


Functions

<Const> selectRenderingContext

selectRenderingContext(state: RenderingState): RenderingContext

Defined in rendering/rendering.selectors.ts:8

Parameters:

| Name | Type | | ------ | ------ | | state | RenderingState |

Returns: RenderingContext


State

The

@ibm-wch-sdk/ngrx-api

Index

External modules


@ibm-wch-sdk/ngrx-api > "components/component.actions" > ComponentAction

Interface: ComponentAction

Hierarchy

Action

↳ ComponentAction

Index

Properties


Properties

id

● id: string

Defined in components/component.actions.ts:11


type

● type: string

Inherited from Action.type

Defined in /usr/build/node_modules/@ngrx/store/src/models.d.ts:2


@ibm-wch-sdk/ngrx-api > "components/component.actions" > ComponentState

Interface: ComponentState

Maps from component ID to component state

Type parameters

T

Hierarchy

ComponentState

Indexable

[id: string]: T Maps from component ID to component state

Index


@ibm-wch-sdk/ngrx-api > "rendering/rendering.actions" > RenderingActionTypes

Enumeration: RenderingActionTypes

Index

Enumeration members


Enumeration members

CURRENT_RENDERING_CONTEXT

CURRENT_RENDERING_CONTEXT: = "ibm-wch-sdk-ngrx:currentRenderingContext"

Defined in rendering/rendering.actions.ts:12


REFRESH_COMMAND

REFRESH_COMMAND: = "ibm-wch-sdk-ngrx:refresh"

Defined in rendering/rendering.actions.ts:13


@ibm-wch-sdk/ngrx-api > "rendering/rendering.actions" > CurrentRenderingContextAction

Class: CurrentRenderingContextAction

Hierarchy

CurrentRenderingContextAction

Implements

Index

Constructors

Properties


Constructors

constructor

new CurrentRenderingContextAction(renderingContext: RenderingContext): CurrentRenderingContextAction

Defined in rendering/rendering.actions.ts:27

Parameters:

| Name | Type | | ------ | ------ | | renderingContext | RenderingContext |

Returns: CurrentRenderingContextAction


Properties

renderingContext

● renderingContext: RenderingContext

Defined in rendering/rendering.actions.ts:29


type

● type: CURRENT_RENDERING_CONTEXT = RenderingActionTypes.CURRENT_RENDERING_CONTEXT

Implementation of AbstractRenderingAction.type

Defined in rendering/rendering.actions.ts:27


@ibm-wch-sdk/ngrx-api > "rendering/rendering.actions" > RefreshCommand

Class: RefreshCommand

Hierarchy

RefreshCommand

Implements

Index

Properties


Properties

type

● type: REFRESH_COMMAND = RenderingActionTypes.REFRESH_COMMAND

Implementation of AbstractRenderingAction.type

Defined in rendering/rendering.actions.ts:22


@ibm-wch-sdk/ngrx-api > "rendering/rendering.actions" > AbstractRenderingAction

Interface: AbstractRenderingAction

Hierarchy

Action

↳ AbstractRenderingAction

Implemented by

Index

Properties


Properties

type

● type: RenderingActionTypes

Overrides Action.type

Defined in rendering/rendering.actions.ts:17


@ibm-wch-sdk/ngrx-api > "rendering/rendering.actions" > RenderingState

Interface: RenderingState

Hierarchy

RenderingState

Index

Properties


Properties

<Optional> renderingContext

● renderingContext: RenderingContext

Defined in rendering/rendering.actions.ts:8