@magicvr/schema-ui-protocol 0.2.0 → 0.2.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/package.json +5 -4
- package/protocol/load-page.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magicvr/schema-ui-protocol",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "schema-ui-core 协议面(v0.2.0 · R4 升级演练=normalizePageID additive)",
|
|
6
6
|
"main": "index.js",
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./protocol/index.d.ts",
|
|
11
11
|
"import": "./index.js"
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
|
+
"./*": "./*"
|
|
13
14
|
},
|
|
14
15
|
"files": [
|
|
15
16
|
"index.js",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
17
|
+
"lib",
|
|
18
|
+
"protocol"
|
|
18
19
|
],
|
|
19
20
|
"license": "UNLICENSED",
|
|
20
21
|
"publishConfig": {
|
package/protocol/load-page.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* parse, and validation failure paths without a server. This module does NOT
|
|
9
9
|
* switch the app's default render branch (that is GOAL-003).
|
|
10
10
|
*/
|
|
11
|
-
import type { PageEntry } from "
|
|
11
|
+
import type { PageEntry } from "@schema-ui/protocol/app-manifest";
|
|
12
12
|
export type PageSchemaErrorCode = "PAGE_LOAD_FAILED" | "PAGE_NOT_FOUND" | "PAGE_PARSE_FAILED" | "PAGE_SCHEMA_INVALID" | "PAGE_ID_MISMATCH";
|
|
13
13
|
export interface PageSchemaValidationIssue {
|
|
14
14
|
path: string;
|