@i7r.tech/moveby 0.0.0-stage → 0.0.21-ywc
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/LICENSE +202 -0
- package/README.md +67 -2
- package/bin/index.js +34557 -0
- package/bin/moveby.js +8573 -0
- package/bin/parse-worker.mjs +39 -0
- package/bin/tooling/wasm_engine.cjs +131 -0
- package/bin/tooling/wasm_engine_bg.wasm +0 -0
- package/dist/engine/wasm_engine.d.ts +330 -0
- package/dist/engine/wasm_engine.js +733 -0
- package/dist/engine/wasm_engine_bg.wasm +0 -0
- package/dist/errors.d.ts +16 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1907 -0
- package/dist/passes/backdrop.d.ts +9 -0
- package/dist/passes/field.d.ts +30 -0
- package/dist/passes/index.d.ts +5 -0
- package/dist/passes/road.d.ts +21 -0
- package/dist/passes/scenery.d.ts +28 -0
- package/dist/passes/sky.d.ts +11 -0
- package/dist/passes/text.d.ts +26 -0
- package/dist/scene-module.d.ts +165 -0
- package/dist/scene.d.ts +59 -0
- package/dist/utils.d.ts +15 -0
- package/docs/attribution.md +31 -0
- package/docs/decisions.md +26 -0
- package/package.json +33 -4
|
Binary file
|
package/dist/errors.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class MovebyError extends Error {
|
|
2
|
+
readonly code: string;
|
|
3
|
+
constructor(code: string, message: string);
|
|
4
|
+
}
|
|
5
|
+
export declare const CORE_ERRORS: {
|
|
6
|
+
readonly ELEV_MISMATCH: "The elevation data does not match the route: one height for each point of the route.";
|
|
7
|
+
readonly TRACK_EMPTY: "The route has fewer than 2 points, or its text is cut short.";
|
|
8
|
+
readonly WIRE_TRUNCATED: "The track file is cut short or malformed: a value runs past its section.";
|
|
9
|
+
readonly WIRE_TRAILING: "A section of the track file has bytes after its content.";
|
|
10
|
+
readonly WIRE_VERSION: "The track file has a format or a section version that this library does not read. Build the file again.";
|
|
11
|
+
readonly WIRE_SECTION: "The track file has a section that is unknown, repeated, empty or out of order. Build the file again.";
|
|
12
|
+
readonly WIRE_ROUTE: "The track file has no route section. Build the file again.";
|
|
13
|
+
readonly WIRE_UNSUPPORTED: "The track file cannot carry a field span with a texture ground. Use an atlas cell for the span.";
|
|
14
|
+
readonly WIRE_ANIM: "The track file holds animation. Animation moved to the scene module. Build the file again without it.";
|
|
15
|
+
readonly WIRE_GLYPH_METRIC: "A glyph of the font does not fit the track file: the atlas sides are powers of two, and each glyph rectangle is whole pixels.";
|
|
16
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./scene.js";
|