@i2analyze/notebook-sdk 1.3.0-dev.7 → 1.3.0-dev.9
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 +29 -11
- package/package.json +1 -1
|
@@ -1327,6 +1327,21 @@ export declare namespace chart {
|
|
|
1327
1327
|
* @i2since 1.0
|
|
1328
1328
|
*/
|
|
1329
1329
|
readonly selection: ISelection;
|
|
1330
|
+
/**
|
|
1331
|
+
* Gets all the entity types in use on the chart.
|
|
1332
|
+
* @i2since 1.3
|
|
1333
|
+
*/
|
|
1334
|
+
readonly entityTypes: data.IKeyedReadOnlyCollection<schema.ChartItemTypeId, schema.IChartEntityType>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Gets all the link types in use on the chart.
|
|
1337
|
+
* @i2since 1.3
|
|
1338
|
+
*/
|
|
1339
|
+
readonly linkTypes: data.IKeyedReadOnlyCollection<schema.ChartItemTypeId, schema.IChartLinkType>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Gets all the entity types and link types in use on the chart.
|
|
1342
|
+
* @i2since 1.3
|
|
1343
|
+
*/
|
|
1344
|
+
readonly itemTypes: data.IKeyedReadOnlyCollection<schema.ChartItemTypeId, schema.IChartItemType>;
|
|
1330
1345
|
/**
|
|
1331
1346
|
* Fetches property values from the server of the specified types for the specified records, if they have not previously been fetched.
|
|
1332
1347
|
*
|
|
@@ -1343,17 +1358,13 @@ export declare namespace chart {
|
|
|
1343
1358
|
*/
|
|
1344
1359
|
ensurePropertiesFetched(records: app.RecordSpecifier | Iterable<app.RecordSpecifier>, propertyTypes: schema.PropertyTypeSpecifier | Iterable<schema.PropertyTypeSpecifier>, signal?: AbortSignal): Promise<void>;
|
|
1345
1360
|
/**
|
|
1346
|
-
* Gets records
|
|
1347
|
-
*
|
|
1348
|
-
* @remarks
|
|
1349
|
-
* When record type is specified, the function returns only the record of that type, grouped accordingly.
|
|
1350
|
-
* If no record type is specified, all record types on the chart are returned.
|
|
1361
|
+
* Gets all the records in the chart that have the specified item type.
|
|
1351
1362
|
*
|
|
1352
|
-
* @param
|
|
1353
|
-
* @returns A collection of records
|
|
1363
|
+
* @param itemType - The chart item type of the records to retrieve.
|
|
1364
|
+
* @returns A collection of records that might be empty if the chart contains no records of the specified type.
|
|
1354
1365
|
* @i2since 1.3
|
|
1355
1366
|
*/
|
|
1356
|
-
|
|
1367
|
+
getRecordsOfType(itemType: schema.ChartItemTypeSpecifier): data.IReadOnlyCollection<records.IChartRecord>;
|
|
1357
1368
|
}
|
|
1358
1369
|
/**
|
|
1359
1370
|
* A change that has occurred to the data in a chart.
|
|
@@ -2778,6 +2789,13 @@ export declare namespace data {
|
|
|
2778
2789
|
* @i2since 1.0
|
|
2779
2790
|
*/
|
|
2780
2791
|
export interface IKeyedReadOnlyCollection<K, V> extends IReadOnlyCollection<V> {
|
|
2792
|
+
/**
|
|
2793
|
+
* Retrieves an iterator over all the objects in the collection.
|
|
2794
|
+
*
|
|
2795
|
+
* @returns An iterable collection in which the keys are of type `K` and the values are of type `V`.
|
|
2796
|
+
* @i2since 1.3
|
|
2797
|
+
*/
|
|
2798
|
+
entries(): Iterable<[K, V]>;
|
|
2781
2799
|
/**
|
|
2782
2800
|
* Retrieves the object associated with the specified key.
|
|
2783
2801
|
*
|
|
@@ -3758,10 +3776,10 @@ export declare namespace schema {
|
|
|
3758
3776
|
*/
|
|
3759
3777
|
export type AnalyzeItemTypeId = string;
|
|
3760
3778
|
/**
|
|
3761
|
-
* A common specifier for a
|
|
3779
|
+
* A common specifier for a chart item type.
|
|
3762
3780
|
* @i2since 1.3
|
|
3763
3781
|
*/
|
|
3764
|
-
export type
|
|
3782
|
+
export type ChartItemTypeSpecifier = ChartItemTypeId | IChartItemType;
|
|
3765
3783
|
/**
|
|
3766
3784
|
* A set of information that is common to all item types in i2 Notebook.
|
|
3767
3785
|
* @i2since 1.0
|
|
@@ -3851,7 +3869,7 @@ export declare namespace schema {
|
|
|
3851
3869
|
*/
|
|
3852
3870
|
export type AnalyzePropertyTypeId = string;
|
|
3853
3871
|
/**
|
|
3854
|
-
* A common specifier for a property type.
|
|
3872
|
+
* A common specifier for a chart property type.
|
|
3855
3873
|
* @i2since 1.1
|
|
3856
3874
|
*/
|
|
3857
3875
|
export type PropertyTypeSpecifier = ChartPropertyTypeId | IChartPropertyType;
|