@i2analyze/notebook-sdk 1.5.0-dev.2 → 1.5.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.
|
@@ -280,9 +280,21 @@ export declare namespace app {
|
|
|
280
280
|
export interface IMutationResult {
|
|
281
281
|
/**
|
|
282
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.
|
|
283
284
|
* @i2since 1.1
|
|
285
|
+
* @deprecated Deprecated since version 1.5. `app.IMutationResult.change` has been renamed to {@link app.IMutationResult.chartChange}.
|
|
284
286
|
*/
|
|
285
|
-
change: chart.IChartChange;
|
|
287
|
+
readonly change: chart.IChartChange;
|
|
288
|
+
/**
|
|
289
|
+
* Gets the chart changes that were caused by the mutation.
|
|
290
|
+
* @i2since 1.5
|
|
291
|
+
*/
|
|
292
|
+
readonly chartChange?: chart.IChartChange;
|
|
293
|
+
/**
|
|
294
|
+
* Gets the chart schema changes.
|
|
295
|
+
* @i2since 1.5
|
|
296
|
+
*/
|
|
297
|
+
readonly schemaChange?: schema.ISchemaChange;
|
|
286
298
|
}
|
|
287
299
|
/**
|
|
288
300
|
* A collection of methods and properties for handling the situation when a user cancels an operation.
|
|
@@ -1553,6 +1565,11 @@ export declare namespace chart {
|
|
|
1553
1565
|
* @i2since 1.0
|
|
1554
1566
|
*/
|
|
1555
1567
|
readonly chartviewchange: ViewListener;
|
|
1568
|
+
/**
|
|
1569
|
+
* Gets the type of the callback method that listens for "chartschemachange" events.
|
|
1570
|
+
* @i2since 1.5
|
|
1571
|
+
*/
|
|
1572
|
+
readonly chartschemachange: SchemaChangeListener;
|
|
1556
1573
|
}
|
|
1557
1574
|
/**
|
|
1558
1575
|
* A mapping of chart event types to their listener options types.
|
|
@@ -1574,6 +1591,11 @@ export declare namespace chart {
|
|
|
1574
1591
|
* @i2since 1.0
|
|
1575
1592
|
*/
|
|
1576
1593
|
readonly chartviewchange: app.ISubscriptionOptions;
|
|
1594
|
+
/**
|
|
1595
|
+
* Gets the type of the object that provides control over "chartschemachange" event listeners.
|
|
1596
|
+
* @i2since 1.5
|
|
1597
|
+
*/
|
|
1598
|
+
readonly chartschemachange: app.ISubscriptionOptions;
|
|
1577
1599
|
}
|
|
1578
1600
|
/**
|
|
1579
1601
|
* A callback function that handles chart selection events.
|
|
@@ -1591,6 +1613,14 @@ export declare namespace chart {
|
|
|
1591
1613
|
* @i2since 1.0
|
|
1592
1614
|
*/
|
|
1593
1615
|
export type ChangeListener = (change: IChartChange & app.IChangeSource, applicationContents: app.IApplicationContents) => void;
|
|
1616
|
+
/**
|
|
1617
|
+
* A callback function that handles chart schema change events.
|
|
1618
|
+
*
|
|
1619
|
+
* @param schemaChange - The change in the chart schema that triggered the callback, and the source of the schema change.
|
|
1620
|
+
* @param applicationContents - The contents of the application, including the current chart.
|
|
1621
|
+
* @i2since 1.5
|
|
1622
|
+
*/
|
|
1623
|
+
export type SchemaChangeListener = (schemaChange: schema.ISchemaChange & app.IChangeSource, applicationContents: app.IApplicationContents) => void;
|
|
1594
1624
|
/**
|
|
1595
1625
|
* A callback function that handles chart view events.
|
|
1596
1626
|
*
|
|
@@ -2111,7 +2141,7 @@ export declare namespace commands {
|
|
|
2111
2141
|
*/
|
|
2112
2142
|
setEnabled(value: boolean): void;
|
|
2113
2143
|
/**
|
|
2114
|
-
* Sets the icon
|
|
2144
|
+
* Sets the icon for the action.
|
|
2115
2145
|
*
|
|
2116
2146
|
* @param value - An icon for the action.
|
|
2117
2147
|
* @i2since 1.5
|
|
@@ -2309,6 +2339,11 @@ export declare namespace commands {
|
|
|
2309
2339
|
* @i2since 1.1
|
|
2310
2340
|
*/
|
|
2311
2341
|
readonly addToMap: CommandId;
|
|
2342
|
+
/**
|
|
2343
|
+
* Gets the identifier of the system command that opens the i2 Notebook Importer UI.
|
|
2344
|
+
* @i2since 1.5
|
|
2345
|
+
*/
|
|
2346
|
+
readonly openImporter: CommandId;
|
|
2312
2347
|
/**
|
|
2313
2348
|
* Gets the identifier of the system command that opens a 360 view of the selected Information Store entity record.
|
|
2314
2349
|
* @i2since 1.2
|
|
@@ -4463,6 +4498,27 @@ export declare namespace schema {
|
|
|
4463
4498
|
*/
|
|
4464
4499
|
readonly description: string;
|
|
4465
4500
|
}
|
|
4501
|
+
/**
|
|
4502
|
+
* A type that represents the item types changes within the chart schema.
|
|
4503
|
+
* @i2since 1.5
|
|
4504
|
+
*/
|
|
4505
|
+
export interface ISchemaChange {
|
|
4506
|
+
/**
|
|
4507
|
+
* Gets the item types that were added.
|
|
4508
|
+
* @i2since 1.5
|
|
4509
|
+
*/
|
|
4510
|
+
readonly added: data.IReadOnlyCollection<IChartItemType>;
|
|
4511
|
+
/**
|
|
4512
|
+
* Gets the item types that were changed.
|
|
4513
|
+
* @i2since 1.5
|
|
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>;
|
|
4521
|
+
}
|
|
4466
4522
|
}
|
|
4467
4523
|
|
|
4468
4524
|
/**
|