@i2analyze/notebook-sdk 1.1.0-dev.19 → 1.1.0-dev.21

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,18 @@
1
1
  # @i2analyze/notebook-sdk
2
2
 
3
+ ## 1.1.0-dev.21
4
+
5
+ ### Minor Changes
6
+
7
+ - Remove removeRecord
8
+ - Add removeRecords and removeElements APIs
9
+
10
+ ## 1.1.0-dev.20
11
+
12
+ ### Minor Changes
13
+
14
+ - Add isInfostore property to IChartItemTypeBase.
15
+
3
16
  ## 1.1.0-dev.19
4
17
 
5
18
  ### Minor Changes
@@ -277,6 +277,11 @@ export declare namespace app {
277
277
  * @i2since 1.1
278
278
  */
279
279
  export type RecordSpecifier = records.AnalyzeRecordId | records.IChartRecord | IPendingRecord;
280
+ /**
281
+ * A common specifier for an element, for use in mutation APIs.
282
+ * @i2since 1.1
283
+ */
284
+ export type ElementSpecifier = visual.ElementId | visual.IElement;
280
285
  /**
281
286
  * The identifier of a record group.
282
287
  * @i2since 1.1
@@ -701,13 +706,6 @@ export declare namespace app {
701
706
  * @i2since 1.1
702
707
  */
703
708
  editRecord(record: RecordSpecifier): IRecordEditor;
704
- /**
705
- * Removes a record from the chart.
706
- *
707
- * @param record - The record to be removed.
708
- * @i2since 1.1
709
- */
710
- removeRecord(record: RecordSpecifier): void;
711
709
  /**
712
710
  * Moves a node to a particular location on the chart.
713
711
  *
@@ -727,6 +725,20 @@ export declare namespace app {
727
725
  xDelta: number;
728
726
  yDelta: number;
729
727
  }): void;
728
+ /**
729
+ * Removes records from the chart.
730
+ *
731
+ * @param records - The record or records to be removed.
732
+ * @i2since 1.1
733
+ */
734
+ removeRecords(records: RecordSpecifier | Iterable<RecordSpecifier>): void;
735
+ /**
736
+ * Removes elements from the chart.
737
+ *
738
+ * @param elements - The element or elements to be removed.
739
+ * @i2since 1.1
740
+ */
741
+ removeElements(elements: ElementSpecifier | Iterable<ElementSpecifier>): void;
730
742
  /**
731
743
  * Removes the selected records from the chart.
732
744
  * @i2since 1.1
@@ -3326,17 +3338,17 @@ export declare namespace schema {
3326
3338
  readonly maximumSourceIdentifiers: number;
3327
3339
  /**
3328
3340
  * Gets the maximum string length of a source identifier key.
3329
- * @i2since 1.0
3341
+ * @i2since 1.1
3330
3342
  */
3331
3343
  readonly maxKeyStringLength: data.ICharLimit;
3332
3344
  /**
3333
3345
  * Gets the maximum string length of a source identifier type.
3334
- * @i2since 1.0
3346
+ * @i2since 1.1
3335
3347
  */
3336
3348
  readonly maxTypeStringLength: data.ICharLimit;
3337
3349
  /**
3338
3350
  * Gets a collection of reserved source identifier types.
3339
- * @i2since 1.0
3351
+ * @i2since 1.1
3340
3352
  */
3341
3353
  readonly reservedTypes: data.IReadOnlyCollection<string>;
3342
3354
  }
@@ -3515,6 +3527,11 @@ export declare namespace schema {
3515
3527
  * @i2since 1.0
3516
3528
  */
3517
3529
  readonly isOrphaned: boolean;
3530
+ /**
3531
+ * Indicates whether the item type exists in the Information Store.
3532
+ * @i2since 1.1
3533
+ */
3534
+ readonly isInfoStore: boolean;
3518
3535
  /**
3519
3536
  * Gets the label definition for the item type, which describes how record labels are formed.
3520
3537
  * @i2since 1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.1.0-dev.19",
3
+ "version": "1.1.0-dev.21",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {