@i2analyze/notebook-sdk 1.5.0-dev.4 → 1.5.0-dev.6

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.
@@ -279,10 +279,10 @@ export declare namespace app {
279
279
  */
280
280
  export interface IMutationResult {
281
281
  /**
282
- * Gets the changes that were caused by the mutation.
283
- * The change will consist of empty collections if there is only a schema change.
282
+ * Gets the changes that were caused by the mutation. If only the
283
+ * chart schema changed, the collections in this field are empty.
284
284
  * @i2since 1.1
285
- * @deprecated Deprecated since version 1.5. `app.IMutationResult.change` has been renamed to {@link app.IMutationResult.chartChange}.
285
+ * @deprecated Deprecated since version 1.5. Use {@link app.IMutationResult.chartChange | chartChange} instead.
286
286
  */
287
287
  readonly change: chart.IChartChange;
288
288
  /**
@@ -291,10 +291,10 @@ export declare namespace app {
291
291
  */
292
292
  readonly chartChange?: chart.IChartChange;
293
293
  /**
294
- * Gets the chart schema changes.
294
+ * Gets the chart schema changes that were caused by the mutation.
295
295
  * @i2since 1.5
296
296
  */
297
- readonly schemaChange?: schema.ISchemaChange;
297
+ readonly chartSchemaChange?: schema.IChartSchemaChange;
298
298
  }
299
299
  /**
300
300
  * A collection of methods and properties for handling the situation when a user cancels an operation.
@@ -1569,7 +1569,7 @@ export declare namespace chart {
1569
1569
  * Gets the type of the callback method that listens for "chartschemachange" events.
1570
1570
  * @i2since 1.5
1571
1571
  */
1572
- readonly chartschemachange: SchemaChangeListener;
1572
+ readonly chartschemachange: ChartSchemaChangeListener;
1573
1573
  }
1574
1574
  /**
1575
1575
  * A mapping of chart event types to their listener options types.
@@ -1616,11 +1616,11 @@ export declare namespace chart {
1616
1616
  /**
1617
1617
  * A callback function that handles chart schema change events.
1618
1618
  *
1619
- * @param schemaChange - The change in the chart schema that triggered the callback, and the source of the schema change.
1619
+ * @param chartSchemaChange - The change in the chart schema that caused the callback to be invoked, and the source of the schema change.
1620
1620
  * @param applicationContents - The contents of the application, including the current chart.
1621
1621
  * @i2since 1.5
1622
1622
  */
1623
- export type SchemaChangeListener = (schemaChange: schema.ISchemaChange & app.IChangeSource, applicationContents: app.IApplicationContents) => void;
1623
+ export type ChartSchemaChangeListener = (chartSchemaChange: schema.IChartSchemaChange & app.IChangeSource, applicationContents: app.IApplicationContents) => void;
1624
1624
  /**
1625
1625
  * A callback function that handles chart view events.
1626
1626
  *
@@ -2340,7 +2340,7 @@ export declare namespace commands {
2340
2340
  */
2341
2341
  readonly addToMap: CommandId;
2342
2342
  /**
2343
- * Gets the identifier of the system command that opens the i2 Notebook Importer UI.
2343
+ * Gets the identifier of the system command that opens the i2 Notebook importer.
2344
2344
  * @i2since 1.5
2345
2345
  */
2346
2346
  readonly openImporter: CommandId;
@@ -4499,25 +4499,20 @@ export declare namespace schema {
4499
4499
  readonly description: string;
4500
4500
  }
4501
4501
  /**
4502
- * A type that represents the item types changes within the chart schema.
4502
+ * A change that has occurred to an i2 Notebook chart schema.
4503
4503
  * @i2since 1.5
4504
4504
  */
4505
- export interface ISchemaChange {
4505
+ export interface IChartSchemaChange {
4506
4506
  /**
4507
- * Gets the item types that were added.
4507
+ * Gets the item types that were added to the schema.
4508
4508
  * @i2since 1.5
4509
4509
  */
4510
- readonly added: data.IReadOnlyCollection<IChartItemType>;
4510
+ readonly addedTypes: data.IReadOnlyCollection<IChartItemType>;
4511
4511
  /**
4512
- * Gets the item types that were changed.
4512
+ * Gets the item types that were changed in the schema.
4513
4513
  * @i2since 1.5
4514
4514
  */
4515
- readonly changed: data.IReadOnlyCollection<IChartItemType>;
4516
- /**
4517
- * Gets the identifiers of the item types that were removed.
4518
- * @i2since 1.5
4519
- */
4520
- readonly removed: data.IReadOnlyCollection<ChartItemTypeId>;
4515
+ readonly changedTypes: data.IReadOnlyCollection<IChartItemType>;
4521
4516
  }
4522
4517
  }
4523
4518
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.5.0-dev.4",
3
+ "version": "1.5.0-dev.6",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {