@i2analyze/notebook-sdk 1.6.0-dev.1 → 1.6.0-dev.3
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/lib/gen/notebook-sdk-public.d.ts +60 -125
- package/package.json +1 -1
|
@@ -952,6 +952,30 @@ export declare namespace app {
|
|
|
952
952
|
* @i2since 1.1
|
|
953
953
|
*/
|
|
954
954
|
removeSelectedRecords(): void;
|
|
955
|
+
/**
|
|
956
|
+
* Creates an entity type.
|
|
957
|
+
*
|
|
958
|
+
* @param typeTemplate - The data from which to create the entity type.
|
|
959
|
+
* @returns The new, pending item type.
|
|
960
|
+
* @i2since 1.6
|
|
961
|
+
*/
|
|
962
|
+
addEntityType(typeTemplate: schema.IChartEntityTypeData): schema.IPendingItemType;
|
|
963
|
+
/**
|
|
964
|
+
* Creates a link type.
|
|
965
|
+
*
|
|
966
|
+
* @param typeTemplate - The data from which to create the link type.
|
|
967
|
+
* @returns The new, pending item type.
|
|
968
|
+
* @i2since 1.6
|
|
969
|
+
*/
|
|
970
|
+
addLinkType(typeTemplate: schema.IChartLinkTypeData): schema.IPendingItemType;
|
|
971
|
+
/**
|
|
972
|
+
* Gets an object with methods for editing an item type.
|
|
973
|
+
*
|
|
974
|
+
* @param itemType - The type to be edited.
|
|
975
|
+
* @returns The type-editing object..
|
|
976
|
+
* @i2since 1.6
|
|
977
|
+
*/
|
|
978
|
+
editItemType(itemType: schema.ItemTypeSpecifier): schema.IItemTypeEditor;
|
|
955
979
|
}
|
|
956
980
|
/**
|
|
957
981
|
* A collection of elements and records that together represent a selection on the chart surface.
|
|
@@ -4040,30 +4064,6 @@ export declare namespace schema {
|
|
|
4040
4064
|
* @i2since 1.0
|
|
4041
4065
|
*/
|
|
4042
4066
|
readonly sourceIdentifiersSchema: ISourceIdentifiersSchema;
|
|
4043
|
-
/**
|
|
4044
|
-
* Creates an entity type.
|
|
4045
|
-
*
|
|
4046
|
-
* @param typeTemplate - The data from which to create the entity type.
|
|
4047
|
-
* @returns The new, pending item type.
|
|
4048
|
-
* @i2since 1.6
|
|
4049
|
-
*/
|
|
4050
|
-
addEntityType(typeTemplate: IChartEntityTypeData): IPendingItemType;
|
|
4051
|
-
/**
|
|
4052
|
-
* Creates a link type.
|
|
4053
|
-
*
|
|
4054
|
-
* @param typeTemplate - The data from which to create the link type.
|
|
4055
|
-
* @returns The new, pending item type.
|
|
4056
|
-
* @i2since 1.6
|
|
4057
|
-
*/
|
|
4058
|
-
addLinkType(typeTemplate: IChartLinkTypeData): IPendingItemType;
|
|
4059
|
-
/**
|
|
4060
|
-
* Gets an object with methods for editing an item type.
|
|
4061
|
-
*
|
|
4062
|
-
* @param itemType - The type to be edited.
|
|
4063
|
-
* @returns The type-editing object..
|
|
4064
|
-
* @i2since 1.6
|
|
4065
|
-
*/
|
|
4066
|
-
editItemType(itemType: ItemTypeSpecifier): IItemTypeEditor;
|
|
4067
4067
|
}
|
|
4068
4068
|
/**
|
|
4069
4069
|
* A schema for source identifiers, which places constraints on their use.
|
|
@@ -4346,16 +4346,6 @@ export declare namespace schema {
|
|
|
4346
4346
|
* @i2since 1.6
|
|
4347
4347
|
*/
|
|
4348
4348
|
readonly displayName: string;
|
|
4349
|
-
/**
|
|
4350
|
-
* Gets or sets the description of the item type.
|
|
4351
|
-
* @i2since 1.6
|
|
4352
|
-
*/
|
|
4353
|
-
readonly description?: string;
|
|
4354
|
-
/**
|
|
4355
|
-
* Gets or sets the semanticTypeId of the item type.
|
|
4356
|
-
* @i2since 1.6
|
|
4357
|
-
*/
|
|
4358
|
-
readonly semanticTypeId?: string;
|
|
4359
4349
|
/**
|
|
4360
4350
|
* Gets or sets the propertyTypes of the item type.
|
|
4361
4351
|
* @i2since 1.6
|
|
@@ -4365,7 +4355,7 @@ export declare namespace schema {
|
|
|
4365
4355
|
* Gets or sets the labelDefinition of the item type.
|
|
4366
4356
|
* @i2since 1.6
|
|
4367
4357
|
*/
|
|
4368
|
-
readonly labelDefinition?: Iterable<
|
|
4358
|
+
readonly labelDefinition?: Iterable<ILabelPartData>;
|
|
4369
4359
|
}
|
|
4370
4360
|
/**
|
|
4371
4361
|
* A set of data for creating an entity type.
|
|
@@ -4376,7 +4366,7 @@ export declare namespace schema {
|
|
|
4376
4366
|
* Gets or sets the image icon of the entity type.
|
|
4377
4367
|
* @i2since 1.6
|
|
4378
4368
|
*/
|
|
4379
|
-
readonly icon:
|
|
4369
|
+
readonly icon: string;
|
|
4380
4370
|
}
|
|
4381
4371
|
/**
|
|
4382
4372
|
* A set of data for creating a link type.
|
|
@@ -4385,40 +4375,41 @@ export declare namespace schema {
|
|
|
4385
4375
|
export interface IChartLinkTypeData extends IChartItemTypeData {
|
|
4386
4376
|
}
|
|
4387
4377
|
/**
|
|
4388
|
-
* A set of data for creating a
|
|
4378
|
+
* A set of data for creating a label definition.
|
|
4389
4379
|
* @i2since 1.6
|
|
4390
4380
|
*/
|
|
4391
|
-
export
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
/**
|
|
4398
|
-
* Gets or sets the logicalType of the property type.
|
|
4399
|
-
* @i2since 1.6
|
|
4400
|
-
*/
|
|
4401
|
-
readonly logicalType: data.LogicalType;
|
|
4381
|
+
export type ILabelPartData = ILabelPart | IPendingPropertyLabelPartInput;
|
|
4382
|
+
/**
|
|
4383
|
+
* A part of a label that consists of a pending property type.
|
|
4384
|
+
* @i2since 1.6
|
|
4385
|
+
*/
|
|
4386
|
+
export interface IPendingPropertyLabelPartInput {
|
|
4402
4387
|
/**
|
|
4403
|
-
* Gets
|
|
4388
|
+
* Gets the type of the property whose value is used for the label part.
|
|
4404
4389
|
* @i2since 1.6
|
|
4405
4390
|
*/
|
|
4406
|
-
readonly
|
|
4391
|
+
readonly propertyType: IPendingPropertyType;
|
|
4407
4392
|
/**
|
|
4408
|
-
* Gets
|
|
4393
|
+
* Gets the type of label part.
|
|
4409
4394
|
* @i2since 1.6
|
|
4410
4395
|
*/
|
|
4411
|
-
readonly
|
|
4396
|
+
readonly type: 'chartProperty';
|
|
4397
|
+
}
|
|
4398
|
+
/**
|
|
4399
|
+
* A set of data for creating a property type.
|
|
4400
|
+
* @i2since 1.6
|
|
4401
|
+
*/
|
|
4402
|
+
export interface IPropertyTypeData {
|
|
4412
4403
|
/**
|
|
4413
|
-
*
|
|
4404
|
+
* Gets or sets the display name of the property type.
|
|
4414
4405
|
* @i2since 1.6
|
|
4415
4406
|
*/
|
|
4416
|
-
readonly
|
|
4407
|
+
readonly displayName: string;
|
|
4417
4408
|
/**
|
|
4418
|
-
* Gets or sets the
|
|
4409
|
+
* Gets or sets the logicalType of the property type.
|
|
4419
4410
|
* @i2since 1.6
|
|
4420
4411
|
*/
|
|
4421
|
-
readonly
|
|
4412
|
+
readonly logicalType: CustomLogicalType;
|
|
4422
4413
|
}
|
|
4423
4414
|
/**
|
|
4424
4415
|
* An item type that has been created in a transaction handler, but has not yet been added to a chart's schema.
|
|
@@ -4449,27 +4440,13 @@ export declare namespace schema {
|
|
|
4449
4440
|
* @i2since 1.6
|
|
4450
4441
|
*/
|
|
4451
4442
|
setDisplayName(name: string): this;
|
|
4452
|
-
/**
|
|
4453
|
-
* Sets the value of description on the item type.
|
|
4454
|
-
* @param description - The value of the displayName to set.
|
|
4455
|
-
* @returns This item type editor, with the edited properties in place.
|
|
4456
|
-
* @i2since 1.6
|
|
4457
|
-
*/
|
|
4458
|
-
setDescription(description: string): this;
|
|
4459
|
-
/**
|
|
4460
|
-
* Sets the value of semantic type id on the item type.
|
|
4461
|
-
* @param semanticId - The value of the semantic type id to set.
|
|
4462
|
-
* @returns This item type editor, with the edited properties in place.
|
|
4463
|
-
* @i2since 1.6
|
|
4464
|
-
*/
|
|
4465
|
-
setSemanticTypeId(semanticId: string): this;
|
|
4466
4443
|
/**
|
|
4467
4444
|
* Sets the value of label definition on the item type.
|
|
4468
4445
|
* @param labelDefinition - The value of label definition to set.
|
|
4469
4446
|
* @returns This item type editor, with the edited properties in place.
|
|
4470
4447
|
* @i2since 1.6
|
|
4471
4448
|
*/
|
|
4472
|
-
setLabelDefinition(labelDefinition: Iterable<
|
|
4449
|
+
setLabelDefinition(labelDefinition: Iterable<ILabelPartData>): this;
|
|
4473
4450
|
}
|
|
4474
4451
|
/**
|
|
4475
4452
|
* A set of methods to add and edit property types.
|
|
@@ -4496,17 +4473,13 @@ export declare namespace schema {
|
|
|
4496
4473
|
* @returns The new, pending property type.
|
|
4497
4474
|
* @i2since 1.6
|
|
4498
4475
|
*/
|
|
4499
|
-
editPropertyType(propertyType:
|
|
4500
|
-
/**
|
|
4501
|
-
* Gets an object with methods for editing a property type.
|
|
4502
|
-
*
|
|
4503
|
-
* @param analyzePropertyTypeId - The id of the propertyType to be edited.
|
|
4504
|
-
* @param logicalType - The logical type of the propertyType to be edited.
|
|
4505
|
-
* @returns The new, pending property type.
|
|
4506
|
-
* @i2since 1.6
|
|
4507
|
-
*/
|
|
4508
|
-
editPropertyType(analyzePropertyTypeId: AnalyzePropertyTypeId, logicalType: data.LogicalType): IPendingPropertyType;
|
|
4476
|
+
editPropertyType(propertyType: CustomPropertyTypeSpecifier): IPendingPropertyType;
|
|
4509
4477
|
}
|
|
4478
|
+
/**
|
|
4479
|
+
* A common specifier for a custom property type.
|
|
4480
|
+
* @i2since 1.6
|
|
4481
|
+
*/
|
|
4482
|
+
export type CustomPropertyTypeSpecifier = IChartPropertyType | IPendingPropertyType | AnalyzePropertyTypeId;
|
|
4510
4483
|
/**
|
|
4511
4484
|
* A property type that has been created in a transaction handler, but has not yet been added to a chart's schema.
|
|
4512
4485
|
* @i2since 1.6
|
|
@@ -4517,11 +4490,6 @@ export declare namespace schema {
|
|
|
4517
4490
|
* @i2since 1.6
|
|
4518
4491
|
*/
|
|
4519
4492
|
analyzeId: string;
|
|
4520
|
-
/**
|
|
4521
|
-
* Gets the logical type of the property type.
|
|
4522
|
-
* @i2since 1.6
|
|
4523
|
-
*/
|
|
4524
|
-
logicalType: data.LogicalType;
|
|
4525
4493
|
}
|
|
4526
4494
|
/**
|
|
4527
4495
|
* A set of methods for modifying the contents of a property type.
|
|
@@ -4536,34 +4504,6 @@ export declare namespace schema {
|
|
|
4536
4504
|
* @i2since 1.6
|
|
4537
4505
|
*/
|
|
4538
4506
|
setDisplayName(name: string): this;
|
|
4539
|
-
/**
|
|
4540
|
-
* Sets the value of description on the property type.
|
|
4541
|
-
* @param description - The value of the description to set.
|
|
4542
|
-
* @returns This property type editor, with the edited properties in place.
|
|
4543
|
-
* @i2since 1.6
|
|
4544
|
-
*/
|
|
4545
|
-
setDescription(description: string): this;
|
|
4546
|
-
/**
|
|
4547
|
-
* Sets the value of semantic type id on the property type.
|
|
4548
|
-
* @param typeId - The value of the semantic type id to set.
|
|
4549
|
-
* @returns This property type editor, with the edited properties in place.
|
|
4550
|
-
* @i2since 1.6
|
|
4551
|
-
*/
|
|
4552
|
-
setSemanticTypeId(typeId: string): this;
|
|
4553
|
-
/**
|
|
4554
|
-
* Sets the given property type is mandatory or not.
|
|
4555
|
-
* @param isMandatory - The value of the logical type to set.
|
|
4556
|
-
* @returns This property type editor, with the edited properties in place.
|
|
4557
|
-
* @i2since 1.6
|
|
4558
|
-
*/
|
|
4559
|
-
setMandatory(isMandatory: boolean): this;
|
|
4560
|
-
/**
|
|
4561
|
-
* Sets the value of the property type.
|
|
4562
|
-
* @param values - The value for a property to set.
|
|
4563
|
-
* @returns This property type editor, with the edited properties in place.
|
|
4564
|
-
* @i2since 1.6
|
|
4565
|
-
*/
|
|
4566
|
-
setPossibleValues(values: Iterable<IPossibleValue>): this;
|
|
4567
4507
|
}
|
|
4568
4508
|
/**
|
|
4569
4509
|
* The type of a schema.
|
|
@@ -4575,6 +4515,7 @@ export declare namespace schema {
|
|
|
4575
4515
|
* - `gateway`: A gateway schema.
|
|
4576
4516
|
* - `connector`: A connector schema.
|
|
4577
4517
|
* - `unknown`: An unknown schema, which can denote an orphaned item type.
|
|
4518
|
+
* - `custom`: A user defined type.
|
|
4578
4519
|
*/
|
|
4579
4520
|
export type SchemaType = 'infostore' | 'gateway' | 'connector' | 'unknown' | 'custom';
|
|
4580
4521
|
/**
|
|
@@ -4691,6 +4632,11 @@ export declare namespace schema {
|
|
|
4691
4632
|
*/
|
|
4692
4633
|
readonly description?: string;
|
|
4693
4634
|
}
|
|
4635
|
+
/**
|
|
4636
|
+
* A logical type for the value of a custom property.
|
|
4637
|
+
* @i2since 1.6
|
|
4638
|
+
*/
|
|
4639
|
+
export type CustomLogicalType = Omit<data.LogicalType, 'selectedFromList' | 'suggestedFromList'>;
|
|
4694
4640
|
/**
|
|
4695
4641
|
* A schema for notes, which places constraints on their use.
|
|
4696
4642
|
* @i2since 1.0
|
|
@@ -4807,17 +4753,6 @@ export declare namespace schema {
|
|
|
4807
4753
|
*/
|
|
4808
4754
|
readonly possibleValues: data.IReadOnlyCollection<IPossibleValue>;
|
|
4809
4755
|
}
|
|
4810
|
-
/**
|
|
4811
|
-
* An image icon, specified by the URL of the image file.
|
|
4812
|
-
* @i2since 1.6
|
|
4813
|
-
*/
|
|
4814
|
-
export interface IImageData {
|
|
4815
|
-
/**
|
|
4816
|
-
* Gets the URL of the image.
|
|
4817
|
-
* @i2since 1.6
|
|
4818
|
-
*/
|
|
4819
|
-
readonly href: string;
|
|
4820
|
-
}
|
|
4821
4756
|
/**
|
|
4822
4757
|
* A type for the value of a field in a source reference.
|
|
4823
4758
|
* @i2since 1.0
|