@typbase/engine 0.2.4 → 0.2.5
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/engine.d.ts +9 -0
- package/engine.js +2 -2
- package/engine_bg.wasm +0 -0
- package/package.json +1 -1
package/engine.d.ts
CHANGED
|
@@ -262,6 +262,15 @@ export interface TypstDiagnostic {
|
|
|
262
262
|
severity: TypstDiagnosticSeverity;
|
|
263
263
|
message: string;
|
|
264
264
|
hints: string[];
|
|
265
|
+
/**
|
|
266
|
+
* Virtual path of the imported file the diagnostic points into, when it
|
|
267
|
+
* is not one of the note's own compile sources. Plugin errors land here.
|
|
268
|
+
*/
|
|
269
|
+
file?: string;
|
|
270
|
+
/**
|
|
271
|
+
* 1-based line in `file`. Unset when `file` is.
|
|
272
|
+
*/
|
|
273
|
+
line?: number;
|
|
265
274
|
}
|
|
266
275
|
|
|
267
276
|
export interface TypstHighlight {
|
package/engine.js
CHANGED
|
@@ -1049,10 +1049,10 @@ function __wbg_get_imports() {
|
|
|
1049
1049
|
__wbg___wbindgen_throw_bb96b2010945f0bc: function(arg0, arg1) {
|
|
1050
1050
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1051
1051
|
},
|
|
1052
|
-
|
|
1052
|
+
__wbg_debug_b2ad9a44c67c3a52: function(arg0, arg1) {
|
|
1053
1053
|
console.debug(getStringFromWasm0(arg0, arg1));
|
|
1054
1054
|
},
|
|
1055
|
-
|
|
1055
|
+
__wbg_error_4091bceb14a4dab3: function(arg0, arg1) {
|
|
1056
1056
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
1057
1057
|
},
|
|
1058
1058
|
__wbg_getTime_63fb0332e6c4ec17: function(arg0) {
|
package/engine_bg.wasm
CHANGED
|
Binary file
|