@3dverse/livelink.core 0.4.1 → 0.4.2
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.
|
@@ -47,6 +47,14 @@ export declare class EditorMessageHandler extends EventTarget {
|
|
|
47
47
|
entity_uuid: UUID;
|
|
48
48
|
}): Promise<Array<EditorEntity>>;
|
|
49
49
|
onFindEntitiesByEUID(data: Array<EditorEntity>): void;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
getEntity({ entity_uuid, linkage }: {
|
|
54
|
+
entity_uuid: UUID;
|
|
55
|
+
linkage: Array<UUID>;
|
|
56
|
+
}): Promise<EditorEntity | null>;
|
|
57
|
+
onGetEntity(data: EditorEntity | null): void;
|
|
50
58
|
/**
|
|
51
59
|
*
|
|
52
60
|
*/
|
|
@@ -340,6 +340,10 @@ export type Joint = Partial<{
|
|
|
340
340
|
* Lineage of the entity through linkers.
|
|
341
341
|
*/
|
|
342
342
|
export type Lineage = Partial<{
|
|
343
|
+
/**
|
|
344
|
+
* UUIDs of the hierarchy of linkers that brought this entity.
|
|
345
|
+
*/
|
|
346
|
+
readonly value: Array<UUID>;
|
|
343
347
|
/**
|
|
344
348
|
* UUID of the parent of this entity (default is root).
|
|
345
349
|
*/
|
|
@@ -153,6 +153,13 @@ export declare class LivelinkCore {
|
|
|
153
153
|
findEntitiesByEUID({ entity_uuid }: {
|
|
154
154
|
entity_uuid: UUID;
|
|
155
155
|
}): Promise<Array<EditorEntity>>;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
getEntity({ entity_uuid, linkage, }: {
|
|
160
|
+
entity_uuid: UUID;
|
|
161
|
+
linkage: Array<UUID>;
|
|
162
|
+
}): Promise<EditorEntity | null>;
|
|
156
163
|
/**
|
|
157
164
|
*
|
|
158
165
|
*/
|