@panosc-portal/panosc-common-ts
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

panosc-common-ts

LoopBack

Installation

Install PanoscCommonTsComponent using npm;

$ [npm install | yarn add] panosc-common-ts

Basic Use

Configure and load PanoscCommonTsComponent in the application constructor as shown below.

import {PanoscCommonTsComponent, PanoscCommonTsComponentOptions, DEFAULT_PANOSC_COMMON_TS_OPTIONS} from 'panosc-common-ts';
// ...
export class MyApplication extends BootMixin(ServiceMixin(RepositoryMixin(RestApplication))) {
  constructor(options: ApplicationConfig = {}) {
    const opts: PanoscCommonTsComponentOptions = DEFAULT_PANOSC_COMMON_TS_OPTIONS;
    this.configure(PanoscCommonTsComponentBindings.COMPONENT).to(opts);
      // Put the configuration options here
    });
    this.component(PanoscCommonTsComponent);
    // ...
  }
  // ...
}

Package Sidebar

Install

npm i @panosc-portal/panosc-common-ts

Weekly Downloads

3

Version

0.0.2

License

none

Unpacked Size

52.6 kB

Total Files

75

Last publish

Collaborators

  • emiliano.coghetto
  • scaunt
  • sferot