@i2analyze/notebook-sdk 1.11.0-dev.0 → 1.11.0-dev.1

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.
@@ -5511,7 +5511,7 @@ export declare interface NotebookStatic {
5511
5511
  * @public
5512
5512
  * @i2since 1.0
5513
5513
  */
5514
- getEntryPointApi(pluginId: string, apiVersion: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.8' | '1.9' | '1.10' | '1.11'): Promise<IEntryPointApi>;
5514
+ getEntryPointApi(pluginId: string, apiVersion: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.8' | '1.9' | '1.10'): Promise<IEntryPointApi>;
5515
5515
  }
5516
5516
 
5517
5517
  /**
@@ -5816,25 +5816,6 @@ export declare namespace schema {
5816
5816
  * @i2since 1.0
5817
5817
  */
5818
5818
  readonly itemTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartItemType>;
5819
- /**
5820
- * Gets all the core entity types in the chart schema.
5821
- *
5822
- * @remarks
5823
- * A core entity type is the base concept, such as "Person", that entity types are based on. To
5824
- * get the core entity type that an entity type is based on, use
5825
- * {@link schema.IChartEntityType.coreType}.
5826
- * @i2since 1.11
5827
- */
5828
- readonly coreEntityTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartCoreEntityType>;
5829
- /**
5830
- * Gets all the core link types in the chart schema.
5831
- *
5832
- * @remarks
5833
- * A core link type is the base concept that link types are based on. To get the core link type
5834
- * that a link type is based on, use {@link schema.IChartLinkType.coreType}.
5835
- * @i2since 1.11
5836
- */
5837
- readonly coreLinkTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartCoreLinkType>;
5838
5819
  /**
5839
5820
  * Gets the item type in the chart schema that has the specified i2 Analyze type identifier.
5840
5821
  * @param analyzeItemTypeId - An i2 Analyze item type identifier.
@@ -5960,16 +5941,6 @@ export declare namespace schema {
5960
5941
  * @i2since 1.0
5961
5942
  */
5962
5943
  readonly image: data.IImage;
5963
- /**
5964
- * Gets the core entity type that the entity type is based on, if it has one.
5965
- *
5966
- * @remarks
5967
- * The value is absent when the entity type is not based on a core entity type. For example,
5968
- * custom entity types and entity types from a schema that predates core types have no core
5969
- * entity type.
5970
- * @i2since 1.11
5971
- */
5972
- readonly coreType?: IChartCoreEntityType;
5973
5944
  }
5974
5945
  /**
5975
5946
  * A link type.
@@ -5986,131 +5957,7 @@ export declare namespace schema {
5986
5957
  * @i2since 1.5
5987
5958
  */
5988
5959
  toEntityTypes: data.IReadOnlyCollection<IChartEntityType>;
5989
- /**
5990
- * Gets the core link type that the link type is based on, if it has one.
5991
- *
5992
- * @remarks
5993
- * The value is absent when the link type is not based on a core link type. For example, custom
5994
- * link types and link types from a schema that predates core types have no core link type.
5995
- * @i2since 1.11
5996
- */
5997
- readonly coreType?: IChartCoreLinkType;
5998
5960
  }
