@weasel-js/routing 1.9.3 → 1.10.0
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/README.md +6 -5
- package/dist/{chunk-LOP2JTTA.js → chunk-4DR6AJMN.js} +1093 -922
- package/dist/chunk-4DR6AJMN.js.map +1 -0
- package/dist/{index-CrbDNXT_.d.ts → index-Bm2QEV09.d.ts} +576 -706
- package/dist/index.d.ts +5 -4
- package/dist/index.js +27 -74
- package/dist/index.js.map +1 -1
- package/dist/{internal-B1B6gfOS.d.ts → internal-D0rDmi7t.d.ts} +46 -78
- package/dist/internal.d.ts +5 -4
- package/dist/react.d.ts +140 -98
- package/dist/react.js +870 -896
- package/dist/react.js.map +1 -1
- package/package.json +9 -7
- package/dist/chunk-LOP2JTTA.js.map +0 -1
package/README.md
CHANGED
|
@@ -21,11 +21,12 @@ scene graph, the renderer and the concrete dependency interfaces all live in
|
|
|
21
21
|
|
|
22
22
|
## The dependency schema
|
|
23
23
|
|
|
24
|
-
`DepSchema` is declared here
|
|
25
|
-
|
|
26
|
-
`
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
`DepSchema` is declared here with one entry, `activeTool`, the dep routing's own
|
|
25
|
+
`tool.offhand` action requires. Everything that names a dependency —
|
|
26
|
+
`Action.requires`, `DepRegistry.get`, `useDepSource` — is keyed on
|
|
27
|
+
`keyof DepSchema`, so the set of legal names is that entry plus whatever has
|
|
28
|
+
been merged in. `@weasel-js/core` merges the kit's own deps; a consumer adds its
|
|
29
|
+
own the same way:
|
|
29
30
|
|
|
30
31
|
```ts
|
|
31
32
|
declare module '@weasel-js/core' {
|