@typerighter/rpc-client 0.40.4 → 0.40.7

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -39,7 +39,7 @@ export interface TdSidebarItem {
39
39
  label?: string;
40
40
  icon?: TdIcon;
41
41
  excerpt?: string;
42
- metadata: TdFileMetadata;
42
+ fileMetadata: TdFileMetadata;
43
43
  }
44
44
  export interface TdContentSummary {
45
45
  filepath: string;
@@ -49,7 +49,7 @@ export interface TdContentSummary {
49
49
  icon?: TdIcon;
50
50
  header: Record<string, any>;
51
51
  excerpt?: string;
52
- metadata: TdFileMetadata;
52
+ fileMetadata: TdFileMetadata;
53
53
  }
54
54
  export interface TdNavItem {
55
55
  title: string;
@@ -71,6 +71,7 @@ export interface TdFormatResult {
71
71
  }
72
72
  export interface TdSchemaNotification {
73
73
  schema: string;
74
+ affectedFiles?: string[];
74
75
  }
75
76
  export interface TdSchemaInfo {
76
77
  schema: string;
@@ -91,7 +92,7 @@ export interface TdSiteConfig {
91
92
  publicDir: string;
92
93
  nav: TdNavItem[];
93
94
  }
94
- export interface TdPageMeta {
95
+ export interface TdSeoMeta {
95
96
  title?: string;
96
97
  description?: string;
97
98
  image?: string;
@@ -105,8 +106,8 @@ export interface TdBuiltResource {
105
106
  content: string;
106
107
  headings: TdHeading[];
107
108
  title?: string;
108
- metadata: TdFileMetadata;
109
- meta?: TdPageMeta;
109
+ fileMetadata: TdFileMetadata;
110
+ seoMetadata?: TdSeoMeta;
110
111
  }
111
112
  export declare const RPC_CANCELLED_CODE = -32002;
112
113
  /**
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.40.4",
4
+ "version": "0.40.7",
5
5
  "description": "JSON-RPC client for Typedown over TCP/stdio.",
6
6
  "repository": {
7
7
  "type": "git",