File tree 1 file changed +12
-1
lines changed
packages/@vuepress/types/src
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,13 @@ export interface ResolvedTheme {
114
114
entry : string ;
115
115
}
116
116
117
+ export interface LayoutComponent {
118
+ filename : string ;
119
+ componentName : string ;
120
+ path : string ;
121
+ isInternal : string ;
122
+ }
123
+
117
124
/**
118
125
* Theme API.
119
126
*/
@@ -122,7 +129,7 @@ export interface ThemeAPI {
122
129
parentTheme : ResolvedTheme ;
123
130
existsParentTheme : boolean ;
124
131
componentMap : Record < string , any > ;
125
- layoutComponentMap : Record < string , any > ;
132
+ layoutComponentMap : Record < string , LayoutComponent > ;
126
133
}
127
134
128
135
/**
@@ -178,4 +185,8 @@ export interface Context<
178
185
* Get site data.
179
186
*/
180
187
getSiteData ( ) : SiteData ;
188
+ /**
189
+ * Get internal file path
190
+ */
191
+ getLibFilePath ( string : string ) : string ;
181
192
}
You can’t perform that action at this time.
0 commit comments