@mesh-sync/worker-backend-client 4.0.5 → 4.0.6
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/README.md +2 -0
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -336,6 +336,8 @@ Example: Publishing a metamodel with PLA, Resin, ABS materials creates 3 jobs.
|
|
|
336
336
|
|
|
337
337
|
- `generate360Views` (boolean) [✗]: Generate 16 angle views for 360° preview (passed to child job).
|
|
338
338
|
|
|
339
|
+
- `webhookUrl` (string) [✗]: Optional webhook URL to call when download completes. If provided, worker will POST completion status to this endpoint.
|
|
340
|
+
|
|
339
341
|
|
|
340
342
|
|
|
341
343
|
### marketplace-analytics-sync-completed
|
package/dist/types.d.ts
CHANGED
|
@@ -233,6 +233,8 @@ export interface FileDownloadRequestMessage {
|
|
|
233
233
|
previewType?: string;
|
|
234
234
|
/** Generate 16 angle views for 360° preview (passed to child job). */
|
|
235
235
|
generate360Views?: boolean;
|
|
236
|
+
/** Optional webhook URL to call when download completes. If provided, worker will POST completion status to this endpoint. */
|
|
237
|
+
webhookUrl?: string;
|
|
236
238
|
}
|
|
237
239
|
/**
|
|
238
240
|
* Contains synced analytics data for marketplace listings. Backend stores this in marketplace_analytics_snapshots table and indexes to ELK. Works with any marketplace provider.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mesh-sync/worker-backend-client",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.6",
|
|
4
4
|
"description": "Auto-generated TypeScript client for worker-backend - provides type-safe methods for enqueueing jobs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|