@i2analyze/notebook-sdk 1.1.0-dev.16 → 1.1.0-dev.17

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @i2analyze/notebook-sdk
2
2
 
3
+ ## 1.1.0-dev.17
4
+
5
+ ### Patch Changes
6
+
7
+ - Update the SelectionOption type to specify "records"
8
+
3
9
  ## 1.1.0-dev.16
4
10
 
5
11
  ### Minor Changes
@@ -283,14 +283,14 @@ export declare namespace app {
283
283
  */
284
284
  export type AnalyzeRecordGroupId = string;
285
285
  /**
286
- * Selection options used to determine what records are selected.
286
+ * Selection options used to determine what records are selected after the import record group mutation.
287
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.
288
+ * - addRecordsToSelection: Adds records from the record group to the current selection.
289
+ * - setSelectionToRecords: Sets the selection to the records in the record group.
290
+ * - setSelectionToNewRecords: Sets the selection to the records in the record group that are new to the chart.
291
291
  * @i2since 1.1
292
292
  */
293
- export type AnalyzeSelectionOptions = 'addItemsToSelection' | 'setSelectionToItems' | 'setNewItemsToSelection';
293
+ export type SelectionOption = 'addRecordsToSelection' | 'setSelectionToRecords' | 'setSelectionToNewRecords';
294
294
  /**
295
295
  * A set of data that is common to creating records of all types.
296
296
  * @i2since 1.1
@@ -685,7 +685,7 @@ export declare namespace app {
685
685
  * @param selectionOption - A set of options used to define how the items are selected when added to the chart.
686
686
  * @i2since 1.1
687
687
  */
688
- addRecordGroup(recordGroupId: AnalyzeRecordGroupId, selectionOption: AnalyzeSelectionOptions): void;
688
+ addRecordGroup(recordGroupId: AnalyzeRecordGroupId, selectionOption: SelectionOption): void;
689
689
  /**
690
690
  * Gets an object with methods for editing a record.
691
691
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.1.0-dev.16",
3
+ "version": "1.1.0-dev.17",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {