@typerighter/rpc-client 0.17.5 → 0.18.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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@typerighter/rpc-client",
4
- "version": "0.17.5",
4
+ "version": "0.18.0",
5
5
  "description": "WASM RPC client for Typedown.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -63,6 +63,14 @@ export interface TdContentSummary {
63
63
  * Schema type name
64
64
  */
65
65
  schema?: string;
66
+ /**
67
+ * Display label
68
+ */
69
+ label?: string;
70
+ /**
71
+ * Page icon
72
+ */
73
+ icon?: TdIcon;
66
74
  /**
67
75
  * Frontmatter header as JSON
68
76
  */
@@ -77,6 +85,16 @@ export interface TdContentSummary {
77
85
  metadata: TdFileMetadata;
78
86
  }
79
87
 
88
+ /**
89
+ * Page icon
90
+ */
91
+ export interface TdIcon {
92
+ /**
93
+ * Lucide icon name
94
+ */
95
+ name: string;
96
+ }
97
+
80
98
  /**
81
99
  * Result of checking all vault files for diagnostics
82
100
  */
@@ -149,6 +167,14 @@ export interface TdSiteConfig {
149
167
  */
150
168
  export interface TdBuiltResource {
151
169
  schema?: string;
170
+ /**
171
+ * Display label
172
+ */
173
+ label?: string;
174
+ /**
175
+ * Page icon
176
+ */
177
+ icon?: TdIcon;
152
178
  header: Record<string, any>;
153
179
  content: string;
154
180
  /**
@@ -418,32 +418,32 @@ export function __wbg_wasClean_3c7aa2335da09e74(arg0) {
418
418
  return ret;
419
419
  }
420
420
  export function __wbindgen_cast_0000000000000001(arg0, arg1) {
421
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 267, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
421
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 268, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
422
422
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_bf4b4b12d3f72955___convert__closures_____invoke___wasm_bindgen_bf4b4b12d3f72955___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_bf4b4b12d3f72955___JsError___true_);
423
423
  return ret;
424
424
  }
425
425
  export function __wbindgen_cast_0000000000000002(arg0, arg1) {
426
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 166, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
426
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 167, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
427
427
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_bf4b4b12d3f72955___convert__closures_____invoke___web_sys_3cc68d34740d5c49___features__gen_CloseEvent__CloseEvent______true_);
428
428
  return ret;
429
429
  }
430
430
  export function __wbindgen_cast_0000000000000003(arg0, arg1) {
431
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 166, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
431
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 167, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
432
432
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_bf4b4b12d3f72955___convert__closures_____invoke___web_sys_3cc68d34740d5c49___features__gen_CloseEvent__CloseEvent______true__2);
433
433
  return ret;
434
434
  }
435
435
  export function __wbindgen_cast_0000000000000004(arg0, arg1) {
436
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 166, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
436
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 167, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
437
437
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_bf4b4b12d3f72955___convert__closures_____invoke___web_sys_3cc68d34740d5c49___features__gen_CloseEvent__CloseEvent______true__3);
438
438
  return ret;
439
439
  }
440
440
  export function __wbindgen_cast_0000000000000005(arg0, arg1) {
441
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 170, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
441
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 171, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
442
442
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_bf4b4b12d3f72955___convert__closures_____invoke_______true_);
443
443
  return ret;
444
444
  }
445
445
  export function __wbindgen_cast_0000000000000006(arg0, arg1) {
446
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 246, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
446
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 247, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
447
447
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_bf4b4b12d3f72955___convert__closures_____invoke_______true__1_);
448
448
  return ret;
449
449
  }
Binary file