@virket/events-core
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Virket's Events core module

Module that implements

  • Types (interfaces)
  • Model
  • Repository
  • Service
  • State management (actions, effects, reducers, selectors)

Using your module in an Ionic 5 app

import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
...

// Import the module
import { EventsCoreModule } from '@virket/events-core/dist/src';

@NgModule({
  declarations: [AppComponent],
  entryComponents: [],
  imports: [
    ...
    StoreModule.forRoot({}),
    EffectsModule.forRoot([]),
    ...
    EventsCoreModule.forRoot({
      apiUrl: environment.apiUrl,
      instanceName: environment.instanceName
    }),
    ...
  ],
  providers: [
    ...
  ],
  bootstrap: [AppComponent]
})
export class AppModule {}

Package Sidebar

Install

npm i @virket/events-core

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

98.1 kB

Total Files

60

Last publish

Collaborators

  • nandyx
  • kingandrew