5999
- /**
6000
- * The governance tier of a type, which controls who can create and modify its definition.
6001
- *
6002
- * @remarks
6003
- * The following list shows the tiers, from most to least restricted:
6004
- *
6005
- * - `i2Ontology`: i2 Group curates the type and locks its structure, identifiers, and semantics.
6006
- * - `systemGoverned`: Schema administrators can modify the type through the schema authoring path.
6007
- * - `analystGoverned`: Analysts create and modify the type, which is based on an existing core type.
6008
- * @i2since 1.11
6009
- */
6010
- export type GovernanceTier = 'i2Ontology' | 'systemGoverned' | 'analystGoverned';
6011
- /**
6012
- * A set of information that is common to all core types in a chart schema.
6013
- *
6014
- * @remarks
6015
- * A core type is the base concept that item types are based on. For example, the "Suspect" and
6016
- * "Witness" entity types can both be based on a "Person" core entity type. Because item types
6017
- * that share a core type represent the same concept, you can treat their records together. Some
6018
- * core types have no item types based on them.
6019
- * @i2since 1.11
6020
- */
6021
- export interface IChartCoreItemTypeBase {
6022
- /**
6023
- * Gets the identifier of the core type.
6024
- * @i2since 1.11
6025
- */
6026
- readonly id: ChartItemTypeId;
6027
- /**
6028
- * Gets the identifier of the core type in the i2 Analyze schema.
6029
- * @i2since 1.11
6030
- */
6031
- readonly analyzeId: AnalyzeItemTypeId;
6032
- /**
6033
- * Gets the display name of the core type.
6034
- * @i2since 1.11
6035
- */
6036
- readonly displayName: string;
6037
- /**
6038
- * Gets the description of the core type.
6039
- * @i2since 1.11
6040
- */
6041
- readonly description: string;
6042
- /**
6043
- * Gets the identifier of the semantic type of the core type.
6044
- * @i2since 1.11
6045
- */
6046
- readonly semanticTypeId: string;
6047
- /**
6048
- * Gets all the property types of the core type.
6049
- *
6050
- * @remarks
6051
- * The property types are in the order that the core type declares them, which is the order in
6052
- * which to present properties.
6053
- * @i2since 1.11
6054
- */
6055
- readonly propertyTypes: data.IKeyedReadOnlyCollection<PropertyTypeIdentifier, IChartCorePropertyType>;
6056
- /**
6057
- * Gets the property type that has the specified i2 Analyze identifier.
6058
- *
6059
- * @remarks
6060
- * If the core type contains more than one property type with the identifier, such as after the
6061
- * logical type of the property changes, the method returns the one that is not orphaned.
6062
- * @param analyzePropertyTypeId - An i2 Analyze property type identifier.
6063
- * @returns The requested property type.
6064
- * @throws `VerbatimError` if the core type does not contain a property type that has the specified
6065
- * i2 Analyze identifier, or if it contains more than one and all of them are orphaned.
6066
- * @i2since 1.11
6067
- */
6068
- getPropertyType(analyzePropertyTypeId: AnalyzePropertyTypeId): IChartCorePropertyType;
6069
- /**
6070
- * Indicates whether the core type is orphaned. An orphaned core type does not have a counterpart
6071
- * in the i2 Analyze schema.
6072
- * @i2since 1.11
6073
- */
6074
- readonly isOrphaned: boolean;
6075
- /**
6076
- * Tests whether the core type is a core entity type. This method functions as a TypeScript
6077
- * typeguard.
6078
- *
6079
- * @returns `true` if the core type is a core entity type, or `false` otherwise.
6080
- * @i2since 1.11
6081
- */
6082
- isEntityType(): this is IChartCoreEntityType;
6083
- /**
6084
- * Tests whether the core type is a core link type. This method functions as a TypeScript
6085
- * typeguard.
6086
- *
6087
- * @returns `true` if the core type is a core link type, or `false` otherwise.
6088
- * @i2since 1.11
6089
- */
6090
- isLinkType(): this is IChartCoreLinkType;
6091
- }
6092
- /**
6093
- * A core entity type.
6094
- * @i2since 1.11
6095
- */
6096
- export interface IChartCoreEntityType extends IChartCoreItemTypeBase {
6097
- /**
6098
- * Gets the image that represents the core entity type.
6099
- * @i2since 1.11
6100
- */
6101
- readonly image: data.IImage;
6102
- }
6103
- /**
6104
- * A core link type.
6105
- * @i2since 1.11
6106
- */
6107
- export interface IChartCoreLinkType extends IChartCoreItemTypeBase {
6108
- }
6109
- /**
6110
- * A core entity type or a core link type.
6111
- * @i2since 1.11
6112
- */
6113
- export type IChartCoreItemType = IChartCoreEntityType | IChartCoreLinkType;
6114
5961
  /**
6115
5962
  * A part of a label that consists of a literal string.
6116
5963
  * @i2since 1.0
@@ -6260,35 +6107,6 @@ export declare namespace schema {
6260
6107
  * @i2since 1.5
6261
6108
  */
6262
6109
  readonly origin: ISchemaInfo;
6263
- /**
6264
- * Gets the core type that the item type is based on, if it has one.
6265
- *
6266
- * @remarks
6267
- * The core type is the base concept, such as "Person", that the item type is based on. Because
6268
- * item types that share a core type represent the same concept, you can treat their records
6269
- * together. The value is absent when the item type is not based on a core type. For example,
6270
- * custom item types and item types from a schema that predates core types have no core type.
6271
- * @i2since 1.11
6272
- */
6273
- readonly coreType?: IChartCoreItemType;
6274
- /**
6275
- * Indicates whether the item type is the default item type for its core type.
6276
- *
6277
- * @remarks
6278
- * A core type has at most one default item type, which is used for a record of the core type
6279
- * when no other item type is specified. The value is `false` for an item type that has no core
6280
- * type.
6281
- * @i2since 1.11
6282
- */
6283
- readonly isDefault: boolean;
6284
- /**
6285
- * Gets the governance tier of the item type, which controls who can create and modify it.
6286
- *
6287
- * @remarks
6288
- * The value is absent if the governance tier is not one that this version of the API recognizes.
6289
- * @i2since 1.11
6290
- */
6291
- readonly governanceTier?: GovernanceTier;
6292
6110
  }
