@i2analyze/notebook-sdk 1.1.0-dev.15 → 1.1.0-dev.16
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/CHANGELOG.md +15 -0
- package/lib/gen/notebook-sdk-public.d.ts +26 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @i2analyze/notebook-sdk
|
|
2
2
|
|
|
3
|
+
## 1.1.0-dev.16
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add addRecordGroup API for Prayan
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Documented when setNodeCenter mutation throws
|
|
12
|
+
- Disable documentation contribution
|
|
13
|
+
- Update the docs, samples and json schemas for the i2group organization
|
|
14
|
+
- Add documentation for ISelectionEditor exceptions.
|
|
15
|
+
- Small modifications to API documentation
|
|
16
|
+
- Update the basic sample to include an .npmrc and uses public npm
|
|
17
|
+
|
|
3
18
|
## 1.1.0-dev.15
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -277,6 +277,20 @@ export declare namespace app {
|
|
|
277
277
|
* @i2since 1.1
|
|
278
278
|
*/
|
|
279
279
|
export type RecordSpecifier = records.AnalyzeRecordId | records.IChartRecord | IPendingRecord;
|
|
280
|
+
/**
|
|
281
|
+
* An identifier for a record group.
|
|
282
|
+
* @i2since 1.1
|
|
283
|
+
*/
|
|
284
|
+
export type AnalyzeRecordGroupId = string;
|
|
285
|
+
/**
|
|
286
|
+
* Selection options used to determine what records are selected.
|
|
287
|
+
* @remarks Supported options:
|
|
288
|
+
* - addItemsToSelection: Adds items to the selection.
|
|
289
|
+
* - setSelectionToItems: Sets the selection to the items.
|
|
290
|
+
* - setNewItemsToSelection: Sets the selection to the new items on the chart from the action.
|
|
291
|
+
* @i2since 1.1
|
|
292
|
+
*/
|
|
293
|
+
export type AnalyzeSelectionOptions = 'addItemsToSelection' | 'setSelectionToItems' | 'setNewItemsToSelection';
|
|
280
294
|
/**
|
|
281
295
|
* A set of data that is common to creating records of all types.
|
|
282
296
|
* @i2since 1.1
|
|
@@ -664,6 +678,14 @@ export declare namespace app {
|
|
|
664
678
|
* @i2since 1.1
|
|
665
679
|
*/
|
|
666
680
|
addLinkRecord(recordTemplate: IChartLinkRecordData, hints?: TODO): IPendingRecord;
|
|
681
|
+
/**
|
|
682
|
+
* Adds an existing record group to the chart using a specified record group identifier.
|
|
683
|
+
*
|
|
684
|
+
* @param recordGroupId - The record group identifier to be used.
|
|
685
|
+
* @param selectionOption - A set of options used to define how the items are selected when added to the chart.
|
|
686
|
+
* @i2since 1.1
|
|
687
|
+
*/
|
|
688
|
+
addRecordGroup(recordGroupId: AnalyzeRecordGroupId, selectionOption: AnalyzeSelectionOptions): void;
|
|
667
689
|
/**
|
|
668
690
|
* Gets an object with methods for editing a record.
|
|
669
691
|
*
|
|
@@ -684,6 +706,7 @@ export declare namespace app {
|
|
|
684
706
|
*
|
|
685
707
|
* @param node - The node to be moved.
|
|
686
708
|
* @param position - The location to move the node to.
|
|
709
|
+
* @throws `Error` if the node cannot be found on the chart, if either of the position coordinates aren't finite numbers.
|
|
687
710
|
* @i2since 1.1
|
|
688
711
|
*/
|
|
689
712
|
setNodeCenter(node: visual.INode | visual.ElementId, position: visual.IPosition): void;
|
|
@@ -780,6 +803,7 @@ export declare namespace app {
|
|
|
780
803
|
* Replaces the chart selection with one that contains the specified records.
|
|
781
804
|
*
|
|
782
805
|
* @param records - The records to use in the new selection.
|
|
806
|
+
* @throws `Error` if one or more of the `records` does not exist on the chart.
|
|
783
807
|
* @i2since 1.1
|
|
784
808
|
*/
|
|
785
809
|
set(records: Iterable<RecordSpecifier> | RecordSpecifier): void;
|
|
@@ -787,6 +811,7 @@ export declare namespace app {
|
|
|
787
811
|
* Adds the specified records to the chart selection.
|
|
788
812
|
*
|
|
789
813
|
* @param records - The records to add to the selection.
|
|
814
|
+
* @throws `Error` if one or more of the `records` does not exist on the chart.
|
|
790
815
|
* @i2since 1.1
|
|
791
816
|
*/
|
|
792
817
|
add(records: Iterable<RecordSpecifier> | RecordSpecifier): void;
|
|
@@ -794,6 +819,7 @@ export declare namespace app {
|
|
|
794
819
|
* Removes the specified records from the chart selection.
|
|
795
820
|
*
|
|
796
821
|
* @param records - The records to remove from the selection.
|
|
822
|
+
* @throws `Error` if one or more of the `records` does not exist on the chart.
|
|
797
823
|
* @i2since 1.1
|
|
798
824
|
*/
|
|
799
825
|
remove(records: Iterable<RecordSpecifier> | RecordSpecifier): void;
|