@sourceloop/core / Exports / ProxyBuilderComponent
Class: ProxyBuilderComponent¶
Implements¶
Component
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new ProxyBuilderComponent(application, options)
Parameters¶
| Name | Type |
|---|---|
application |
Application |
options |
ProxyBuilderConfig |
Defined in¶
packages/core/src/components/proxy-builder/component.ts:44
Properties¶
application¶
• Private Readonly application: Application
Defined in¶
packages/core/src/components/proxy-builder/component.ts:46
bindings¶
• Optional bindings: Binding<AnyObject>[]
Implementation of¶
Component.bindings
Defined in¶
packages/core/src/components/proxy-builder/component.ts:42
options¶
• Private Readonly options: ProxyBuilderConfig
Defined in¶
packages/core/src/components/proxy-builder/component.ts:48
Methods¶
_bindDataSource¶
▸ Private _bindDataSource(model, basePath, restOperations?, baseUrl?): void
Parameters¶
| Name | Type |
|---|---|
model |
ModelConstructor<Entity> |
basePath |
string |
restOperations? |
RestOperationTemplate[] |
baseUrl? |
string |
Returns¶
void
Defined in¶
packages/core/src/components/proxy-builder/component.ts:93
_bindService¶
▸ Private _bindService(model, restRelations?): void
Parameters¶
| Name | Type |
|---|---|
model |
ModelConstructor<Entity> |
restRelations? |
RestRelationConfig[] |
Returns¶
void
Defined in¶
packages/core/src/components/proxy-builder/component.ts:123
_createBasePath¶
▸ Private _createBasePath(model): any
Parameters¶
| Name | Type |
|---|---|
model |
ModelConstructor<Entity> |
Returns¶
any
Defined in¶
packages/core/src/components/proxy-builder/component.ts:152
_handleConfig¶
▸ Private _handleConfig(config): EntityRestConfig
Parameters¶
| Name | Type |
|---|---|
config |
ModelConstructor<Entity> | EntityRestConfig |