@i2analyze/notebook-sdk 1.5.0-dev.3 → 1.5.0-dev.5
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.
- package/lib/gen/notebook-sdk-public.d.ts +21 -16
- package/package.json +1 -1
|
@@ -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
|
-
*
|
|
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.
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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
|
*
|
|
@@ -2339,6 +2339,11 @@ export declare namespace commands {
|
|
|
2339
2339
|
* @i2since 1.1
|
|
2340
2340
|
*/
|
|
2341
2341
|
readonly addToMap: CommandId;
|
|
2342
|
+
/**
|
|
2343
|
+
* Gets the identifier of the system command that opens the i2 Notebook importer.
|
|
2344
|
+
* @i2since 1.5
|
|
2345
|
+
*/
|
|
2346
|
+
readonly openImporter: CommandId;
|
|
2342
2347
|
/**
|
|
2343
2348
|
* Gets the identifier of the system command that opens a 360 view of the selected Information Store entity record.
|
|
2344
2349
|
* @i2since 1.2
|
|
@@ -4494,25 +4499,25 @@ export declare namespace schema {
|
|
|
4494
4499
|
readonly description: string;
|
|
4495
4500
|
}
|
|
4496
4501
|
/**
|
|
4497
|
-
* A
|
|
4502
|
+
* A change that has occurred to an i2 Notebook chart schema.
|
|
4498
4503
|
* @i2since 1.5
|
|
4499
4504
|
*/
|
|
4500
|
-
export interface
|
|
4505
|
+
export interface IChartSchemaChange {
|
|
4501
4506
|
/**
|
|
4502
|
-
* Gets the item types that were added.
|
|
4507
|
+
* Gets the item types that were added to the schema.
|
|
4503
4508
|
* @i2since 1.5
|
|
4504
4509
|
*/
|
|
4505
|
-
readonly
|
|
4510
|
+
readonly addedTypes: data.IReadOnlyCollection<IChartItemType>;
|
|
4506
4511
|
/**
|
|
4507
|
-
* Gets the item types that were changed.
|
|
4512
|
+
* Gets the item types that were changed in the schema.
|
|
4508
4513
|
* @i2since 1.5
|
|
4509
4514
|
*/
|
|
4510
|
-
readonly
|
|
4515
|
+
readonly changedTypes: data.IReadOnlyCollection<IChartItemType>;
|
|
4511
4516
|
/**
|
|
4512
|
-
* Gets the identifiers of the item types that were removed.
|
|
4517
|
+
* Gets the identifiers of the item types that were removed from the schema.
|
|
4513
4518
|
* @i2since 1.5
|
|
4514
4519
|
*/
|
|
4515
|
-
readonly
|
|
4520
|
+
readonly removedTypes: data.IReadOnlyCollection<ChartItemTypeId>;
|
|
4516
4521
|
}
|
|
4517
4522
|
}
|
|
4518
4523
|
|