pxengine 0.1.131 → 0.1.132
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.cjs +11 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.mjs +11 -3
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3567,6 +3567,17 @@ interface PresentationJobOutput {
|
|
|
3567
3567
|
title: string;
|
|
3568
3568
|
slide_count: number;
|
|
3569
3569
|
formats: PresentationFormats;
|
|
3570
|
+
/**
|
|
3571
|
+
* Included so the consuming chat wrapper's cardData stays in sync with
|
|
3572
|
+
* whatever phase change caused `formats` to populate — its remount key
|
|
3573
|
+
* derives from these same fields, and a partial update here (formats
|
|
3574
|
+
* without status/review_status) leaves the key computation reading a
|
|
3575
|
+
* stale phase, causing an incorrect remount back to an earlier UI phase.
|
|
3576
|
+
*/
|
|
3577
|
+
status?: string;
|
|
3578
|
+
review_status?: string;
|
|
3579
|
+
generation_mode?: string;
|
|
3580
|
+
template_id?: string;
|
|
3570
3581
|
}
|
|
3571
3582
|
/** One planned slide in a deck outline (content only, no styling). */
|
|
3572
3583
|
interface DeckOutlineSlide {
|
package/dist/index.d.ts
CHANGED
|
@@ -3567,6 +3567,17 @@ interface PresentationJobOutput {
|
|
|
3567
3567
|
title: string;
|
|
3568
3568
|
slide_count: number;
|
|
3569
3569
|
formats: PresentationFormats;
|
|
3570
|
+
/**
|
|
3571
|
+
* Included so the consuming chat wrapper's cardData stays in sync with
|
|
3572
|
+
* whatever phase change caused `formats` to populate — its remount key
|
|
3573
|
+
* derives from these same fields, and a partial update here (formats
|
|
3574
|
+
* without status/review_status) leaves the key computation reading a
|
|
3575
|
+
* stale phase, causing an incorrect remount back to an earlier UI phase.
|
|
3576
|
+
*/
|
|
3577
|
+
status?: string;
|
|
3578
|
+
review_status?: string;
|
|
3579
|
+
generation_mode?: string;
|
|
3580
|
+
template_id?: string;
|
|
3570
3581
|
}
|
|
3571
3582
|
/** One planned slide in a deck outline (content only, no styling). */
|
|
3572
3583
|
interface DeckOutlineSlide {
|
package/dist/index.mjs
CHANGED
|
@@ -16456,7 +16456,11 @@ var PresentationJobCard = ({
|
|
|
16456
16456
|
onCompleteRef.current({
|
|
16457
16457
|
title: newTitle,
|
|
16458
16458
|
slide_count: newSlideCount,
|
|
16459
|
-
formats: newFormats
|
|
16459
|
+
formats: newFormats,
|
|
16460
|
+
status: newStatus,
|
|
16461
|
+
review_status: output.review_status,
|
|
16462
|
+
generation_mode: output.generation_mode,
|
|
16463
|
+
template_id: output.template_id
|
|
16460
16464
|
});
|
|
16461
16465
|
}
|
|
16462
16466
|
}
|
|
@@ -16501,10 +16505,14 @@ var PresentationJobCard = ({
|
|
|
16501
16505
|
onCompleteRef.current({
|
|
16502
16506
|
title: out.title ?? title,
|
|
16503
16507
|
slide_count: out.slide_count ?? slideCount,
|
|
16504
|
-
formats: out.formats ?? formats
|
|
16508
|
+
formats: out.formats ?? formats,
|
|
16509
|
+
status: "complete",
|
|
16510
|
+
review_status: out.review_status || "pending_review",
|
|
16511
|
+
generation_mode: out.generation_mode ?? generationMode,
|
|
16512
|
+
template_id: out.template_id ?? templateId
|
|
16505
16513
|
});
|
|
16506
16514
|
}
|
|
16507
|
-
}, [title, slideCount, formats]);
|
|
16515
|
+
}, [title, slideCount, formats, generationMode, templateId]);
|
|
16508
16516
|
const refetchSourceAndApply = useCallback4(async () => {
|
|
16509
16517
|
if (!pollUrl) return;
|
|
16510
16518
|
try {
|