@i2analyze/notebook-sdk 1.6.0-dev.2 → 1.6.0-dev.20
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 +250 -74
- package/package.json +2 -2
|
@@ -380,6 +380,11 @@ export declare namespace app {
|
|
|
380
380
|
* @i2since 1.2
|
|
381
381
|
*/
|
|
382
382
|
export type EdgeSpecifier = visual.ElementId | visual.IEdge;
|
|
383
|
+
/**
|
|
384
|
+
* A common specifier for an edge summary, for use in mutation APIs.
|
|
385
|
+
* @i2since 1.6
|
|
386
|
+
*/
|
|
387
|
+
export type EdgeSummarySpecifier = visual.ElementId | visual.IEdgeSummary;
|
|
383
388
|
/**
|
|
384
389
|
* The identifier of a record group.
|
|
385
390
|
* @i2since 1.1
|
|
@@ -498,6 +503,27 @@ export declare namespace app {
|
|
|
498
503
|
* @i2since 1.1
|
|
499
504
|
*/
|
|
500
505
|
export interface IUntrackedMutations extends IMutationsBase {
|
|
506
|
+
/**
|
|
507
|
+
* Gets an object with methods for editing the appearance of an edge summary.
|
|
508
|
+
* @param edge - The edge summary to edit.
|
|
509
|
+
* @returns The edge-summary-editing object.
|
|
510
|
+
* @i2since 1.6
|
|
511
|
+
*/
|
|
512
|
+
editEdgeSummary(edge: EdgeSummarySpecifier): IEdgeSummaryEditor;
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* A set of methods for modifying the appearance of an edge summary.
|
|
516
|
+
* @i2since 1.6
|
|
517
|
+
*/
|
|
518
|
+
export interface IEdgeSummaryEditor {
|
|
519
|
+
/**
|
|
520
|
+
* Sets or resets the label of the edge summary.
|
|
521
|
+
*
|
|
522
|
+
* @param label - The label to set, or `undefined` to reset the label to the default.
|
|
523
|
+
* @returns The edge summary, with its label set to the specified value.
|
|
524
|
+
* @i2since 1.6
|
|
525
|
+
*/
|
|
526
|
+
setLabel(label: string | undefined): this;
|
|
501
527
|
}
|
|
502
528
|
/**
|
|
503
529
|
* A set of methods for modifying the contents of a record.
|
|
@@ -953,29 +979,29 @@ export declare namespace app {
|
|
|
953
979
|
*/
|
|
954
980
|
removeSelectedRecords(): void;
|
|
955
981
|
/**
|
|
956
|
-
* Creates
|
|
982
|
+
* Creates a custom entity type that is added to the chart on committal.
|
|
957
983
|
*
|
|
958
|
-
* @param typeTemplate - The data
|
|
984
|
+
* @param typeTemplate - The data for creating the custom entity type.
|
|
959
985
|
* @returns The new, pending item type.
|
|
960
986
|
* @i2since 1.6
|
|
961
987
|
*/
|
|
962
988
|
addEntityType(typeTemplate: schema.IChartEntityTypeData): schema.IPendingItemType;
|
|
963
989
|
/**
|
|
964
|
-
* Creates a link type.
|
|
990
|
+
* Creates a custom link type that is added to the chart on committal.
|
|
965
991
|
*
|
|
966
|
-
* @param typeTemplate - The data
|
|
992
|
+
* @param typeTemplate - The data for creating the custom link type.
|
|
967
993
|
* @returns The new, pending item type.
|
|
968
994
|
* @i2since 1.6
|
|
969
995
|
*/
|
|
970
996
|
addLinkType(typeTemplate: schema.IChartLinkTypeData): schema.IPendingItemType;
|
|
971
997
|
/**
|
|
972
|
-
* Gets an object with methods for editing
|
|
998
|
+
* Gets an object with methods for editing a schema or custom item type.
|
|
973
999
|
*
|
|
974
|
-
* @param itemType - The type to be edited.
|
|
975
|
-
* @returns The type-editing object
|
|
1000
|
+
* @param itemType - The item type to be edited.
|
|
1001
|
+
* @returns The type-editing object.
|
|
976
1002
|
* @i2since 1.6
|
|
977
1003
|
*/
|
|
978
|
-
editItemType(itemType: schema.ItemTypeSpecifier): schema.IItemTypeEditor;
|
|
1004
|
+
editItemType(itemType: schema.ItemTypeSpecifier): schema.IItemTypeEditor | schema.IPropertyTypesEditor;
|
|
979
1005
|
}
|
|
980
1006
|
/**
|
|
981
1007
|
* A collection of elements and records that together represent a selection on the chart surface.
|
|
@@ -1373,6 +1399,11 @@ export declare namespace chart {
|
|
|
1373
1399
|
* @i2since 1.0
|
|
1374
1400
|
*/
|
|
1375
1401
|
readonly edges: data.IKeyedReadOnlyCollection<visual.ElementId, visual.IEdge>;
|
|
1402
|
+
/**
|
|
1403
|
+
* Gets all the edge summaries in the chart.
|
|
1404
|
+
* @i2since 1.6
|
|
1405
|
+
*/
|
|
1406
|
+
readonly edgeSummaries: data.IKeyedReadOnlyCollection<visual.ElementId, visual.IEdgeSummary>;
|
|
1376
1407
|
/**
|
|
1377
1408
|
* Gets all the records in the chart.
|
|
1378
1409
|
* @i2since 1.0
|
|
@@ -1512,6 +1543,27 @@ export declare namespace chart {
|
|
|
1512
1543
|
*/
|
|
1513
1544
|
readonly removed: data.IReadOnlyCollection<records.AnalyzeRecordId>;
|
|
1514
1545
|
};
|
|
1546
|
+
/**
|
|
1547
|
+
* Gets the {@link visual.IEdgeSummary | edge summaries} that changed.
|
|
1548
|
+
* @i2since 1.6
|
|
1549
|
+
*/
|
|
1550
|
+
readonly edgeSummaries: {
|
|
1551
|
+
/**
|
|
1552
|
+
* Gets the edge summaries that were added.
|
|
1553
|
+
* @i2since 1.6
|
|
1554
|
+
*/
|
|
1555
|
+
readonly added: data.IReadOnlyCollection<visual.IEdgeSummary>;
|
|
1556
|
+
/**
|
|
1557
|
+
* Gets the edge summaries that were changed.
|
|
1558
|
+
* @i2since 1.6
|
|
1559
|
+
*/
|
|
1560
|
+
readonly changed: data.IReadOnlyCollection<visual.IEdgeSummary>;
|
|
1561
|
+
/**
|
|
1562
|
+
* Gets the identifiers of the edge summaries that were removed.
|
|
1563
|
+
* @i2since 1.6
|
|
1564
|
+
*/
|
|
1565
|
+
readonly removed: data.IReadOnlyCollection<visual.ElementId>;
|
|
1566
|
+
};
|
|
1515
1567
|
}
|
|
1516
1568
|
/**
|
|
1517
1569
|
* A change to the data in a chart in i2 Notebook.
|
|
@@ -2377,11 +2429,21 @@ export declare namespace commands {
|
|
|
2377
2429
|
* @i2since 1.3
|
|
2378
2430
|
*/
|
|
2379
2431
|
readonly shareRecords: CommandId;
|
|
2432
|
+
/**
|
|
2433
|
+
* Gets the identifier of the system command that toggles the charting preferences UI.
|
|
2434
|
+
* @i2since 1.6
|
|
2435
|
+
*/
|
|
2436
|
+
readonly toggleChartingPreferences: CommandId;
|
|
2380
2437
|
/**
|
|
2381
2438
|
* Gets the identifier of the system command that toggles the Expand-with-conditions UI.
|
|
2382
2439
|
* @i2since 1.0
|
|
2383
2440
|
*/
|
|
2384
2441
|
readonly toggleExpand: CommandId;
|
|
2442
|
+
/**
|
|
2443
|
+
* Gets the identifier of the system command that toggles the explore selection UI.
|
|
2444
|
+
* @i2since 1.6
|
|
2445
|
+
*/
|
|
2446
|
+
readonly toggleExplore: CommandId;
|
|
2385
2447
|
/**
|
|
2386
2448
|
* Gets the identifier of the system command that toggles the External Searches UI.
|
|
2387
2449
|
* @i2since 1.0
|
|
@@ -2397,7 +2459,8 @@ export declare namespace commands {
|
|
|
2397
2459
|
* @i2since 1.1
|
|
2398
2460
|
*/
|
|
2399
2461
|
readonly toggleMap: CommandId;
|
|
2400
|
-
/**
|
|
2462
|
+
/**
|
|
2463
|
+
* Gets the identifier of the system command that toggles the palette UI.
|
|
2401
2464
|
* @i2since 1.6
|
|
2402
2465
|
*/
|
|
2403
2466
|
readonly togglePalette: CommandId;
|
|
@@ -2426,6 +2489,11 @@ export declare namespace commands {
|
|
|
2426
2489
|
* @i2since 1.0
|
|
2427
2490
|
*/
|
|
2428
2491
|
readonly undo: CommandId;
|
|
2492
|
+
/**
|
|
2493
|
+
* Gets the identifier of the system command that allows users to download records in Excel format.
|
|
2494
|
+
* @i2since 1.6
|
|
2495
|
+
*/
|
|
2496
|
+
readonly downloadRecords: CommandId;
|
|
2429
2497
|
}
|
|
2430
2498
|
/**
|
|
2431
2499
|
* A lookup table for the identifiers of the system action groups in the Home tab.
|
|
@@ -2488,6 +2556,11 @@ export declare namespace commands {
|
|
|
2488
2556
|
* @i2since 1.2
|
|
2489
2557
|
*/
|
|
2490
2558
|
readonly select: GroupId;
|
|
2559
|
+
/**
|
|
2560
|
+
* Gets the identifier of the system action group related to publishing (sharing and downloading) records.
|
|
2561
|
+
* @i2since 1.6
|
|
2562
|
+
*/
|
|
2563
|
+
readonly publish: GroupId;
|
|
2491
2564
|
}
|
|
2492
2565
|
/**
|
|
2493
2566
|
* A lookup table for the identifiers of the system action groups in the chart pop-up menu.
|
|
@@ -4064,6 +4137,11 @@ export declare namespace schema {
|
|
|
4064
4137
|
* @i2since 1.0
|
|
4065
4138
|
*/
|
|
4066
4139
|
readonly sourceIdentifiersSchema: ISourceIdentifiersSchema;
|
|
4140
|
+
/**
|
|
4141
|
+
* Gets the maximum length for the names of custom types.
|
|
4142
|
+
* @i2since 1.6
|
|
4143
|
+
*/
|
|
4144
|
+
readonly maxCustomTypeNameLength: data.ICharLimit;
|
|
4067
4145
|
}
|
|
4068
4146
|
/**
|
|
4069
4147
|
* A schema for source identifiers, which places constraints on their use.
|
|
@@ -4187,7 +4265,7 @@ export declare namespace schema {
|
|
|
4187
4265
|
readonly type: 'literal';
|
|
4188
4266
|
}
|
|
4189
4267
|
/**
|
|
4190
|
-
* A part of a label that consists of a property
|
|
4268
|
+
* A part of a label that consists of a property value.
|
|
4191
4269
|
* @i2since 1.0
|
|
4192
4270
|
*/
|
|
4193
4271
|
export interface IChartPropertyLabelPart {
|
|
@@ -4295,10 +4373,10 @@ export declare namespace schema {
|
|
|
4295
4373
|
*/
|
|
4296
4374
|
readonly isInfoStore: boolean;
|
|
4297
4375
|
/**
|
|
4298
|
-
* Indicates whether the item type is custom type.
|
|
4376
|
+
* Indicates whether the item type is a custom type.
|
|
4299
4377
|
* @i2since 1.6
|
|
4300
4378
|
*/
|
|
4301
|
-
readonly
|
|
4379
|
+
readonly isCustom: boolean;
|
|
4302
4380
|
/**
|
|
4303
4381
|
* Gets the label definition for the item type, which describes how record labels are formed.
|
|
4304
4382
|
* @i2since 1.0
|
|
@@ -4337,58 +4415,95 @@ export declare namespace schema {
|
|
|
4337
4415
|
readonly name?: string;
|
|
4338
4416
|
}
|
|
4339
4417
|
/**
|
|
4340
|
-
* A set of data
|
|
4418
|
+
* A set of data that is common to creating all custom item types.
|
|
4341
4419
|
* @i2since 1.6
|
|
4342
4420
|
*/
|
|
4343
|
-
export interface
|
|
4421
|
+
export interface IChartItemTypeDataBase {
|
|
4344
4422
|
/**
|
|
4345
|
-
* Gets
|
|
4423
|
+
* Gets the display name for the custom item type.
|
|
4346
4424
|
* @i2since 1.6
|
|
4347
4425
|
*/
|
|
4348
4426
|
readonly displayName: string;
|
|
4349
4427
|
/**
|
|
4350
|
-
* Gets
|
|
4428
|
+
* Gets the property types for the custom item type.
|
|
4351
4429
|
* @i2since 1.6
|
|
4352
4430
|
*/
|
|
4353
4431
|
readonly propertyTypes?: Iterable<IPropertyTypeData>;
|
|
4354
4432
|
/**
|
|
4355
|
-
* Gets
|
|
4433
|
+
* Gets the label definition for the custom item type.
|
|
4356
4434
|
* @i2since 1.6
|
|
4357
4435
|
*/
|
|
4358
|
-
readonly labelDefinition?: Iterable<
|
|
4436
|
+
readonly labelDefinition?: Iterable<ILabelPartData>;
|
|
4359
4437
|
}
|
|
4360
4438
|
/**
|
|
4361
|
-
* A set of data for creating
|
|
4439
|
+
* A set of data for creating a custom entity type.
|
|
4362
4440
|
* @i2since 1.6
|
|
4363
4441
|
*/
|
|
4364
|
-
export interface IChartEntityTypeData extends
|
|
4442
|
+
export interface IChartEntityTypeData extends IChartItemTypeDataBase {
|
|
4365
4443
|
/**
|
|
4366
|
-
* Gets
|
|
4444
|
+
* Gets the name of the icon for the custom entity type.
|
|
4367
4445
|
* @i2since 1.6
|
|
4368
4446
|
*/
|
|
4369
4447
|
readonly icon: string;
|
|
4370
4448
|
}
|
|
4371
4449
|
/**
|
|
4372
|
-
* A set of data for creating a link type.
|
|
4450
|
+
* A set of data for creating a custom link type.
|
|
4373
4451
|
* @i2since 1.6
|
|
4374
4452
|
*/
|
|
4375
|
-
export interface IChartLinkTypeData extends
|
|
4453
|
+
export interface IChartLinkTypeData extends IChartItemTypeDataBase {
|
|
4376
4454
|
}
|
|
4377
4455
|
/**
|
|
4378
|
-
* A set of data for creating a property
|
|
4456
|
+
* A set of data for creating a part of a label from a property value.
|
|
4457
|
+
* @i2since 1.6
|
|
4458
|
+
*/
|
|
4459
|
+
export interface IChartPropertyLabelPartData {
|
|
4460
|
+
/**
|
|
4461
|
+
* Gets the type of the property whose value is to be used for the label part.
|
|
4462
|
+
* @i2since 1.6
|
|
4463
|
+
*/
|
|
4464
|
+
readonly propertyType: IChartPropertyType;
|
|
4465
|
+
/**
|
|
4466
|
+
* Gets the type of label part.
|
|
4467
|
+
* @i2since 1.6
|
|
4468
|
+
*/
|
|
4469
|
+
readonly type: 'chartProperty';
|
|
4470
|
+
}
|
|
4471
|
+
/**
|
|
4472
|
+
* A set of data for creating a label definition.
|
|
4473
|
+
* @i2since 1.6
|
|
4474
|
+
*/
|
|
4475
|
+
export type ILabelPartData = ILiteralLabelPart | IChartPropertyLabelPartData | IPendingPropertyLabelPart;
|
|
4476
|
+
/**
|
|
4477
|
+
* A part of a label that consists of a pending custom property type.
|
|
4478
|
+
* @i2since 1.6
|
|
4479
|
+
*/
|
|
4480
|
+
export interface IPendingPropertyLabelPart {
|
|
4481
|
+
/**
|
|
4482
|
+
* Gets the type of the property whose value is used for the label part.
|
|
4483
|
+
* @i2since 1.6
|
|
4484
|
+
*/
|
|
4485
|
+
readonly propertyType: IPendingPropertyType;
|
|
4486
|
+
/**
|
|
4487
|
+
* Gets the type of label part.
|
|
4488
|
+
* @i2since 1.6
|
|
4489
|
+
*/
|
|
4490
|
+
readonly type: 'chartProperty';
|
|
4491
|
+
}
|
|
4492
|
+
/**
|
|
4493
|
+
* A set of data for creating a custom property type.
|
|
4379
4494
|
* @i2since 1.6
|
|
4380
4495
|
*/
|
|
4381
4496
|
export interface IPropertyTypeData {
|
|
4382
4497
|
/**
|
|
4383
|
-
* Gets
|
|
4498
|
+
* Gets the display name of the custom property type.
|
|
4384
4499
|
* @i2since 1.6
|
|
4385
4500
|
*/
|
|
4386
4501
|
readonly displayName: string;
|
|
4387
4502
|
/**
|
|
4388
|
-
* Gets
|
|
4503
|
+
* Gets the logical type of the custom property type.
|
|
4389
4504
|
* @i2since 1.6
|
|
4390
4505
|
*/
|
|
4391
|
-
readonly logicalType:
|
|
4506
|
+
readonly logicalType: CustomLogicalType;
|
|
4392
4507
|
}
|
|
4393
4508
|
/**
|
|
4394
4509
|
* An item type that has been created in a transaction handler, but has not yet been added to a chart's schema.
|
|
@@ -4399,90 +4514,111 @@ export declare namespace schema {
|
|
|
4399
4514
|
* Gets the identifier of the item type.
|
|
4400
4515
|
* @i2since 1.6
|
|
4401
4516
|
*/
|
|
4402
|
-
readonly
|
|
4517
|
+
readonly typeId: AnalyzeItemTypeId;
|
|
4403
4518
|
}
|
|
4404
4519
|
/**
|
|
4405
|
-
* A set of methods for modifying
|
|
4520
|
+
* A set of methods for modifying a custom item type.
|
|
4406
4521
|
* @i2since 1.6
|
|
4407
4522
|
*/
|
|
4408
|
-
export interface IItemTypeEditor extends
|
|
4523
|
+
export interface IItemTypeEditor extends IPropertyTypesEditor {
|
|
4409
4524
|
/**
|
|
4410
|
-
*
|
|
4525
|
+
* Indicates whether the item type is a custom type.
|
|
4411
4526
|
* @i2since 1.6
|
|
4412
4527
|
*/
|
|
4413
|
-
readonly
|
|
4528
|
+
readonly isCustomItemType: true;
|
|
4414
4529
|
/**
|
|
4415
|
-
* Sets the
|
|
4530
|
+
* Sets the display name of the item type.
|
|
4416
4531
|
*
|
|
4417
|
-
* @param
|
|
4418
|
-
* @returns This item type
|
|
4532
|
+
* @param displayName - The display name to set.
|
|
4533
|
+
* @returns This item type, with the new display name in place.
|
|
4419
4534
|
* @i2since 1.6
|
|
4420
4535
|
*/
|
|
4421
|
-
setDisplayName(
|
|
4536
|
+
setDisplayName(displayName: string): this;
|
|
4422
4537
|
/**
|
|
4423
|
-
* Sets the
|
|
4424
|
-
*
|
|
4425
|
-
* @
|
|
4538
|
+
* Sets the label definition of the item type.
|
|
4539
|
+
*
|
|
4540
|
+
* @param labelDefinition - The label definition to set.
|
|
4541
|
+
* @returns This item type, with the new label definition in place.
|
|
4426
4542
|
* @i2since 1.6
|
|
4427
4543
|
*/
|
|
4428
|
-
setLabelDefinition(labelDefinition: Iterable<
|
|
4544
|
+
setLabelDefinition(labelDefinition: Iterable<ILabelPartData>): this;
|
|
4429
4545
|
}
|
|
4430
4546
|
/**
|
|
4431
|
-
* A set of methods
|
|
4547
|
+
* A set of methods for adding and modifying custom property types on schema and custom item types.
|
|
4432
4548
|
* @i2since 1.6
|
|
4433
4549
|
*/
|
|
4434
|
-
export interface
|
|
4550
|
+
export interface IPropertyTypesEditor {
|
|
4435
4551
|
/**
|
|
4436
|
-
* Indicates the type is a custom type
|
|
4552
|
+
* Indicates whether the item type is a custom type.
|
|
4437
4553
|
* @i2since 1.6
|
|
4438
4554
|
*/
|
|
4439
|
-
|
|
4555
|
+
readonly isCustomItemType: boolean;
|
|
4440
4556
|
/**
|
|
4441
|
-
* Creates a property type.
|
|
4557
|
+
* Creates a custom property type that is added to the chart schema on committal.
|
|
4442
4558
|
*
|
|
4443
|
-
* @param
|
|
4559
|
+
* @param propertyTypeData - The data for creating the custom property type.
|
|
4560
|
+
* @param insertAfter - The existing property type to insert the new property type after.
|
|
4561
|
+
* If this is not provided, the new property type is added at the end of the list.
|
|
4562
|
+
* If this is null, the new property type is added at the beginning of the list.
|
|
4444
4563
|
* @returns The new, pending property type.
|
|
4445
4564
|
* @i2since 1.6
|
|
4446
4565
|
*/
|
|
4447
|
-
addPropertyType(
|
|
4566
|
+
addPropertyType(propertyTypeData: IPropertyTypeData, insertAfter?: IChartPropertyType | IPendingPropertyType | null): IPendingPropertyType;
|
|
4448
4567
|
/**
|
|
4449
|
-
* Gets an object with methods for editing a property type.
|
|
4568
|
+
* Gets an object with methods for editing a custom property type.
|
|
4450
4569
|
*
|
|
4451
|
-
* @param propertyType - The
|
|
4452
|
-
* @returns The
|
|
4570
|
+
* @param propertyType - The custom property type to be edited.
|
|
4571
|
+
* @returns The type-editing object.
|
|
4572
|
+
* @i2since 1.6
|
|
4573
|
+
*/
|
|
4574
|
+
editPropertyType(propertyType: IChartPropertyType | IPendingPropertyType): IPropertyTypeEditor;
|
|
4575
|
+
/**
|
|
4576
|
+
* Gets an object with methods for editing a custom property type.
|
|
4577
|
+
*
|
|
4578
|
+
* @param typeId - The identifier of the property type to be edited.
|
|
4579
|
+
* @param logicalType - The logical type of the property type to be edited.
|
|
4580
|
+
* @returns The type-editing object.
|
|
4453
4581
|
* @i2since 1.6
|
|
4454
4582
|
*/
|
|
4455
|
-
editPropertyType(
|
|
4583
|
+
editPropertyType(typeId: AnalyzePropertyTypeId, logicalType: CustomLogicalType): IPropertyTypeEditor;
|
|
4456
4584
|
}
|
|
4457
4585
|
/**
|
|
4458
|
-
* A
|
|
4459
|
-
* @i2since 1.6
|
|
4460
|
-
*/
|
|
4461
|
-
export type CustomPropertyTypeSpecifier = IChartPropertyType | IPendingPropertyType | AnalyzePropertyTypeId;
|
|
4462
|
-
/**
|
|
4463
|
-
* A property type that has been created in a transaction handler, but has not yet been added to a chart's schema.
|
|
4586
|
+
* A custom property type that has been created in a transaction handler, but has not yet been added to a chart schema.
|
|
4464
4587
|
* @i2since 1.6
|
|
4465
4588
|
*/
|
|
4466
4589
|
export interface IPendingPropertyType extends IPropertyTypeEditor {
|
|
4467
4590
|
/**
|
|
4468
|
-
* Gets identifier of
|
|
4591
|
+
* Gets or sets the identifier of the property type.
|
|
4469
4592
|
* @i2since 1.6
|
|
4470
4593
|
*/
|
|
4471
|
-
|
|
4594
|
+
typeId: AnalyzePropertyTypeId;
|
|
4595
|
+
/**
|
|
4596
|
+
* Gets or sets the logical type of the property type.
|
|
4597
|
+
* @i2since 1.6
|
|
4598
|
+
*/
|
|
4599
|
+
logicalType: CustomLogicalType;
|
|
4472
4600
|
}
|
|
4473
4601
|
/**
|
|
4474
|
-
* A set of methods for modifying
|
|
4602
|
+
* A set of methods for modifying a custom property type.
|
|
4475
4603
|
* @i2since 1.6
|
|
4476
4604
|
*/
|
|
4477
4605
|
export interface IPropertyTypeEditor {
|
|
4478
4606
|
/**
|
|
4479
|
-
* Sets the
|
|
4607
|
+
* Sets the display name of the property type.
|
|
4608
|
+
*
|
|
4609
|
+
* @param displayName - The display name to set.
|
|
4610
|
+
* @returns This property type, with the new display name in place.
|
|
4611
|
+
* @i2since 1.6
|
|
4612
|
+
*/
|
|
4613
|
+
setDisplayName(displayName: string): this;
|
|
4614
|
+
/**
|
|
4615
|
+
* Moves the property type after the specified property type in the item type's list.
|
|
4480
4616
|
*
|
|
4481
|
-
* @param
|
|
4482
|
-
* @returns This property type
|
|
4617
|
+
* @param propertyType - The property type to move the property type after, or null to move it to the beginning of the list.
|
|
4618
|
+
* @returns This property type, in its new position.
|
|
4483
4619
|
* @i2since 1.6
|
|
4484
4620
|
*/
|
|
4485
|
-
|
|
4621
|
+
moveAfter(propertyType: IChartPropertyType | IPendingPropertyType | null): this;
|
|
4486
4622
|
}
|
|
4487
4623
|
/**
|
|
4488
4624
|
* The type of a schema.
|
|
@@ -4490,11 +4626,11 @@ export declare namespace schema {
|
|
|
4490
4626
|
*
|
|
4491
4627
|
* @remarks
|
|
4492
4628
|
* The possible values are:
|
|
4493
|
-
*
|
|
4494
|
-
*
|
|
4495
|
-
*
|
|
4496
|
-
*
|
|
4497
|
-
*
|
|
4629
|
+
* `infostore` - The Information Store schema.
|
|
4630
|
+
* `gateway` - A gateway schema.
|
|
4631
|
+
* `connector` - A connector schema.
|
|
4632
|
+
* `unknown` - An unknown schema, which can denote an orphaned item type.
|
|
4633
|
+
* `custom` - A schema that contains user-created types.
|
|
4498
4634
|
*/
|
|
4499
4635
|
export type SchemaType = 'infostore' | 'gateway' | 'connector' | 'unknown' | 'custom';
|
|
4500
4636
|
/**
|
|
@@ -4563,10 +4699,10 @@ export declare namespace schema {
|
|
|
4563
4699
|
*/
|
|
4564
4700
|
readonly isOrphaned: boolean;
|
|
4565
4701
|
/**
|
|
4566
|
-
* Indicates whether the property type is custom type.
|
|
4702
|
+
* Indicates whether the property type is a custom type.
|
|
4567
4703
|
* @i2since 1.6
|
|
4568
4704
|
*/
|
|
4569
|
-
readonly
|
|
4705
|
+
readonly isCustom: boolean;
|
|
4570
4706
|
/**
|
|
4571
4707
|
* Gets the maximum string length for the value of a property that has the property type.
|
|
4572
4708
|
*
|
|
@@ -4612,11 +4748,10 @@ export declare namespace schema {
|
|
|
4612
4748
|
readonly description?: string;
|
|
4613
4749
|
}
|
|
4614
4750
|
/**
|
|
4615
|
-
* A logical type for the value of a custom property.
|
|
4751
|
+
* A logical type for the value of a custom record property.
|
|
4616
4752
|
* @i2since 1.6
|
|
4617
4753
|
*/
|
|
4618
|
-
export
|
|
4619
|
-
}
|
|
4754
|
+
export type CustomLogicalType = Omit<data.LogicalType, 'selectedFromList' | 'suggestedFromList'>;
|
|
4620
4755
|
/**
|
|
4621
4756
|
* A schema for notes, which places constraints on their use.
|
|
4622
4757
|
* @i2since 1.0
|
|
@@ -4779,6 +4914,11 @@ export declare namespace schema {
|
|
|
4779
4914
|
* @i2since 1.5
|
|
4780
4915
|
*/
|
|
4781
4916
|
readonly changedTypes: data.IReadOnlyCollection<IChartItemType>;
|
|
4917
|
+
/**
|
|
4918
|
+
* Gets the identifiers of the item types that were removed from the schema.
|
|
4919
|
+
* @i2since 1.6
|
|
4920
|
+
*/
|
|
4921
|
+
readonly removedTypes: data.IReadOnlyCollection<ChartItemTypeId>;
|
|
4782
4922
|
}
|
|
4783
4923
|
}
|
|
4784
4924
|
|
|
@@ -5343,6 +5483,42 @@ export declare namespace visual {
|
|
|
5343
5483
|
*/
|
|
5344
5484
|
readonly bottomRight: IPosition;
|
|
5345
5485
|
}
|
|
5486
|
+
/**
|
|
5487
|
+
* An edge summary, which is a collection of edges that share the same 'from' and 'to' nodes and link type.
|
|
5488
|
+
* @i2since 1.6
|
|
5489
|
+
*/
|
|
5490
|
+
export interface IEdgeSummary {
|
|
5491
|
+
/**
|
|
5492
|
+
* Gets the identifier of the edge summary.
|
|
5493
|
+
* @i2since 1.6
|
|
5494
|
+
*/
|
|
5495
|
+
readonly id: ElementId;
|
|
5496
|
+
/**
|
|
5497
|
+
* Gets the node at the 'from' end of the edge summary.
|
|
5498
|
+
* @i2since 1.6
|
|
5499
|
+
*/
|
|
5500
|
+
readonly fromEnd: INode;
|
|
5501
|
+
/**
|
|
5502
|
+
* Gets the node at the 'to' end of the edge summary.
|
|
5503
|
+
* @i2since 1.6
|
|
5504
|
+
*/
|
|
5505
|
+
readonly toEnd: INode;
|
|
5506
|
+
/**
|
|
5507
|
+
* Gets the link type of the edges in the edge summary.
|
|
5508
|
+
* @i2since 1.6
|
|
5509
|
+
*/
|
|
5510
|
+
readonly linkType: schema.IChartLinkType;
|
|
5511
|
+
/**
|
|
5512
|
+
* Gets the label of the edge summary, or undefined if there is no explicit label.
|
|
5513
|
+
* @i2since 1.6
|
|
5514
|
+
*/
|
|
5515
|
+
readonly label: string | undefined;
|
|
5516
|
+
/**
|
|
5517
|
+
* Gets the edges in the edge summary.
|
|
5518
|
+
* @i2since 1.6
|
|
5519
|
+
*/
|
|
5520
|
+
readonly edges: data.IKeyedReadOnlyCollection<ElementId, IEdge>;
|
|
5521
|
+
}
|
|
5346
5522
|
}
|
|
5347
5523
|
|
|
5348
5524
|
export { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@i2analyze/notebook-sdk",
|
|
3
|
-
"version": "1.6.0-dev.
|
|
3
|
+
"version": "1.6.0-dev.20",
|
|
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/eslint-config": "^13.0.0",
|
|
16
|
-
"@ibmi2/webui-lerna-build-scripts": "^
|
|
16
|
+
"@ibmi2/webui-lerna-build-scripts": "^6.0.1",
|
|
17
17
|
"@microsoft/api-documenter": "7.19.28",
|
|
18
18
|
"@microsoft/api-extractor": "7.33.8",
|
|
19
19
|
"concurrently": "^7.3.0",
|