Metadata for a service proxy
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| dataSource |
juggler.DataSource
|
exported optional |
Metadata for a service proxy |
|
| dataSourceName |
undefined | string
|
exported optional |
Metadata for a service proxy |
|
| decorator |
string
|
"@serviceProxy" | exported |
Metadata for a service proxy |
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| dataSource |
string | DataSource
|
Metadata for a service proxy |
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| dataSource |
string | DataSource
|
A generic service interface with any number of methods that return a promise
Get a service proxy from a LoopBack 3.x data source backed by
service-oriented connectors such as rest, soap, and grpc.
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| ds |
DataSource
|
A legacy data source |
A dummy class created to generate the tsdoc for the members in service mixin. Please don't use it.
The members are implemented in function ServiceMixin
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| args |
any[]
|
rest |
A dummy class created to generate the tsdoc for the members in service mixin. Please don't use it. The members are implemented in function ServiceMixin |
Add a component to this application. Also mounts all the components services.
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| component |
Class<__type>
|
The component to add.
|
Get an instance of a component and mount all it's services. This function is intended to be used internally by component()
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| component |
Class<__type>
|
The component to mount services of |
Add a service to this application.
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| provider |
Class<Provider<S>>
|
The service provider to register.
|
Interface for an Application mixed in with ServiceMixin
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| options |
ApplicationConfig
|
exported public |
Interface for an Application mixed in with ServiceMixin |
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| component |
Class<__type>
|
Interface for an Application mixed in with ServiceMixin |
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| component |
Class<__type>
|
Interface for an Application mixed in with ServiceMixin |
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| provider |
Class<Provider<S>>
|
Interface for an Application mixed in with ServiceMixin |
Interface for classes with new operator.
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| args |
any[]
|
rest |
Interface for classes with |
A mixin class for Application that creates a .serviceProvider() function to register a service automatically. Also overrides component function to allow it to register repositories automatically.
class MyApplication extends ServiceMixin(Application) {}
Please note: the members in the mixin function are documented in a dummy class called ServiceMixinDoc
| Name | Type | Default Value | Flags | Description |
|---|---|---|---|---|
| superClass |
T
|