falcon-airlines-enrichments
v0.0.1
Published
falcon airlines enrichments
Downloads
2
Maintainers
Readme
falcon-airlines-enrichments
Installation
Install FalconAirlinesEnrichmentsComponent using npm
;
$ [npm install | yarn add] falcon-airlines-enrichments
Basic Use
Configure and load FalconAirlinesEnrichmentsComponent in the application constructor as shown below.
import {FalconAirlinesEnrichmentsComponent, FalconAirlinesEnrichmentsComponentOptions, DEFAULT_FALCON_AIRLINES_ENRICHMENTS_OPTIONS} from 'falcon-airlines-enrichments';
// ...
export class MyApplication extends BootMixin(ServiceMixin(RepositoryMixin(RestApplication))) {
constructor(options: ApplicationConfig = {}) {
const opts: FalconAirlinesEnrichmentsComponentOptions = DEFAULT_FALCON_AIRLINES_ENRICHMENTS_OPTIONS;
this.configure(FalconAirlinesEnrichmentsComponentBindings.COMPONENT).to(opts);
// Put the configuration options here
});
this.component(FalconAirlinesEnrichmentsComponent);
// ...
}
// ...
}