@wippy-fe/types-global-proxy 0.0.45 → 0.0.46
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/index.d.ts +11 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -488,6 +488,8 @@ interface AppCustomization {
|
|
|
488
488
|
/** Named icon collections. Each key is an Iconify prefix, value is a map of icon name → definition. */
|
|
489
489
|
iconSets?: Record<string, Record<string, IconDef>>;
|
|
490
490
|
}
|
|
491
|
+
/** Page render engine: 'iframe' = legacy srcdoc; 'fragment' = Web Fragment. */
|
|
492
|
+
type RenderEngine = 'iframe' | 'fragment';
|
|
491
493
|
interface HostConfig {
|
|
492
494
|
showAdmin?: boolean;
|
|
493
495
|
allowSelectModel?: boolean;
|
|
@@ -530,6 +532,15 @@ interface HostConfig {
|
|
|
530
532
|
* "WebSocket is not connected". Default is `false` (eager connect).
|
|
531
533
|
*/
|
|
532
534
|
lazyWS?: boolean;
|
|
535
|
+
/**
|
|
536
|
+
* Global page render engine for packaged view.page micro-frontends.
|
|
537
|
+
* 'iframe' = legacy srcdoc iframe (WPageIframe); 'fragment' = Web Fragment
|
|
538
|
+
* (WPageFragment, reframed realm). Host-only — stripped from ChildAppConfig
|
|
539
|
+
* (children stay engine-agnostic). Operator-set at the facade
|
|
540
|
+
* (`render_engine` requirement). Default 'iframe'. Boot-time only: a change
|
|
541
|
+
* takes effect on the next host load.
|
|
542
|
+
*/
|
|
543
|
+
renderEngine?: RenderEngine;
|
|
533
544
|
}
|
|
534
545
|
interface AppContext {
|
|
535
546
|
resourceId: string;
|
package/package.json
CHANGED