redoc/lib/redoc.module.ts

31 lines
826 B
TypeScript
Raw Normal View History

2016-08-28 21:46:10 +03:00
import { NgModule } from '@angular/core';
2016-08-22 12:12:13 +03:00
import { BrowserModule } from '@angular/platform-browser';
import { Redoc, REDOC_DIRECTIVES } from './components/index';
import { REDOC_COMMON_DIRECTIVES } from './shared/components/index';
import { REDOC_PIPES } from './utils/pipes';
import { OptionsService, RedocEventsService, MenuService,
ScrollService, Hash, WarningsService } from './services/index';
import { SpecManager } from './utils/SpecManager';
@NgModule({
imports: [ BrowserModule ],
declarations: [ REDOC_DIRECTIVES, REDOC_COMMON_DIRECTIVES, REDOC_PIPES],
bootstrap: [ Redoc ],
providers: [
SpecManager,
RedocEventsService,
ScrollService,
Hash,
MenuService,
WarningsService,
OptionsService
2016-10-14 11:44:18 +03:00
],
exports: [Redoc]
2016-08-22 12:12:13 +03:00
})
export class RedocModule {
}
2016-10-14 11:44:18 +03:00
export { Redoc, SpecManager };