Home > @i2analyze/i2connect > services > IResult > addLinkFromSeed
services.IResult.addLinkFromSeed() method
Adds a link record that was passed to the service as a seed to the result.
Signature:
addLinkFromSeed<TLinkType extends schema.ILinkType>(seed: records.ITypedSeedLinkRecord<TLinkType>): records.ISeededResultLinkRecord & records.ITypedSeededResultRecord<TLinkType>;
Introduced: API version 1.0
Type Parameters
| Parameter | Type | Description |
|---|---|---|
| TLinkType | extends schema.ILinkType | The type of the new link record. |
Parameters
| Parameter | Type | Description |
|---|---|---|
| seed | records.ITypedSeedLinkRecord<TLinkType> | The link record that was passed to the service method as a seed. |
Returns:
records.ISeededResultLinkRecord & records.ITypedSeededResultRecord<TLinkType>
The link record that was added to the result.