chore: export more from redoc.module

This commit is contained in:
Roman Hotsiy 2017-04-23 18:01:24 +03:00
parent 2d6ab83f70
commit c6f351ea36
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -1,14 +1,17 @@
import { NgModule, ErrorHandler, APP_ID } from '@angular/core'; import { NgModule, ErrorHandler, APP_ID } from '@angular/core';
import { CommonModule } from '@angular/common'; import { CommonModule } from '@angular/common';
import { SpecManager } from './utils/spec-manager';
import { Redoc, SecurityDefinitions, Operation, REDOC_DIRECTIVES } from './components/index'; import { Redoc, SecurityDefinitions, Operation, REDOC_DIRECTIVES } from './components/index';
import { REDOC_COMMON_DIRECTIVES, DynamicNg2Wrapper } from './shared/components/index'; import { REDOC_COMMON_DIRECTIVES, DynamicNg2Wrapper, DropDown } from './shared/components/index';
import { REDOC_PIPES } from './utils/pipes'; import { REDOC_PIPES } from './utils/pipes';
import { CustomErrorHandler } from './utils/' import { CustomErrorHandler } from './utils/'
import { LazyTasksService } from './shared/components/LazyFor/lazy-for'; import { LazyTasksService } from './shared/components/LazyFor/lazy-for';
import { import {
OptionsService, OptionsService,
Options,
MenuService, MenuService,
ScrollService, ScrollService,
Hash, Hash,
@ -19,10 +22,9 @@ import {
Marker, Marker,
SchemaHelper, SchemaHelper,
SearchService, SearchService,
MenuItem,
COMPONENT_PARSER_ALLOWED } from './services/'; COMPONENT_PARSER_ALLOWED } from './services/';
import { SpecManager } from './utils/spec-manager';
@NgModule({ @NgModule({
imports: [ CommonModule ], imports: [ CommonModule ],
declarations: [ REDOC_DIRECTIVES, REDOC_COMMON_DIRECTIVES, REDOC_PIPES ], declarations: [ REDOC_DIRECTIVES, REDOC_COMMON_DIRECTIVES, REDOC_PIPES ],
@ -49,6 +51,7 @@ export { Redoc, SpecManager, ScrollService,
Hash, Hash,
WarningsService, WarningsService,
OptionsService, OptionsService,
Options,
AppStateService, AppStateService,
ComponentParser, ComponentParser,
ContentProjector, ContentProjector,
@ -56,4 +59,5 @@ MenuService,
SearchService, SearchService,
SchemaHelper, SchemaHelper,
LazyTasksService, LazyTasksService,
Marker }; MenuItem,
Marker, DropDown };