@i2analyze/notebook-sdk 1.6.0-dev.12 → 1.6.0-dev.14

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.
@@ -4192,7 +4192,7 @@ export declare namespace schema {
4192
4192
  readonly type: 'literal';
4193
4193
  }
4194
4194
  /**
4195
- * A part of a label that consists of a property type.
4195
+ * A part of a label that consists of a property value.
4196
4196
  * @i2since 1.0
4197
4197
  */
4198
4198
  export interface IChartPropertyLabelPart {
@@ -4380,15 +4380,15 @@ export declare namespace schema {
4380
4380
  export interface IChartLinkTypeData extends IChartItemTypeDataBase {
4381
4381
  }
4382
4382
  /**
4383
- * A part of a label that consists of a property type.
4383
+ * A set of data for creating a part of a label from a property value.
4384
4384
  * @i2since 1.6
4385
4385
  */
4386
4386
  export interface IChartPropertyLabelPartData {
4387
4387
  /**
4388
- * Gets the type or id of the property whose value is used for the label part.
4388
+ * Gets the type of the property whose value is to be used for the label part.
4389
4389
  * @i2since 1.6
4390
4390
  */
4391
- readonly propertyType: PropertyTypeSpecifier;
4391
+ readonly propertyType: IChartPropertyType;
4392
4392
  /**
4393
4393
  * Gets the type of label part.
4394
4394
  * @i2since 1.6
@@ -4452,7 +4452,7 @@ export declare namespace schema {
4452
4452
  * Indicates whether the item type is a custom type.
4453
4453
  * @i2since 1.6
4454
4454
  */
4455
- readonly isCustomType: true;
4455
+ readonly isCustomItemType: true;
4456
4456
  /**
4457
4457
  * Sets the display name of the item type.
4458
4458
  *
@@ -4471,7 +4471,7 @@ export declare namespace schema {
4471
4471
  setLabelDefinition(labelDefinition: Iterable<ILabelPartData>): this;
4472
4472
  }
4473
4473
  /**
4474
- * A set of methods for adding and editing custom property types on schema and custom item types.
4474
+ * A set of methods for adding and modifying custom property types on schema and custom item types.
4475
4475
  * @i2since 1.6
4476
4476
  */
4477
4477
  export interface IPropertyTypesEditor {
@@ -4479,18 +4479,18 @@ export declare namespace schema {
4479
4479
  * Indicates whether the item type is a custom type.
4480
4480
  * @i2since 1.6
4481
4481
  */
4482
- readonly isCustomType: boolean;
4482
+ readonly isCustomItemType: boolean;
4483
4483
  /**
4484
4484
  * Creates a custom property type that is added to the chart schema on committal.
4485
4485
  *
4486
- * @param propertyTypeTemplate - The data for creating the custom property type.
4487
- * @param insertAfter - The position of the new property type.
4486
+ * @param propertyTypeData - The data for creating the custom property type.
4487
+ * @param insertAfter - The existing property type to insert the new property type after.
4488
4488
  * If this is not provided, the new property type is added at the end of the list.
4489
4489
  * If this is null, the new property type is added at the beginning of the list.
4490
4490
  * @returns The new, pending property type.
4491
4491
  * @i2since 1.6
4492
4492
  */
4493
- addPropertyType(propertyTypeTemplate: IPropertyTypeData, insertAfter?: PropertyTypeSpecifier | IPendingPropertyType | null): IPendingPropertyType;
4493
+ addPropertyType(propertyTypeData: IPropertyTypeData, insertAfter?: IChartPropertyType | IPendingPropertyType | null): IPendingPropertyType;
4494
4494
  /**
4495
4495
  * Gets an object with methods for editing a custom property type.
4496
4496
  *
@@ -4498,7 +4498,7 @@ export declare namespace schema {
4498
4498
  * @returns The type-editing object.
4499
4499
  * @i2since 1.6
4500
4500
  */
4501
- editPropertyType(propertyType: PropertyTypeSpecifier | IPendingPropertyType): IPropertyTypeEditor;
4501
+ editPropertyType(propertyType: IChartPropertyType | IPendingPropertyType): IPropertyTypeEditor;
4502
4502
  /**
4503
4503
  * Gets an object with methods for editing a custom property type.
4504
4504
  *
@@ -4539,14 +4539,13 @@ export declare namespace schema {
4539
4539
  */
4540
4540
  setDisplayName(displayName: string): this;
4541
4541
  /**
4542
- * Moves the property type after the specified property type.
4542
+ * Moves the property type after the specified property type in the item type's list.
4543
4543
  *
4544
- * @param propertyType - The property type that serves as the reference for positioning.
4545
- * Passing null moves the property type to the beginning of the list.
4546
- * @returns This property type editor, with the edited properties in place.
4544
+ * @param propertyType - The property type to move the property type after, or null to move it to the beginning of the list.
4545
+ * @returns This property type, in its new position.
4547
4546
  * @i2since 1.6
4548
4547
  */
4549
- moveAfter(propertyType: PropertyTypeSpecifier | IPendingPropertyType | null): this;
4548
+ moveAfter(propertyType: IChartPropertyType | IPendingPropertyType | null): this;
4550
4549
  }
4551
4550
  /**
4552
4551
  * The type of a schema.
@@ -4630,7 +4629,7 @@ export declare namespace schema {
4630
4629
  * Indicates whether the property type is a custom type.
4631
4630
  * @i2since 1.6
4632
4631
  */
4633
- readonly isCustomType: boolean;
4632
+ readonly isCustom: boolean;
4634
4633
  /**
4635
4634
  * Gets the maximum string length for the value of a property that has the property type.
4636
4635
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.6.0-dev.12",
3
+ "version": "1.6.0-dev.14",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {