@i2analyze/notebook-sdk 1.10.0-dev.17 → 1.10.0-dev.19

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.
@@ -3757,9 +3757,18 @@ export declare namespace commands {
3757
3757
  * @i2since 1.8
3758
3758
  */
3759
3759
  readonly resetGroupLabel: CommandId;
3760
+ /**
3761
+ * Gets the identifier of the system command that renames the current chart.
3762
+ * @i2since 1.10
3763
+ */
3764
+ readonly renameChart: CommandId;
3760
3765
  /**
3761
3766
  * Gets the identifier of the system command that saves the current chart.
3762
3767
  * @i2since 1.1
3768
+ * @deprecated Deprecated since version 1.10. The system now saves charts automatically, so there is
3769
+ * no longer a manual save command. Use {@link commands.ISystemCommands.renameChart | renameChart}
3770
+ * to rename a chart, or {@link commands.ISystemCommands.shareChart | shareChart} to manage sharing
3771
+ * and access control.
3763
3772
  */
3764
3773
  readonly saveChart: CommandId;
3765
3774
  /**
@@ -3784,6 +3793,11 @@ export declare namespace commands {
3784
3793
  * @i2since 1.8
3785
3794
  */
3786
3795
  readonly selectUnitedItems: CommandId;
3796
+ /**
3797
+ * Gets the identifier of the system command that manages sharing and access control for the current chart.
3798
+ * @i2since 1.10
3799
+ */
3800
+ readonly shareChart: CommandId;
3787
3801
  /**
3788
3802
  * Gets the identifier of the system command that allows users to share records with each other.
3789
3803
  * @i2since 1.3
@@ -5640,6 +5654,24 @@ export declare namespace schema {
5640
5654
  * @i2since 1.0
5641
5655
  */
5642
5656
  readonly itemTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartItemType>;
5657
+ /**
5658
+ * Gets all the core entity types in the chart schema.
5659
+ *
5660
+ * @remarks
5661
+ * A core entity type is the base concept (such as "Person") that one or more entity types
5662
+ * specialize. Each entity type references its parent through {@link schema.IChartEntityType.coreType}.
5663
+ * @i2since 1.10
5664
+ */
5665
+ readonly coreEntityTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartCoreEntityType>;
5666
+ /**
5667
+ * Gets all the core link types in the chart schema.
5668
+ *
5669
+ * @remarks
5670
+ * A core link type is the base concept that one or more link types specialize. Each link type
5671
+ * references its parent through {@link schema.IChartLinkType.coreType}.
5672
+ * @i2since 1.10
5673
+ */
5674
+ readonly coreLinkTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartCoreLinkType>;
5643
5675
  /**
5644
5676
  * Gets the item type in the chart schema that has the specified i2 Analyze type identifier.
5645
5677
  * @param analyzeItemTypeId - An i2 Analyze item type identifier.
@@ -5765,6 +5797,14 @@ export declare namespace schema {
5765
5797
  * @i2since 1.0
5766
5798
  */
5767
5799
  readonly image: data.IImage;
5800
+ /**
5801
+ * Gets the core entity type that this entity type specializes, if it has one.
5802
+ *
5803
+ * @remarks
5804
+ * This is absent for entity types from a schema that predates the core type hierarchy.
5805
+ * @i2since 1.10
5806
+ */
5807
+ readonly coreType?: IChartCoreEntityType;
5768
5808
  }
5769
5809
  /**
5770
5810
  * A link type.
@@ -5781,6 +5821,89 @@ export declare namespace schema {
5781
5821
  * @i2since 1.5
5782
5822
  */
5783
5823
  toEntityTypes: data.IReadOnlyCollection<IChartEntityType>;
