@pi-outpost/embed 0.16.4 → 0.17.0-beta.1
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/mount.d.ts +10 -0
- package/dist/pi-outpost-embed.cjs +20 -20
- package/dist/pi-outpost-embed.js +1166 -756
- package/package.json +1 -1
package/dist/mount.d.ts
CHANGED
|
@@ -13,6 +13,16 @@ export declare interface MountOptions {
|
|
|
13
13
|
theme?: Theme;
|
|
14
14
|
/** Auth token for servers with `server.token` set — the host app supplies it, no token screen shown. */
|
|
15
15
|
token?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Project the widget is bound to, by its resolved root path. Defaults to the
|
|
18
|
+
* server's default project.
|
|
19
|
+
*
|
|
20
|
+
* Which project an embedded widget shows is the host's decision, not its user's:
|
|
21
|
+
* the widget offers no project switching whatever this is set to. A root that is
|
|
22
|
+
* not open falls back to the default rather than failing, so a project closed
|
|
23
|
+
* server-side leaves a working widget instead of a dead socket.
|
|
24
|
+
*/
|
|
25
|
+
workspace?: string;
|
|
16
26
|
}
|
|
17
27
|
|
|
18
28
|
/**
|