File tree Expand file tree Collapse file tree 7 files changed +14
-14
lines changed Expand file tree Collapse file tree 7 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 11# @loopback/example-socketio
22
3- This examples gives a basic implementation of socketio with loopback 4.
3+ This example gives a basic implementation of socketio with loopback 4.
44
55This shows how to get base setup done.
66
Original file line number Diff line number Diff line change 11# @loopback/example-webpack
22
33This example illustrates how to bundle ` @loopback/core ` using
4- [ webpack] ( https://webpack.js.org/ ) to allow LoopBack's Dependency Injection can
5- be run inside a browser.
4+ [ webpack] ( https://webpack.js.org/ ) to allow LoopBack's Dependency Injection to
5+ run inside a browser.
66
77## Webpack configurations
88
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ it can be managed by the `CronComponent` life cycles including `start` and
4545``` ts
4646import {CronJob , asCronJob } from ' @loopback/cron' ;
4747
48- // Create an cron job
48+ // Create a cron job
4949const job = new CronJob ({
5050 cronTime: ' */1 * * * * *' , // Every one second
5151 onTick : () => {
Original file line number Diff line number Diff line change 11# @loopback/logging
22
3- This module contains a component provides logging facilities based on
3+ This module contains a component that provides logging facilities based on
44[ Winston] ( https://github.com/winstonjs/winston ) and
55[ Fluentd] ( https://github.com/fluent/fluent-logger-node ) .
66
Original file line number Diff line number Diff line change @@ -107,12 +107,12 @@ The options for this are passed in a `controllers` object on `BootOptions`.
107107
108108Available options on the ` controllers ` object on ` BootOptions ` are as follows:
109109
110- | Options | Type | Default | Description |
111- | ------------ | -------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------- |
112- | ` dirs ` | ` string \| string[] ` | ` ['controllers'] ` | Paths relative to projectRoot to look in for Controller artifacts |
113- | ` extensions ` | ` string \| string[] ` | ` ['.controller.js'] ` | File extensions to match for Controller artifacts |
114- | ` nested ` | ` boolean ` | ` true ` | Look in nested directories in ` dirs ` for Controller artifacts |
115- | ` glob ` | ` string ` | | A ` glob ` pattern string. This takes precendence over above 3 options (which are used to make a glob pattern). |
110+ | Options | Type | Default | Description |
111+ | ------------ | -------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------ |
112+ | ` dirs ` | ` string \| string[] ` | ` ['controllers'] ` | Paths relative to projectRoot to look in for Controller artifacts |
113+ | ` extensions ` | ` string \| string[] ` | ` ['.controller.js'] ` | File extensions to match for Controller artifacts |
114+ | ` nested ` | ` boolean ` | ` true ` | Look in nested directories in ` dirs ` for Controller artifacts |
115+ | ` glob ` | ` string ` | | A ` glob ` pattern string. This takes precedence over above 3 options (which are used to make a glob pattern). |
116116
117117### RepositoryBooter
118118
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ const arrayOfSpecs = MetadataInspector.getMethodMetadata<object>(
134134
135135Typescript
136136[ applies decorators in reverse order] ( https://www.typescriptlang.org/docs/handbook/decorators.html )
137- per class, from the parent down. The metadata array resurned by ` getOwnMetadata `
137+ per class, from the parent down. The metadata array returned by ` getOwnMetadata `
138138will be in this order:
139139
140140``` ts
Original file line number Diff line number Diff line change 1515- a default sequence implementation to manage the request and response lifecycle
1616
1717** NOTE: Starting from 6.0.0, we have introduced a middleware-based sequence,
18- which is is used as the default one for newly generated LoopBack applications
19- using ` lb4 ` command from ` @loopback/cli ` .**
18+ which is used as the default one for newly generated LoopBack applications using
19+ ` lb4 ` command from ` @loopback/cli ` .**
2020
2121## Installation
2222
You can’t perform that action at this time.
0 commit comments