@adatechnology/game-test-room 0.5.0 → 0.6.1

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/dist/index.d.ts CHANGED
@@ -62,6 +62,10 @@ interface InspectInfo {
62
62
  progress: number;
63
63
  }>;
64
64
  note?: string;
65
+ /** Thumbnail of the aimed item (`TestRoomItem.thumbnail`). */
66
+ thumbnail?: string;
67
+ /** Author and licence of the thumbnail (`TestRoomItem.thumbnailCredit`). */
68
+ thumbnailCredit?: string;
65
69
  distance: number;
66
70
  }
67
71
  interface HudState {
@@ -145,6 +149,10 @@ interface TestRoomItem {
145
149
  impl?: (root: THREE_NS.Object3D, id: string) => DestructibleImpl;
146
150
  /** Use animations the item brings (see `TestRoom.playAnimation`). Part poses move the child of the built object named after the part id. */
147
151
  animations?: AnimationClipSpec[];
152
+ /** Picture for the catalogue, the search results and the aimed-item label: an image URL or inline `<svg…>` markup (see `TestableItem.thumbnail`). */
153
+ thumbnail?: string;
154
+ /** Author and licence of the thumbnail, shown as the tooltip of the picture in the inspector. */
155
+ thumbnailCredit?: string;
148
156
  }
149
157
  interface TestRoomOptions {
150
158
  THREE: ThreeNamespace;