• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

strongloop / loopback-next / 9896
76%

Build:
DEFAULT BRANCH: master
Ran 07 May 2019 04:21PM UTC
Jobs 1
Files 285
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
9896

push

travis-ci

bajtos
feat(cli): improve scaffolding of complex model settings

Leverage stringify-object package to convert model settings object
into well-formatted TypeScript source code.

An example of a simple settings object:

    @model({settings: {strict: false}})
    export class MyModel extends Entity {
      // ...
    }

A more complex example:

    @model({
      settings: {
        annotations: [{destinationClass: 'class1', argument: 0}],
        foreignKeys: {fk_destination: {name: 'fk_destination'}},
        strict: false
      }
    })
    export class MyModel extends Entity {
      // ...
    }

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
Co-Authored-By: yanamg7 <Y.Agapeyev@F5.com>

1878 of 2260 branches covered (83.1%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

6313 of 6703 relevant lines covered (94.18%)

879.46 hits per line

Jobs
ID Job ID Ran Files Coverage
2 9896.2 (TASK=test) 07 May 2019 04:21PM UTC 0
91.39
Travis Job 9896.2
Source Files on build 9896
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9896
  • 5035c63e on github
  • Prev Build on master (#9889)
  • Next Build on master (#9907)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc