@i2analyze/notebook-sdk 1.6.0-dev.11 → 1.6.0-dev.12
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 +25 -14
- package/package.json +1 -1
|
@@ -975,7 +975,7 @@ export declare namespace app {
|
|
|
975
975
|
* @returns The type-editing object.
|
|
976
976
|
* @i2since 1.6
|
|
977
977
|
*/
|
|
978
|
-
editItemType(itemType: schema.ItemTypeSpecifier): schema.IItemTypeEditor | schema.
|
|
978
|
+
editItemType(itemType: schema.ItemTypeSpecifier): schema.IItemTypeEditor | schema.IPropertyTypesEditor;
|
|
979
979
|
}
|
|
980
980
|
/**
|
|
981
981
|
* A collection of elements and records that together represent a selection on the chart surface.
|
|
@@ -4379,11 +4379,27 @@ export declare namespace schema {
|
|
|
4379
4379
|
*/
|
|
4380
4380
|
export interface IChartLinkTypeData extends IChartItemTypeDataBase {
|
|
4381
4381
|
}
|
|
4382
|
+
/**
|
|
4383
|
+
* A part of a label that consists of a property type.
|
|
4384
|
+
* @i2since 1.6
|
|
4385
|
+
*/
|
|
4386
|
+
export interface IChartPropertyLabelPartData {
|
|
4387
|
+
/**
|
|
4388
|
+
* Gets the type or id of the property whose value is used for the label part.
|
|
4389
|
+
* @i2since 1.6
|
|
4390
|
+
*/
|
|
4391
|
+
readonly propertyType: PropertyTypeSpecifier;
|
|
4392
|
+
/**
|
|
4393
|
+
* Gets the type of label part.
|
|
4394
|
+
* @i2since 1.6
|
|
4395
|
+
*/
|
|
4396
|
+
readonly type: 'chartProperty';
|
|
4397
|
+
}
|
|
4382
4398
|
/**
|
|
4383
4399
|
* A set of data for creating a label definition.
|
|
4384
4400
|
* @i2since 1.6
|
|
4385
4401
|
*/
|
|
4386
|
-
export type ILabelPartData = ILiteralLabelPart |
|
|
4402
|
+
export type ILabelPartData = ILiteralLabelPart | IChartPropertyLabelPartData | IPendingPropertyLabelPart;
|
|
4387
4403
|
/**
|
|
4388
4404
|
* A part of a label that consists of a pending custom property type.
|
|
4389
4405
|
* @i2since 1.6
|
|
@@ -4431,9 +4447,9 @@ export declare namespace schema {
|
|
|
4431
4447
|
* A set of methods for modifying a custom item type.
|
|
4432
4448
|
* @i2since 1.6
|
|
4433
4449
|
*/
|
|
4434
|
-
export interface IItemTypeEditor extends
|
|
4450
|
+
export interface IItemTypeEditor extends IPropertyTypesEditor {
|
|
4435
4451
|
/**
|
|
4436
|
-
* Indicates
|
|
4452
|
+
* Indicates whether the item type is a custom type.
|
|
4437
4453
|
* @i2since 1.6
|
|
4438
4454
|
*/
|
|
4439
4455
|
readonly isCustomType: true;
|
|
@@ -4458,12 +4474,12 @@ export declare namespace schema {
|
|
|
4458
4474
|
* A set of methods for adding and editing custom property types on schema and custom item types.
|
|
4459
4475
|
* @i2since 1.6
|
|
4460
4476
|
*/
|
|
4461
|
-
export interface
|
|
4477
|
+
export interface IPropertyTypesEditor {
|
|
4462
4478
|
/**
|
|
4463
4479
|
* Indicates whether the item type is a custom type.
|
|
4464
4480
|
* @i2since 1.6
|
|
4465
4481
|
*/
|
|
4466
|
-
isCustomType: boolean;
|
|
4482
|
+
readonly isCustomType: boolean;
|
|
4467
4483
|
/**
|
|
4468
4484
|
* Creates a custom property type that is added to the chart schema on committal.
|
|
4469
4485
|
*
|
|
@@ -4474,7 +4490,7 @@ export declare namespace schema {
|
|
|
4474
4490
|
* @returns The new, pending property type.
|
|
4475
4491
|
* @i2since 1.6
|
|
4476
4492
|
*/
|
|
4477
|
-
addPropertyType(propertyTypeTemplate: IPropertyTypeData, insertAfter?:
|
|
4493
|
+
addPropertyType(propertyTypeTemplate: IPropertyTypeData, insertAfter?: PropertyTypeSpecifier | IPendingPropertyType | null): IPendingPropertyType;
|
|
4478
4494
|
/**
|
|
4479
4495
|
* Gets an object with methods for editing a custom property type.
|
|
4480
4496
|
*
|
|
@@ -4482,7 +4498,7 @@ export declare namespace schema {
|
|
|
4482
4498
|
* @returns The type-editing object.
|
|
4483
4499
|
* @i2since 1.6
|
|
4484
4500
|
*/
|
|
4485
|
-
editPropertyType(propertyType:
|
|
4501
|
+
editPropertyType(propertyType: PropertyTypeSpecifier | IPendingPropertyType): IPropertyTypeEditor;
|
|
4486
4502
|
/**
|
|
4487
4503
|
* Gets an object with methods for editing a custom property type.
|
|
4488
4504
|
*
|
|
@@ -4493,11 +4509,6 @@ export declare namespace schema {
|
|
|
4493
4509
|
*/
|
|
4494
4510
|
editPropertyType(typeId: AnalyzePropertyTypeId, logicalType: CustomLogicalType): IPropertyTypeEditor;
|
|
4495
4511
|
}
|
|
4496
|
-
/**
|
|
4497
|
-
* A common specifier for a custom property type.
|
|
4498
|
-
* @i2since 1.6
|
|
4499
|
-
*/
|
|
4500
|
-
export type CustomPropertyTypeSpecifier = IChartPropertyType | IPendingPropertyType;
|
|
4501
4512
|
/**
|
|
4502
4513
|
* A custom property type that has been created in a transaction handler, but has not yet been added to a chart schema.
|
|
4503
4514
|
* @i2since 1.6
|
|
@@ -4535,7 +4546,7 @@ export declare namespace schema {
|
|
|
4535
4546
|
* @returns This property type editor, with the edited properties in place.
|
|
4536
4547
|
* @i2since 1.6
|
|
4537
4548
|
*/
|
|
4538
|
-
moveAfter(propertyType:
|
|
4549
|
+
moveAfter(propertyType: PropertyTypeSpecifier | IPendingPropertyType | null): this;
|
|
4539
4550
|
}
|
|
4540
4551
|
/**
|
|
4541
4552
|
* The type of a schema.
|