@i2analyze/notebook-sdk 1.6.0-dev.2 → 1.6.0-dev.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -975,7 +975,7 @@ export declare namespace app {
975
975
  * @returns The type-editing object..
976
976
  * @i2since 1.6
977
977
  */
978
- editItemType(itemType: schema.ItemTypeSpecifier): schema.IItemTypeEditor;
978
+ editItemType(itemType: schema.ItemTypeSpecifier): schema.IItemTypeEditor | schema.IPropertyTypeFactory;
979
979
  }
980
980
  /**
981
981
  * A collection of elements and records that together represent a selection on the chart surface.
@@ -4355,7 +4355,7 @@ export declare namespace schema {
4355
4355
  * Gets or sets the labelDefinition of the item type.
4356
4356
  * @i2since 1.6
4357
4357
  */
4358
- readonly labelDefinition?: Iterable<ILabelPart>;
4358
+ readonly labelDefinition?: Iterable<ILabelPartData>;
4359
4359
  }
4360
4360
  /**
4361
4361
  * A set of data for creating an entity type.
@@ -4374,6 +4374,27 @@ export declare namespace schema {
4374
4374
  */
4375
4375
  export interface IChartLinkTypeData extends IChartItemTypeData {
4376
4376
  }
4377
+ /**
4378
+ * A set of data for creating a label definition.
4379
+ * @i2since 1.6
4380
+ */
4381
+ export type ILabelPartData = ILabelPart | IPendingPropertyLabelPartInput;
4382
+ /**
4383
+ * A part of a label that consists of a pending property type.
4384
+ * @i2since 1.6
4385
+ */
4386
+ export interface IPendingPropertyLabelPartInput {
4387
+ /**
4388
+ * Gets the type of the property whose value is used for the label part.
4389
+ * @i2since 1.6
4390
+ */
4391
+ readonly propertyType: IPendingPropertyType;
4392
+ /**
4393
+ * Gets the type of label part.
4394
+ * @i2since 1.6
4395
+ */
4396
+ readonly type: 'chartProperty';
4397
+ }
4377
4398
  /**
4378
4399
  * A set of data for creating a property type.
4379
4400
  * @i2since 1.6
@@ -4388,7 +4409,7 @@ export declare namespace schema {
4388
4409
  * Gets or sets the logicalType of the property type.
4389
4410
  * @i2since 1.6
4390
4411
  */
4391
- readonly logicalType: ICustomLogicalType;
4412
+ readonly logicalType: CustomLogicalType;
4392
4413
  }
4393
4414
  /**
4394
4415
  * An item type that has been created in a transaction handler, but has not yet been added to a chart's schema.
@@ -4425,7 +4446,7 @@ export declare namespace schema {
4425
4446
  * @returns This item type editor, with the edited properties in place.
4426
4447
  * @i2since 1.6
4427
4448
  */
4428
- setLabelDefinition(labelDefinition: Iterable<ILabelPart>): this;
4449
+ setLabelDefinition(labelDefinition: Iterable<ILabelPartData>): this;
4429
4450
  }
4430
4451
  /**
4431
4452
  * A set of methods to add and edit property types.
@@ -4615,8 +4636,7 @@ export declare namespace schema {
4615
4636
  * A logical type for the value of a custom property.
4616
4637
  * @i2since 1.6
4617
4638
  */
4618
- export interface ICustomLogicalType extends Omit<data.LogicalType, 'selectedFromList' | 'suggestedFromList'> {
4619
- }
4639
+ export type CustomLogicalType = Omit<data.LogicalType, 'selectedFromList' | 'suggestedFromList'>;
4620
4640
  /**
4621
4641
  * A schema for notes, which places constraints on their use.
4622
4642
  * @i2since 1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.6.0-dev.2",
3
+ "version": "1.6.0-dev.4",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {