@i2analyze/notebook-sdk 1.1.0-dev.31 → 1.1.0-dev.32

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,12 @@
1
1
  # @i2analyze/notebook-sdk
2
2
 
3
+ ## 1.1.0-dev.32
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated copyright information
8
+ - Fix plugin-manifest.json schema to conform to JSON Schema draft-07 specification.
9
+
3
10
  ## 1.1.0-dev.31
4
11
 
5
12
  ### Minor Changes
@@ -359,12 +359,12 @@ export declare namespace app {
359
359
  */
360
360
  export type SelectionOption = 'addRecordsToSelection' | 'setSelectionToRecords' | 'setSelectionToNewRecords';
361
361
  /**
362
- * A common specifier for record properties, for use in mutation APIs.
362
+ * A common specifier for the properties of new records, for use in mutation APIs.
363
363
  * @i2since 1.1
364
364
  */
365
365
  export type RecordPropertiesSpecifier = Record<schema.ChartPropertyTypeId, data.PropertyValue> | Iterable<[schema.PropertyTypeSpecifier, data.PropertyValue]>;
366
366
  /**
367
- * A common specifier for editing record properties, for use in mutation APIs.
367
+ * A common specifier for record properties that are to be edited, for use in mutation APIs.
368
368
  * @i2since 1.1
369
369
  */
370
370
  export type EditRecordPropertiesSpecifier = Record<schema.ChartPropertyTypeId, data.PropertyValue | null> | Iterable<[schema.PropertyTypeSpecifier, data.PropertyValue | null]>;
@@ -467,10 +467,10 @@ export declare namespace app {
467
467
  */
468
468
  export interface IRecordEditor {
469
469
  /**
470
- * Sets properties on the record.
470
+ * Sets or clears the values of properties on the record.
471
471
  *
472
- * @param properties - The properties to set.
473
- * @returns This record, with the new properties in place.
472
+ * @param properties - The types and values of the properties to set (or `null` to clear them).
473
+ * @returns This record, with the edited properties in place.
474
474
  * @i2since 1.1
475
475
  */
476
476
  setProperties(properties: EditRecordPropertiesSpecifier): this;
@@ -525,7 +525,7 @@ export declare namespace app {
525
525
  */
526
526
  removeSourceReference(ref: SourceReferenceSpecifier): this;
527
527
  /**
528
- * Adds a source identifier to the record.
528
+ * Adds a new source identifier to the record.
529
529
  *
530
530
  * @param identifierData - The data for the new source identifier.
531
531
  * @returns This record, with the new source identifier in place.
@@ -534,13 +534,14 @@ export declare namespace app {
534
534
  addSourceIdentifier(identifierData: records.ISourceIdentifierData): this;
535
535
  /**
536
536
  * Replaces the record's security settings with a new set.
537
+ *
537
538
  * @param security - The new security settings.
538
539
  * @returns This record, with the new security settings in place.
539
540
  * @i2since 1.1
540
541
  */
541
542
  replaceSecurity(security: readonly records.ISecuritySetting[] | data.IKeyedReadOnlyCollection<schema.SecurityDimensionId, records.ISecuritySetting>): this;
542
543
  /**
543
- * Sets the link direction on the record.
544
+ * Sets the direction of a link record.
544
545
  *
545
546
  * @remarks
546
547
  * Calling this method on a entity record will throw an error.
@@ -2121,7 +2122,7 @@ export declare namespace commands {
2121
2122
  */
2122
2123
  readonly saveChart: CommandId;
2123
2124
  /**
2124
- * Gets the identifier of the system command that performs an expand operation on the current selection.
2125
+ * Gets the identifier of the system command that performs a one-level expand operation on the current selection.
2125
2126
  * @i2since 1.1
2126
2127
  */
2127
2128
  readonly expand: CommandId;
@@ -3953,7 +3954,7 @@ export declare namespace toolview {
3953
3954
  * @remarks
3954
3955
  * Serializable values are constrained to the logical types that are listed in the definition.
3955
3956
  * @i2since 1.0
3956
- * @deprecated toolview.SerializableValue is no longer used as usages have been replaced with 'unknown'
3957
+ * @deprecated `toolview.SerializableValue` is no longer used. Replace any existing use with `unknown`.
3957
3958
  */
3958
3959
  export type SerializableValue = string | number | boolean | null | BigInt | Date | SerializableValue[] | {
3959
3960
  [key: string]: SerializableValue;
package/lib/index.js CHANGED
@@ -1,9 +1,6 @@
1
1
  /*
2
- * Licensed Materials - Property of IBM
3
- * 5725-G22
4
- * (C) Copyright IBM Corp. 2012, 2021 All Rights Reserved.
5
- * US Government Users Restricted Rights - Use, duplication or
6
- * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
2
+ * i2, i2 Group, the i2 Group logo, and i2group.com are trademarks of N.Harris Computer Corporation.
3
+ * © N.Harris Computer Corporation (2022)
7
4
  */
8
5
  const apiVersion = '1.0';
9
6
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.1.0-dev.31",
3
+ "version": "1.1.0-dev.32",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {