Home > @i2analyze/notebook-sdk > app > ITrackedMutations > addEntityType
app.ITrackedMutations.addEntityType() method
Creates a custom entity type that is added to the chart on committal.
Signature:
addEntityType(typeTemplate: schema.IChartEntityTypeData): schema.IPendingItemType;
Introduced: version 1.6
Parameters
Parameter | Type | Description |
---|---|---|
typeTemplate | schema.IChartEntityTypeData | The data for creating the custom entity type. |
Returns:
The new, pending item type.