clhq-websocket-module 0.0.2-alpha.1 → 1.1.0-alpha.111
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 +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +34 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -32,3 +32,37 @@ export interface RenderStatusPayload {
|
|
|
32
32
|
resultUrl?: string;
|
|
33
33
|
error?: string;
|
|
34
34
|
}
|
|
35
|
+
export interface SceneGenerationStartedPayload {
|
|
36
|
+
projectId: string;
|
|
37
|
+
jobId: string;
|
|
38
|
+
totalScenes: number;
|
|
39
|
+
intervalSeconds: number;
|
|
40
|
+
}
|
|
41
|
+
export interface SceneGenerationProgressPayload {
|
|
42
|
+
projectId: string;
|
|
43
|
+
jobId: string;
|
|
44
|
+
completedScenes: number;
|
|
45
|
+
totalScenes: number;
|
|
46
|
+
progress: number;
|
|
47
|
+
currentTimestamp: number;
|
|
48
|
+
latestSceneUrl?: string;
|
|
49
|
+
}
|
|
50
|
+
export interface SceneGenerationCompletedPayload {
|
|
51
|
+
projectId: string;
|
|
52
|
+
jobId: string;
|
|
53
|
+
totalScenes: number;
|
|
54
|
+
successfulScenes: number;
|
|
55
|
+
failedScenes: number;
|
|
56
|
+
scenes: Array<{
|
|
57
|
+
timestamp: number;
|
|
58
|
+
url: string;
|
|
59
|
+
}>;
|
|
60
|
+
processingTimeMs: number;
|
|
61
|
+
}
|
|
62
|
+
export interface SceneGenerationFailedPayload {
|
|
63
|
+
projectId: string;
|
|
64
|
+
jobId: string;
|
|
65
|
+
error: string;
|
|
66
|
+
completedScenes: number;
|
|
67
|
+
totalScenes: number;
|
|
68
|
+
}
|