Home > @i2analyze/i2connect > Result > addLinkFromSeed
Result.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.ISeedLinkRecord & records.ITypedSeedRecord<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.ISeedLinkRecord & records.ITypedSeedRecord<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.