@asgard-js/core 0.3.82 → 0.3.84
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -20
- package/dist/index.mjs.map +1 -1
- package/dist/lib/resolve-sandbox-uri.d.ts +5 -1
- package/dist/lib/resolve-sandbox-uri.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5,9 +5,13 @@ export type SandboxUriIntent = {
|
|
|
5
5
|
kind: 'open-file';
|
|
6
6
|
sandboxName: string;
|
|
7
7
|
absolutePath: string;
|
|
8
|
+
} | {
|
|
9
|
+
kind: 'open-folder';
|
|
10
|
+
sandboxName: string;
|
|
11
|
+
absolutePath: string;
|
|
8
12
|
};
|
|
9
13
|
/**
|
|
10
|
-
* Parse `sandbox://<name>/<action>?<query>` into a typed {@link SandboxUriIntent} (F-020 / UC-036).
|
|
14
|
+
* Parse `sandbox://<name>/<action>?<query>` into a typed {@link SandboxUriIntent} (F-020 / F-034, UC-036).
|
|
11
15
|
* Returns `null` for an unknown action, a missing `absolute_path`, or a non-`sandbox://` / malformed URI —
|
|
12
16
|
* the host must then treat it as a plain card and never `window.open()` the raw scheme.
|
|
13
17
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-sandbox-uri.d.ts","sourceRoot":"","sources":["../../src/lib/resolve-sandbox-uri.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolve-sandbox-uri.d.ts","sourceRoot":"","sources":["../../src/lib/resolve-sandbox-uri.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,gBAAgB,GACxB;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAC7C;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,GAChE;IAAE,IAAI,EAAE,aAAa,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC;AAWvE;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,GAAG,IAAI,CAkBtE"}
|