@typerighter/rpc-client 0.11.4 → 0.12.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/package.json
CHANGED
package/src/typedown_server.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export interface TdDiagnosticItem {
|
|
7
7
|
/**
|
|
8
|
-
* File path relative to the
|
|
8
|
+
* File path relative to the vault root
|
|
9
9
|
*/
|
|
10
10
|
filepath: string;
|
|
11
11
|
/**
|
|
@@ -30,20 +30,6 @@ export interface TdDiagnosticItem {
|
|
|
30
30
|
message: string;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
/**
|
|
34
|
-
* Asset directory configuration
|
|
35
|
-
*/
|
|
36
|
-
export interface TdAssetsDir {
|
|
37
|
-
/**
|
|
38
|
-
* \"local\" assets live in a subdirectory relative to each file
|
|
39
|
-
*/
|
|
40
|
-
mode: string;
|
|
41
|
-
/**
|
|
42
|
-
* Subdirectory name (default: \"assets\")
|
|
43
|
-
*/
|
|
44
|
-
path: string;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
33
|
/**
|
|
48
34
|
* Content file event: A resource file was created, changed, or deleted
|
|
49
35
|
*/
|
|
@@ -70,7 +56,7 @@ export interface TdFileMetadata {
|
|
|
70
56
|
*/
|
|
71
57
|
export interface TdContentSummary {
|
|
72
58
|
/**
|
|
73
|
-
* File path relative to the
|
|
59
|
+
* File path relative to the vault root
|
|
74
60
|
*/
|
|
75
61
|
filepath: string;
|
|
76
62
|
/**
|
|
@@ -130,18 +116,15 @@ export interface TdSchemaInfo {
|
|
|
130
116
|
* Site-wide configuration derived from typedown.yaml
|
|
131
117
|
*/
|
|
132
118
|
export interface TdSiteConfig {
|
|
119
|
+
version: string;
|
|
133
120
|
/**
|
|
134
121
|
* URL base path (e.g. \"/\" or \"/docs\")
|
|
135
122
|
*/
|
|
136
123
|
basePath: string;
|
|
137
124
|
/**
|
|
138
|
-
*
|
|
139
|
-
*/
|
|
140
|
-
contentDir: string;
|
|
141
|
-
/**
|
|
142
|
-
* Asset directory configuration
|
|
125
|
+
* Vault root directory path relative to the project root
|
|
143
126
|
*/
|
|
144
|
-
|
|
127
|
+
rootDir: string;
|
|
145
128
|
/**
|
|
146
129
|
* Site title from typedown.yaml
|
|
147
130
|
*/
|
|
@@ -290,7 +290,7 @@ export function __wbg_new_typed_1824d93f294193e5(arg0, arg1) {
|
|
|
290
290
|
const a = state0.a;
|
|
291
291
|
state0.a = 0;
|
|
292
292
|
try {
|
|
293
|
-
return
|
|
293
|
+
return wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___js_sys_b721ba98af2712b5___Function_fn_wasm_bindgen_8e6779e9e68aaca2___JsValue_____wasm_bindgen_8e6779e9e68aaca2___sys__Undefined___js_sys_b721ba98af2712b5___Function_fn_wasm_bindgen_8e6779e9e68aaca2___JsValue_____wasm_bindgen_8e6779e9e68aaca2___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
294
294
|
} finally {
|
|
295
295
|
state0.a = a;
|
|
296
296
|
}
|
|
@@ -402,33 +402,33 @@ export function __wbg_wasClean_3c7aa2335da09e74(arg0) {
|
|
|
402
402
|
return ret;
|
|
403
403
|
}
|
|
404
404
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
405
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
406
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
405
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 266, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
406
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___wasm_bindgen_8e6779e9e68aaca2___JsValue__core_23e9b2447434a5ef___result__Result_____wasm_bindgen_8e6779e9e68aaca2___JsError___true_);
|
|
407
407
|
return ret;
|
|
408
408
|
}
|
|
409
409
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
410
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
411
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
410
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 165, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
411
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true_);
|
|
412
412
|
return ret;
|
|
413
413
|
}
|
|
414
414
|
export function __wbindgen_cast_0000000000000003(arg0, arg1) {
|
|
415
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
416
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
415
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 165, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
416
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true__2);
|
|
417
417
|
return ret;
|
|
418
418
|
}
|
|
419
419
|
export function __wbindgen_cast_0000000000000004(arg0, arg1) {
|
|
420
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
421
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
420
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 165, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
421
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true__3);
|
|
422
422
|
return ret;
|
|
423
423
|
}
|
|
424
424
|
export function __wbindgen_cast_0000000000000005(arg0, arg1) {
|
|
425
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
426
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
425
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 169, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
426
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke_______true_);
|
|
427
427
|
return ret;
|
|
428
428
|
}
|
|
429
429
|
export function __wbindgen_cast_0000000000000006(arg0, arg1) {
|
|
430
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
431
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
430
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 245, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
431
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke_______true__1_);
|
|
432
432
|
return ret;
|
|
433
433
|
}
|
|
434
434
|
export function __wbindgen_cast_0000000000000007(arg0) {
|
|
@@ -474,35 +474,35 @@ export function __wbindgen_init_externref_table() {
|
|
|
474
474
|
table.set(offset + 2, true);
|
|
475
475
|
table.set(offset + 3, false);
|
|
476
476
|
}
|
|
477
|
-
function
|
|
478
|
-
wasm.
|
|
477
|
+
function wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
478
|
+
wasm.wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke_______true_(arg0, arg1);
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
function
|
|
482
|
-
wasm.
|
|
481
|
+
function wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke_______true__1_(arg0, arg1) {
|
|
482
|
+
wasm.wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke_______true__1_(arg0, arg1);
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
function
|
|
486
|
-
wasm.
|
|
485
|
+
function wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true_(arg0, arg1, arg2) {
|
|
486
|
+
wasm.wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true_(arg0, arg1, arg2);
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
function
|
|
490
|
-
wasm.
|
|
489
|
+
function wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true__2(arg0, arg1, arg2) {
|
|
490
|
+
wasm.wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true__2(arg0, arg1, arg2);
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
function
|
|
494
|
-
wasm.
|
|
493
|
+
function wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true__3(arg0, arg1, arg2) {
|
|
494
|
+
wasm.wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true__3(arg0, arg1, arg2);
|
|
495
495
|
}
|
|
496
496
|
|
|
497
|
-
function
|
|
498
|
-
const ret = wasm.
|
|
497
|
+
function wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___wasm_bindgen_8e6779e9e68aaca2___JsValue__core_23e9b2447434a5ef___result__Result_____wasm_bindgen_8e6779e9e68aaca2___JsError___true_(arg0, arg1, arg2) {
|
|
498
|
+
const ret = wasm.wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___wasm_bindgen_8e6779e9e68aaca2___JsValue__core_23e9b2447434a5ef___result__Result_____wasm_bindgen_8e6779e9e68aaca2___JsError___true_(arg0, arg1, arg2);
|
|
499
499
|
if (ret[1]) {
|
|
500
500
|
throw takeFromExternrefTable0(ret[0]);
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
function
|
|
505
|
-
wasm.
|
|
504
|
+
function wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___js_sys_b721ba98af2712b5___Function_fn_wasm_bindgen_8e6779e9e68aaca2___JsValue_____wasm_bindgen_8e6779e9e68aaca2___sys__Undefined___js_sys_b721ba98af2712b5___Function_fn_wasm_bindgen_8e6779e9e68aaca2___JsValue_____wasm_bindgen_8e6779e9e68aaca2___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
505
|
+
wasm.wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___js_sys_b721ba98af2712b5___Function_fn_wasm_bindgen_8e6779e9e68aaca2___JsValue_____wasm_bindgen_8e6779e9e68aaca2___sys__Undefined___js_sys_b721ba98af2712b5___Function_fn_wasm_bindgen_8e6779e9e68aaca2___JsValue_____wasm_bindgen_8e6779e9e68aaca2___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
|
|
Binary file
|
|
@@ -21,13 +21,13 @@ export const rpcclient_onSchemaCreated: (a: number, b: any) => void;
|
|
|
21
21
|
export const rpcclient_onSchemaDeleted: (a: number, b: any) => void;
|
|
22
22
|
export const rpcclient_requestFile: (a: number, b: number, c: number) => any;
|
|
23
23
|
export const rpcclient_requestFiles: (a: number, b: number, c: number) => any;
|
|
24
|
-
export const
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
24
|
+
export const wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___wasm_bindgen_8e6779e9e68aaca2___JsValue__core_23e9b2447434a5ef___result__Result_____wasm_bindgen_8e6779e9e68aaca2___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
25
|
+
export const wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___js_sys_b721ba98af2712b5___Function_fn_wasm_bindgen_8e6779e9e68aaca2___JsValue_____wasm_bindgen_8e6779e9e68aaca2___sys__Undefined___js_sys_b721ba98af2712b5___Function_fn_wasm_bindgen_8e6779e9e68aaca2___JsValue_____wasm_bindgen_8e6779e9e68aaca2___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
26
|
+
export const wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true_: (a: number, b: number, c: any) => void;
|
|
27
|
+
export const wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true__2: (a: number, b: number, c: any) => void;
|
|
28
|
+
export const wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke___web_sys_cd62c7e0d3c0355d___features__gen_CloseEvent__CloseEvent______true__3: (a: number, b: number, c: any) => void;
|
|
29
|
+
export const wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
30
|
+
export const wasm_bindgen_8e6779e9e68aaca2___convert__closures_____invoke_______true__1_: (a: number, b: number) => void;
|
|
31
31
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
32
32
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
33
33
|
export const __wbindgen_exn_store: (a: number) => void;
|