@sourceloop/core / Exports / IRestResolver
Interface: IRestResolver<Parent, Child>¶
Type parameters¶
Name | Type |
---|---|
Parent |
extends Entity |
Child |
extends Entity |
Implemented by¶
Table of contents¶
Properties¶
Methods¶
Properties¶
type¶
• type: RelationType
Defined in¶
packages/core/src/components/proxy-builder/services/types.ts:125
Methods¶
link¶
▸ link(params
): Promise
<Parent
>
Parameters¶
Name | Type |
---|---|
params |
RestLinkerParams <Parent , Child > |
Returns¶
Promise
<Parent
>
Defined in¶
packages/core/src/components/proxy-builder/services/types.ts:129
resolve¶
▸ resolve(params
): Promise
<ResolvedMap
<Parent
, Child
>>
Parameters¶
Name | Type |
---|---|
params |
RestResolverParams <Parent , Child > |
Returns¶
Promise
<ResolvedMap
<Parent
, Child
>>
Defined in¶
packages/core/src/components/proxy-builder/services/types.ts:126