5824
+ /**
5825
+ * Gets the core link type that this link type specializes, if it has one.
5826
+ *
5827
+ * @remarks
5828
+ * This is absent for link types from a schema that predates the core type hierarchy.
5829
+ * @i2since 1.10
5830
+ */
5831
+ readonly coreType?: IChartCoreLinkType;
5832
+ }
5833
+ /**
5834
+ * The governance tier of a type, which controls who can author and modify its definition.
5835
+ *
5836
+ * @remarks
5837
+ * The tiers, from most to least restricted, are:
5838
+ *
5839
+ * - `i2Ontology` — curated by i2 Group; its structure, identifiers, and semantics are locked.
5840
+ * - `systemGoverned` — modifiable by schema administrators through the schema authoring path.
5841
+ * - `analystGoverned` — created and modified by analysts on an existing core type.
5842
+ * @i2since 1.10
5843
+ */
5844
+ export type GovernanceTier = 'i2Ontology' | 'systemGoverned' | 'analystGoverned';
5845
+ /**
5846
+ * A set of information that is common to all core types in a chart schema.
5847
+ *
5848
+ * @remarks
5849
+ * A core type is the base concept that one or more item types (entity types or link types)
5850
+ * specialize. Core types are the level at which storage, matching, and connector queries
5851
+ * operate; the specializing item types add display configuration and preferred property
5852
+ * selections on top.
5853
+ * @i2since 1.10
5854
+ */
5855
+ export interface IChartCoreItemTypeBase {
5856
+ /**
5857
+ * Gets the identifier of the core type.
5858
+ * @i2since 1.10
5859
+ */
5860
+ readonly id: ChartItemTypeId;
5861
+ /**
5862
+ * Gets the identifier of the core type in the i2 Analyze schema, if it has one.
5863
+ * @i2since 1.10
5864
+ */
5865
+ readonly analyzeId?: AnalyzeItemTypeId;
5866
+ /**
5867
+ * Gets the display name of the core type.
5868
+ * @i2since 1.10
5869
+ */
5870
+ readonly displayName: string;
5871
+ /**
5872
+ * Gets the description of the core type.
5873
+ * @i2since 1.10
5874
+ */
5875
+ readonly description: string;
5876
+ /**
5877
+ * Gets the identifier of the semantic type of the core type.
5878
+ * @i2since 1.10
5879
+ */
5880
+ readonly semanticTypeId: string;
5881
+ /**
5882
+ * Gets all the property types of the core type.
5883
+ *
5884
+ * @remarks
5885
+ * A core type carries the complete set of property types for its concept. Each specializing
5886
+ * item type exposes a subset of these through its preferred property selection.
5887
+ * @i2since 1.10
5888
+ */
5889
+ readonly propertyTypes: data.IKeyedReadOnlyCollection<PropertyTypeIdentifier, IChartPropertyType>;
5890
+ }
5891
+ /**
5892
+ * A core entity type.
5893
+ * @i2since 1.10
5894
+ */
5895
+ export interface IChartCoreEntityType extends IChartCoreItemTypeBase {
5896
+ /**
5897
+ * Gets the image that represents records that have the core entity type.
5898
+ * @i2since 1.10
5899
+ */
5900
+ readonly image: data.IImage;
5901
+ }
5902
+ /**
5903
+ * A core link type.
5904
+ * @i2since 1.10
5905
+ */
5906
+ export interface IChartCoreLinkType extends IChartCoreItemTypeBase {
5784
5907
  }
5785
5908
  /**
5786
5909
  * A part of a label that consists of a literal string.
@@ -5931,6 +6054,34 @@ export declare namespace schema {
5931
6054
  * @i2since 1.5
5932
6055
  */
5933
6056
  readonly origin: ISchemaInfo;
6057
+ /**
6058
+ * Gets the core type that this item type specializes, if it has one.
6059
+ *
6060
+ * @remarks
6061
+ * The core type is the base concept (such as "Person") that this item type refines with
6062
+ * display configuration and a preferred property selection. It is absent for item types that
6063
+ * have no core type, such as those from a schema that predates the core type hierarchy.
6064
+ * @i2since 1.10
6065
+ */
6066
+ readonly coreType?: IChartCoreEntityType | IChartCoreLinkType;
6067
+ /**
6068
+ * Indicates whether this item type is the default specialization of its core type.
6069
+ *
6070
+ * @remarks
6071
+ * Each core type has at most one default item type, which acts as the fallback when a record
6072
+ * references the core type without a more specific item type. This is absent for item types
6073
+ * that have no core type.
6074
+ * @i2since 1.10
6075
+ */
6076
+ readonly isDefault?: boolean;
6077
+ /**
6078
+ * Gets the governance tier of the item type, which controls who can author and modify it.
6079
+ *
6080
+ * @remarks
6081
+ * This is absent for item types from a schema that predates the core type hierarchy.
6082
+ * @i2since 1.10
6083
+ */
6084
+ readonly governanceTier?: GovernanceTier;
5934
6085
  }
5935
6086
  /**
5936
6087
  * Information about a schema in an i2 Analyze deployment.
@@ -6188,10 +6339,10 @@ export declare namespace schema {
6188
6339
  */
6189
6340
  readonly analyzeId?: AnalyzePropertyTypeId;
6190
6341
  /**
6191
- * Gets the item type that the property type belongs to.
6342
+ * Gets the item type or core type that the property type belongs to.
6192
6343
  * @i2since 1.10
6193
6344
  */
6194
- readonly itemType: IChartItemType;
6345
+ readonly itemType: IChartItemType | IChartCoreItemTypeBase;
6195
6346
  /**
6196
6347
  * Gets the display name of the property type.
6197
6348
  * @i2since 1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.10.0-dev.17",
3
+ "version": "1.10.0-dev.19",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {