Home > @i2analyze/i2connect > services > IItemTypeConstraint
services.IItemTypeConstraint interface
A set of constraints that apply to seeds that have a particular item type.
Signature:
interface IItemTypeConstraint<TItemType extends schema.ILinkType | schema.IEntityType>
Introduced: API version 1.0
Type Parameters
Parameter | Type | Description |
---|---|---|
TItemType | extends schema.ILinkType | schema.IEntityType | The type of records that make up these seeds - that is, whether they are entities or links. |
Properties
Property | Type | Description |
---|---|---|
max | number | Gets the maximum number of seed records that have the item type. |
min | number | Gets the minimum number of seed records that have the item type. |
type | TItemType | Gets the item type of the seeds to which the constraints apply. |