@dreamcomposer/engine-types 0.0.93 → 0.0.94

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreamcomposer/engine-types",
3
- "version": "0.0.93",
3
+ "version": "0.0.94",
4
4
  "description": "The type definitions for messages from and to the engine",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -53,6 +53,7 @@ import { AnnotationTagPositionChangedMessage } from "./from-engine/AnnotationTag
53
53
  import { SetAnnotationTagsMessage } from "./to-engine/SetAnnotationTagsMessage";
54
54
  import { SetCustomRequestHeaders } from "./to-engine/SetCustomRequestHeaders";
55
55
  import { SetObjectForScaleMessage } from "./to-engine/SetObjectForScaleMessage";
56
+ import { ExportSceneMessage } from "./to-engine/ExportSceneMessage";
56
57
 
57
58
  /**
58
59
  * A message sent from the engine to the embedder.
@@ -132,6 +133,7 @@ export type ToEnginePostMessage =
132
133
  | PlaceGeometryOnGroundMessage
133
134
  | SetAnnotationTagsMessage
134
135
  | SetCustomRequestHeaders
135
- | SetObjectForScaleMessage;
136
+ | SetObjectForScaleMessage
137
+ | ExportSceneMessage;
136
138
 
137
139
  export type PostMessage = FromEnginePostMessage | ToEnginePostMessage;
@@ -0,0 +1,11 @@
1
+ import { ToEngineMessage } from "../post-messages";
2
+
3
+ /**
4
+ * Exports the current scene.
5
+ */
6
+ export interface ExportSceneMessage extends ToEngineMessage<"export-scene"> {
7
+ /**
8
+ * An empty object.
9
+ */
10
+ payload: Record<string, never>;
11
+ }