6293
6111
  /**
6294
6112
  * Information about a schema in an i2 Analyze deployment.
@@ -6531,10 +6349,10 @@ export declare namespace schema {
6531
6349
  */
6532
6350
  export type PropertyTypeSpecifier = PropertyTypeIdentifier | IChartPropertyType;
6533
6351
  /**
6534
- * A set of information that is common to all property types in a chart schema.
6535
- * @i2since 1.11
6352
+ * A property type.
6353
+ * @i2since 1.0
6536
6354
  */
6537
- export interface IChartPropertyTypeBase {
6355
+ export interface IChartPropertyType {
6538
6356
  /**
6539
6357
  * Gets the identifier of the property type.
6540
6358
  * @i2since 1.0
@@ -6545,6 +6363,11 @@ export declare namespace schema {
6545
6363
  * @i2since 1.0
6546
6364
  */
6547
6365
  readonly analyzeId?: AnalyzePropertyTypeId;
6366
+ /**
6367
+ * Gets the item type that the property type belongs to.
6368
+ * @i2since 1.10
6369
+ */
6370
+ readonly itemType: IChartItemType;
6548
6371
  /**
6549
6372
  * Gets the display name of the property type.
6550
6373
  * @i2since 1.0
@@ -6560,6 +6383,11 @@ export declare namespace schema {
6560
6383
  * @i2since 1.0
6561
6384
  */
6562
6385
  readonly semanticTypeId: string;
6386
+ /**
6387
+ * Indicates whether records whose item type contains the property type must have a value for it.
6388
+ * @i2since 1.0
6389
+ */
6390
+ readonly isMandatory: boolean;
6563
6391
  /**
6564
6392
  * Gets the logical type of the value of a property that has the property type.
6565
6393
  * @i2since 1.0
@@ -6594,33 +6422,6 @@ export declare namespace schema {
6594
6422
  */
6595
6423
  readonly possibleValues?: data.IReadOnlyCollection<IPossibleValue>;
6596
6424
  }
6597
- /**
6598
- * A property type of an item type.
6599
- * @i2since 1.0
6600
- */
6601
- export interface IChartPropertyType extends IChartPropertyTypeBase {
6602
- /**
6603
- * Gets the item type that the property type belongs to.
6604
- * @i2since 1.10
6605
- */
6606
- readonly itemType: IChartItemType;
6607
- /**
6608
- * Indicates whether records whose item type contains the property type must have a value for it.
6609
- * @i2since 1.0
6610
- */
6611
- readonly isMandatory: boolean;
6612
- }
6613
- /**
6614
- * A property type of a core type.
6615
- *
6616
- * @remarks
6617
- * A core property type defines a property once for its core type. Unlike an
6618
- * {@link schema.IChartPropertyType}, it does not belong to a particular item type. To get the
6619
- * property values of a record, use the property types of the record's item type.
6620
- * @i2since 1.11
6621
- */
6622
- export interface IChartCorePropertyType extends IChartPropertyTypeBase {
6623
- }
6624
6425
  /**
6625
6426
  * A possible value for a property whose property type has a string-based logical type.
6626
6427
  * @i2since 1.0
package/lib/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * i2, i2 Group, the i2 Group logo, and i2group.com are trademarks of N.Harris Computer Corporation.
3
3
  * © N.Harris Computer Corporation (2022)
4
4
  */
5
- const apiVersion = '1.11';
5
+ const apiVersion = '1.10';
6
6
  /**
7
7
  * Retrieves the plug-in entry point API.
8
8
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.11.0-dev.0",
3
+ "version": "1.11.0-dev.1",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@ibmi2/webui-lerna-build-scripts": "^6.0.2",
16
- "@microsoft/api-documenter": "^7.26.0",
16
+ "@microsoft/api-documenter": "^7.30.20",
17
17
  "@microsoft/api-extractor": "^7.58.11",
18
18
  "concurrently": "^7.3.0",
19
19
  "copyfiles": "^2.4.1",