Home > @i2analyze/i2connect > services > ISeedConstraints
services.ISeedConstraints interface
A set of constraints on the records that can be passed as seeds to a service.
Signature:
interface ISeedConstraints<TItemType extends schema.ILinkType | schema.IEntityType = schema.ILinkType | schema.IEntityType> 
Introduced: API version 1.0
Type Parameters
| Parameter | Type | Description | 
|---|---|---|
| TItemType | extends schema.ILinkType | schema.IEntityType(default: schema.ILinkType | schema.IEntityType) | The type of records that can be seeds - that is, whether they are entities or links. | 
Properties
| Property | Type | Description | 
|---|---|---|
| max? | number | (Optional) Gets the maximum total number of seeds. | 
| min? | number | (Optional) Gets the minimum total number of seeds. | 
| thisConnectorOnly? | boolean | (Optional) Indicates whether only records that originate from the service's connector can be seeds. | 
| typeConstraints? | 'anyEntities' | 'anyLinks' | (TItemType | IItemTypeConstraint<TItemType>)[] | (Optional) Gets the constraints on the item types that seeds can have. |