@jetprint/editor-sdk 1.2.8 → 1.2.9

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.
@@ -0,0 +1,17 @@
1
+ interface PrefetchItem {
2
+ jsonURL?: string;
3
+ resources?: Array<{
4
+ name?: string;
5
+ url?: string;
6
+ }>;
7
+ }
8
+ /** 由宿主(index.vue)按画布交互状态驱动:交互中暂停预热,避免与设计抢带宽。 */
9
+ export declare function setPrefetchPaused(value: boolean): void;
10
+ /**
11
+ * 预热变型渲染所需的纹理层 / 背景层资源(及变形 JSON)到 HTTP 缓存。
12
+ * 非阻塞:立即返回,下载在空闲时段后台进行;幂等且失败静默。
13
+ */
14
+ export declare function prefetchLiveRenderAssets(list: PrefetchItem[], opts?: {
15
+ concurrency?: number;
16
+ }): void;
17
+ export {};