@i2analyze/notebook-sdk 1.1.1 → 1.2.0-dev.1
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.
|
@@ -304,7 +304,6 @@ export declare namespace app {
|
|
|
304
304
|
*/
|
|
305
305
|
signal: AbortSignal;
|
|
306
306
|
}
|
|
307
|
-
export type TODO = unknown;
|
|
308
307
|
/**
|
|
309
308
|
* A set of methods for changing a status display while an asynchronous mutation is running.
|
|
310
309
|
* @i2since 1.1
|
|
@@ -761,20 +760,18 @@ export declare namespace app {
|
|
|
761
760
|
* Creates an entity record that is added to the chart on committal.
|
|
762
761
|
*
|
|
763
762
|
* @param recordTemplate - The data from which to create the record.
|
|
764
|
-
* @param hints - A TODO.
|
|
765
763
|
* @returns The new, pending record.
|
|
766
764
|
* @i2since 1.1
|
|
767
765
|
*/
|
|
768
|
-
addEntityRecord(recordTemplate: IChartEntityRecordData
|
|
766
|
+
addEntityRecord(recordTemplate: IChartEntityRecordData): IPendingRecord;
|
|
769
767
|
/**
|
|
770
768
|
* Creates a link record that is added to the chart on committal.
|
|
771
769
|
*
|
|
772
770
|
* @param recordTemplate - The data from which to create the record.
|
|
773
|
-
* @param hints - A TODO.
|
|
774
771
|
* @returns The new, pending record.
|
|
775
772
|
* @i2since 1.1
|
|
776
773
|
*/
|
|
777
|
-
addLinkRecord(recordTemplate: IChartLinkRecordData
|
|
774
|
+
addLinkRecord(recordTemplate: IChartLinkRecordData): IPendingRecord;
|
|
778
775
|
/**
|
|
779
776
|
* Adds the records from a record group to the chart.
|
|
780
777
|
*
|
|
@@ -3142,6 +3139,11 @@ export declare namespace records {
|
|
|
3142
3139
|
* @i2since 1.0
|
|
3143
3140
|
*/
|
|
3144
3141
|
get360ViewUrl(): string | undefined;
|
|
3142
|
+
/**
|
|
3143
|
+
* Gets the element to which the record belongs.
|
|
3144
|
+
* @i2since 1.2
|
|
3145
|
+
*/
|
|
3146
|
+
readonly element: visual.IElement;
|
|
3145
3147
|
}
|
|
3146
3148
|
/**
|
|
3147
3149
|
* An entity record.
|
|
@@ -3427,6 +3429,14 @@ export declare namespace schema {
|
|
|
3427
3429
|
* @i2since 1.0
|
|
3428
3430
|
*/
|
|
3429
3431
|
readonly itemTypes: data.IKeyedReadOnlyCollection<ChartItemTypeId, IChartItemType>;
|
|
3432
|
+
/**
|
|
3433
|
+
* Gets the item type with the specified analyze type id.
|
|
3434
|
+
* @param analyzeItemTypeId - An analyze item type id.
|
|
3435
|
+
* @returns The requested item type.
|
|
3436
|
+
* @throws `VerbatimError` if an item type with the specified analyze type id could not be found.
|
|
3437
|
+
* @i2since 1.2
|
|
3438
|
+
*/
|
|
3439
|
+
getItemType(analyzeItemTypeId: AnalyzeItemTypeId): IChartItemType;
|
|
3430
3440
|
/**
|
|
3431
3441
|
* Gets the source reference schema for the specified item type.
|
|
3432
3442
|
*
|
|
@@ -3647,6 +3657,14 @@ export declare namespace schema {
|
|
|
3647
3657
|
* @i2since 1.0
|
|
3648
3658
|
*/
|
|
3649
3659
|
readonly propertyTypes: data.IKeyedReadOnlyCollection<ChartPropertyTypeId, IChartPropertyType>;
|
|
3660
|
+
/**
|
|
3661
|
+
* Gets the property type with the specified analyze property type id.
|
|
3662
|
+
* @param analyzePropertyTypeId - An analyze property type id.
|
|
3663
|
+
* @returns The requested property type, or undefined if the property type could not be found.
|
|
3664
|
+
* @throws `VerbatimError` if a property type with the specified analyze property id could not be found.
|
|
3665
|
+
* @i2since 1.2
|
|
3666
|
+
*/
|
|
3667
|
+
getPropertyType(analyzePropertyTypeId: AnalyzePropertyTypeId): IChartPropertyType;
|
|
3650
3668
|
/**
|
|
3651
3669
|
* Indicates whether the item type is orphaned - that is, it does not have a counterpart in the i2 Analyze schema.
|
|
3652
3670
|
* @i2since 1.0
|
|
@@ -3948,6 +3966,17 @@ export declare namespace toolview {
|
|
|
3948
3966
|
* @i2since 1.0
|
|
3949
3967
|
*/
|
|
3950
3968
|
export type ToolViewUnloadListener = (isClosing: boolean) => void;
|
|
3969
|
+
/**
|
|
3970
|
+
* A callback function that handles tool view minimized state events.
|
|
3971
|
+
*
|
|
3972
|
+
* @remarks
|
|
3973
|
+
* This listener receives an event when the docked tool view is changing its minimized state to reflect its visibility in the i2 Notebook user interface.
|
|
3974
|
+
*
|
|
3975
|
+
* @param isMinimized - `true` if the tool view is docked but invisible in the user interface due to a chart or another docked tool view is maximized;
|
|
3976
|
+
* `false` if the tool view is closed, undocked or nothing is maximized.
|
|
3977
|
+
* @i2since 1.2
|
|
3978
|
+
*/
|
|
3979
|
+
export type ToolViewMinimizedListener = (isMinimized: boolean) => void;
|
|
3951
3980
|
/**
|
|
3952
3981
|
* A serializable value that a tool view puts into the volatile store.
|
|
3953
3982
|
*
|
|
@@ -4025,6 +4054,14 @@ export declare namespace toolview {
|
|
|
4025
4054
|
* @i2since 1.0
|
|
4026
4055
|
*/
|
|
4027
4056
|
readonly isOpen: boolean;
|
|
4057
|
+
/**
|
|
4058
|
+
* Indicates whether the docked tool view is invisible in the user interface.
|
|
4059
|
+
*
|
|
4060
|
+
* @returns `true` if the tool view is invisible because a chart or another tool view is being maximized;
|
|
4061
|
+
* `false` if it is closed, undocked or nothing is maximized.
|
|
4062
|
+
* @i2since 1.2
|
|
4063
|
+
*/
|
|
4064
|
+
readonly isMinimized: boolean;
|
|
4028
4065
|
/**
|
|
4029
4066
|
* Opens the tool view in either a docked pane or an undocked window.
|
|
4030
4067
|
*
|
|
@@ -4119,6 +4156,11 @@ export declare namespace toolview {
|
|
|
4119
4156
|
* @i2since 1.0
|
|
4120
4157
|
*/
|
|
4121
4158
|
readonly storechange: VolatileStoreChangeListener;
|
|
4159
|
+
/**
|
|
4160
|
+
* Gets the type of the callback method that listens for "minimized" events.
|
|
4161
|
+
* @i2since 1.2
|
|
4162
|
+
*/
|
|
4163
|
+
readonly minimized: ToolViewMinimizedListener;
|
|
4122
4164
|
}
|
|
4123
4165
|
/**
|
|
4124
4166
|
* A mapping of tool view event types to their listener options types.
|
|
@@ -4140,6 +4182,11 @@ export declare namespace toolview {
|
|
|
4140
4182
|
* @i2since 1.0
|
|
4141
4183
|
*/
|
|
4142
4184
|
readonly storechange: app.ITransactionOptions;
|
|
4185
|
+
/**
|
|
4186
|
+
* Gets the type of the object that provides control over "minimized" event listeners.
|
|
4187
|
+
* @i2since 1.2
|
|
4188
|
+
*/
|
|
4189
|
+
readonly minimized: app.ITransactionOptions;
|
|
4143
4190
|
}
|
|
4144
4191
|
/**
|
|
4145
4192
|
* A combined mapping of tool view and other event types to their listener types.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@i2analyze/notebook-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0-dev.1",
|
|
4
4
|
"description": "i2 Notebook SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"url": "https://i2group.github.io/notebook-sdk/"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@ibmi2/eslint-config": "^
|
|
16
|
-
"@ibmi2/webui-lerna-build-scripts": "^
|
|
15
|
+
"@ibmi2/eslint-config": "^13.0.0",
|
|
16
|
+
"@ibmi2/webui-lerna-build-scripts": "^5.1.0",
|
|
17
17
|
"@microsoft/api-documenter": "7.13.33",
|
|
18
18
|
"@microsoft/api-extractor": "7.18.4",
|
|
19
|
-
"concurrently": "^
|
|
19
|
+
"concurrently": "^7.3.0",
|
|
20
20
|
"copyfiles": "^2.4.1",
|
|
21
21
|
"rimraf": "^3.0.0",
|
|
22
22
|
"typescript": "^4.3.5"
|