Browse Source

feat: use route provider and make all config public

pull/4377/head
Arman Ozak 6 years ago
parent
commit
e0a3764a35
  1. 12
      npm/ng-packs/packages/identity/config/src/identity-config.module.ts
  2. 3
      npm/ng-packs/packages/identity/config/src/public-api.ts

12
npm/ng-packs/packages/identity/config/src/identity-config.module.ts

@ -0,0 +1,12 @@
import { ModuleWithProviders, NgModule } from '@angular/core';
import { IDENTITY_ROUTE_PROVIDERS } from './providers/route.provider';
@NgModule()
export class IdentityConfigModule {
static forRoot(): ModuleWithProviders<IdentityConfigModule> {
return {
ngModule: IdentityConfigModule,
providers: [IDENTITY_ROUTE_PROVIDERS],
};
}
}

3
npm/ng-packs/packages/identity/config/src/public-api.ts

@ -0,0 +1,3 @@
export * from './enums';
export * from './identity-config.module';
export * from './providers';
Loading…
Cancel
Save