@ngrx/store#createAction TypeScript Examples

The following examples show how to use @ngrx/store#createAction. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: app.actions.ts    From wingsearch with GNU General Public License v3.0 6 votes vote down vote up
bonusCardSearch = createAction('[App] Bonus Card Search',
    props<{
        bonus: string[], bonusfield: string, expansion: {
            originalcore: boolean,
            swiftstart: boolean,
            european: boolean,
            oceania: boolean
        }
    }>()
)
Example #2
Source File: file-explorer.actions.ts    From nica-os with MIT License 5 votes vote down vote up
loadApplications = createAction('[FileExplorer] Load applications', props<{applications: Application[]}>())
Example #3
Source File: app.actions.ts    From Angular-Cookbook with MIT License 5 votes vote down vote up
addItemToBucket = createAction(
  '[Bucket] Add Item',
  props<IFruit>()
)
Example #4
Source File: auth.actions.ts    From svvs with MIT License 5 votes vote down vote up
signIn = createAction('[Auth] SignIn', payloadForce())
Example #5
Source File: auth.actions.ts    From ReCapProject-Frontend with MIT License 5 votes vote down vote up
setUserDetail = createAction(
  'Set UserDetail',
  props<{ userDetail: UserDetail }>()
)
Example #6
Source File: auth-api.actions.ts    From router with MIT License 5 votes vote down vote up
loginSuccess = createAction(
  '[Auth/API] Login Success',
  props<{ user: User }>()
)
Example #7
Source File: member-api.actions.ts    From dating-client with MIT License 5 votes vote down vote up
loadMembersSuccess = createAction(
  '[Members/API] Load Members Success',
  props<{ members: User[], pagination: Pagination }>()
)